Ubuntu 16.04.2 w/lenovo w540 laptop in dock immediately sleeps after login
I started having a problem with my normally working system.
I have a lenovo w540 laptop, i7, 32G ram, 1TB SSD and a Lenovo Ultra Dock.
I used to be able to just boot up with the laptop docked & login and start working.
Sometime within the past couple weeks I started having a problem.
After login password entry within seconds the laptop would go to sleep.
Any attempt to restart, the laptop would go right back to sleep as soon as I clicked on anything.
Eventually I found that if I left the LID open ... this didn't happen.
To eliminate any possible hw failure I did the following:
a) dock failure - so I upgraded the Lenovo Dock firmware
b) BIOS prob - so I upgraded the Lenovo W540 BIOS
c) DisplayPort cable going bad - replaced it
Eventually I found what appears to be a fix for this.
I edited: /etc/systemd/
and uncommented then changed the following 2 lines to "ignore"
#HandleLidSwitc
HandleLidSwitch
#HandleLidSwitc
HandleLidSwitch
This fixed my ongoing problem.
I tried to file a BUG but was NOT sure what to file this against. It appears to be that something changed in the defaults of systemd's handling of the above 2 entries in Ubuntu 16.04 lately.
I have verified this and by restoring those 2 entries & rebooting the problem comes back.
So I am hoping some Developer will know what to do with this information as I have to believe there are others being hit by this and not understanding whats going on.
Brian
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask brian mullan for more information if necessary.