turning off printing or parallel port

Lennart Sorensen lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org
Sat Jan 24 15:09:10 UTC 2004


On Sat, Jan 24, 2004 at 08:26:45AM -0500, Chris Aitken wrote:
> Sorry, I pasted in the wrong output:
> 
> [root-5jgDBJOV2nY at public.gmane.org lsf]# /sbin/service cups stop
> Stopping cups:                                             [  OK  ]
> [root-5jgDBJOV2nY at public.gmane.org lsf]#
> 
> Still, in the vm I get,
> 
> Parallel port "/dev/parport0" is used by another program (such as another
> instance of VMware Workstation) or driver (such as lp).
> Failed to connect virtual device parallel0.

Try: modprobe -r lp after you stop cups.  Stopping cups won't make the
module unload, so you have to do that yourself.

> [root-5jgDBJOV2nY at public.gmane.org lsf]# /sbin/fuser cupsd
> cupsd: No such file or directory
> [root-5jgDBJOV2nY at public.gmane.org lsf]# /sbin/fuser -a cupsd
> cupsd: No such file or directory
> [root-5jgDBJOV2nY at public.gmane.org lsf]

it would be fuser /dev/lp0 since you are trying to find what is using
the device.  Or fuser /dev/parport0 perhaps.

Lennart Sorensen
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list