Simple manner to read 1-pin high/low from USB under FBSD?
Sven Hazejager
sven at hazejager.nl
Sun Oct 11 14:19:49 UTC 2009
On Sun, 11 Oct 2009, Hans Petter Selasky wrote:
>> My new server probably won't have a parallel port anymore. So the question
>> is: is there a simple manner to read 1-pin high/low from USB under FBSD?
>> Any examples anywhere?
>
> usbconfig in FreeBSD-8/9 supports control requests from the command line.
>
> usbconfig -u XXX -a YYY do_request <see help menu>
Thanks for your reply, would I need some GPIO device like this:
http://www.fivemanconspiracy.com/node/45
Please excuse my ignorance, I'm completely new to low-level hacking and
I'm very happy that I got the parallel port option going in the first
place :-)
Sven
More information about the freebsd-usb
mailing list