All of lore.kernel.org
 help / color / mirror / Atom feed
From: Antony Pavlov <antonynpavlov@gmail.com>
To: Sascha Hauer <s.hauer@pengutronix.de>
Cc: "barebox@lists.infradead.org" <barebox@lists.infradead.org>
Subject: Re: [PATCH] [RFC] [WIP] commands: add tree view capable lsusb
Date: Mon, 2 Jun 2014 14:20:51 +0400	[thread overview]
Message-ID: <20140602142051.330ebed5582ca8489e55d00a@gmail.com> (raw)
In-Reply-To: <20140602083107.GX15686@pengutronix.de>

On Mon, 2 Jun 2014 10:31:07 +0200
Sascha Hauer <s.hauer@pengutronix.de> wrote:

> On Mon, Jun 02, 2014 at 09:59:31AM +0200, Holger Schurig wrote:
> > Hmm, I like that it does a rescan, so that it always display the
> > currently connected USB device automatically.
> 
> Note that we only scan scan the bus once during the lifetime of barebox
> unless the force parameter of usb_rescan is true. This is because
> we currently remove all existing USB devices and reinstantiate all
> USB devices found during scanning. The removal of devices is not very
> well implemented. USB only works properly when the tree is scanned once.

If I drop usb_rescan(0) then I have to run 'usb' command to scan bus manually before running 'lsusb'.
It is very uncomfortable.

-- 
Best regards,
  Antony Pavlov

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

      reply	other threads:[~2014-06-02 10:09 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-21  8:54 [PATCH] [RFC] [WIP] commands: add tree view capable lsusb Antony Pavlov
2014-05-21 13:20 ` Holger Schurig
2014-05-21 14:11   ` Antony Pavlov
2014-06-02  7:24     ` Sascha Hauer
2014-06-02  7:59       ` Holger Schurig
2014-06-02  8:31         ` Sascha Hauer
2014-06-02 10:20           ` Antony Pavlov [this message]

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=20140602142051.330ebed5582ca8489e55d00a@gmail.com \
    --to=antonynpavlov@gmail.com \
    --cc=barebox@lists.infradead.org \
    --cc=s.hauer@pengutronix.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.