Re: Soundkarte

From: Matthias Fechner <idefix(at)fechner.net>
Date: Mon, 19 Feb 2001 11:37:06 +0100 (CET)

Hi,

On Mon, 19 Feb 2001, Oliver Fromme wrote:

> Matthias Fechner <idefix(at)fechner.net> wrote:
> > also hab jetzt lsof noch installiert und der gibt leider auch keine
> > Meldung zurueck, kann das vielleicht ein Bug vom mpg123 sein ?
>
> Also, wenn es bisher ging und jetzt plötzlich nicht mehr,
> dann _muß_ sich irgendwas geändert haben. Ohne Grund hört
> es nicht auf zu funktionieren.
Ja das meine ich auch, wenn ich meinen Rechner reboote dann kann ich
mpg123 genau einmal starten, dann kommt wieder genau die gleiche Meldung.

> Guck doch mal mit truss oder ktrace nach, wieso mpg123
ktrace sagt:(ich hoffe das reicht)
-----------------------------
 24416 mpg123 RET write 69/0x45
 24416 mpg123 CALL write(0x2,0xbfbf9a0c,0x36)
 24416 mpg123 GIO fd 2 wrote 54 bytes
       "Uses code from various people. See 'README' for more!
       "
 24416 mpg123 RET write 54/0x36
 24416 mpg123 CALL write(0x2,0xbfbf99fc,0x47)
 24416 mpg123 GIO fd 2 wrote 71 bytes
       "THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN
RISK!
       "
 24416 mpg123 RET write 71/0x47
 24416 mpg123 CALL open(0x8060780,0x1,0x1)
 24416 mpg123 NAMI "/dev/dsp"
 24416 mpg123 RET open -1 errno 16 Device busy
 24416 mpg123 CALL write(0x2,0xbfbf998c,0x15)
 24416 mpg123 GIO fd 2 wrote 21 bytes
       "Can't open /dev/dsp!
       "
 24416 mpg123 RET write 21/0x15
 24416 mpg123 CALL sigprocmask(0x1,0x280736e0,0xbfbfa014)
 24416 mpg123 RET sigprocmask 0
 24416 mpg123 CALL sigprocmask(0x3,0x280736f0,0)
 24416 mpg123 RET sigprocmask 0
 24416 mpg123 CALL exit(0x1)
----------------------------------
Truss sagt:
-----------------------------------
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2 and 3.
write(2,0xbfbf9a08,69) = 69 (0x45)
Version 0.59r (1999/Jun/15). Written and copyrights by Michael Hipp.
write(2,0xbfbf99f8,69) = 69 (0x45)
Uses code from various people. See 'README' for more!
write(2,0xbfbf9a08,54) = 54 (0x36)
THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK!
write(2,0xbfbf99f8,71) = 71 (0x47)
open("/dev/dsp",1,01) ERR#16 'Device busy'
Can't open /dev/dsp!
write(2,0xbfbf9988,21) = 21 (0x15)
sigprocmask(0x1,0x280736e0,0xbfbfa010) = 0 (0x0)
sigprocmask(0x3,0x280736f0,0x0) = 0 (0x0)
exit(0x1) process exit, rval = 256
-------------------------------------

> /dev/dsp nicht mehr öffnen kann. Stimmen vielleicht die
> Permissions nicht mehr, weil Du Dich bei einem chmod oder
sollte passen, habe nichts geaendert:
bash-2.03# ls -l dsp*
lrwxrwxrwx 1 root wheel 4 Oct 27 22:20 dsp -> dsp1
crw-rw-rw- 1 root wheel 30, 19 Feb 18 18:09 dsp1
lrwxrwxrwx 1 root wheel 5 Oct 27 22:20 dspW -> dspW1
crw-rw-rw- 1 root wheel 30, 21 Oct 27 22:20 dspW1

> Betrifft es überhaupt auch andere Audio-Programme, die auf
> /dev/dsp zugreifen, oder nur mpg123?
Kannst du mir eines sagen, das ich noch versuchen koennte, weiss kein
anderes.

Gruss
Matthias

To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Mon 19 Feb 2001 - 11:40:08 CET

search this site