[x] Keine Soundausgabe trotz laufender Treiber

Post Reply
Message
Author
User avatar
Lateralus
prolinux-forum-admin
Posts: 1238
Joined: 05. May 2004 7:35

[x] Keine Soundausgabe trotz laufender Treiber

#1 Post by Lateralus »

Hi

Ich habe direkt in den Kernel den ALSA und den Treiber für meine Soundkarte einkompiliert. Ein dmesg bringt:

Code: Select all

Advanced Linux Sound Architecture Driver Version 1.0.4 (Mon May 17 14:31:44 2004
 UTC).
intel8x0_measure_ac97_clock: measured 49349 usecs
intel8x0: clocking to 48000
ALSA device list:
  #0: SiS SI7012 at 0xdc00, irq 11
Wenn ich (egal ob als root oder normaler Nutzer) dann ein Anwendungsprogram starte, wird der Sound zwar gespielt (ich bekomme also keine Fehlermeldung irgendeiner Art), aber es erfolgt keine Ausgabe auf den Lautsprecher.

Hat jemand irgendwelche Tipps?

Gentoo Linux 2004.2 Kernel 2.6.7
Last edited by Lateralus on 29. Jan 2005 22:10, edited 1 time in total.

chlor

#2 Post by chlor »

hi,

hier (debian), sind noch die pakete alsa-base und alsa-utils installiert, die sind auch mit 2.6er kernel erforderlich um sound zu bekommen.

dann kannst du im alsamixer (konsolen-proggie) gucken ob wichtge kanäle gemutet sind bzw. die lautspächer eventuell leise gestellt ist..

ansonsten bin ich der meinung das die alsa-module nicht fest in den kernel einkompiliert werden dürfen. ich meine das steht so auch irgendwo inna doku.
ok, ich habs gefunden:
1) Check that the ALSA drivers are compiled as modules
Make sure you have installed ALSA as modules, and not compiled into the kernel.
ALSA fails for all sorts of reasons when compiled into the kernel (this may no longer be true for kernels after v2.6.5).

Anything that mentions sound in the kernel config, even if it is not directly to do with ALSA, set it's option to M if you can.

If you compile you own kernel: when you configure the kernel, make sure you see M (for module) and not * (compiled into the kernel).
quelle:
http://alsa.opensrc.org/index.php?page=TroubleShooting

viel erfolg, und einen eine fröhlichen abend
bis den

User avatar
Lateralus
prolinux-forum-admin
Posts: 1238
Joined: 05. May 2004 7:35

#3 Post by Lateralus »

Welche Dateinamen haben die ALSA-Module, bzw. muss ich außer meinem Soundtreiber noch andere Module laden?

Das Device /dev/sound/dsp, welches von devfsd dynamisch erstellt wird, existiert nicht, wenn ich den Treiber als Modul lade.

(sorry, aber damit habe ich mich noch nie auseinadergesetzt)

User avatar
Lateralus
prolinux-forum-admin
Posts: 1238
Joined: 05. May 2004 7:35

#4 Post by Lateralus »

So... Problem gelöst. Es war noch nötig, den Soundtreiber in /etc/modules.d/alsa einzubringen:

Code: Select all

alias snd-card-0 snd-intel8x0
modules-update
rc-update add alsasound boot
und die Kanäle zu unmuten:

Code: Select all

amixer set Master 75 unmute
amixer set PCM 75 unmute
Das ganze fand ich, als ich dem Link folgte:
http://www.gentoo.org/doc/en/alsa-guide.xml

@chlor: Vielen, vielen Dank!

chlor

#5 Post by chlor »

ich schreib dir mal auf was ich in menuconfig aktiviert habe:

Device Drivers > Sound > (*)Sound card support > Advanced Linux Sound Architecture
<M> Advanced Linux Sound Architecture
<M> Sequencer support
<M> OSS Mixer API
<M> OSS PCM (digital audio) API
[*] OSS Sequencer API
<M> RTC Timer support

unter
PCI devices ---> deine Soundkarte

(*) für fest einkompiliert
das wars
l-----------

snd_seq_midi
snd_seq_oss
snd_seq_midi_event
snd_seq
snd_ens1371 # individuell
snd_rawmidi
snd_seq_device
snd_ac97_codec
snd_pcm_oss
snd_mixer_oss
snd_pcm
snd_timer
snd
snd_page_alloc

oss emulation ist aufjedenfall empfehlenswert, weil noch nicht jede software mit alsa klar kommt, oft z.b. spiele aber auch z.b. skype usw.

bis denn

edit:
ups, hat wohl etwas lange gedauert. naja jetzt bist du auch so fertig geworden :)

Post Reply