pita
08.02.08, 16:51
hallo gemeinde :)
folgendes "problem":
ich habe zwei soundkarten im meinem rechner:
karte a (onboard) und karte b (pci-karte).
zz habe ich meine boxen an karte b angeschlossen.
nun möchte ich aber karte a für separate kopfhörer verwenden (stichwort teamspeak mit zwei soundkarten).
frage:
wie bekomme ich heraus, welche karte auf welches sound-device in /dev/ gemappt wird (welches ich dann folgerichtig in teamspeak eintrage)?
so, nun zu den harten fakten:
lspci | grep audio
karte b-> 00:0b.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10)
karte a -> 00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60) <- karte a
--------
cat /proc/asound/cards
0 [CMI8738MC6 ]: CMI8738-MC6 - C-Media PCI CMI8738-MC6
C-Media PCI CMI8738-MC6 (model 55) at 0xd800, irq 19
1 [V8237 ]: VIA8237 - VIA 8237
VIA 8237 with AD1888 at 0xe000, irq 20
---------
cat /proc/asound/devices
0: [ 0] : control
1: : sequencer
4: [ 0- 0]: hardware dependent
16: [ 0- 0]: digital audio playback
17: [ 0- 1]: digital audio playback
18: [ 0- 2]: digital audio playback
24: [ 0- 0]: digital audio capture
26: [ 0- 2]: digital audio capture
32: [ 1] : control
33: : timer
48: [ 1- 0]: digital audio playback
49: [ 1- 1]: digital audio playback
56: [ 1- 0]: digital audio capture
57: [ 1- 1]: digital audio capture
-------------
cat /proc/asound/pcm
00-02: CMI8738-MC6 : C-Media PCI IEC958 : playback 1 : capture 1
00-01: CMI8738-MC6 : C-Media PCI 2nd DAC : playback 1
00-00: CMI8738-MC6 : C-Media PCI DAC/ADC : playback 1 : capture 1
01-01: VIA 8237 : VIA 8237 : playback 1 : capture 1
01-00: VIA 8237 : VIA 8237 : playback 4 : capture 1
-----------
cat /proc/asound/oss/device
cat: /proc/asound/oss/device: No such file or directory
geladene alsa-module:
lsmod | grep snd
snd_opl3_synth 14084 0
snd_seq_instr 7296 1 snd_opl3_synth
snd_seq_midi_emul 5888 1 snd_opl3_synth
snd_ainstr_fm 2368 1 snd_opl3_synth
snd_via82xx 26872 1
snd_via82xx_modem 14536 0
snd_ac97_codec 92836 2 snd_via82xx,snd_via82xx_modem
ac97_bus 2272 1 snd_ac97_codec
snd_cmipci 32480 3
gameport 14984 2 snd_via82xx,snd_cmipci
snd_pcm_oss 39200 0
snd_mixer_oss 15424 1 snd_pcm_oss
snd_pcm 72324 6 snd_via82xx,snd_via82xx_modem,snd_ac97_codec,snd_c mipci,snd_pcm_oss
snd_opl3_lib 9824 2 snd_opl3_synth,snd_cmipci
snd_hwdep 8772 1 snd_opl3_lib
snd_mpu401_uart 8096 2 snd_via82xx,snd_cmipci
snd_seq_midi 8160 0
snd_rawmidi 22624 2 snd_mpu401_uart,snd_seq_midi
snd_seq_dummy 3748 0
snd_seq_oss 29408 0
snd_seq_midi_event 6880 2 snd_seq_midi,snd_seq_oss
snd_seq 46320 9 snd_opl3_synth,snd_seq_instr,snd_seq_midi_emul,snd _seq_midi,snd_seq_dummy,snd_seq_oss,snd_seq_midi_e vent
snd_timer 21028 4 snd_pcm,snd_opl3_lib,snd_seq
snd_seq_device 7692 7 snd_opl3_synth,snd_opl3_lib,snd_seq_midi,snd_rawmi di,snd_seq_dummy,snd_seq_oss,snd_seq
snd 48324 22 snd_opl3_synth,snd_via82xx,snd_via82xx_modem,snd_a c97_codec,snd_cmipci,snd_pcm_oss,snd_mixer_oss,snd _pcm,snd_opl3_lib,snd_hwdep,snd_mpu401_uart,snd_ra wmidi,snd_seq_oss,snd_seq,snd_timer,snd_seq_device
snd_page_alloc 9512 3 snd_via82xx,snd_via82xx_modem,snd_pcm
soundcore 7520 1 snd
so, hier die zz gemappten devices:
ll /dev |grep dsp
crw-rw---- 1 root audio 14, 12 2008-02-08 17:15 adsp
crw-rw---- 1 root audio 14, 28 2008-02-08 17:15 adsp1
crw-rw---- 1 root audio 14, 3 2008-02-08 17:15 dsp
crw-rw---- 1 root audio 14, 19 2008-02-08 17:15 dsp1
mein zur zeit aktives device (karte b) ist /dev/dsp (hab ich mittels befehl1="cat /dev/urandom > /dev/dsp" herausgefunden).
wenn ich jetzt allerdings kopfhörer in karte a stöpsel und befehl1 ausführe (jeweils mit den anderen devices) kommt bei keinem etwas (ich setzt vorraus, dass karte a an sich funktioniert).
wie herausfinden ob und auf welches device karte a gemappt wurde bzw. wie kann ich die karte mappen?
danke für die mühe des lesens :)
greetz
pita
folgendes "problem":
ich habe zwei soundkarten im meinem rechner:
karte a (onboard) und karte b (pci-karte).
zz habe ich meine boxen an karte b angeschlossen.
nun möchte ich aber karte a für separate kopfhörer verwenden (stichwort teamspeak mit zwei soundkarten).
frage:
wie bekomme ich heraus, welche karte auf welches sound-device in /dev/ gemappt wird (welches ich dann folgerichtig in teamspeak eintrage)?
so, nun zu den harten fakten:
lspci | grep audio
karte b-> 00:0b.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10)
karte a -> 00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60) <- karte a
--------
cat /proc/asound/cards
0 [CMI8738MC6 ]: CMI8738-MC6 - C-Media PCI CMI8738-MC6
C-Media PCI CMI8738-MC6 (model 55) at 0xd800, irq 19
1 [V8237 ]: VIA8237 - VIA 8237
VIA 8237 with AD1888 at 0xe000, irq 20
---------
cat /proc/asound/devices
0: [ 0] : control
1: : sequencer
4: [ 0- 0]: hardware dependent
16: [ 0- 0]: digital audio playback
17: [ 0- 1]: digital audio playback
18: [ 0- 2]: digital audio playback
24: [ 0- 0]: digital audio capture
26: [ 0- 2]: digital audio capture
32: [ 1] : control
33: : timer
48: [ 1- 0]: digital audio playback
49: [ 1- 1]: digital audio playback
56: [ 1- 0]: digital audio capture
57: [ 1- 1]: digital audio capture
-------------
cat /proc/asound/pcm
00-02: CMI8738-MC6 : C-Media PCI IEC958 : playback 1 : capture 1
00-01: CMI8738-MC6 : C-Media PCI 2nd DAC : playback 1
00-00: CMI8738-MC6 : C-Media PCI DAC/ADC : playback 1 : capture 1
01-01: VIA 8237 : VIA 8237 : playback 1 : capture 1
01-00: VIA 8237 : VIA 8237 : playback 4 : capture 1
-----------
cat /proc/asound/oss/device
cat: /proc/asound/oss/device: No such file or directory
geladene alsa-module:
lsmod | grep snd
snd_opl3_synth 14084 0
snd_seq_instr 7296 1 snd_opl3_synth
snd_seq_midi_emul 5888 1 snd_opl3_synth
snd_ainstr_fm 2368 1 snd_opl3_synth
snd_via82xx 26872 1
snd_via82xx_modem 14536 0
snd_ac97_codec 92836 2 snd_via82xx,snd_via82xx_modem
ac97_bus 2272 1 snd_ac97_codec
snd_cmipci 32480 3
gameport 14984 2 snd_via82xx,snd_cmipci
snd_pcm_oss 39200 0
snd_mixer_oss 15424 1 snd_pcm_oss
snd_pcm 72324 6 snd_via82xx,snd_via82xx_modem,snd_ac97_codec,snd_c mipci,snd_pcm_oss
snd_opl3_lib 9824 2 snd_opl3_synth,snd_cmipci
snd_hwdep 8772 1 snd_opl3_lib
snd_mpu401_uart 8096 2 snd_via82xx,snd_cmipci
snd_seq_midi 8160 0
snd_rawmidi 22624 2 snd_mpu401_uart,snd_seq_midi
snd_seq_dummy 3748 0
snd_seq_oss 29408 0
snd_seq_midi_event 6880 2 snd_seq_midi,snd_seq_oss
snd_seq 46320 9 snd_opl3_synth,snd_seq_instr,snd_seq_midi_emul,snd _seq_midi,snd_seq_dummy,snd_seq_oss,snd_seq_midi_e vent
snd_timer 21028 4 snd_pcm,snd_opl3_lib,snd_seq
snd_seq_device 7692 7 snd_opl3_synth,snd_opl3_lib,snd_seq_midi,snd_rawmi di,snd_seq_dummy,snd_seq_oss,snd_seq
snd 48324 22 snd_opl3_synth,snd_via82xx,snd_via82xx_modem,snd_a c97_codec,snd_cmipci,snd_pcm_oss,snd_mixer_oss,snd _pcm,snd_opl3_lib,snd_hwdep,snd_mpu401_uart,snd_ra wmidi,snd_seq_oss,snd_seq,snd_timer,snd_seq_device
snd_page_alloc 9512 3 snd_via82xx,snd_via82xx_modem,snd_pcm
soundcore 7520 1 snd
so, hier die zz gemappten devices:
ll /dev |grep dsp
crw-rw---- 1 root audio 14, 12 2008-02-08 17:15 adsp
crw-rw---- 1 root audio 14, 28 2008-02-08 17:15 adsp1
crw-rw---- 1 root audio 14, 3 2008-02-08 17:15 dsp
crw-rw---- 1 root audio 14, 19 2008-02-08 17:15 dsp1
mein zur zeit aktives device (karte b) ist /dev/dsp (hab ich mittels befehl1="cat /dev/urandom > /dev/dsp" herausgefunden).
wenn ich jetzt allerdings kopfhörer in karte a stöpsel und befehl1 ausführe (jeweils mit den anderen devices) kommt bei keinem etwas (ich setzt vorraus, dass karte a an sich funktioniert).
wie herausfinden ob und auf welches device karte a gemappt wurde bzw. wie kann ich die karte mappen?
danke für die mühe des lesens :)
greetz
pita