usb_string(..)
Hi,
Is there a way to use this function “usb_string(..) from a user space application without having a kernel mode driver/equivalent.
I basically need to read the SerialNumber string of my
Usb device. I am using libusb to get iSerialNumber
(index). I am looking for some way to uniquely connect to a device when there are more than one device of same Product Id and Vendor Id exits on the system , they may be plugged/unplugged and re enumerate as new devices. I am writing a user space driver based on libusb. Any suggestion /help is appreciated.
Thanks,
Thiru
__________________________________________________
Do you Yahoo!?
HotJobs - Search new jobs daily now
http://hotjobs.yahoo.com/
-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Quoted 4 lines · Thiru Angaiyan
Is there a way to use this function “usb_string(..) from a user space application without having a kernel mode driver/equivalent.
I basically need to read the SerialNumber string of my
Quoted 8 lines
Usb device. I am using libusb to get iSerialNumber
(index). I am looking for some way to uniquely connect to a device when there are more than one device of same Product Id and Vendor Id exits on the system , they may be plugged/unplugged and re enumerate as new devices. I am writing a user space driver based on libusb. Any suggestion /help is appreciated.
You can use libusb. Right now there is no implementation for usb_string, but you can write your own using control messages.
I'll make sure to add an implementation ASAP since it's relatively easy to do and worthwhile.
JE
-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel