From owner-freebsd-usb@FreeBSD.ORG Thu Jul 21 10:47:56 2011 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B973C1065674 for ; Thu, 21 Jul 2011 10:47:56 +0000 (UTC) (envelope-from peerst@gmail.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 795248FC15 for ; Thu, 21 Jul 2011 10:47:56 +0000 (UTC) Received: by vxg33 with SMTP id 33so1090368vxg.13 for ; Thu, 21 Jul 2011 03:47:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=c1647Yjq08/ppTpR5q2dp96AagD9/S0gtmditabxLv0=; b=H+SzPZJxdwZOuWoQ6QaAUpOT06kN7Ynunjn5G/4G6c73XskVcg2qH86pPuDlhPQcsC MHx15q8z8nhcJzFUKdmHZ8Ece1kWtrRG5NFmE+rG0WiuRSVPWbpp4glfZue8B/0yShzb e9Q/rRF/YuswYm87Kd7cUyY93W78YmdZM47Xg= MIME-Version: 1.0 Received: by 10.52.29.178 with SMTP id l18mr92472vdh.90.1311245275828; Thu, 21 Jul 2011 03:47:55 -0700 (PDT) Received: by 10.52.188.102 with HTTP; Thu, 21 Jul 2011 03:47:55 -0700 (PDT) In-Reply-To: <201107201519.55975.hselasky@c2i.net> References: <201107201519.55975.hselasky@c2i.net> Date: Thu, 21 Jul 2011 12:47:55 +0200 Message-ID: From: Peer Stritzinger To: Hans Petter Selasky Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-usb@freebsd.org Subject: Re: Powercycling USB device on hub X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jul 2011 10:47:56 -0000 Hi, On Wed, Jul 20, 2011 at 3:19 PM, Hans Petter Selasky 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. Do I understand this right: I reset the USB Hub device to powercycle all devices connected to it? >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. -- Peer