From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:6f8:1178:4:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WrNeU-0004g2-8q for barebox@lists.infradead.org; Mon, 02 Jun 2014 08:31:31 +0000 Date: Mon, 2 Jun 2014 10:31:07 +0200 From: Sascha Hauer Message-ID: <20140602083107.GX15686@pengutronix.de> References: <1400662482-23560-1-git-send-email-antonynpavlov@gmail.com> <20140521181123.22fa7c295a12523e27d6964b@gmail.com> <20140602072450.GW15686@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH] [RFC] [WIP] commands: add tree view capable lsusb To: Holger Schurig Cc: "barebox@lists.infradead.org" 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 | _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox