* usb_string(..)
@ 2002-11-05 21:25 Thiru Angaiyan
2002-11-05 23:40 ` usb_string(..) Johannes Erdfelt
0 siblings, 1 reply; 2+ messages in thread
From: Thiru Angaiyan @ 2002-11-05 21:25 UTC (permalink / raw)
To: linux-hotplug
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
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: usb_string(..)
2002-11-05 21:25 usb_string(..) Thiru Angaiyan
@ 2002-11-05 23:40 ` Johannes Erdfelt
0 siblings, 0 replies; 2+ messages in thread
From: Johannes Erdfelt @ 2002-11-05 23:40 UTC (permalink / raw)
To: linux-hotplug
On Tue, Nov 05, 2002, Thiru Angaiyan <athiru@yahoo.com> wrote:
> 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.
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
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-11-05 23:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-05 21:25 usb_string(..) Thiru Angaiyan
2002-11-05 23:40 ` usb_string(..) Johannes Erdfelt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).