bin/57630: lptcontrol gives "device busy" if device turned off

Ulrich Spoerlein q at uni.de
Sun Oct 10 10:40:15 PDT 2004


The following reply was made to PR bin/57630; it has been noted by GNATS.

From: Ulrich Spoerlein <q at uni.de>
To: freebsd-gnats-submit at FreeBSD.org, yanestra at seismic.de
Cc: schweikh at FreeBSD.org
Subject: Re: bin/57630: lptcontrol gives "device busy" if device turned off
Date: Sun, 10 Oct 2004 19:30:29 +0200

 Hi,
 
 this seems still broken on at least 5.3-BETA5
 
 The manpage now says this:
  -d device
              Set the mode of the printer device specified by device.  The
              default value for device is /dev/lpt0.
 
 But nothing works:
 # lptcontrol -p
 lptcontrol: open: Device busy
 # lptcontrol -p -d /dev/lpt0
 lptcontrol: open: Device busy
 # lptcontrol -p -d /dev/lpt0.ctl
 lptcontrol: ioctl: Operation not supported
 
 Note that there is a pause before the error message gets displayed.
 
 There is a Scanner attached to the parallel port, disconnecting the
 scanner yields the same results.
 
 Coupled with the fact, that acpi "claims" the ppc(4) device and ignores
 settings in /boot/device.hints, this is rather annoying :(
 
 Ulrich Spoerlein
 -- 
 PGP Key ID: F0DB9F44				Encrypted mail welcome!
 PGP Fingerprint: F1CE D062 0CA9 ADE3 349B  2FE8 980A C6B5 F0DB 9F44
 Ok, which part of "Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn."
 didn't you understand?


More information about the freebsd-bugs mailing list