PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : onboardsound deaktivieren



nalye
12.09.06, 23:55
hallo allerseits...
zuerst mein sys:

knoppix debian SID @ kde
Linux dreckskiste 2.6.17 #4 SMP PREEMPT Wed May 10 13:53:45 CEST 2006 i686 GNU/Linux
soundkarte: philips psc604

ich habe folgendes problem:
ich habe bei meinem system den onboardsound (via) im bios deaktiviert und meine soundkarte eigentlich ativiert. doch dem ist leider nicht so und mein linux spielt keinen ton ab...
die ausgabe von cat /proc/asound/cards bringt folgendes zu tage:

root@dreckskiste:/home/florian# cat /proc/asound/cards
0 [V8237 ]: VIA8237 - VIA 8237
VIA 8237 with ALC655 at 0x1000, irq 22
1 [CMI8738 ]: CMI8738 - C-Media PCI CMI8738
C-Media PCI CMI8738 (model 37) at 0xe800, irq 18

und lsmod folgendes:

root@dreckskiste:/home/florian# lsmod
Module Size Used by
ipt_TCPMSS 7424 1
xt_tcpmss 6016 1
xt_tcpudp 6912 1
iptable_filter 6272 1
ip_tables 15700 1 iptable_filter
x_tables 14596 4 ipt_TCPMSS,xt_tcpmss,xt_tcpudp,ip_tables
lp 13696 0
pppoe 17344 2
pppox 6792 1 pppoe
ppp_generic 26772 6 pppoe,pppox
slhc 10112 1 ppp_generic
ipv6 238336 10
sworks_agp 11040 0
nvidia_agp 9756 0
efficeon_agp 10016 0
amd_k7_agp 10380 0
af_packet 23816 2
dm_mod 48404 0
unionfs 61728 0
sbp2 22788 0
fuse 34952 2
tsdev 9920 0
snd_seq_dummy 6660 0
snd_seq_oss 31972 0
snd_seq_midi 10144 0
snd_seq_midi_event 9984 2 snd_seq_oss,snd_seq_midi
snd_seq 48332 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_mid i_event
snd_cmipci 32800 563
snd_via82xx 26136 370
snd_opl3_lib 11776 1 snd_cmipci
analog 13728 0
snd_ac97_codec 88352 1 snd_via82xx
snd_ac97_bus 6016 1 snd_ac97_codec
snd_pcm_oss 38176 0
parport_pc 38512 1
parport 33992 2 lp,parport_pc
serio_raw 9220 0
snd_mixer_oss 17536 1 snd_pcm_oss
i2c_viapro 11284 0
i2c_core 20480 1 i2c_viapro
8250_pnp 12288 0
8250 24320 1 8250_pnp
serial_core 20480 1 8250
gameport 14728 3 snd_cmipci,snd_via82xx,analog
snd_hwdep 10628 1 snd_opl3_lib
snd_pcm 73220 4 snd_cmipci,snd_via82xx,snd_ac97_codec,snd_pcm_oss
snd_timer 22148 3 snd_seq,snd_opl3_lib,snd_pcm
snd_page_alloc 11272 2 snd_via82xx,snd_pcm
snd_mpu401_uart 9984 2 snd_cmipci,snd_via82xx
snd_rawmidi 22560 2 snd_seq_midi,snd_mpu401_uart
snd_seq_device 10252 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq,snd _opl3_lib,snd_rawmidi
shpchp 37032 0
pci_hotplug 28612 1 shpchp
snd 44768 1056 snd_seq_oss,snd_seq,snd_cmipci,snd_via82xx,snd_opl 3_lib,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd _hwdep,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmi di,snd_seq_device
soundcore 11104 1 snd
amd64_agp 13380 1
agpgart 29156 5 sworks_agp,nvidia_agp,efficeon_agp,amd_k7_agp,amd6 4_agp
evdev 11648 1
ohci1394 33200 0
ieee1394 285784 2 sbp2,ohci1394
pcmcia 33324 0
firmware_class 11648 1 pcmcia
yenta_socket 25612 0
rsrc_nonstatic 14080 1 yenta_socket
pcmcia_core 35992 3 pcmcia,yenta_socket,rsrc_nonstatic
video 17284 0
container 7168 0
button 8848 0
battery 11524 0
ac 7428 0
usbhid 50144 0
usb_storage 76480 0
via_rhine 23428 0
mii 8448 1 via_rhine
uhci_hcd 23308 0
ehci_hcd 32008 0
ohci_hcd 21636 0
usbcore 109084 6 usbhid,usb_storage,uhci_hcd,ehci_hcd,ohci_hcd
thermal 14472 0
processor 25736 1 thermal
fan 7300 0
reiserfs 238704 1

