[U-Boot] [PATCH] dfu:tests: Modify dfu_gadget_test.sh to accept USB device major:minor number

Lukasz Majewski l.majewski at majess.pl
Fri Aug 14 01:05:41 CEST 2015


On Thu, 13 Aug 2015 14:37:06 +0200
Tormod Volden <lists.tormod at 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>


More information about the U-Boot mailing list