linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Johannes Erdfelt <johannes@erdfelt.com>
To: linux-hotplug@vger.kernel.org
Subject: Re: usb_string(..)
Date: Tue, 05 Nov 2002 23:40:40 +0000	[thread overview]
Message-ID: <marc-linux-hotplug-103653968818697@msgid-missing> (raw)
In-Reply-To: <marc-linux-hotplug-103653178109033@msgid-missing>

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

      reply	other threads:[~2002-11-05 23:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-05 21:25 usb_string(..) Thiru Angaiyan
2002-11-05 23:40 ` Johannes Erdfelt [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-linux-hotplug-103653968818697@msgid-missing \
    --to=johannes@erdfelt.com \
    --cc=linux-hotplug@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).