Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Aug 2010 14:55:25 -0600 (MDT)
From:      Warren Block <wblock@wonkity.com>
To:        Hans Petter Selasky <hselasky@c2i.net>
Cc:        freebsd-usb@freebsd.org
Subject:   Re: USB HDD needs replugging?
Message-ID:  <alpine.BSF.2.00.1008211453070.79363@wonkity.com>
In-Reply-To: <201008211829.13658.hselasky@c2i.net>
References:  <20100821120316.GA3352@satcidananda.16x108.merseine.nu> <201008211756.26486.hselasky@c2i.net> <1282407981.2000.26.camel@satcidananda> <201008211829.13658.hselasky@c2i.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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> <pid> <lo_rev> <hi_rev> <quirk>
>
> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1008211453070.79363>