Date: Sun, 11 Oct 2009 16:39:05 +0200 From: Hans Petter Selasky <hselasky@c2i.net> To: Sven Hazejager <sven@hazejager.nl> Cc: freebsd-usb@freebsd.org Subject: Re: Simple manner to read 1-pin high/low from USB under FBSD? Message-ID: <200910111639.07588.hselasky@c2i.net> In-Reply-To: <09101116183255.-1077948416@somehost.domainz.com> References: <0910111122164F.-1077952704@somehost.domainz.com> <200910111217.49002.hselasky@c2i.net> <09101116183255.-1077948416@somehost.domainz.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200910111639.07588.hselasky>