LinuxQuestions.org

LinuxQuestions.org (http://www.linuxquestions.org/questions/index.php)
-   Linux - Hardware (http://www.linuxquestions.org/questions/forumdisplay.php?f=18)
-   -   How to set up ALSA on gentoo with an ali-5451? (http://www.linuxquestions.org/questions/showthread.php?t=156762)

Goeland86 03-12-2004 11:24 AM

How to set up ALSA on gentoo with an ali-5451?
 
I just recently finished installing gentoo on my laptop, and everything works perfectly. However, I can't seem to set up the sound properly. I compiled all the modules necessary (I think) but when I try to launch esd I get the error message "audio_alsa: no cards found!"
How do you set it up properly, and which modules do you need to load, and in what order?
This is really annoying, as everything works fine otherwise. The acpi, the cpu frequency modules, compilations...
Thanks for helping out

clar77 03-12-2004 08:52 PM

did you check the alsa how-to a gentoo.org ? Also the forums there have a ton of stuff re alsa. What kernel are you using 2.6.x ? Are you drivers compiled in the kernel correctly or as modules ?

did you try :

# /etc/inid.d/alsasound start


as root ?

Gentoo is a great distribution.. have fun.
Chris

Goeland86 03-12-2004 08:56 PM

well that's where I probably have a problem : /etc/init.d/alsasound doesn't exist on my system!

Also, I get these errors when trying to compile alsa-tools :
hdspconf.cxx: In function `void refresh_cb(void*)':
hdspconf.cxx:77: error: `H9632' undeclared (first use this function)
hdspconf.cxx:77: error: (Each undeclared identifier is reported only once for
each function it appears in.)
hdspconf.cxx:97: error: 'struct hdsp_config_info_t' has no member named '
ad_gain'
hdspconf.cxx:98: error: 'struct hdsp_config_info_t' has no member named '
da_gain'
hdspconf.cxx:99: error: 'struct hdsp_config_info_t' has no member named '
phone_gain'
hdspconf.cxx:100: error: 'struct hdsp_config_info_t' has no member named '
xlr_breakout_cable'
hdspconf.cxx:103: error: 'struct hdsp_config_info_t' has no member named '
analog_extension_board'
make[1]: *** [hdspconf.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/alsa-tools-1.0.3/work/alsa-tools-1.0.3/hdspconf/src'
make: *** [all-recursive] Error 1

!!! ERROR: media-sound/alsa-tools-1.0.3 failed.
!!! Function src_compile, Line 61, Exitcode 2
!!! make failed

Can you help me?

Crashed_Again 03-13-2004 02:17 AM

Try this:

Code:

ALSA_TOOLS="ac3dec as10k1 envy24control hdspconf hdsploader hdspmixer \
 mixartloader rmedigicontrol sb16_csp sscape_ctl us428control usx2yloader vxloader" \
ACCEPT_KEYWORDS="~x86" emerge alsa-tools

I got it from here.

mdbuerkle 11-20-2012 09:47 AM

/etc/init.d/alsasound is in package alsa-utils, not alsa-tools
 
Quote:

Originally Posted by Goeland86 (Post 812686)
well that's where I probably have a problem : /etc/init.d/alsasound doesn't exist on my system!

Also, I get these errors when trying to compile alsa-tools :
hdspconf.cxx: In function `void refresh_cb(void*)':
hdspconf.cxx:77: error: `H9632' undeclared (first use this function)
hdspconf.cxx:77: error: (Each undeclared identifier is reported only once for
each function it appears in.)
hdspconf.cxx:97: error: 'struct hdsp_config_info_t' has no member named '
ad_gain'
hdspconf.cxx:98: error: 'struct hdsp_config_info_t' has no member named '
da_gain'
hdspconf.cxx:99: error: 'struct hdsp_config_info_t' has no member named '
phone_gain'
hdspconf.cxx:100: error: 'struct hdsp_config_info_t' has no member named '
xlr_breakout_cable'
hdspconf.cxx:103: error: 'struct hdsp_config_info_t' has no member named '
analog_extension_board'
make[1]: *** [hdspconf.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/alsa-tools-1.0.3/work/alsa-tools-1.0.3/hdspconf/src'
make: *** [all-recursive] Error 1

!!! ERROR: media-sound/alsa-tools-1.0.3 failed.
!!! Function src_compile, Line 61, Exitcode 2
!!! make failed

Can you help me?

Hello Goeland86,

/etc/init.d/alsasound comes with package alsa-utils:

mdb$ equery belongs /etc/init.d/alsasound
* Searching for /etc/init.d/alsasound ...
media-sound/alsa-utils-1.0.25-r1 (/etc/init.d/alsasound)
mdb$

NB equery is from package gentoolkit.

Double-check the loudness controls (hardware) on Your laptop, I missed on this with an old Laptop with ali5451 and had no sound at all... :-(

Kind regards,
mdbuerkle


All times are GMT -5. The time now is 01:57 AM.