LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-15-2004, 10:56 PM   #1
enigma Z
Member
 
Registered: Sep 2003
Location: The edge of the world, peering down into the dark abyss
Distribution: Gentoo 2004.2
Posts: 224

Rep: Reputation: 30
ESD And ALSA Can't find my sound card!


When I try to set up sound in Enlightenment, I run ESD and it says: Audio_Alsa: Can't find audio device . Is there some module I need to load or some setting I need to change?
 
Old 09-16-2004, 03:52 AM   #2
shedir
Member
 
Registered: Mar 2004
Location: Dresden, Germany
Distribution: Gentoo
Posts: 31

Rep: Reputation: 15
Hi,

yes there are some kernel modules to be loaded. At first you should identify the exact type of your soundcard with lspci.
Then go to http://www.alsa-project.org/alsa-doc/ and find out which module is needed for your soundcard.

If you use a 2.6.x kernel you have to compile the required modules (or build them into the kernel). If you compiled modules you should add them to /etc/modules.autoload.d/kernel-2.6 to have them loaded at startup.

If you use a 2.4.x kernel you must set the ALSA_CARDS variable in /etc/make.conf then emerge alsa-driver. Afterwards add /etc/init.d/alsasound to the default runlevel.
 
Old 09-16-2004, 08:55 AM   #3
enigma Z
Member
 
Registered: Sep 2003
Location: The edge of the world, peering down into the dark abyss
Distribution: Gentoo 2004.2
Posts: 224

Original Poster
Rep: Reputation: 30
What do I need to set ma ALSA_CARDS variable to? My ALSA soundcard module (snd-ens1371)? or is it a USE variable?
 
Old 09-16-2004, 09:01 AM   #4
enigma Z
Member
 
Registered: Sep 2003
Location: The edge of the world, peering down into the dark abyss
Distribution: Gentoo 2004.2
Posts: 224

Original Poster
Rep: Reputation: 30
Yesss, figured it out!! it's the actual sound card-code-module-thingy ens1371
 
Old 09-16-2004, 09:22 AM   #5
enigma Z
Member
 
Registered: Sep 2003
Location: The edge of the world, peering down into the dark abyss
Distribution: Gentoo 2004.2
Posts: 224

Original Poster
Rep: Reputation: 30
Oops, it still doesn't work. I get as far as "modprobe snd-ens1371" and I get the following output:
Code:
bash-2.05b# modprobe snd-ens1371
/lib/modules/2.4.26-gentoo-r9/kernel/sound/pci/snd-ens1371.o: init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
      You may find more information in syslog or the output from dmesg
/lib/modules/2.4.26-gentoo-r9/kernel/sound/pci/snd-ens1371.o: insmod /lib/modules/2.4.26-gentoo-r9/kernel/sound/pci/snd-ens1371.o failed
/lib/modules/2.4.26-gentoo-r9/kernel/sound/pci/snd-ens1371.o: insmod snd-ens1371 failed
Did I forget something? perhaps I should remerge alsa-utils?

EDIT:

I also tried to run "/etc/init.d/alsasound start", and I get this output:
Code:
 * Loading ALSA drivers...
 * Using ALSA OSS emulation
 * Loading: snd-seq-oss
 * Loading: snd-pcm-oss
 * Running card-dependent scripts
 * Restoring Mixer Levels
 * No mixer config in /etc/asound.state, you have to unmute your card!                                                                                       [ ok ]
But when I try to start alsamixer to umnute my sound card, I get this output:
Code:
bash-2.05b# alsamixer

alsamixer: function snd_ctl_open failed for default: No such device
Is there anything that I need to do extra? If alsasound is started, I still get the above output about 'modprobe snd-ens1371'. I wish I could get ALSA working

EDIT2: I also went and edited modules.conf, but when I try '/etc/init.d/alsasound start', it tries to load the snd-es1371 module and the snd-interwave module. Both fail to load (it can't find interwave

Last edited by enigma Z; 09-16-2004 at 09:43 AM.
 
Old 09-17-2004, 11:07 AM   #6
shedir
Member
 
Registered: Mar 2004
Location: Dresden, Germany
Distribution: Gentoo
Posts: 31

Rep: Reputation: 15
Hi,

there is no sense in re-emerging alsa-utils unless the kernel modules don't work.

As the insmod of snd-ens1371 fails, I guess, that eigther it is not the correct module (are you sure it is the same chipset that was reported by lspci? [there are ens and es chipsets]) or that another module has to be loaded first (soundcore or something like that).

Unfortunately I've a 2.6 kernel with alsa compiled in (yes an ens1371 based card) so I can not try out this loadable module stuff. And the mahine is much to slow to recompile a kernel quickly with modules enabled.

It's a pity that I couldn't help you.
 
Old 09-17-2004, 10:09 PM   #7
enigma Z
Member
 
Registered: Sep 2003
Location: The edge of the world, peering down into the dark abyss
Distribution: Gentoo 2004.2
Posts: 224

Original Poster
Rep: Reputation: 30
Problem solved:

I downloaded the gentoo 2.6 kernel sources and compiled them with built in support for my es1371 sound card and now it works (btw: the alsa module I needed was ens, but the kernel module was es, so go figure!). Anyways, I'm curently running the 2.6.8-r3-gentoo kernel, and am very happy with my alsa-based sound . Oh yeah, and the config needed a little tweaking too :P
 
  


Reply



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
ALSA can't find my integrated AC97 Sound Card dr_angus Debian 25 10-27-2005 09:54 PM
ALSA, OSS, ARTS, ESD, GStreamer all sound different. russofris Linux - Software 1 09-02-2005 09:32 PM
alsa refuses to find my sound card :(( a3Rogue Linux - Newbie 5 06-19-2004 07:44 PM
ALSA ESD --> no sound, but OSS sound works intense Slackware 1 03-23-2004 02:34 PM
Can't recognize/find my onboard sound card. Need help setting up ALSA. cmack Linux - Hardware 2 11-15-2003 10:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:25 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
Open Source Consulting | Domain Registration