LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   no help still with sound in 2.6 kernel (https://www.linuxquestions.org/questions/linux-newbie-8/no-help-still-with-sound-in-2-6-kernel-129550/)

jaan kaer 12-28-2003 12:49 PM

no help still with sound in 2.6 kernel
 
i have been checking google for hours, but still no use for a newbie how to configure sound card properly. :mad:
after upgrading kernel to 2.6 i really like things being so fast, but there is a true nuisance about my sound.

every time i boot up, i have to do sound card detection to make sound work. i finds my souncard properly, but why doesn't it do on bootup?

hw-tph 12-28-2003 12:56 PM

What soundcard do you have (do an lspci -v if you don't know) and what sound options have you enabled in the kernel, and are they modules or compiled-in?

Depending on your sound hardware you either have to just insert the correct module, or if you have tricky hardware you also need to provide some parameters to the module. You should always compile sound support as a module since having soundcore as a module allows you to build Alsa and other external kernel modules.

Håkan

jaan kaer 12-28-2003 01:09 PM

i have two sound cards, but one is integrated and i don't use it. another is:
00:0f.0 Multimedia audio controller: Ensoniq 5880 AudioPCI (rev 04)
Subsystem: Ensoniq: Unknown device 8001
Flags: bus master, slow devsel, latency 32, IRQ 5
I/O ports at dc00 [size=64]
Capabilities: [dc] Power Management version 2


i assume, too, that it is only a matter of configuration, since it works properly "after" detection, but how do i configure it?

h/w 12-28-2003 02:50 PM

while building your kernel, did you build support for your soundcard as a module or did you build it right into the kernel? if you built it as a module, look up how to load modules at boot time (/etc/modules.conf?). im guessing you didnt build it into the kernel as it isnt brought up at boot.

jaan kaer 12-28-2003 03:49 PM

i modified it according to this website:
http://freax.be/wiki/index.php/Fedor...est?version=19

here's my /etc/modules.conf

alias eth0 8139too
alias usb-controller usb-uhci
alias sound-slot-0 es1371
alias sound-slot-1 cmpci
post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :
post-install sound-slot-1 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
pre-remove sound-slot-1 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :

jaan kaer 12-28-2003 04:21 PM

one more thing: alsaconf did'nt help as well :(

# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF verion 1.0.0rc2 ---
alias char-major-116 snd
alias char-major-14 soundcore
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
alias snd-card-0 snd-ens1371
alias sound-slot-0 snd-ens1371
# --- END: Generated by ALSACONF, do not edit. ---

h/w 12-28-2003 09:39 PM

i cant help you with the modules conf thingie (hoping someone else can here), but you dont have to run sndconfig everytime. you only have to do "modprobe es1371" as root. if you already knew this, then forget i posted anything. :)

also, because you have the aumix-minimal in your file, you might have to increase the volume settings using aumix, as it would otherwise start with muted settings.

Demonbane 12-28-2003 10:28 PM

Afaik 2.6 uses /etc/modprobe.conf instead of /etc/modules.conf
there is a generate-modprobe.conf utility included with the module-init-tools, it can generate a modporbe.conf based on your modules.conf:
Code:

./generate-modprobe.conf /etc/modprobe.conf
or you can modprobe the alsa modules and do "alsactl restore" manually in local startup scripts.


All times are GMT -5. The time now is 09:07 PM.