linux-amlogic.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
To: Anand Moon <linux.amoon@gmail.com>
Cc: Alan Stern <stern@rowland.harvard.edu>,
	Minas Harutyunyan <hminas@synopsys.com>,
	 Matt Corallo <oc2udbzfd@mattcorallo.com>,
	 Linux USB Mailing List <linux-usb@vger.kernel.org>,
	linux-amlogic@lists.infradead.org
Subject: Re: ODROID-C1/-C2 USB Detection only triggered by some devices
Date: Fri, 2 Jul 2021 21:33:36 +0200	[thread overview]
Message-ID: <CAFBinCCFhK9Nx9ub5h3JctfXCnbrwL7XPV5dvPXWcvWqupnHkA@mail.gmail.com> (raw)
In-Reply-To: <CANAwSgRPvTyMaQHWFeXcS-r5jdigSbcP0QvaTyJ1GFfUyPpqAg@mail.gmail.com>

Hi Anand,

On Fri, Jul 2, 2021 at 9:12 PM Anand Moon <linux.amoon@gmail.com> wrote:
[...]
> > > I am attaching my usbmon output on Odroid C2.
> > Can you please specifically state the testing steps you have used to
> > obtain that output?
>
> I followed the kernel documentation to get the output
> [0] https://www.kernel.org/doc/html/v5.10/usb/usbmon.html
Alan has previously provided the following command to get the usbmon output:
  cat /sys/kernel/debug/usb/usbmon/0u >mon1.txt

The output of that command depends on various factors:
- which USB devices were plugged in during boot
- which USB devices are plugged in when running "lsusb -vv"
- whether you are using the kernel cmdline option usbcore.autosuspend=-1

For the first two factors the "USB device" can be one of:
- no USB device plugged in at all
- one USB device which is not detected when running "lsusb -vv" (we're
calling this group of devices "first group", an example is my Corsair
Voyager USB 3.0 flash drive)
- one USB device which is being detected when running "lsusb -vv" and
also causing all other devices to be detected (we're calling this
group of devices "second group", an example is a cheap 1GB USB 2.0
flash drive that I have)

As you can see there's lots of combinations possible.
That's why it's important that you mention the exact steps to generate
the usbmon output.

If you're interested you can look at one of my earlier emails [0] (not
sure if you were Cc'ed then) where I was running the cat command as
suggested by Alan three times (each time plugging in different devices
at different times) and got three different outputs.


Best regards,
Martin


[0] https://lore.kernel.org/linux-amlogic/CAFBinCA9Y16Ej3PEBN1Rsqo=6V1AZXKOpTfc_siHP0rvVo7wWQ@mail.gmail.com/

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

  reply	other threads:[~2021-07-02 19:33 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
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 [this message]
     [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=CAFBinCCFhK9Nx9ub5h3JctfXCnbrwL7XPV5dvPXWcvWqupnHkA@mail.gmail.com \
    --to=martin.blumenstingl@googlemail.com \
    --cc=hminas@synopsys.com \
    --cc=linux-amlogic@lists.infradead.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=linux.amoon@gmail.com \
    --cc=oc2udbzfd@mattcorallo.com \
    --cc=stern@rowland.harvard.edu \
    /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).