Subject: Redirecting usbhidctl -l output
To: None <netbsd-users@NetBSD.org>
From: Thomas Bieg <tomsbsd04@tiscali.de>
List: netbsd-users
Date: 07/07/2006 13:32:26
This is driving me nuts.

I have an USB HID (d)evice (tried with different) and want to
capture/redirect the continuous output of usbhidctl -l.

usbhidctl -f0 -a
  -> works as expected, printing the state of all inputs

usbhidctl -f0 -a | cat
  -> the same (of course, one would think)

usbhidctl -f0 -a -l
  -> fine, repeatedly printing all inputs on every keypress

But now:

usbhidctl -f0 -a -l | cat
  -> prints absolutely nothing, never, not a single line


Redirecting to a file makes no difference, I also tried
redirecting stderr to no avail.


I don't get it. Can someone tell me what's wrong here?

Thanks,
Tom


(3.0_STABLE, from soon after release.)