All of lore.kernel.org
 help / color / mirror / Atom feed
From: mahesh mv <maheshm_v@yahoo.com>
To: "u-boot@lists.denx.de" <u-boot@lists.denx.de>
Subject: USB device enumeration query
Date: Mon, 20 Dec 2021 05:37:19 +0000 (UTC)	[thread overview]
Message-ID: <321889095.1287351.1639978639867@mail.yahoo.com> (raw)
In-Reply-To: 321889095.1287351.1639978639867.ref@mail.yahoo.com

Hi all,
We have  a board where we plan to connect 2 USB devices of MASS storage class. One of the devices (3) is plugged in all the timebut the other USB is hotplugged when ever its required. The issue we are facing is the device number is not deterministic acrossreboots with uboot 2021 . Is there a way to fix the Device 3 below as the first one all the time in DTS file or some other mechanism in uboot.
Emerald:> versionU-Boot 2021.07--11625-ge998855ac2-dirty (Dec 07 2021 - 23:22:27 +0530)
aarch64-broadcom-linux-gnu-gcc.br_real (Buildroot 2019.08) 8.3.0GNU ld (GNU Binutils) 2.31.1

 Emerald:> usb info     1: Hub,  USB Revision 3.0     - U-Boot XHCI Host Controller     - Class: Hub     - PacketSize: 512  Configurations: 1     - Vendor: 0x0000  Product 0x0000 Version 1.0        Configuration: 1        - Interfaces: 1 Self Powered 0mA          Interface: 0          - Alternate Setting 0, Endpoints: 1          - Class Hub          - Endpoint 1 In Interrupt MaxPacket 8 Interval 255ms         2: Hub,  USB Revision 2.0     -  USB2.0 Hub     - Class: Hub     - PacketSize: 64  Configurations: 1     - Vendor: 0x05e3  Product 0x0608 Version 96.112        Configuration: 1        - Interfaces: 1 Self Powered Remote Wakeup 100mA          Interface: 0          - Alternate Setting 0, Endpoints: 1          - Class Hub          - Endpoint 1 In Interrupt MaxPacket 1 Interval 12ms         3: Mass Storage,  USB Revision 2.10     - SanDisk Ultra 040122c9e4a887e576fc7d3a05f5898     - Class: (from Interface) Mass Storage     - PacketSize: 64  Configurations: 1     - Vendor: 0x0781  Product 0x5581 Version 1.0        Configuration: 1        - Interfaces: 1 Bus Powered 224mA          Interface: 0          - Alternate Setting 0, Endpoints: 2          - Class Mass Storage, Transp. SCSI, Bulk only          - Endpoint 1 In Bulk MaxPacket 512          - Endpoint 2 Out Bulk MaxPacket 512         4: Mass Storage,  USB Revision 2.0     - Virtium VTDU31XC008G-A901 P1T65005607903260051     - Class: (from Interface) Mass Storage     - PacketSize: 64  Configurations: 1     - Vendor: 0x2aaa  Product 0x0100 Version 1.0        Configuration: 1        - Interfaces: 1 Bus Powered 100mA          Interface: 0          - Alternate Setting 0, Endpoints: 2          - Class Mass Storage, Transp. SCSI, Bulk only          - Endpoint 1 In Bulk MaxPacket 512          - Endpoint 1 Out Bulk MaxPacket 512

Thanks,Mahesh

       reply	other threads:[~2021-12-20 12:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <321889095.1287351.1639978639867.ref@mail.yahoo.com>
2021-12-20  5:37 ` mahesh mv [this message]
2021-12-28  8:52   ` USB device enumeration query Simon Glass

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=321889095.1287351.1639978639867@mail.yahoo.com \
    --to=maheshm_v@yahoo.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.