View previous topic :: View next topic |
Author |
Message |
marize n00b
Joined: 16 Mar 2003 Posts: 20 Location: New York, NY
|
Posted: Tue Jul 20, 2004 1:10 am Post subject: gentoo-sources-2.4.26-r6 and ALSA [SOLVED] |
|
|
I decided to get ALSA going in my old Inspiron 8000 today. The sound card is
Code: | # grep -i audio /proc/pci
Multimedia audio controller: ESS Technology ES1983S Maestro-3i PCI Audio Accelerator (rev 16). |
Here's what I did:
1) emerge gentoo-sources-2.4.26-r6
1.1) create the symlink
/usr/src/linux -> linux-2.4.26-gentoo-r6
2) Configure the kernel's sound section as
Code: | #
# Sound
#
CONFIG_SOUND=y |
and nothing else.
3) make dep
4) make clean
5) make bzImage modules modules_install
6) mount /boot anc copy bzImage
7) Edit /boot/grub/grub.conf
reboot
9) After verifying that I have alsa and oss in my USE flags and that '/etc/make.conf has the entry for the card (ALSA_CARDS="maestro3",
# emerge alsa-driver
It fails with error
Quote: |
--- /usr/include/
!!! Cannot write to '/usr/include/sound'.
!!! Please check permissions and directories for broken symlinks.
!!! You may start the merge process again by using ebuild:
!!! ebuild /usr/portage/media-sound/alsa-driver/alsa-driver-1.0.5a.ebuild merge
!!! And finish by running this: env-update
|
10) Where's '/usr/include/sound'?
/usr/include/sound -> /usr/src/linux/include/sound
Problem is '/usr/src/linux/include/sound' doesn't exist...
Is '/usr/src/linux/include/sound' supposed to be created by the kernel or is it supposed to be handled by alsa?
And, yes, if I create it by hand I can install 'alsa-driver' BUT then the system bell does not work.
Any words of wisdom on that?
TIA
Last edited by marize on Tue Jul 20, 2004 2:51 pm; edited 1 time in total |
|
Back to top |
|
|
oumpah-pah Guru
Joined: 18 Jul 2004 Posts: 575 Location: Lausanne, Switzerland
|
Posted: Tue Jul 20, 2004 9:12 am Post subject: |
|
|
My guess is that this directory should be created when you emerge gentoo-sources or whatever your kernel is. So maybe you could try to re-emerge your kernel sources. |
|
Back to top |
|
|
marize n00b
Joined: 16 Mar 2003 Posts: 20 Location: New York, NY
|
Posted: Tue Jul 20, 2004 2:50 pm Post subject: |
|
|
After 'emerge sync'ing I found out that a package 'alsa-headers' was listed as new. This is the one that populates '/usr/include/sound/'.
After 'alsa-headers' was installed I was able to sucessfully finish installing 'alsa-driver'. |
|
Back to top |
|
|
|