| View previous topic :: View next topic |
| Author |
Message |
equaeghe Apprentice

Joined: 22 Feb 2005 Posts: 258
|
Posted: Wed Jan 16, 2013 8:21 am Post subject: fast transition D0 to D3cold power state cripples USB |
|
|
Hi,
Recently, I think with kernel 3.6 (I use 3.6.11-gentoo), I started getting problems with my USB (Logitech radio) mouse whenever I am running off battery: it deactivates almost immediately, which means I constantly have to (literally) shake it to wake up from sleep before I can use it again. Typical mouse usage includes short periods of activity and longer periods of inactivity, so it is not as if I handle my mouse in a special way.
When looking at what happens:
| Code: | # dmesg | tail
[ 4970.857253] ehci_hcd 0000:00:1a.0: setting latency timer to 64
[ 4970.857383] ehci_hcd 0000:00:1d.0: power state changed by ACPI to D0
[ 4970.958115] ehci_hcd 0000:00:1d.0: setting latency timer to 64
[ 4970.968985] ehci_hcd 0000:00:1d.0: power state changed by ACPI to D3cold
[ 4979.335879] ehci_hcd 0000:00:1a.0: power state changed by ACPI to D3cold
[ 5389.669794] ehci_hcd 0000:00:1a.0: power state changed by ACPI to D0
[ 5389.770291] ehci_hcd 0000:00:1a.0: setting latency timer to 64
[ 5389.770531] ehci_hcd 0000:00:1d.0: power state changed by ACPI to D0
[ 5389.871161] ehci_hcd 0000:00:1d.0: setting latency timer to 64
[ 5389.881955] ehci_hcd 0000:00:1d.0: power state changed by ACPI to D3cold |
It becomes clear that USB (ehci_hcd) is switched from full power (D0) to sleep mode (D3cold) way too fast (in about a tenth of a second!).
I see different possible reasons for this behavior:
- Bug in the kernel I use.
- (Mis)configuration on my part becoming apparent after recent changes in the kernel.
I would be grateful if anyone could guide me to discover what the underlying problem is and help me find a workaround.
TIA,
Erik
Last edited by equaeghe on Tue Mar 19, 2013 12:24 pm; edited 1 time in total |
|
| Back to top |
|
 |
_______0 Guru

Joined: 15 Oct 2012 Posts: 333
|
Posted: Wed Jan 16, 2013 2:04 pm Post subject: |
|
|
is this a laptop, desktop? Configured with a kind of suspend? what's your whole dmesg output? kernel config? etc...
I have no such a messages in dmesg, so looks like and odd power management settings in kernel. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|