|
From: Michael P. <mic...@gm...> - 2009-07-24 17:41:39
|
Rick,
What meaning does the "00000001" have? My guess is it's a string stored on
the device. I'm glancing at the registry on a Windows box, under:
"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB\Vid_0403&Pid_6010\FTS3
IQH4\Device Parameters"
(e.g.)
I find: "SymbolicName" =
"\??\USB#Vid_0403&Pid_6010#FTS3IQH4#{a5dcbf10-6530-11d2-901f-00c04fb951ed}"
On my FTDI chips, that's an 8-digit alphanumeric serial number, which can be
read by libusb (usb_get_string_simple() in 0.1...not sure what the
equivalent is in 1.0). On my digital camera, it appears to be much longer
and of a totally different structure, but I haven't tried using libusb on
it. Can you try reading back some strings from the device and see if one of
them is what you want?
Michael
-----Original Message-----
From: Rick Lamanna [mailto:Ric...@mc...]
Sent: Friday, July 24, 2009 11:26 AM
To: lib...@li...
Subject: [Libusb-devel] device path
Hello,
On Windows, I can get a device path from SetupDiGetDeviceInterfaceDetail()
and the path looks something like...
\\\\?\\usb#vid_09db&pid_00f2#00000001#{e9c37f82-214c-4ede-afff-6b0c2c0146ef}
Can I get this device path from Libusb 1.0? I need to extract the 00000001
from this path
Thanks
Rick L
|