Date: Fri, 10 May 2002 16:40:20 -0400 (EDT) From: Jai Dhar <jdhar@omega.focalnetworks.net> To: <freebsd-hardware@freebsd.org> Subject: Re: Parallel port writing Message-ID: <20020510163930.V42357-100000@omega.focalnetworks.net> In-Reply-To: <Pine.LNX.4.44.0205101523260.4473-100000@jupiter.linuxengine.net>
next in thread | previous in thread | raw e-mail | index | archive | help
I am root, lpd isn't running, and as for ppi.. I tried their exact code that they have in 'man ppi', and still doesn't work??? On Fri, 10 May 2002, John Utz wrote: > you arent root? > > or, more likely, lpd owns it! > > On Fri, 10 May 2002, Jai Dhar wrote: > > > I have a question about writing to parallel ports. > > I am trying to make a basic C program to write simple data to a parallel > > port, but when I try, I get an error on opening /dev/lpt0 as "Device Busy" > > I tried echo 255 > /dev/lpt0, and also got "Device Busy". When looking at > > all my processes, I didn't see anything that visibly took control of > > /dev/lpt0. In dmesg, I get both ppc0 and lpt0 detected with an IRQ and IO > > address fine. What could be wrong? Thank you > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-hardware" in the body of the message > > > > -- > > John L. Utz III > john@utzweb.net > > Idiocy is the Impulse Function in the Convolution of Life > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hardware" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hardware" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020510163930.V42357-100000>