You are not logged in.
I have Asus U33Jc laptop with 3.10.13-1-lts x86_64 and bumblebee. Sometimes I can see in logs:
окт 08 15:04:59 nuzzflonk logger[11350]: ACPI group/action undefined: hotkey / ATK0100:00
окт 08 15:04:59 nuzzflonk logger[11352]: SleepButton pressedAnd my laptop going to suspend. This occurs when laptop under high cpu load. For example after ~2 minutes of
$ stress -c 2Who pressed SleepButton? My laptop is everytime closed, has not external keyboard.
$ sudo inxi -F
System: Host: nuzzflonk Kernel: 3.10.13-1-lts x86_64 (64 bit) Console: tty 3 Distro: Arch Linux
Machine: Mobo: ASUSTeK model: U33Jc version: 1.0 serial: BSN12345678901234567
Bios: American Megatrends version: U33Jc.213 date: 01/24/2011
CPU: Dual core Intel Core i5 CPU M 460 (-HT-MCP-) cache: 3072 KB flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx)
Clock Speeds: 1: 1199.00 MHz 2: 1199.00 MHz 3: 1199.00 MHz 4: 1199.00 MHz
Graphics: Card-1: Intel Core Processor Integrated Graphics Controller
Card-2: NVIDIA GT218M [GeForce 310M]
X.org: 1.14.3 driver: intel tty size: 212x57 Advanced Data: N/A for root out of X
Audio: Card: Intel 5 Series/3400 Series High Definition Audio driver: snd_hda_intel Sound: ALSA ver: k3.10.13-1-lts
Network: Card-1: Qualcomm Atheros AR8131 Gigabit Ethernet driver: atl1c
IF: eth0 state: down mac: bc:ae:c5:0a:e4:48
Card-2: Qualcomm Atheros AR9285 Wireless Network Adapter (PCI-Express) driver: ath9k
IF: wlan0 state: up mac: 48:5d:60:99:d6:31
Drives: HDD Total Size: 500.1GB (64.5% used) 1: id: /dev/sda model: WDC_WD5000BEVT size: 500.1GB
Partition: ID: / size: 35G used: 28G (86%) fs: ext4 ID: /boot size: 488M used: 59M (13%) fs: ext4
ID: /home size: 394G used: 273G (73%) fs: ext4 ID: swap-1 size: 8.59GB used: 0.00GB (0%) fs: swap
Sensors: System Temperatures: cpu: 55.0C mobo: N/A
Fan Speeds (in rpm): cpu: N/A
Info: Processes: 154 Uptime: 1:09 Memory: 483.5/7651.7MB Client: Shell (sudo) inxi: 1.9.15Last edited by dumphblooz (2013-11-26 17:26:35)
Offline
Same problem on systemrescuecd-x86-3.8.0. After a while stress command:
% acpi_listen
hotkey ATK0100:00 0000006d 00000000
button/sleep SBTN 00000080 00000000 KOffline
Maybe it is just overheating and suspending as a safety precaution?
Offline
Sounds plausible but why on earth does it claim it pressed the SleepButton?
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
I dunno… I've never had a machine shut down from getting too hot… so this was entirely a guess.
Offline
Me neither. I had one I thought was shutting down for that reason but I'm not sure that counts. (Would be different if it thought it was shutting down for that reason.)
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
Maybe it is just overheating and suspending as a safety precaution?
Maybe. But laptop works fine while running stress without suspend on systemrescuecd-x86-3.8.0. It is important to know, who press SleepButton for disable it.
Offline
boot with systemd.log_level=debug and see if you get more info.
Offline
boot with systemd.log_level=debug and see if you get more info.
What can I see there? Give a tip, please.
Offline
man 7 kernel-command-line
Offline
Who pressed SleepButton? My laptop is everytime closed, has not external keyboard.
Does it happen if you don't close the laptop lid? As far as I understand it, a laptop going to sleep when you close the lid is expected behaviour..
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
dumphblooz wrote:Who pressed SleepButton? My laptop is everytime closed, has not external keyboard.
Does it happen if you don't close the laptop lid? As far as I understand it, a laptop going to sleep when you close the lid is expected behaviour..
Lid always opened and AC plugged.
Offline
Sounds plausible but why on earth does it claim it pressed the SleepButton?
If it does indeed do it as a safety precaution it may be doing it because it is a really easy to implement hardware-only solution. I imagine it is really easy to monitor a thermometer and send a signal on certain treshold (the signal being sent is to the sleep button cable). I can implement this using an arduino, so I guess the engineers implemented it using some basic IC. I don't think this is the most elegant solution out there, but it is entirely possible.
Offline
@plam, if my shot in the dark is right at all, it wouldn't be a hardware solution, but rather a kernel based one. Otherwise, it would simply drop into some kind of a sleep state with no indication in the logs. The fact that it is notifying userspace of its move to a sleep state seems to hint towrads something within the operating system that is doing this.
I also seem to recall someone else having a similar issue some time in the past. Though at the moment I cannot find it…
Offline
Same problem on systemrescuecd-x86-3.8.0. After a while stress command:
% acpi_listen hotkey ATK0100:00 0000006d 00000000 button/sleep SBTN 00000080 00000000 K
Does acpi_listen return the same output if you actually press the sleep button yourself?
Offline
@plam, if my shot in the dark is right at all, it wouldn't be a hardware solution, but rather a kernel based one. Otherwise, it would simply drop into some kind of a sleep state with no indication in the logs. The fact that it is notifying userspace of its move to a sleep state seems to hint towrads something within the operating system that is doing this.
If your shot is right, it may have been done in this way: The two cables which connect the power button to the mainboard are also connected to a logic gate, in a way in which both the logic gate ang the power button can short them to produce a button press. The logic gate is also connected to a thermometer, and shorts the power-button-circuit, if a certain treshold temperature is reached.
Again, this is just speculation, but if you don't find another explanation, this may very well be it.
/sorry I was to lazy to crop the pic/
Offline
That is some very reasonable speculation. Though I guess until more info is provided, nothing more than speculating can be done here...
Offline
Maybe I'm missing something obvious here but I'm now thoroughly confused:
Same problem on systemrescuecd-x86-3.8.0. After a while stress command:
% acpi_listen hotkey ATK0100:00 0000006d 00000000 button/sleep SBTN 00000080 00000000 K
WonderWoofy wrote:Maybe it is just overheating and suspending as a safety precaution?
Maybe. But laptop works fine while running stress without suspend on systemrescuecd-x86-3.8.0. It is important to know, who press SleepButton for disable it.
So does it or does it not happen with systemrescuecd-x86-3.8.0 running stress?
Moreover:
WorMzy wrote:dumphblooz wrote:Who pressed SleepButton? My laptop is everytime closed, has not external keyboard.
Does it happen if you don't close the laptop lid? As far as I understand it, a laptop going to sleep when you close the lid is expected behaviour..
Lid always opened and AC plugged.
So is it closed every time? Open every time? Closed sometimes and open sometimes?
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
Yeah, I wondered about those things as well. But besides simply inconsistent, the OP has also been exceedingly sparse on their ability to both comment and provide more info, so until that happens, nothing in this thread is really relevant.
Offline
dumphblooz wrote:Same problem on systemrescuecd-x86-3.8.0. After a while stress command:
% acpi_listen hotkey ATK0100:00 0000006d 00000000 button/sleep SBTN 00000080 00000000 KDoes acpi_listen return the same output if you actually press the sleep button yourself?
Almost the same. From integrated keyboard:
$ sudo acpi_listen
button/sleep SBTN 00000080 00000000From external keyboard:
$ sudo acpi_listen
button/sleep SBTN 00000080 00000000 KWhat is hotkey ATK0100:00 0000006d 00000000?
Offline
What is hotkey ATK0100:00 0000006d 00000000?
I have no idea, but it looks like this one gets send whenever your sleep button gets pressed by magic. So, as a workaround you could check for this hotkey and ignore the sleep button if it's present. Also, if you don't use an external keyboard (or you don't use the sleep button on the external one), you could check for that "K" at the end of the sleep button line and use that to decide whether you actually want your laptop to go to sleep or just ignore the request.
Edit: Since this strange going to sleep mode might be a very nice protection against overheating (my laptop just cuts the power, that's not very nice): Does your laptop get hot before it goes to sleep all by itself? You might also want to install lm_sensors for closer examination.
Last edited by cookies (2013-10-10 14:32:57)
Offline
Hmm. I think
acpi_osi=linuxsolves problem
Offline
How funky. It seems strange that not telling acpi that you are Linux would randomly push the sleep button.
In any case, I have to use acpi_osi="!Windows 2012" to tell my machine that it is not windows 8. Apparently there has been some kind of change in how the backlight is handled in windows, which doesn't adhere to the acpi spec. So of course, the vendors go ahead and change their machines to fit the windows way, correct or not. But your machine should be just old enough to not have to deal with this particular backlight issue.
Glad you seem to have gotten with worked out. If you are satisfied with your own solution there, please mark the thread as [Solved], which can be done by editing the first post. That way others who might be seeking a similar answer will be able to know that this thread has a potential fix.
Offline
How funky. It seems strange that not telling acpi that you are Linux would randomly push the sleep button.
Not randomly. Button pushed under heavy CPU load.
Glad you seem to have gotten with worked out. If you are satisfied with your own solution there, please mark the thread as [Solved], which can be done by editing the first post. That way others who might be seeking a similar answer will be able to know that this thread has a potential fix.
I'm not entirely sure that solved. I need more time for testing.
Offline
Nothing solved
Latop still going sleep under high cpu load.
Offline