[PATCH] [RFC] [WIP] commands: add tree view capable lsusb

Sascha Hauer s.hauer at pengutronix.de
Mon Jun 2 01:31:07 PDT 2014


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.

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list