ergo ist der onboardsound irgendwie geladen worden anstatt die treiber meiner soundkarte.
wie ann ich nun den "richtigen" sound aktivieren?
danke im vorraus :-)

//edit: alsaconf funktioniert bei mir nicht :-(

zyrusthc
12.09.06, 23:56
Hallo

Wird den der Soundchip bei lspci angezeigt ?

Gruss Oli

floogy
13.09.06, 00:00
blacklist snd_via82xx ind die /etc/modprobe.d/blacklist (o.ä.) sollte helfen. Welche distribution nutzt Du?

Du könntest auch die Reihenfolge umdrehen. In /etc/modprobe.d/alsa-base (alsa? Wieder: Welche distri?) ans Ende:

option snd_cmipci index=0
option snd_via82xx index=1


ergo ist der onboardsound irgendwie geladen worden anstatt die treiber meiner soundkarte.
wie ann ich nun den "richtigen" sound aktivieren?

Die Treiber Deiner Soundkarte sind geladen als zweite Soundkarte (card1).
Das kannst Du mit aplay und einer wav datei ( locate *.wav ) testen:

amixer set --card 1 Master 75% unmute
amixer set --card 1 PCM 75% unmute
aplay -l
aplay -Dplug:hw:1 /usr/share/sounds/startup.wav

nalye
13.09.06, 00:14
Hallo

Wird den der Soundchip bei lspci angezeigt ?

Gruss Oli
yop...

0000:00:00.0 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
0000:00:00.1 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
0000:00:00.2 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
0000:00:00.3 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
0000:00:00.4 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
0000:00:00.7 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
0000:00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI bridge [K8T800/K8T890 South]
0000:00:09.0 USB Controller: NEC Corporation USB (rev 43)
0000:00:09.1 USB Controller: NEC Corporation USB (rev 43)
0000:00:09.2 USB Controller: NEC Corporation USB 2.0 (rev 04)
0000:00:0b.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10)
0000:00:0f.0 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
0000:00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
0000:00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
0000:00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
0000:00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
0000:00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86)
0000:00:11.0 ISA bridge: VIA Technologies, Inc. VT8237 ISA bridge [KT600/K8T800/K8T890 South]
0000:00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60)
0000:00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 78)
0000:00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
0000:00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
0000:00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
0000:00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
0000:01:00.0 VGA compatible controller: nVidia Corporation NV34 [GeForce FX 5200] (rev a1)

@floogy: danke. werds mal testen...

nalye
13.09.06, 00:22
meine distri ist knoopix basierend auf debian SID
sodele... der test mit
aplay -Dplug:hw:1 *sounddatei*
gab n rauschen, da irgendwie 8 bit verwedet wurden, aber das ist schonmal was...
nach einem reboot des systems wollte ich mit xmms eine mp3 abspielen, doch es kommt folgende meldung:

bitte überprüfen, daß:
die soundkarte ordnungsgemäß konfiguriert wurde
das korrekte ausgabe-plugin ausgewählt wurde
kein anderes programm die soundkarte blockiert

floogy
13.09.06, 00:38
xmms verwendet wahrscheinlich card 0 (onboard sound). Mit lsof |egrep "(snd|dsp)" kannst Du feststellen welches Programm auf die Soundkarte zugreift.

Die fettgedruckten Befehle meines Posts verändern nichts an der Soundkonfiguration, außer dass sie den Sound auf 75% Lautstärke aufdrehen. aplay wird so aufgerufen, dass Die zweite Karte (card 1 bzw. hw:1) benutzt wird.

Ich geh nun schlafen, ciao...

nalye
13.09.06, 00:42
ja, aber ich hatte die reihenfolge wie oben umgedreht...
und lsof |egrep "(snd|dsp)" gibt mir nur

florian@dreckskiste:~$ lsof |egrep "(snd|dsp)"
lsof: WARNING: can't stat() reiserfs file system /dev/.static/dev
Output information may be incomplete.


gute nacht und danke

p.s.:

wenn ich im kontrollzentrum das soundsystem altiviere, kommt jedesmal:

Sound server informational message:
Error while initializing the sound driver:
device: default can't be opened for playback (No such device)
The sound server will continue, using the null output device.

floogy
13.09.06, 10:45
Wenn Du die Reihenfolge umgedreht hast, so verwende doch
aplay -Dplug:hw:0 *wavdatei*

aplay kann afaik nur wav (vielleicht noch au oder aiff), alles andere sollte rauschen, oder aplay dazu bewegen es nicht zu spielen.