View previous topic :: View next topic |
Author |
Message |
toni n00b
Joined: 25 Sep 2002 Posts: 60 Location: Ljubljana, Slovenia
|
Posted: Thu Oct 24, 2002 12:27 am Post subject: reemerging ALSA every time after modules_install... |
|
|
Hello!
'make modules_install' completely erases alsa modules from the module tree. Do I have te reemerge ALSA every time after recompiling modules or am I doing something wrong.
This now can be disregarded as it is a shameless repost of a non-answered question from some previous threads...
btw... I'd be glad to get rid of ALSA if someone could tell me, why a normal user can not use /dev/dsp device if driven by OSS... And yes, I do have a group *audio, which I am a member of and devfs *IS configured to set proper ownership to the devices. What is does not do well at all is setting the permissions of symlinkx like /dev/dsp. They are owned by root and not writeable by anyone... Hence, nobody except root can use /dev/dsp... either under ALSA OSS emulation or OSS native. DevFS screws the links by giving them wrong permissions. KDE soundsystem works, but only because it uses orginal ALSA devfs entries and not their links (/dev/dsp).[/i] _________________ [img]http://anduin.eldar.org/cgi-bin/fortune.pl?fortune_db=pratchett&background=transparent[/img] |
|
Back to top |
|
|
Myo n00b
Joined: 24 Oct 2002 Posts: 2
|
Posted: Thu Oct 24, 2002 6:06 am Post subject: |
|
|
Quote: | Important: This means, whenever you recompile your kernel later on, you MUST recompile alsa-driver.
|
Straight from gentoo docs for installing alsa _________________ Myo |
|
Back to top |
|
|
Qubax Guru
Joined: 19 Jul 2002 Posts: 451 Location: Tirol, Austria
|
Posted: Thu Oct 24, 2002 6:50 am Post subject: |
|
|
how about a beta-kernel (2.5.41) already including alsa, so you don't have to remerge alsa after modules_install. i didn't try it out, but i think it is worth it |
|
Back to top |
|
|
kybber Apprentice
Joined: 25 Jun 2002 Posts: 228 Location: Trondheim, Norway
|
Posted: Thu Oct 24, 2002 7:03 am Post subject: |
|
|
A good option is to do 'emerge -b alsa'. This will store the compiled sources in /usr/portage/packages. Then, whenever you change your kernel, do 'emerge -k alsa'. This will install using the compiled packages if they exist, which only takes about 5-10 seconds. Bear in mind that if you perform major changes to your kernel (like enabling/disabling preemptiveness), the stored files may no longer work and you'll need to recompile anyways. |
|
Back to top |
|
|
toni n00b
Joined: 25 Sep 2002 Posts: 60 Location: Ljubljana, Slovenia
|
Posted: Thu Oct 24, 2002 12:46 pm Post subject: Thanx |
|
|
Thanx a bundle, guys.
This is good info!
Here's a solution I am not really proud of, but....
Ok... I went about it the "idiot-duzz-it" and copied the directory containing the alsa modules outside the module tree. After recompiling the kernel modules I copied the directory back to it's original location and run update-modules...
Voila.
Thanx! _________________ [img]http://anduin.eldar.org/cgi-bin/fortune.pl?fortune_db=pratchett&background=transparent[/img] |
|
Back to top |
|
|
|