Date: Thu, 21 Jul 2011 12:49:03 +0200 From: Hans Petter Selasky <hselasky@c2i.net> To: Peer Stritzinger <peerst@gmail.com> Cc: freebsd-usb@freebsd.org Subject: Re: Powercycling USB device on hub Message-ID: <201107211249.03972.hselasky@c2i.net> In-Reply-To: <CA%2Bervza7eeMo%2BCePWqV_PRXka4_VdH49JgTc9rEpPZ%2BCXQF2uA@mail.gmail.com> References: <CA%2BervzZXRTHk6GWSy0HMELaANdwYia4ddQ1pX=tCrPx73pqMtg@mail.gmail.com> <201107201519.55975.hselasky@c2i.net> <CA%2Bervza7eeMo%2BCePWqV_PRXka4_VdH49JgTc9rEpPZ%2BCXQF2uA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 21 July 2011 12:47:55 Peer Stritzinger wrote: > Hi, > > On Wed, Jul 20, 2011 at 3:19 PM, Hans Petter Selasky <hselasky@c2i.net> wrote: > > On Wednesday 20 July 2011 14:30:37 Peer Stritzinger wrote: > >>... > >> > > Using the usbconfig utility in 8 stable and 9 current, you can set the > > configuration to 255 which means unconfigured and then 0 for the root > > HUB. For non-root HUBs you can BUS-reset the devices usbconfig -d X.Y > > reset or set_config aswell. > Hi, > Do I understand this right: I reset the USB Hub device to powercycle > all devices connected to it? Yes. That is correct. > > >There is also a power_off command, but your device might > > > > not come back after that. > > This would probably really not help since I try to reboot a USB device > with hung software, so it won't recognize any commands itself. Have you tried usbconfig -d X.Y reset ? Do a power_off command before the parent HUB reset, if the parent HUB reset is not enough. Beware that some motherboards hardwire the powersupply to the USB port. I.E. it is not possible to power-cycle the root HUB USB port. --HPS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201107211249.03972.hselasky>