Laptop goes in Sleep-mode during docking. How to read system-log?

Hi!
Suddenly this morning my laptop goes into sleep 1-2minute after startup. I can turn it on again and then after 1-2 minutte it goes again into sleep-mode.
This only happens during docking. If i release laptop from docking and use it directly, it does not go into sleeping.

I check fan and temperature and it seems ok.

So what i need to know is how to diagnostic this. What log-files do i need to look in?
I check “Systemlog”, but it says “No file found”. Boot-file seems ok.

Until last Friday i didn’t have this problem, and the problem occurred just now Monday morning. (Laptop was off during weekend).

Laptop: HP EliteBook 8470w Intel i7 vPro w/original HP-dock
System: OpenSUSE 13.2 64bits KDE


Best regards,
Ronny Simonsen
Narvik - Norway

You can read some info running dmesg -w.
Check settings in K-menu, -> Settings ->system settings, and sub menu, -> power management. (don’t have English as system language, so guessing translating)

Thanks for answering!
I checked dmesg, but i can’t find any wrong with it. It just go til sleep.

So i think that this is just like if i close the lid. So now i am testing leaving the lid open. Now it works :-o

This is some new issue because in docking i always let the lid be closed. The docking have its own power-button.
Now its like it register the lid been closed by fault and put the laptop to sleep. This have never happens to me before.
So maybe there was some system update that change something (bug?).

Anyone know anything about new update for ACPI-controller(driver) that maybe have some sort of bug?

RS

In K-menu, -> Settings ->system settings, and sub menu, -> power management - you can specify the action when the lid is closed (or when closing, at least)
Under that option you can specify what should happen even when you have external monitor connected.

Well…
I tried to set “Do nothing” if lid is closed. But it still go til sleep when i close the lid.
I guess this settings is not working or its override by something else :-/

RS

I have this same issue with my laptop. It just started happening this morning after applying the latest patches to leap 42.1. I also have power management action for closed lid set to “Do Nothing”. Tried changing it to something else and back to “Do Nothing” and the laptop still goes to sleep every time the lid is closed.

Hi
Since your on a different release, please in the future start a new thread!

Since 42.1 uses logind, you need to configure the file /etc/systemd/logind.conf and change the line;


#HandleLidSwitch=....

to

HandleLidSwitch=ignore

Or what ever your wanting it to be, I use ignore. Dont forget to remove the #.