From owner-freebsd-questions@FreeBSD.ORG Thu Jul 20 04:55:09 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B71C016A4DF for ; Thu, 20 Jul 2006 04:55:09 +0000 (UTC) (envelope-from george@m5p.com) Received: from mailhost.m5p.com (209-162-215-52.dq1sn.easystreet.com [209.162.215.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id 175A843D49 for ; Thu, 20 Jul 2006 04:55:08 +0000 (GMT) (envelope-from george@m5p.com) Received: from m5p.com (ssh.m5p.com [IPv6:2001:418:3fd::fb]) by mailhost.m5p.com (8.13.7/8.13.7) with ESMTP id k6K4t7Q7008926 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=OK) for ; Wed, 19 Jul 2006 21:55:07 -0700 (PDT) Received: (from george@localhost) by m5p.com (8.13.7/8.13.7/Submit) id k6K4t7gD000880; Wed, 19 Jul 2006 21:55:07 -0700 (PDT) Date: Wed, 19 Jul 2006 21:55:07 -0700 (PDT) Message-Id: <200607200455.k6K4t7gD000880@m5p.com> From: george+freebsd@m5p.com To: freebsd-questions@freebsd.org X-Spam-Score: -2.082 () AWL,BAYES_00,NO_RELAYS X-Scanned-By: MIMEDefang 2.56 on IPv6:2001:418:3fd::f7 Subject: More FreeBSD 6.1: open(/dev/lpt0, O_WRONLY) hangs up X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Jul 2006 04:55:09 -0000 More information about my /dev/lpt0 problem: 1. Enabling or disabling ACPI has no effect. 2. If I boot up in single user mode, I can cat a file to /dev/lpt0 and it prints on the printer. 3. Once I go to mutliuser mode, open("/dev/lpt0",O_WRONLY) hangs forever whether I start lpd or not. 4. If I "shutdown now" to get back to single user mode and then "cat datafile >/dev/lpt0", it hangs until I type control-C, at which point the shell says: "cannot create /dev/lpt0: Interrupted system call" (which really means, looking at the code in /usr/src/bin/sh/redir.c, "cannot OPEN /dev/lpt0"). Help! -- George Mitchell