Linux-USB Archive mirror
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: Charles Harris <charles7@slingshot.co.nz>
Cc: linux-usb@vger.kernel.org
Subject: Re: USB Device ID
Date: Tue, 14 May 2024 07:48:10 +0200	[thread overview]
Message-ID: <2024051428-sweep-lark-3923@gregkh> (raw)
In-Reply-To: <befe7135-16f1-4a3f-8164-b15dd748e397@slingshot.co.nz>

On Tue, May 14, 2024 at 01:10:10PM +1200, Charles Harris wrote:
> Hi Alan and all
> Noticed conversation as below on earlier post.
> 
> I would like to know if this code could be used in a similar case.
> 
> Linux Mint 21.3   Using LibreCalc
> 
> With USB RFID tag readers, (2 or more reader)  most enter direct into open focus spreadsheet.  However with no device number.   Have same pid and vid.
> 
> As the read from USB tag goes to the spreadsheet, can the device number  eg 004 and the bus number eg 004 be appended to the data read into the spreadsheet.  This would enable spreadsheet identify each reader and its location, to manipulate the tag reads by the  location etc.
> 
> If so, how do I go about setting up?

Not directly from the kernel, no, you need to write a userspace program
to do this somehow, sorry.

good luck!

greg k-h

      reply	other threads:[~2024-05-14  5:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-14  1:10 USB Device ID Charles Harris
2024-05-14  5:48 ` Greg KH [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=2024051428-sweep-lark-3923@gregkh \
    --to=gregkh@linuxfoundation.org \
    --cc=charles7@slingshot.co.nz \
    --cc=linux-usb@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 read-only IMAP folder(s) and NNTP newsgroup(s).