* ALSA with Ubuntu 8.04
@ 2008-06-25 23:47 Eliot Blennerhassett
2008-06-26 0:01 ` Tobin Davis
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Eliot Blennerhassett @ 2008-06-25 23:47 UTC (permalink / raw)
To: ALSA devel
This just an FYI
In Ubuntu 8.04, ubuntu has packaged alsa-drivers including some out of
tree drivers in a separate package: linux-ubuntu-modules-$kernelver
This gets installed in /lib/modules/$kernelver/ubuntu/sound
The only things installed in /lib/modules/$kernelver/sound are
soundcore.ko and ac97_bus.ko
However, when you do a default "make install" from alsa-driver source,
the modules get installed in /lib/modules/$kernelver/kernel/sound
So, now there are 2 copies of the drivers in different places.
I have taken to removing (moving away to say /root)
/lib/modules/$kernelver/ubuntu/sound to avoid any confusion and some odd
module versioning problems that I was having.
regards
Eliot.
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: ALSA with Ubuntu 8.04
2008-06-25 23:47 ALSA with Ubuntu 8.04 Eliot Blennerhassett
@ 2008-06-26 0:01 ` Tobin Davis
2008-06-26 12:34 ` Takashi Iwai
2008-06-28 13:15 ` Ben Stanley
2 siblings, 0 replies; 4+ messages in thread
From: Tobin Davis @ 2008-06-26 0:01 UTC (permalink / raw)
To: Eliot Blennerhassett; +Cc: ALSA devel
Actually, the best practice is to install your new drivers
in /lib/modules/`uname -r`/updates/sound. depmod will automatically
detect these as newer than the other modules. This is how I test new
alsa builds on my test platforms.
The sound modules in linux-ubuntu-modules are modified from the stock
version of alsa that comes with the kernel in Ubuntu. The patches are
NOT for release into upstream alsa, as they have already been submitted
and are in 1.0.16 and later (I know, I wrote them).
Tobin Davis
On Thu, 2008-06-26 at 11:47 +1200, Eliot Blennerhassett wrote:
> This just an FYI
>
> In Ubuntu 8.04, ubuntu has packaged alsa-drivers including some out of
> tree drivers in a separate package: linux-ubuntu-modules-$kernelver
>
> This gets installed in /lib/modules/$kernelver/ubuntu/sound
>
> The only things installed in /lib/modules/$kernelver/sound are
> soundcore.ko and ac97_bus.ko
>
> However, when you do a default "make install" from alsa-driver source,
> the modules get installed in /lib/modules/$kernelver/kernel/sound
>
> So, now there are 2 copies of the drivers in different places.
>
> I have taken to removing (moving away to say /root)
> /lib/modules/$kernelver/ubuntu/sound to avoid any confusion and some odd
> module versioning problems that I was having.
>
> regards
>
> Eliot.
>
>
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
--
Tobin Davis
Leela: "There it is, the near-death star."
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: ALSA with Ubuntu 8.04
2008-06-25 23:47 ALSA with Ubuntu 8.04 Eliot Blennerhassett
2008-06-26 0:01 ` Tobin Davis
@ 2008-06-26 12:34 ` Takashi Iwai
2008-06-28 13:15 ` Ben Stanley
2 siblings, 0 replies; 4+ messages in thread
From: Takashi Iwai @ 2008-06-26 12:34 UTC (permalink / raw)
To: Eliot Blennerhassett; +Cc: ALSA devel
At Thu, 26 Jun 2008 11:47:13 +1200,
Eliot Blennerhassett wrote:
>
> This just an FYI
>
> In Ubuntu 8.04, ubuntu has packaged alsa-drivers including some out of
> tree drivers in a separate package: linux-ubuntu-modules-$kernelver
>
> This gets installed in /lib/modules/$kernelver/ubuntu/sound
>
> The only things installed in /lib/modules/$kernelver/sound are
> soundcore.ko and ac97_bus.ko
>
> However, when you do a default "make install" from alsa-driver source,
> the modules get installed in /lib/modules/$kernelver/kernel/sound
>
> So, now there are 2 copies of the drivers in different places.
>
> I have taken to removing (moving away to say /root)
> /lib/modules/$kernelver/ubuntu/sound to avoid any confusion and some odd
> module versioning problems that I was having.
FYI, the installation path can be specified via --with-moddir
configure option, too.
Takashi
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: ALSA with Ubuntu 8.04
2008-06-25 23:47 ALSA with Ubuntu 8.04 Eliot Blennerhassett
2008-06-26 0:01 ` Tobin Davis
2008-06-26 12:34 ` Takashi Iwai
@ 2008-06-28 13:15 ` Ben Stanley
2 siblings, 0 replies; 4+ messages in thread
From: Ben Stanley @ 2008-06-28 13:15 UTC (permalink / raw)
To: Eliot Blennerhassett; +Cc: ALSA devel
I happened to be in this territory a couple of nights ago... so here's a
summary of what I learned.
The priority order for the case of multiple modules with the same name
may be controlled by modifying /etc/depmod.conf .
As Takashi says, and quoting from `man depmod.conf`:
By default, depmod will give a higher priority to a directory
with the name updates using this built-in search string:
"updates built-in" but more complex arrangements are possible
and are used in several popular distributions.
Other directories may be given priority by specifying your own search
line as follows:
in /etc/depmod.conf
-------------------------
search my-custom-drivers updates built-in
-------------------------
After installing a new module (and perhaps manually running depmod), you
can check which module will actually be used with
grep my-module-name /lib/modules/`uname -r`/modules.dep
This takes out all the guesswork and makes success a 'sure thing' :-) .
Ben Stanley.
On Thu, 2008-06-26 at 11:47 +1200, Eliot Blennerhassett wrote:
> This just an FYI
>
> In Ubuntu 8.04, ubuntu has packaged alsa-drivers including some out of
> tree drivers in a separate package: linux-ubuntu-modules-$kernelver
>
> This gets installed in /lib/modules/$kernelver/ubuntu/sound
>
> The only things installed in /lib/modules/$kernelver/sound are
> soundcore.ko and ac97_bus.ko
>
> However, when you do a default "make install" from alsa-driver source,
> the modules get installed in /lib/modules/$kernelver/kernel/sound
>
> So, now there are 2 copies of the drivers in different places.
>
> I have taken to removing (moving away to say /root)
> /lib/modules/$kernelver/ubuntu/sound to avoid any confusion and some odd
> module versioning problems that I was having.
>
> regards
>
> Eliot.
>
>
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-06-28 13:15 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-25 23:47 ALSA with Ubuntu 8.04 Eliot Blennerhassett
2008-06-26 0:01 ` Tobin Davis
2008-06-26 12:34 ` Takashi Iwai
2008-06-28 13:15 ` Ben Stanley
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.