Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1366327
| From | Pavel Machek <pavel@ucw.cz> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: Changes in sleep mode, on x86 PC |
| Date | 2016-03-29 16:30 +0200 |
| Message-ID | <ri2OB-7x2-3@gated-at.bofh.it> (permalink) |
| References | <rhMTw-4p3-3@gated-at.bofh.it> <ri1zb-6Hc-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Tue 2016-03-29 15:06:36, Rafael J. Wysocki wrote: > On Monday, March 28, 2016 11:20:12 PM Pavel Machek wrote: > > Hi! > > > > Few releases ago, I could wake up PC from S3 sleep by hitting any > > key. That ceased to work some time before, keyboard would just light a > > NUM lock LED when I hit a key (4.5). Now PC seems to be sleeping (in > > S3) with NUM lock LED on (4.6-rc0). > > > > Any idea what is going on there? Does it happen for you, too? What is > > the expected behaviour? > > > > Debian 8.3, with MATE desktop, I just hit the "moon" key to make it > > sleep. Keyboard is on USB. > > That's rather important. > > Clearly, something in the USB HID land has changed lately. > > The expected behavior depends on whether or not the keyboard itself and the > USB controller are both enabled to wake up. If they are, I'd expect any > key press to generate a wakeup event. Is there anything in /sys I should check? pavel@amd:/sys/class/input/input43$ ls capabilities id input43::scrolllock phys subsystem device input43::capslock modalias power uevent event8 input43::numlock name properties uniq pavel@amd:/sys/class/input/input43$ cat power/ async runtime_active_kids runtime_status autosuspend_delay_ms runtime_active_time runtime_suspended_time control runtime_enabled runtime_usage pavel@amd:/sys/class/input/input43$ cat power/ Ok, this is slightly weird, but it seems to be just multimedia keys having separate device: pavel@amd:/sys/class/input$ grep . input4*/name input43/name:Chicony USB Keyboard input44/name:Chicony USB Keyboard pavel@amd:/sys/class/input$ ls input43/ capabilities id input43::scrolllock phys subsystem device input43::capslock modalias power uevent event8 input43::numlock name properties uniq pavel@amd:/sys/class/input$ ls input44 capabilities event9 modalias phys properties uevent device id name power subsystem uniq Thanks, Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Changes in sleep mode, on x86 PC Pavel Machek <pavel@ucw.cz> - 2016-03-28 23:30 +0200
Re: Changes in sleep mode, on x86 PC "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2016-03-29 15:10 +0200
Re: Changes in sleep mode, on x86 PC Oliver Neukum <oneukum@suse.com> - 2016-03-29 16:10 +0200
Re: Changes in sleep mode, on x86 PC Pavel Machek <pavel@ucw.cz> - 2016-03-29 16:20 +0200
Re: Changes in sleep mode, on x86 PC Pavel Machek <pavel@ucw.cz> - 2016-03-29 16:30 +0200
Re: Changes in sleep mode, on x86 PC "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2016-03-29 23:50 +0200
Re: Changes in sleep mode, on x86 PC Pavel Machek <pavel@ucw.cz> - 2016-03-30 00:00 +0200
Re: Changes in sleep mode, on x86 PC "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2016-03-30 00:10 +0200
Re: Changes in sleep mode, on x86 PC Alan Stern <stern@rowland.harvard.edu> - 2016-03-30 16:50 +0200
csiph-web