Hallo Leute, nachdem ich versuche herauszufinden, warum bei mplayer, xine, kphone, xine und sip-communicator der Sound nicht funktioniert, habe ich ALSA deinstalliert, und alles entfernt as nur im entferntesten mit SOUND zu tun hat... ...und neu installiert! So, jetzt funktioniert die SB Live! nicht mehr, dafür aber die VIA. :-/ Die Konfiguation ist: ----[ '/etc/modprobe.d/snd-card-0' ]------------------------------------ alias snd-card-0 snd-emu10k1 options snd-card-0 index=0 ------------------------------------------------------------------------ ----[ '/etc/modprobe.d/snd-card-1' ]------------------------------------ alias snd-card-1 snd-via82xx options snd-card-1 index=1 ------------------------------------------------------------------------ ----[ command 'lsmod |grep snd' ]--------------------------------------- snd_via82xx 20664 2 snd_mpu401_uart 6368 1 snd_via82xx snd_emu10k1_synth 5664 0 snd_emux_synth 27936 1 snd_emu10k1_synth snd_seq_virmidi 4896 1 snd_emux_synth snd_seq_midi_emul 5376 1 snd_emux_synth snd_emu10k1 115200 2 snd_emu10k1_synth gameport 10700 3 snd_via82xx,emu10k1_gp firmware_class 6816 1 snd_emu10k1 snd_via82xx_modem 10120 0 snd_ac97_codec 88452 3 snd_via82xx,snd_emu10k1,snd_via82xx_modem ac97_bus 1728 1 snd_ac97_codec snd_pcm_oss 32800 1 snd_mixer_oss 12320 3 snd_pcm_oss snd_pcm 62660 5 snd_via82xx,snd_emu10k1,snd_via82xx_modem,snd_ac97_codec,snd_pcm_oss snd_page_alloc 7816 4 snd_via82xx,snd_emu10k1,snd_via82xx_modem,snd_pcm snd_util_mem 4032 2 snd_emux_synth,snd_emu10k1 snd_hwdep 6212 2 snd_emux_synth,snd_emu10k1 snd_seq_dummy 2660 0 snd_seq_oss 24992 0 snd_seq_midi 5728 0 snd_rawmidi 18496 4 snd_mpu401_uart,snd_seq_virmidi,snd_emu10k1,snd_seq_midi snd_seq_midi_event 6432 3 snd_seq_virmidi,snd_seq_oss,snd_seq_midi snd_seq 41456 9 snd_emux_synth,snd_seq_virmidi,snd_seq_midi_emul,snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event snd_timer 17800 3 snd_emu10k1,snd_pcm,snd_seq snd_seq_device 6380 8 snd_emu10k1_synth,snd_emux_synth,snd_emu10k1,snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq snd 45636 16 snd_via82xx,snd_mpu401_uart,snd_emux_synth,snd_seq_virmidi,snd_emu10k1,snd_via82xx_modem,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_hwdep,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device soundcore 6368 4 snd ------------------------------------------------------------------------ ----[ command 'ls -l /dev/{ad,am,au,ds,mi,se}*' ]----------------------- crw-rw---- 1 root audio 14, 14 6. Sep 15:51 /dev/admmidi crw-rw---- 1 root audio 14, 12 6. Sep 15:51 /dev/adsp crw-rw---- 1 root audio 14, 28 6. Sep 15:51 /dev/adsp1 crw-rw---- 1 root audio 14, 13 6. Sep 15:51 /dev/amidi crw-rw---- 1 root audio 14, 4 6. Sep 15:51 /dev/audio crw-rw---- 1 root audio 14, 20 6. Sep 15:51 /dev/audio1 crw-rw---- 1 root audio 14, 3 6. Sep 15:51 /dev/dsp crw-rw---- 1 root audio 14, 19 6. Sep 15:51 /dev/dsp1 crw-rw---- 1 root audio 14, 2 6. Sep 15:51 /dev/midi crw-rw---- 1 root audio 14, 0 6. Sep 15:51 /dev/mixer crw-rw---- 1 root audio 14, 16 6. Sep 15:51 /dev/mixer1 crw-rw---- 1 root audio 14, 1 6. Sep 15:51 /dev/sequencer crw-rw---- 1 root audio 14, 8 6. Sep 15:51 /dev/sequencer2 ------------------------------------------------------------------------ ----[ '/dev/sndstat' ]-------------------------------------------------- Sound Driver:3.8.1a-980706 (ALSA v1.0.16 emulation code) Kernel: Linux michelle1 2.6.26-2-686 #1 SMP Thu Aug 19 03:44:10 UTC 2010 i686 Config options: 0 Installed drivers: Type 10: ALSA emulation Card config: SB Live 5.1 [SB0220] (rev.10, serial:0x100a1102) at 0x7000, irq 18 VIA 8237 with AD1888 at 0xe000, irq 22 Audio devices: 0: ADC Capture/Standard PCM Playback (DUPLEX) 1: VIA 8237 (DUPLEX) Synth devices: 0: Emu10k1 Midi devices: 0: EMU10K1 MPU-401 (UART) Timers: 7: system timer Mixers: 0: SigmaTel STAC9708,11 1: Analog Devices AD1888 ------------------------------------------------------------------------ was ganz gut aussieht. ----[ '/etc/init.d/rplay' ]--------------------------------------------- <snip> OPTS="--audio-device=/dev/dsp1 --audio-channels=2 --log-level=4 --log-file=/var/log/rplayd-$(date +%Y-%m-%d).log" case "$1" in start) echo -n "Starting rplay server: rplayd" start-stop-daemon --start --quiet \ --exec /usr/sbin/rplayd -- ${OPTS} > /dev/null 2>&1 echo "." ;; <snip> ------------------------------------------------------------------------ Test 1: cat ~/sounds/bd1661.wav >/dev/dsp Keine Reaktion Test 2: cat ~/sounds/bd1661.wav >/dev/dsp1 Es trötet aus meiner On-board VIA und hat gute Sprachqualität Test 3: cat ~/sounds/bd1661.wav >/dev/audio Keine Reaktion Test 4: cat ~/sounds/bd1661.wav >/dev/audio1 Es trötet aus meiner On-board VIA und hört sich wie durch einen scranmber an Nun zu den rplay Tests: Test 1: (mit /dev/dsp -> SB Live) rplay ~/sounds/bd1661.wav Sep 6 17:15:28 rplayd[0]: running as group audio (29) Sep 6 17:15:28 rplayd[0]: running as user nobody (65534) Sep 6 17:15:28 michelle1 rplayd[28253]: adding helper for "\.mp[1-3]$" Sep 6 17:15:28 michelle1 rplayd[28253]: adding helper for "\.ogg$" Sep 6 17:15:28 michelle1 rplayd[28253]: OSS info: fragments=16 totalfrags=16 fragsize=4096 DSP=65536 Sep 6 17:15:28 michelle1 rplayd[28253]: audio: bits=16 sample-rate=44100 channels=2 format=linear-16 volume=173 port-mask=e Sep 6 17:15:28 michelle1 rplayd[28253]: timer: rate=10, min bytes/sec=17640 Sep 6 17:15:28 michelle1 rplayd[28253]: authentication enabled Sep 6 17:15:28 michelle1 rplayd[28253]: michelle1 rplayd 3.3.2 ready. Sep 6 17:15:28 michelle1 rplayd[28253]: entering idle mode Sep 6 17:15:59 michelle1 rplayd[28253]: 127.0.0.1 client connection established Sep 6 17:15:59 michelle1 rplayd[28253]: 127.0.0.1 command="info sound=/home/michelle.konzack/sounds/bd1661.wav" Sep 6 17:15:59 michelle1 rplayd[28253]: /home/michelle.konzack/sounds/bd1661.wav not in hash table Sep 6 17:15:59 michelle1 rplayd[28253]: loading local file /home/michelle.konzack/sounds/bd1661.wav Sep 6 17:15:59 michelle1 rplayd[28253]: bd1661.wav input=file bits=8 sample-rate=11025 channels=1 samples=17088 format=ulinear-8 byte-order=little-endian Sep 6 17:15:59 michelle1 rplayd[28253]: 127.0.0.1 play /home/michelle.konzack/sounds/bd1661.wav Sep 6 17:15:59 michelle1 rplayd[28253]: 127.0.0.1 client connection closed Sep 6 17:15:59 michelle1 rplayd[28253]: opening /dev/dsp Sep 6 17:15:59 michelle1 rplayd[28253]: OSS info: fragments=16 totalfrags=16 fragsize=4096 DSP=65536 Sep 6 17:16:01 michelle1 rplayd[28253]: flushing /dev/dsp Sep 6 17:16:01 michelle1 rplayd[28253]: flushing /dev/dsp Sep 6 17:16:01 michelle1 rplayd[28253]: flushing /dev/dsp Sep 6 17:16:06 michelle1 rplayd[28253]: closing /dev/dsp Sep 6 17:16:11 michelle1 rplayd[28253]: cleaning up sounds Sep 6 17:16:11 michelle1 rplayd[28253]: cleaning up buffers - 32768 bytes Sep 6 17:16:11 michelle1 rplayd[28253]: entering idle mode Nix trötet hier... Test 2: (mit /dev/dsp1 -> VIA) rplay ~/sounds/bd1661.wav Sep 6 17:17:49 rplayd[0]: running as group audio (29) Sep 6 17:17:49 rplayd[0]: running as user nobody (65534) Sep 6 17:17:49 michelle1 rplayd[1342]: adding helper for "\.mp[1-3]$" Sep 6 17:17:49 michelle1 rplayd[1342]: adding helper for "\.ogg$" Sep 6 17:17:49 michelle1 rplayd[1342]: OSS info: fragments=16 totalfrags=16 fragsize=4096 DSP=65536 Sep 6 17:17:49 michelle1 rplayd[1342]: rplay_audio_init: `/dev/dsp1' unknown audio device Sep 6 17:17:49 michelle1 rplayd[1342]: rplay_audio_init: `/dev/dsp1' unknown audio device Sep 6 17:17:49 michelle1 rplayd[1342]: audio disabled Sep 6 17:17:49 michelle1 rplayd[1342]: authentication enabled Sep 6 17:17:49 michelle1 rplayd[1342]: michelle1 rplayd 3.3.2 ready. Sep 6 17:17:49 michelle1 rplayd[1342]: entering idle mode Sep 6 17:18:03 michelle1 rplayd[1342]: 127.0.0.1 client connection established Sep 6 17:18:04 michelle1 rplayd[1342]: 127.0.0.1 command="info sound=/home/michelle.konzack/sounds/bd1661.wav" Sep 6 17:18:04 michelle1 rplayd[1342]: /home/michelle.konzack/sounds/bd1661.wav not in hash table Sep 6 17:18:04 michelle1 rplayd[1342]: loading local file /home/michelle.konzack/sounds/bd1661.wav Sep 6 17:18:04 michelle1 rplayd[1342]: bd1661.wav input=file bits=8 sample-rate=11025 channels=1 samples=17088 format=ulinear-8 byte-order=little-endian Sep 6 17:18:04 michelle1 rplayd[1342]: 127.0.0.1 play /home/michelle.konzack/sounds/bd1661.wav Sep 6 17:18:04 michelle1 rplayd[1342]: 127.0.0.1 client connection closed Sep 6 17:18:14 michelle1 rplayd[1342]: cleaning up sounds Sep 6 17:18:14 michelle1 rplayd[1342]: cleaning up buffers - 0 bytes Sep 6 17:18:14 michelle1 rplayd[1342]: entering idle mode Ehm wie meinen? /dev/dsp1 unknown audio device? Hatte aber gerade mit "cat" funktioniert. Test 3: (mit /dev/audio -> SB Live) rplay ~/sounds/bd1661.wav Sep 6 17:20:07 rplayd[0]: running as group audio (29) Sep 6 17:20:07 rplayd[0]: running as user nobody (65534) Sep 6 17:20:07 michelle1 rplayd[1553]: adding helper for "\.mp[1-3]$" Sep 6 17:20:07 michelle1 rplayd[1553]: adding helper for "\.ogg$" Sep 6 17:20:07 michelle1 rplayd[1553]: OSS info: fragments=8 totalfrags=8 fragsize=4096 DSP=32768 Sep 6 17:20:07 michelle1 rplayd[1553]: audio: bits=8 sample-rate=8000 channels=1 format=ulaw volume=173 port-mask=e Sep 6 17:20:07 michelle1 rplayd[1553]: timer: rate=10, min bytes/sec=800 Sep 6 17:20:07 michelle1 rplayd[1553]: authentication enabled Sep 6 17:20:07 michelle1 rplayd[1553]: michelle1 rplayd 3.3.2 ready. Sep 6 17:20:07 michelle1 rplayd[1553]: entering idle mode Sep 6 17:20:26 michelle1 rplayd[1553]: 127.0.0.1 client connection established Sep 6 17:20:26 michelle1 rplayd[1553]: 127.0.0.1 command="info sound=/home/michelle.konzack/sounds/bd1661.wav" Sep 6 17:20:26 michelle1 rplayd[1553]: /home/michelle.konzack/sounds/bd1661.wav not in hash table Sep 6 17:20:26 michelle1 rplayd[1553]: loading local file /home/michelle.konzack/sounds/bd1661.wav Sep 6 17:20:26 michelle1 rplayd[1553]: bd1661.wav input=file bits=8 sample-rate=11025 channels=1 samples=17088 format=ulinear-8 byte-order=little-endian Sep 6 17:20:26 michelle1 rplayd[1553]: 127.0.0.1 play /home/michelle.konzack/sounds/bd1661.wav Sep 6 17:20:26 michelle1 rplayd[1553]: 127.0.0.1 client connection closed Sep 6 17:20:26 michelle1 rplayd[1553]: opening /dev/audio Sep 6 17:20:26 michelle1 rplayd[1553]: OSS info: fragments=8 totalfrags=8 fragsize=4096 DSP=32768 Sep 6 17:20:27 michelle1 rplayd[1553]: flushing /dev/audio Sep 6 17:20:31 michelle1 rplayd[1553]: flushing /dev/audio Sep 6 17:20:31 michelle1 rplayd[1553]: flushing /dev/audio Sep 6 17:20:36 michelle1 rplayd[1553]: closing /dev/audio Sep 6 17:20:41 michelle1 rplayd[1553]: cleaning up sounds Sep 6 17:20:41 michelle1 rplayd[1553]: cleaning up buffers - 16384 bytes Sep 6 17:20:41 michelle1 rplayd[1553]: entering idle mode nix sound! Test 4: (mit /dev/audio1 -> VIA) rplay ~/sounds/bd1661.wav Sep 6 17:22:41 rplayd[0]: running as group audio (29) Sep 6 17:22:41 rplayd[0]: running as user nobody (65534) Sep 6 17:22:41 michelle1 rplayd[7210]: adding helper for "\.mp[1-3]$" Sep 6 17:22:41 michelle1 rplayd[7210]: adding helper for "\.ogg$" Sep 6 17:22:41 michelle1 rplayd[7210]: OSS info: fragments=8 totalfrags=8 fragsize=4096 DSP=32768 Sep 6 17:22:41 michelle1 rplayd[7210]: rplay_audio_init: `/dev/audio1' unknown audio device Sep 6 17:22:41 michelle1 rplayd[7210]: rplay_audio_init: `/dev/audio1' unknown audio device Sep 6 17:22:41 michelle1 rplayd[7210]: audio disabled Sep 6 17:22:41 michelle1 rplayd[7210]: authentication enabled Sep 6 17:22:41 michelle1 rplayd[7210]: michelle1 rplayd 3.3.2 ready. Sep 6 17:22:41 michelle1 rplayd[7210]: entering idle mode Sep 6 17:22:49 michelle1 rplayd[7210]: 127.0.0.1 client connection established Sep 6 17:22:49 michelle1 rplayd[7210]: 127.0.0.1 command="info sound=/home/michelle.konzack/sounds/bd1661.wav" Sep 6 17:22:49 michelle1 rplayd[7210]: /home/michelle.konzack/sounds/bd1661.wav not in hash table Sep 6 17:22:49 michelle1 rplayd[7210]: loading local file /home/michelle.konzack/sounds/bd1661.wav Sep 6 17:22:49 michelle1 rplayd[7210]: bd1661.wav input=file bits=8 sample-rate=11025 channels=1 samples=17088 format=ulinear-8 byte-order=little-endian Sep 6 17:22:49 michelle1 rplayd[7210]: 127.0.0.1 play /home/michelle.konzack/sounds/bd1661.wav Sep 6 17:22:49 michelle1 rplayd[7210]: 127.0.0.1 client connection closed Sep 6 17:22:59 michelle1 rplayd[7210]: cleaning up sounds Sep 6 17:22:59 michelle1 rplayd[7210]: cleaning up buffers - 0 bytes Sep 6 17:22:59 michelle1 rplayd[7210]: entering idle mode Sieht irgendwie mistig aus... Allerdings kann rplayd weder auf /dev/adsp noch /dev/adsp1 zugreifen. OK, weiter im text... XMMS Test 1: 1) ALSA 1.2.11 Ausgabe-Plugin [libALSA.so] 2) Audio-Gerät: default 3) Mixer-Karte: SB Live 5.1 [SB0220] 4) Mixer-Gerät: Master Kein Sound auf der SB Live mehr! Aber wenn ich den Lautstärkeregler bediene, sehe ich in "wmmixer -w -mix-device /dev/mixer" den Balken sich bewegen, sprich, es geht. Test 2: 1) ALSA 1.2.11 Ausgabe-Plugin [libALSA.so] 2) Audio-Gerät: VIA 8237: VIA 8237 (hw:1,0) 3) Mixer-Karte: VIA 8237 4) Mixer-Gerät: Master Ha, Sound auf der VIA! Und wenn ich den Lautstärkeregler bediene, sehe ich in "wmmixer -w -mix-device /dev/mixer1" den Balken sich bewegen, sprich, es geht alles. Wenn ich jetzt statt "ALSA 1.2.11 Ausgabe-Plugin [libALSA.so]" einfach das "OSS-Treiber 1.2.11 [libOSS.so]" auswähle, geht es auch. So, wie bekomme ich meine SB Live wieder hin? Thanks, Greetings and nice Day/Evening Michelle Konzack -- ##################### Debian GNU/Linux Consultant ###################### Development of Intranet and Embedded Systems with Debian GNU/Linux itsystems@tdnet France EURL itsystems@tdnet UG (limited liability) Owner Michelle Konzack Owner Michelle Konzack Apt. 917 (homeoffice) 50, rue de Soultz Kinzigstraße 17 67100 Strasbourg/France 77694 Kehl/Germany Tel: +33-6-61925193 mobil Tel: +49-177-9351947 mobil Tel: +33-9-52705884 fix <http://www.itsystems.tamay-dogan.net/> <http://www.flexray4linux.org/> <http://www.debian.tamay-dogan.net/> <http://www.can4linux.org/> Jabber linux4michelle@jabber.ccc.de ICQ #328449886 Linux-User #280138 with the Linux Counter, http://counter.li.org/
Attachment:
signature.pgp
Description: Digital signature