Return-path: Received: from iolanthe.rowland.org ([192.131.102.54]:56256 "HELO iolanthe.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1753498Ab3HITco (ORCPT ); Fri, 9 Aug 2013 15:32:44 -0400 Date: Fri, 9 Aug 2013 15:32:43 -0400 (EDT) From: Alan Stern To: Oleksij Rempel cc: Christian Lamparter , Sarah Sharp , Seth Forshee , ath9k_htc_fw , USB list , Subject: Re: FUSB200 xhci issue In-Reply-To: <52053AC4.3090509@rempel-privat.de> Message-ID: (sfid-20130809_213248_163913_854F8761) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-wireless-owner@vger.kernel.org List-ID: On Fri, 9 Aug 2013, Oleksij Rempel wrote: > > Is there any way to prevent the device from losing its firmware during > > a USB reset or suspend? > > For suspend - yes. It is possible to ignore suspend command or put the > SoC in low power mode - but is it probably not so easy to bring it back. > I would need to read more code and create some doc as side effect untill > i understand how it works. > I'm not sure how about reset command. I would need more testing and some > ones help. If i see it correctly, usb reset should affect only usb core > and usb pll. > > How can i trigger usb reset? http://marc.info/?l=linux-usb&m=121459435621262&w=2 Give the program the pathname for the USB device node. For example: usbreset /dev/bus/usb/001/004 Alan Stern