I would like to know why bmAttributes of 0XC0 is not "Self Powered" only?
I got this information "bmAttributes sets bit 6 = 1 if the device is self-powered and zero if bus powered.
Bit 5 = 1 if the device supports the remote wakeup feature, which enables
a suspended USB device to tell the host that the device wants to communicate.
The other bits in the field are unused. Bits 4..0 must be zero. Bit 7 must equal 1
for compatibility with USB 1.0" from USB Complete The Developer's Guide (4th Edition)0
From USB Device Viewer:
===>Configuration Descriptor<===
bLength: 0x09
bDescriptorType: 0x02
wTotalLength: 0x0029 -> Validated
bNumInterfaces: 0x01
bConfigurationValue: 0x01
iConfiguration: 0x00
bmAttributes: 0xC0 -> Bus Powered
MaxPower: 0xFA = 500 mA
From USB Device Tree Viewer:
-------------- Configuration Descriptor ---------------
bLength : 0x09 (9 bytes)
bDescriptorType : 0x02 (Configuration Descriptor)
wTotalLength : 0x0029 (41 bytes)
bNumInterfaces : 0x01
bConfigurationValue : 0x01
iConfiguration : 0x00
bmAttributes : 0xC0 (Bus Powered, Self Powered)
MaxPower : 0xFA (500 mA)