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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "[email protected]"

Reply via email to