From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lukasz Majewski Date: Fri, 14 Aug 2015 01:05:41 +0200 Subject: [U-Boot] [PATCH] dfu:tests: Modify dfu_gadget_test.sh to accept USB device major:minor number In-Reply-To: References: <1439415852-15533-1-git-send-email-l.majewski@majess.pl> Message-ID: <20150814010541.10ad630e@jawa> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, 13 Aug 2015 14:37:06 +0200 Tormod Volden 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: