On Mon, 5 Mar 2012, James Courtier-Dutton wrote: > Hi, > > I have found out that although the usb device has a serial number, > stored in descriptor 3. > The descriptor is length 0x31 and type is 0x32. (Instead of type 0x03) > I have not managed to find out how to parse iSerial numbers of > descriptor type 0x32. > I don't suppose you know what type that is? There is no standard descriptor type 50 (= 0x32), as far as I know. There might be a class-specific descriptor type, but a serial number string descriptor should not be class-specific. > Descriptor bytes (including the length(0x31) and type (0x32) are: > 00000000 31 32 80 01 00 00 14 00 00 00 00 00 00 00 00 00 |12..............| > 00000010 00 40 ff 00 00 00 04 00 00 ff 12 24 54 8f 0c e4 |.@.........$T...| > 00000020 f5 0d e5 0c c4 13 54 07 f5 0e e5 0c 54 1f f5 0f |......T.....T...| > 00000030 e5 |.| > > Does anyone have any idea how to parse this? Are you sure that this is really meant to be valid data and isn't just garbage? Alan Stern -- 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