linux-amlogic.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Alan Stern <stern@rowland.harvard.edu>
To: Matt Corallo <oc2udbzfd@mattcorallo.com>
Cc: linux-usb@vger.kernel.org, linux-amlogic@lists.infradead.org,
	Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Subject: Re: ODROID-C1/-C2 USB Detection only triggered by some devices
Date: Sun, 27 Jun 2021 20:58:25 -0400	[thread overview]
Message-ID: <20210628005825.GA638648@rowland.harvard.edu> (raw)
In-Reply-To: <0badab7c-f12e-e9ed-2f90-2cf5f25f4038@bluematt.me>

On Sun, Jun 27, 2021 at 08:32:21PM -0400, Matt Corallo wrote:
> On an ODROID-C1/C2 device, using the dwc2 driver, only some devices cause USB bus to enumerate devices.
> 
> Specifically, both on boot and during normal operation, if some devices are
> plugged in, all USB devices are detected, but if those devices are removed,
> no detection of any devices occurs.

So if you boot with no devices plugged in, and then you plug in (say) a 
flash drive, it doesn't get detected?

> I sadly don't have a lot more to go on, but xdarklight on IRC (I believe ==
> Martin, CC'd) confirmed the findings with a grab bag of USB devices he had
> sitting around as well, and may be able to provide CONFIG_USB_DWC2_DEBUG
> output.
> 
> Any further guidance on where to look to debug this issue would be appreciated.
> 
> As a sample, some devices which, when plugged in (either alone or together)
> do not cause any USB device detection (see attached lsusb -v files):
> 
> Samsung T7 USB 3 drive
> Samsung-Branded Silicon Motion USB 3 Flash Drive
> 
> Some devices which, when plugged in cause all USB devices to be detected:
> 
> Mushkin-Branded Kingston USB 3 Flash Drive
> Kingston-Branded Kingston USB 2 Flash Drive
> USB-3 MicroSD Card reader (lsusb/testing by xdarklight)
> SanDisk USB 3 Flash Drive (lsusb/testign by xdkarlight)

This could simply be a question of power.  Most of the flash drives and 
the card reader probably don't require very much power, whereas some of 
them need more.  You can this, to some extent, in the MaxPower fields of 
the lsusb -v listings.

Do things work better if you plug these devices into a powered hub 
rather than directly into the computer?  If the hub can provide the 
power that these devices need, the computer won't be overloaded.

Alan Stern

_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

  reply	other threads:[~2021-06-28  0:58 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-28  0:32 ODROID-C1/-C2 USB Detection only triggered by some devices Matt Corallo
2021-06-28  0:58 ` Alan Stern [this message]
2021-06-28  1:05   ` Matt Corallo
2021-06-28  1:16     ` Alan Stern
2021-06-28  1:24       ` Matt Corallo
2021-06-28 14:24         ` Alan Stern
2021-06-28 18:37           ` Martin Blumenstingl
2021-06-29 15:05             ` Alan Stern
2021-06-29 15:51               ` Martin Blumenstingl
2021-06-29 16:18                 ` Alan Stern
2021-06-29 16:30                   ` Martin Blumenstingl
2021-06-30  0:35                     ` Alan Stern
2021-07-01 10:03                       ` Anand Moon
2021-07-01 21:18                         ` Martin Blumenstingl
2021-07-02 19:11                           ` Anand Moon
2021-07-02 19:33                             ` Martin Blumenstingl
     [not found]                               ` <CANAwSgQH6HgFQ+xz15AoKhGUF9G18P-cHOVL2FvS_34FrW=bzQ@mail.gmail.com>
2021-07-13 15:41                                 ` Martin Blumenstingl
2021-06-30 23:09                     ` Martin Blumenstingl
2021-07-10 17:07                       ` Martin Blumenstingl
2021-07-11  8:15                         ` ODROID-C1/-C2 USB Detection only triggered by some devices dwc2 Minas Harutyunyan
2021-07-11 17:56                           ` Martin Blumenstingl
2021-07-12  6:42                             ` Minas Harutyunyan
2021-07-12 11:35                               ` Martin Blumenstingl
2021-07-14 15:27                                 ` Minas Harutyunyan
2021-07-14 23:16                                   ` Martin Blumenstingl
2021-07-15  1:44                                     ` Alan Stern
2021-07-15  2:04                                       ` Alan Stern
2021-07-18 21:24                                       ` Martin Blumenstingl
2021-07-19 14:53                                         ` Alan Stern
2021-07-19 15:03                                           ` Alan Stern
2021-07-20 21:55                                           ` Martin Blumenstingl
2021-07-21 15:58                                             ` Alan Stern
2021-08-03 20:20                                               ` Martin Blumenstingl
2021-08-03 21:32                                                 ` Alan Stern
2021-12-12 16:08                                                   ` Martin Blumenstingl
2022-01-10 22:05                                                     ` Martin Blumenstingl

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=20210628005825.GA638648@rowland.harvard.edu \
    --to=stern@rowland.harvard.edu \
    --cc=linux-amlogic@lists.infradead.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=martin.blumenstingl@googlemail.com \
    --cc=oc2udbzfd@mattcorallo.com \
    /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 NNTP newsgroup(s).