From owner-freebsd-usb@FreeBSD.ORG Sat Aug 21 20:55:29 2010 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 76021106566C for ; Sat, 21 Aug 2010 20:55:29 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 2F2E88FC18 for ; Sat, 21 Aug 2010 20:55:28 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.4/8.14.4) with ESMTP id o7LKtPpn079437; Sat, 21 Aug 2010 14:55:25 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.4/8.14.4/Submit) with ESMTP id o7LKtP7q079434; Sat, 21 Aug 2010 14:55:25 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Sat, 21 Aug 2010 14:55:25 -0600 (MDT) From: Warren Block To: Hans Petter Selasky In-Reply-To: <201008211829.13658.hselasky@c2i.net> Message-ID: References: <20100821120316.GA3352@satcidananda.16x108.merseine.nu> <201008211756.26486.hselasky@c2i.net> <1282407981.2000.26.camel@satcidananda> <201008211829.13658.hselasky@c2i.net> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.6 (wonkity.com [127.0.0.1]); Sat, 21 Aug 2010 14:55:25 -0600 (MDT) Cc: freebsd-usb@freebsd.org Subject: Re: USB HDD needs replugging? 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: Sat, 21 Aug 2010 20:55:29 -0000 On Sat, 21 Aug 2010, Hans Petter Selasky wrote: > On Saturday 21 August 2010 18:26:21 indulekha wrote: >> what is the exact >> command to enable or disable quirks, etc. > > Hi, > > The format is: > > usbconfig add_dev_quirk_vplh > > vid: VendorID > pid: ProductID > > lo_rev: 0 > Hi_rev 0xffff > > quirk: your quirk UQ_XXX > > If the driver shows a disconnect message or attach failure, then I think > quirks won't help. > > Instead of replugging your device, it is sometimes possible to make the device > available using: > > usbconfig -u X -a Y reset > > Where X and Y are the ugenX.Y for your root HUB or your device. > > You need to be root to execute these commands. A real, working example of this would be an excellent addition to usbconfig(8). If you provide one, and explain what it does, I'll create a patch.