Date: Sun, 16 Feb 1997 20:26:43 +0100 From: j@uriah.heep.sax.de (J Wunsch) To: sperber@informatik.uni-tuebingen.de (Michael Sperber [Mr. Preprocessor]) Cc: hackers@freebsd.org Subject: Re: Can I initialize lptx from user space? Message-ID: <Mutt.19970216202643.j@uriah.heep.sax.de> In-Reply-To: <y9lk9o87jom.fsf@modas.informatik.uni-tuebingen.de>; from Michael Sperber [Mr. Preprocessor] on Feb 16, 1997 18:19:21 %2B0100 References: <y9lk9o87jom.fsf@modas.informatik.uni-tuebingen.de>
next in thread | previous in thread | raw e-mail | index | archive | help
As Michael Sperber [Mr. Preprocessor] wrote: > I'd like to drive a lighting control system from the parallel port, > preferably using the standard lpt driver. > > Question: Can I initialize the lpt device, i.e. pulse the -INIT > output pin from user space (without having to change the > driver)? I don't think so. But i think it should be a trivial task to add this kind of stuff to the lptioctl() function. You don't really need to be a kernel hacker for this, as long as you understand a little C at all. The file in question is sys/i386/isa/lpt.c. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Mutt.19970216202643.j>