umass regression

Hans Petter Selasky hselasky at c2i.net
Sat Dec 31 16:38:18 UTC 2011


On Saturday 31 December 2011 16:55:52 Warren Block wrote:
> On Sat, 31 Dec 2011, Bartosz Fabianowski wrote:
> > How do I make the quirk actually stick?
> > 
> >> usbconfig -h | grep quirk
> > 
> > I have seen you post this line before. At least on my system, it does not
> > work. usbconfig writes straight to the screen, grep does not filter
> > anything.
> 
> -h output is being written to stderr.  Redirect it:
> 
> sh(1):
>    usbconfig -h 2>&1 | grep quirk
> 
> csh(1):
>    usbconfig -h |& grep quirk
> 
> Maybe there is a reason for this.  Otherwise, line 268 of usbconfig.c
> could be changed to print to stdout.

Did you kldload usb_quirk ?

--HPS


More information about the freebsd-usb mailing list