[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: What might be grabbing devices?



On Wed, May 31, 2006 at 06:24:13PM +0200, Florian Kulzer wrote:
> On Wed, May 31, 2006 at 09:16:26 -0700, Ross Boylan wrote:
> > I know that the desktop monitors for new devices because when I insert
> > a dvd a window pops up asking me what I want to do.  For cd/dvd
> > burning I'm advised to turn off other things that access the device
> > (though I also gather the problems k3b is having verifying probably
> > lie elsewhere).
> > 
> > More immediately, I'm having trouble faxing and one possibility is
> > that something is interefering with /dev/ttyS0.
> > 
> > Does anyone know what exactly might be doing such things, and how I
> > can disable it?  I've seen some suggestion that hal is the culprit,
> > but nothing definite.
> 
> lsof -w | grep /dev/ttyS0
> 
> might tell you which process is blocking the device.
I already did lsof /dev/ttyS0 which showed
faxgetty 8641 uucp    7u   CHR   4,64       347 /dev/tts/0

Since that's OK, my thoughts ran to something that might run
intermittently.  The command you gave produces
faxgetty   8641       uucp    3w   REG     254,31        17      31312 /var/spool/hylafax/status/ttyS0
faxgetty   8641       uucp    4u  FIFO     254,31                31317 /var/spool/hylafax/FIFO.ttyS0
which I guess is the same, since the FIFO is not the device.  As a
side issue, I'm a bit puzzled by the -w; the man page says it concerns
warning messages, but it seems to be doing something else.

> 
> > The system with the fax trouble is Debian testing, KDE 3.5, 2.4 kernel
> > (i.e, not udev).  The one with the dvd is running 2.6.15 kernel with
> > udev.
> 



Reply to: