public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Lukasz Majewski <l.majewski@majess.pl>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] dfu:tests: Modify dfu_gadget_test.sh to accept USB device major:minor number
Date: Fri, 14 Aug 2015 01:05:41 +0200	[thread overview]
Message-ID: <20150814010541.10ad630e@jawa> (raw)
In-Reply-To: <CAArsGaah2waKYGFzrsW7rU+Vn4OwMfKBWJ6gQ=ABGGA-W+XHfg@mail.gmail.com>

On Thu, 13 Aug 2015 14:37:06 +0200
Tormod Volden <lists.tormod@gmail.com> wrote:

> On Wed, Aug 12, 2015 at 11:44 PM, Lukasz Majewski wrote:
> > In the dfu-util it is possible to set major:minor number by unsing
> > -d flag (-d 0451:d022).
> > Such option is very handy when many DFU devices are connected to a
> > single host PC. This commit allows testing when above situation
> > emerges.
> 
> > +If many DFU devices are connected, it is necessary to specify USB
> > device major +and minor numbers (0451:d022). One can get them by
> > running "lsusb" command on +a host PC.
> 
> The 0451:d022 is a USB vendor/product ID in the device's own USB
> descriptor. To me "major" and "minor" sounds more like some host OS
> allocated properties, like Linux device major and minor numbers. I
> would have called it "USB device vendor/product ID" instead.

You are definitely correct here. I will correct this.

> 
> "dfu-util allows filtering on USB device vendor/product ID by using
> the -d flag (-d 0451:d022)."
> 
> "If many DFU devices are connected, it may be useful to filter on USB
> vendor/product ID (0451:d022)."
> 
> Best regards,
> Tormod
> 
> PS. There is a typo "unsing" above.

Thanks for spotting.

Best regards,
Lukasz Majewski
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150814/d3c1fa97/attachment.sig>

      reply	other threads:[~2015-08-13 23:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-12 21:44 [U-Boot] [PATCH] dfu:tests: Modify dfu_gadget_test.sh to accept USB device major:minor number Lukasz Majewski
2015-08-13 12:37 ` Tormod Volden
2015-08-13 23:05   ` Lukasz Majewski [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=20150814010541.10ad630e@jawa \
    --to=l.majewski@majess.pl \
    --cc=u-boot@lists.denx.de \
    /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