On Mon, 2 Jun 2014 10:31:07 +0200 Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox