[ltp] USB issues after suspend to RAM with recent kernels on T60

Jan Kundrát linux-thinkpad@linux-thinkpad.org
Thu, 18 Mar 2010 22:23:08 +0100


This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig17D454F6B749DB3F56B8E28A
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

=2E..and right after sending the previous mail, I recalled that I read in=

the doc that auto suspend should be enabled by default only on a bunch
of devices like USB hubs. However, all my
/sys/bus/usb/devices/*/power/level were set to "auto" after resume --
that might suggest that the module does not obey the same policy upon
resume from s2r.

So, I went ahead, removed any external USB devices I was using at that
time (keyboard & mouse), plugged them back in, and this is what I saw:

velbloud ~ # cat /sys/bus/usb/devices/*/power/level



auto



on



on



auto



auto



auto



auto



auto



auto

After that, I tried `modprobe -r usb_storage btusb usbhid ehci_hcd
uhci_hcd`, followed by modprobe against usbhid, uhci_hcd and ehci_hcd,
in that order. And voila:

velbloud ~ # lsusb
Bus 005 Device 005: ID 0458:003a KYE Systems Corp. (Mouse Systems)
Bus 005 Device 004: ID 046d:c30e Logitech, Inc.
Bus 005 Device 002: ID 04b3:4485 IBM Corp.
Bus 005 Device 001: ID 1d6b:0002
Bus 001 Device 001: ID 1d6b:0001
Bus 003 Device 001: ID 1d6b:0001
Bus 002 Device 001: ID 1d6b:0001
Bus 004 Device 003: ID 0483:2016 SGS Thomson Microelectronics
Fingerprint Reader
Bus 004 Device 001: ID 1d6b:0001
velbloud ~ # cat /sys/bus/usb/devices/*/power/level
on
on
on
auto
auto
auto
auto
auto
auto

At this point, I'm stopping my little research, it seems to me that the
auto suspend is indeed the one to blame here, you were right. Shall I
forward this report somewhere (like the linux-usb list or whatever)?

Cheers,
-jkt

--=20
cd /local/pub && more beer > /dev/mouth


--------------enig17D454F6B749DB3F56B8E28A
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkuimbwACgkQamXfqERyJRdmWACgivy82Sn1Gu6JJRB/zgWVHTs9
BcAAn2lQlj4BxO03OAAP2t3xO42Sd5Cf
=O1a+
-----END PGP SIGNATURE-----

--------------enig17D454F6B749DB3F56B8E28A--