Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Dec 2011 08:55:52 -0700 (MST)
From:      Warren Block <wblock@wonkity.com>
To:        Bartosz Fabianowski <freebsd@chillt.de>
Cc:        freebsd-usb@freebsd.org
Subject:   Re: umass regression
Message-ID:  <alpine.BSF.2.00.1112310849300.50853@wonkity.com>
In-Reply-To: <4EFF03B5.7050502@chillt.de>
References:  <4EF9D06C.9060501@chillt.de> <201112271634.40288.hselasky@c2i.net> <4EFE39D4.4070501@chillt.de> <201112311331.08209.hselasky@c2i.net> <4EFF03B5.7050502@chillt.de>

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



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