私が興味を持っているフィールドは、次の出力からの iSerial です。lsusb -d <idVendor>:<idProduct> -v
一意でない iSerialNumber の出力例:
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 239 Miscellaneous Device
bDeviceSubClass 2 ?
bDeviceProtocol 1 Interface Association
bMaxPacketSize0 64
idVendor 0x0402 ALi Corp.
idProduct 0x9665 Gateway Webcam
bcdDevice 0.09
iManufacturer 3
iProduct 1
iSerial 0 <-- Three string descriptors exist to provide details of the manufacturer, product and serial number. There is no requirement to have string descriptors. If no string descriptor is present, a index of zero should be used.
bNumConfigurations 1
Configuration Descriptor:
私の知る限り、iSerialNumber には一意に識別可能な文字列値が含まれているとは限りません。たとえば、Iphone と Ipad にはこの情報が含まれていますが、私がテストした他の一部のデバイスにはこの値がありません。USB 標準によれば、文字列記述子を持つことは必須ではありません。
GoPro の所有者で、シリアル番号の文字列記述子があるかどうか教えてもらえますか?
私はまだカメラを持っていません。