From owner-freebsd-hardware Fri May 10 13:24: 0 2002 Delivered-To: freebsd-hardware@freebsd.org Received: from jupiter.linuxengine.net (jupiter.linuxengine.net [209.61.188.254]) by hub.freebsd.org (Postfix) with ESMTP id F20C937B405 for ; Fri, 10 May 2002 13:23:50 -0700 (PDT) Received: from jupiterweb.commercevault.com (jupiterweb.commercevault.com [209.61.179.16] (may be forged)) by jupiter.linuxengine.net (8.11.6/8.11.0) with ESMTP id g4AKNmo04517; Fri, 10 May 2002 15:23:48 -0500 Date: Fri, 10 May 2002 15:23:48 -0500 (CDT) From: John Utz X-X-Sender: john@jupiter.linuxengine.net To: Jai Dhar Cc: freebsd-hardware@FreeBSD.ORG Subject: Re: Parallel port writing In-Reply-To: <20020510150450.J41234-100000@omega.focalnetworks.net> Message-ID: 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 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