TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TCLUG:4004] my sound died



On Tue, Feb 09, 1999 at 10:58:51PM -0600, Ben Luey wrote:
> 
> fuser /dev/dsp gives nothing (for for /dev/audio, /dev/dsp1, etc). I
> changed my /boot/System.map file and now lsof works, but I don't know how
> to use it to find out what is stopping mp3's from playing. I greped
> ~/.lsof_pclueyb for dsp and got:
> 
> e03 8240 /dev/dsp
> e13 8241 /dev/dsp1  
> 

i do believe the .lsof-<hostname> file is just a cache file for devices, and
is of no concern to anything besides lsof itself.

> put 824[01] aren't valid pids. Any ideas? (or should I just give in and
> reboot?)
> 

try doing something like

$ lsof /dev/dsp

this should tell you what is using the device, if anything.  here's an ex.
$ lsof /dev/dsp 
COMMAND PID    USER   FD   TYPE DEVICE SIZE/OFF INODE NAME
mpg123  940 whisper    4w   CHR   14,3      0t0 14489 /dev/dsp
$

lsof can also come in handy if you want to know what is listening on what port
$ lsof -i TCP
COMMAND   PID    USER   FD   TYPE     DEVICE   SIZE/OFF INODE NAME
tcplogd   121    root    0u  inet 0x038e7810        0t0   TCP *:6 (CLOSE)
omniNames 130    root    3u  inet 0x03760c0c        0t0   TCP *:8086 (LISTEN)
portmap   143  daemon    4u  inet 0x037b2810        0t0   TCP *:sunrpc (LISTEN)
xinetd    145    root    4u  inet 0x0371c810        0t0   TCP *:telnet (LISTEN)
xinetd    145    root    6u  inet 0x0371cc0c        0t0   TCP *:auth (LISTEN)
xinetd    145    root    7u  inet 0x03708018        0t0   TCP *:smtp (LISTEN)
omniNames 146    root    3u  inet 0x03760c0c        0t0   TCP *:8086 (LISTEN)
omniNames 147    root    3u  inet 0x03760c0c        0t0   TCP *:8086 (LISTEN)
sentry    178    root    3u  inet 0x0355c018        0t0   TCP *:6 (CLOSE)
XF86_SVGA 190 whisper    0u  inet 0x035a9414        0t0   TCP *:6000 (LISTEN)
$

anyway, this is just something to try.

-- 

        -  -  --  --- -----[ whisper@bitstream.net ]----- --- -- -   -  

"By placing our faith in a perfect, utopian afterlife, 
 we are failing to protect and enjoy the life that we already own."

   - -  -- ----[ 83 C0 55 57 7D AF 81 A1  7B 14 49 0C A0 7F 45 E8 ]-- -  -    -