Hi,
I'm trying to write a API for the PMD-1208LS. It is a HID device, so I'm using the HID driver API.
How do I get/set the serialnumber of the USB device from the HID interface? I need to set these if I have more
than one device on my computer.
cat /proc/usb/devices/
P: Vendor=09db ProdID=007a Rev= 1.00 S: Manufacturer=MCC S: Product=PMD-1208LS S: SerialNumber=00013191 C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=100mA I: If#= 0 Alt= 0 #EPs= 2 Cls=03(HID ) Sub=00 Prot=00 Driver=hid E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=10ms E: Ad=01(O) Atr=03(Int.) MxPS= 8 Ivl=10ms T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 3 B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=09db ProdID=007a Rev= 1.00 S: Manufacturer=MCC S: Product=PMD-1208LS S: SerialNumber=00013314 C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=100mA I: If#= 0 Alt= 0 #EPs= 2 Cls=03(HID ) Sub=00 Prot=00 Driver=hid E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=10ms E: Ad=01(O) Atr=03(Int.) MxPS= 8 Ivl=10ms
Thanks,
Warren
------------------------------------------------------- This SF.Net email is sponsored by: thawte's Crypto Challenge Vl Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam Camcorder. More prizes in the weekly Lunch Hour Challenge. Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
