Re: [linux-usb-devel] [PATCH] USB: Only enable autosuspend bydefault on certain device classes

From: Dave Jones
Date: Fri Aug 03 2007 - 11:49:34 EST


On Fri, Aug 03, 2007 at 05:31:52PM +0200, Jiri Kosina wrote:

> > Plus if you're connected to such a device for monitoring purposes you're
> > probably powered by it as well, so you have little to gain from suspend
> > even if it works.
>
> I currently don't have any HID UPS by hand to verify, but I'd be surprised
> if they would advertise remote wakeup capability ... ?

Looks like mine does..

Bus 001 Device 004: ID 051d:0002 American Power Conversion Back-UPS Pro 500/1000/1500
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x051d American Power Conversion
idProduct 0x0002 Back-UPS Pro 500/1000/1500
bcdDevice 1.06
iManufacturer 3 APC
iProduct 1 Back-UPS ES 500 FW:801.e6.D USB FW:e6
iSerial 2 AB0530291763
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 34
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA

...

Dave


--
http://www.codemonkey.org.uk
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/