From owner-freebsd-hardware Fri May 10 13:57: 6 2002 Delivered-To: freebsd-hardware@freebsd.org Received: from omega.focalnetworks.net (omega.focalnetworks.net [209.135.104.33]) by hub.freebsd.org (Postfix) with SMTP id 51A5437B409 for ; Fri, 10 May 2002 13:57:00 -0700 (PDT) Received: (qmail 42617 invoked by uid 1030); 10 May 2002 20:56:59 -0000 Date: Fri, 10 May 2002 16:56:59 -0400 (EDT) From: Jai Dhar To: John Utz Cc: Subject: Re: Parallel port writing In-Reply-To: Message-ID: <20020510165611.E42611-100000@omega.focalnetworks.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hardware@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org device ppc0 at isa? irq 7 device ppbus device lpt device ppi All there On Fri, 10 May 2002, John Utz wrote: > do you have the device in the kernel? i've never gave it any thought, but > wouldnt you need device ppi built in? > > i dont know, i am just guessing.... > > On Fri, 10 May 2002, Jai Dhar wrote: > > > 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 > > > > -- > > 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