Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kernel 2.6.5, ALSA install fails
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
vtrac
Tux's lil' helper
Tux's lil' helper


Joined: 16 Apr 2004
Posts: 86

PostPosted: Sun Apr 18, 2004 4:03 pm    Post subject: Kernel 2.6.5, ALSA install fails Reply with quote

I'm following the instructions at www.gentoo.org/doc/en/alsa-guide.xml.

Code:
bash-2.05b# grep audio /proc/pci
    Multimedia audio controller: Intel Corp. 82801DB AC'97 Audio Controller (rev 3).


So I have an Intel 8x0 chip. I think I'm supposed to do this:

Code:
env ALSA_CARDS='snd-intel8x0' emerge \>=media-sound/alsa-driver


But it fails with this error:
Code:
bash-2.05b# env ALSA_CARDS='snd-intel8x0' emerge \>=media-sound/alsa-driver
Calculating dependencies ...done!
>>> emerge (1 of 1) media-sound/alsa-driver-1.0.3 to /dia-sound/alsa-driver-1.0.2
>>> md5 src_uri ;-) alsa-driver-1.0.3.tar.bz2
>>> Unpacking source...
>>> Unpacking alsa-driver-1.0.3.tar.bz2 to /var/tmp/portage/alsa-driver-1.0.3/work
 * Applying makefile.patch...                                                           [ ok ]
 * Applying alsa-driver-0.9.8-au-fix.patch...                                           [ ok ]
 * /usr/src/linux is a symbolic link
 * Determining the real directory of the Linux kernel source code
 * Building for Linux 2.6.5-gentoo-r1 found in /usr/src/linux
 * A 2.5 or 2.6 kernel was detected.  We are copying the kernel source tree from
 * //usr/src/linux-2.6.5-gentoo-r1 to /var/tmp/portage/alsa-driver-1.0.3/temp/linux
 * because the alsa-driver build process overwrites files in the 2.6.x kernel tree.
>>> Source unpacked.
x86
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for i686-pc-linux-gnu-gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for i686-pc-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for a BSD-compatible install... /bin/install -c
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether time.h and sys/time.h may both be included... yes
checking whether gcc needs -traditional... no
checking for current directory... /var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3
checking cross compile...
checking for directory with kernel source... /var/tmp/portage/alsa-driver-1.0.3/temp/linux
checking for kernel version... The file /var/tmp/portage/alsa-driver-1.0.3/temp/linux/include/linux/version.h does not exist.
Please, install the package with full kernel sources for your distribution
or use --with-kernel=dir option to specify another directory with kernel
sources (default is /usr/src/linux).

!!! ERROR: media-sound/alsa-driver-1.0.3 failed.
!!! Function econf, Line 365, Exitcode 1
!!! econf failed


Has anyone encountered this?
Back to top
View user's profile Send private message
R!tman
Veteran
Veteran


Joined: 18 Dec 2003
Posts: 1303
Location: Zurich, Switzerland

PostPosted: Sun Apr 18, 2004 4:36 pm    Post subject: Reply with quote

You have a kernel 2.6. You do not need to use this tutorial. ALSA support is in the kernel. Just recompile your kernel with ALSA enabled.
Back to top
View user's profile Send private message
vtrac
Tux's lil' helper
Tux's lil' helper


Joined: 16 Apr 2004
Posts: 86

PostPosted: Sun Apr 18, 2004 5:00 pm    Post subject: Reply with quote

I have already compiled the kernel with the sound support as modules, and an lsmod shows that they're running. However, the sound still doesn't work. :(
Back to top
View user's profile Send private message
R!tman
Veteran
Veteran


Joined: 18 Dec 2003
Posts: 1303
Location: Zurich, Switzerland

PostPosted: Sun Apr 18, 2004 5:07 pm    Post subject: Reply with quote

Is the volume turned up?

You do not need alsa-drivers, but alsa-utils and alsa-lib are still needed, I think. You could also try to
Code:
/etc/init.d/alsasound start


If this does not work, post more (dmesg, /var/log/messages, ...)
Back to top
View user's profile Send private message
Abraxas
l33t
l33t


Joined: 25 May 2003
Posts: 814

PostPosted: Sun Apr 18, 2004 5:10 pm    Post subject: Reply with quote

Use alsamixer to unmute Master and PCM channels and then turn the sound up on them. (press "m" to mute/unmute)
_________________
Time makes more converts than reason. - Thomas Paine
Travel is fatal to prejudice, bigotry, and narrow-mindedness, and many of our people need it sorely on these accounts. - Mark Twain
Back to top
View user's profile Send private message
vtrac
Tux's lil' helper
Tux's lil' helper


Joined: 16 Apr 2004
Posts: 86

PostPosted: Sun Apr 18, 2004 6:33 pm    Post subject: Reply with quote

Worked like a charm after I emerged alsa-lib and mixer. Now to only get X full ACPI and my WL200 wireless lan to work.

Thanks guys!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum