Simple manner to read 1-pin high/low from USB under FBSD?

Hans Petter Selasky hselasky at c2i.net
Sun Oct 11 14:38:20 UTC 2009


On Sunday 11 October 2009 16:19:45 Sven Hazejager wrote:
> 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

Hi,

I don't know. You need to ask the manufacturer. Ask them if  the control 
endpoint is used to turn on/off the pin(s) you want.

--HPS


More information about the freebsd-usb mailing list