Re: Tool to enable USB power management

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Feb 25, 2009 at 01:47:53PM +0100, Stephen J. Gowdy wrote:
>> Am Mittwoch 25 Februar 2009 13:31:31 schrieb Stephen J. Gowdy:
>>> Okay, after setting that and upgrading to 2.6.28.7 these two devices;
>>>
>>>       1  Bus 001 Device 006: ID 03f0:2424 Hewlett-Packard LP1965 19"
>>> Monitor Hub
>>>       2  Bus 005 Device 002: ID 08ff:2580 AuthenTec, Inc. AES2501
>>> Fingerprint Sensor
>>>
>>> show;
>>>
>>> -----
>>> Enabling auto-suspend.  Waiting for device activity to cease...
>>>
>>> Device still active, test inconclusive.

Usually that means some other program is trying to use the device while
you're running the test.  (Perhaps some message about "don't use this
device yet" would be helpful?)

In the case of the monitor hub, you have 3 USB devices attached whose
drivers don't support autosuspend.  That hub will never auto-suspend
because the devices below it in the tree are still active.  That doesn't
matter much because we haven't found many hubs that break when
auto-suspended.

I'm not sure why the fingerprint reader doesn't autosuspend.  Do you
have it set up to scan your print for things like lib-pam-ssh?  Or were
you using it with a program like thinkfinger?

Sarah Sharp

>>> Other output that might be interesting (the HP Module was offered as a
>>> test option before enabling USB_POWER);
>>> 
>>> You will not be able to test these devices on your system:
>>> Bus 001 Device 005: ID 058f:6362 Alcor Micro Corp. Hi-Speed 21-in-1
>>> Flash
>>> Card Reader/Writer (Internal/External)
>>>            drivers without auto-suspend support:  usb-storage
>>> Bus 001 Device 003: ID 04b4:6560 Cypress Semiconductor Corp. CY7C65640
>>> USB-2.0 "TetraHub"
>>>            drivers without auto-suspend support:  usb-storage
>>> usb-storage
>>>      Bus 001 Device 004: ID 057b:0000 Y-E Data, Inc. FlashBuster-U
>>> Floppy
>>>            drivers without auto-suspend support:  usb-storage
>>> Bus 003 Device 002: ID 03f0:171d Hewlett-Packard Wireless (Bluetooth +
>>> WLAN) Interface [Integrated Module]
>>>            drivers without auto-suspend support:  btusb btusb

>>
>> Number #2 is odd. Can you post "lsusb -t"?
>>
>> 	Regards
>> 		Oliver
>>
> [antonia] ~ > lsusb -t
> Bus#  7
> `-Dev#   1 Vendor 0x1d6b Product 0x0001
> Bus#  6
> `-Dev#   1 Vendor 0x1d6b Product 0x0001
> Bus#  5
> `-Dev#   1 Vendor 0x1d6b Product 0x0001
>   `-Dev#   2 Vendor 0x08ff Product 0x2580
> Bus#  4
> `-Dev#   1 Vendor 0x1d6b Product 0x0001
> Bus#  3
> `-Dev#   1 Vendor 0x1d6b Product 0x0001
>   `-Dev#   2 Vendor 0x03f0 Product 0x171d
> Bus#  2
> `-Dev#   1 Vendor 0x1d6b Product 0x0002
> Bus#  1
> `-Dev#   1 Vendor 0x1d6b Product 0x0002
>   `-Dev#   3 Vendor 0x04b4 Product 0x6560
>     |-Dev#   4 Vendor 0x057b Product 0x0000
>     |-Dev#   5 Vendor 0x058f Product 0x6362
>     `-Dev#   6 Vendor 0x03f0 Product 0x2424
>
> or similarly;
>
> [antonia] ~ > ./unix/htdocs/usbtree
> /: Bus 07.Port 1: Dev 1, Class=root_hub, Drv=uhci_hcd/2p, 12M
> /: Bus 06.Port 1: Dev 1, Class=root_hub, Drv=uhci_hcd/2p, 12M
> /: Bus 05.Port 1: Dev 1, Class=root_hub, Drv=uhci_hcd/2p, 12M
>     |_ Port 2: Dev 2, If 0, Prod=Fingerprint Sensor, Class=vend., Drv=none, 12M
> /: Bus 04.Port 1: Dev 1, Class=root_hub, Drv=uhci_hcd/2p, 12M
> /: Bus 03.Port 1: Dev 1, Class=root_hub, Drv=uhci_hcd/2p, 12M
>     |_ Port 1: Dev 2, If 0, Prod=HP Integrated Module, Class=unk., Drv=btusb, 12M
>     |_ Port 1: Dev 2, If 1, Prod=, Class=unk., Drv=btusb, 12M
>     |_ Port 1: Dev 2, If 2, Prod=, Class=vend., Drv=none, 12M
>     |_ Port 1: Dev 2, If 3, Prod=, Class=app., Drv=none, 12M
> /: Bus 02.Port 1: Dev 1, Class=root_hub, Drv=ehci_hcd/6p, 480M
> /: Bus 01.Port 1: Dev 1, Class=root_hub, Drv=ehci_hcd/4p, 480M
>     |_ Port 2: Dev 3, If 0, Prod=, Class=hub, Drv=hub/4p, 480M
>         |_ Port 1: Dev 4, If 0, Prod=USB Floppy Drive, Class=stor., Drv=usb-storage, 12M
>         |_ Port 2: Dev 5, If 0, Prod=Mass Storage Device, Class=stor., Drv=usb-storage, 480M
>         |_ Port 4: Dev 6, If 0, Prod=, Class=hub, Drv=hub/4p, 480M
>
>
> On Wed, 25 Feb 2009, Oliver Neukum wrote:
>
>> Am Mittwoch 25 Februar 2009 13:31:31 schrieb Stephen J. Gowdy:
>>> Okay, after setting that and upgrading to 2.6.28.7 these two devices;
>>>
>>>       1  Bus 001 Device 006: ID 03f0:2424 Hewlett-Packard LP1965 19"
>>> Monitor Hub
>>>       2  Bus 005 Device 002: ID 08ff:2580 AuthenTec, Inc. AES2501
>>> Fingerprint Sensor
>>>
>>> show;
>>>
>>> -----
>>> Enabling auto-suspend.  Waiting for device activity to cease...
>>>
>>> Device still active, test inconclusive.
>>
>> Number #2 is odd. Can you post "lsusb -t"?
>>
>> 	Regards
>> 		Oliver
>>
>>
>
> -- 
>  /------------------------------------+-------------------------\
> |Stephen J. Gowdy                     | CERN       Office: 8-1-11|
> |http://cern.ch/gowdy/                | CH-1211 Geneva 23        |
> |                                     | Switzerland              |
> |EMail: gowdy@xxxxxxx                 | Tel: +41 76 487 2215     |
>  \------------------------------------+-------------------------/

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux