From owner-freebsd-hardware Fri May 10 12: 6: 7 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 99E9E37B405 for ; Fri, 10 May 2002 12:06:03 -0700 (PDT) Received: (qmail 41307 invoked by uid 1030); 10 May 2002 19:06:02 -0000 Date: Fri, 10 May 2002 15:06:02 -0400 (EDT) From: Jai Dhar To: Subject: Parallel port writing Message-ID: <20020510150450.J41234-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 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