LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-28-2003, 01:49 PM   #1
jaan kaer
Member
 
Registered: Nov 2003
Location: Estonia
Distribution: Debian testing
Posts: 69

Rep: Reputation: 15
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.
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?
 
Old 12-28-2003, 01:56 PM   #2
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
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
 
Old 12-28-2003, 02:09 PM   #3
jaan kaer
Member
 
Registered: Nov 2003
Location: Estonia
Distribution: Debian testing
Posts: 69

Original Poster
Rep: Reputation: 15
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?
 
Old 12-28-2003, 03:50 PM   #4
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Rep: Reputation: 46
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.
 
Old 12-28-2003, 04:49 PM   #5
jaan kaer
Member
 
Registered: Nov 2003
Location: Estonia
Distribution: Debian testing
Posts: 69

Original Poster
Rep: Reputation: 15
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 || :
 
Old 12-28-2003, 05:21 PM   #6
jaan kaer
Member
 
Registered: Nov 2003
Location: Estonia
Distribution: Debian testing
Posts: 69

Original Poster
Rep: Reputation: 15
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. ---
 
Old 12-28-2003, 10:39 PM   #7
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Rep: Reputation: 46
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.

Last edited by h/w; 12-28-2003 at 10:41 PM.
 
Old 12-28-2003, 11:28 PM   #8
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
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.

Last edited by Demonbane; 12-28-2003 at 11:30 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
No sound with Kernel 2.6.7 gotmonkey Slackware 6 12-17-2004 01:45 PM
kernel 2.6.7 and sound jam222 Slackware 10 07-09-2004 08:43 AM
kernel sound Infinite_Pizza Linux - Hardware 0 05-30-2004 11:44 PM
Can I load both oss (kernel sound drivers) and alsa in 2 sound cared system? cmisip Linux - General 0 04-12-2003 02:27 AM
no sound on sis onboard sound kernel 2.4.18 blither Linux - General 10 12-13-2002 06:53 AM


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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration