Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gentoo-sources-2.4.26-r6 and ALSA [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
marize
n00b
n00b


Joined: 16 Mar 2003
Posts: 20
Location: New York, NY

PostPosted: Tue Jul 20, 2004 1:10 am    Post subject: gentoo-sources-2.4.26-r6 and ALSA [SOLVED] Reply with quote

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
8) 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
View user's profile Send private message
oumpah-pah
Guru
Guru


Joined: 18 Jul 2004
Posts: 575
Location: Lausanne, Switzerland

PostPosted: Tue Jul 20, 2004 9:12 am    Post subject: Reply with quote

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
View user's profile Send private message
marize
n00b
n00b


Joined: 16 Mar 2003
Posts: 20
Location: New York, NY

PostPosted: Tue Jul 20, 2004 2:50 pm    Post subject: Reply with quote

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/'. 8O

After 'alsa-headers' was installed I was able to sucessfully finish installing 'alsa-driver'.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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