I was just looking through the USB2 spec and stumbled upon section 11.23.2.1 - the DeviceRemovable descriptor. Seems to work for, at least, my IBM UltraNav keyboard [0] - see [1] for lsusb snippets.
Can anyone with access to a Dell Mini (Richard?) please attach 'lsusb -vvv' and 'lsusb -t' output? Many thanks!
If it checks out for the Dell Mini, we should be able to figure out whether a given USB device really is removable or not (could be incorporated as a patch to udev's usb_id).
[...]
Hub Descriptor:
bLength 9
bDescriptorType 41
nNbrPorts 4
wHubCharacteristic 0x0009
Per-port power switching
Per-port overcurrent protection
bPwrOn2PwrGood 50 * 2 milli seconds
bHubContrCurrent 100 milli Ampere
DeviceRemovable 0x18
PortPwrCtrlMask 0xff
Hub Port Status:
Port 1: 0000.0100 power
Port 2: 0000.0100 power
Port 3: 0000.0303 lowspeed power enable connect
Port 4: 0000.0303 lowspeed power enable connect
[...]
Hey,
I was just looking through the USB2 spec and stumbled upon section 11.23.2.1 - the DeviceRemovable descriptor. Seems to work for, at least, my IBM UltraNav keyboard [0] - see [1] for lsusb snippets.
Can anyone with access to a Dell Mini (Richard?) please attach 'lsusb -vvv' and 'lsusb -t' output? Many thanks!
If it checks out for the Dell Mini, we should be able to figure out whether a given USB device really is removable or not (could be incorporated as a patch to udev's usb_id).
David
[0] : http:// www.geek. com/articles/ chips/review- lenovo- thinkpad- ultranav- keyboard- 20090325/
[1] :
lsusb -t:
[...]
|-Dev# 3 Vendor 0x04b3 Product 0x3016
| |-Dev# 5 Vendor 0x04b3 Product 0x3018
| `-Dev# 6 Vendor 0x06cb Product 0x0009
[...]
lsusb -vvv:
[...] istic 0x0009
Hub Descriptor:
bLength 9
bDescriptorType 41
nNbrPorts 4
wHubCharacter
Per-port power switching
Per-port overcurrent protection
bPwrOn2PwrGood 50 * 2 milli seconds
bHubContrCurrent 100 milli Ampere
DeviceRemovable 0x18
PortPwrCtrlMask 0xff
Hub Port Status:
Port 1: 0000.0100 power
Port 2: 0000.0100 power
Port 3: 0000.0303 lowspeed power enable connect
Port 4: 0000.0303 lowspeed power enable connect
[...]