From mboxrd@z Thu Jan 1 00:00:00 1970 From: Johannes Erdfelt Date: Tue, 05 Nov 2002 23:40:40 +0000 Subject: Re: usb_string(..) Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable To: linux-hotplug@vger.kernel.org On Tue, Nov 05, 2002, Thiru Angaiyan wrote: > Is there a way to use this function =93usb_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=20 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