Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Oct 2009 16:19:45 +0200 (CEST)
From:      Sven Hazejager <sven@hazejager.nl>
To:        Hans Petter Selasky <hselasky@c2i.net>
Cc:        freebsd-usb@freebsd.org
Subject:   Re: Simple manner to read 1-pin high/low from USB under FBSD?
Message-ID:  <09101116183255.-1077948416@somehost.domainz.com>
In-Reply-To: <200910111217.49002.hselasky@c2i.net>
References:  <0910111122164F.-1077952704@somehost.domainz.com> <200910111217.49002.hselasky@c2i.net>

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



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