[mythtv-users] Installing alsa-driver 1.0.23 - what did I miss?

Jarod Wilson jarod at wilsonet.com
Mon Jul 26 19:56:19 UTC 2010


On Sun, Jul 25, 2010 at 11:47 PM, Don Brett <dlbrett at zoominternet.net> wrote:
> Jarod Wilson wrote:
>>
>> On Sun, Jul 25, 2010 at 3:40 PM, German Pulido <gapf2010 at gmail.com> wrote:
>>
>>>>
>>>> This distro is based on Fedora-12, but from what I've seen, Fedora-12
>>>> provides alsa version 1.0.21.  I'd love to install the new one by RPM
>>>> but
>>>> haven't found it anywhere.  Was it on the original distribution CD's, or
>>>> do
>>>> you have a link to it?  I tried the rpm from ATrps, but it required the
>>>> Fedora-13 kernel.
>>>>
>>>
>>> Hi again!
>>>
>>> alsa 1.0.23 is in the official Fedora updates repository:
>>>
>>
>> That's the *userspace* alsa bits. He needs alsa *kernel* drivers,
>> which are typically included in the kernel package itself. The
>> currently shipping Fedora 12 kernel has (apparently) alsa 1.0.21
>> drivers in it. He's trying to build new alsa kernel drivers and get
>> them to load in preference of the older kernel-provided ones.
>>
>> Don, if you run (as root) 'depmod -a', then 'modinfo snd', what does
>> it give as a file path to snd.ko? (actually, it would be interesting
>> to see what it is both before and after the depmod, particularly if it
>> changes -- if it does, the depmod was all that was missing).
>>
>>
>
> Hi Jarod, it's been an interesting weekend.  The box is a bit twisted at the
> moment; I've reloaded MD-12 from scratch, run all the alsa-1.0.23 updates
> (lib, lib-devel, util), , then "yum update", which did about 257 packages.
>  Interesting though, it's still reporting the alsa version as 1.0.23.
>
> [mythtv at vanson videos]$ cat /proc/asound/version
> Advanced Linux Sound Architecture Driver Version 1.0.21.
>
> Here it is before and after:
>
> Before depmod -a:
> [root at vanson ~]# modinfo snd
> filename:
> /lib/modules/2.6.32.16-141.fc12.i686/kernel/sound/core/snd.ko
>
>
> After depmod -a:
> [root at vanson ~]# modinfo snd
> filename:
> /lib/modules/2.6.32.16-141.fc12.i686/kernel/sound/core/snd.ko
>
> ...not sure this is what you meant, so I built and installed alsa-driver
> from source again.  I've wiped the box and re-installed MD-12 since the last
> build.
>
> ...then ran depmod:
> [root at vanson alsa-driver-1.0.23]# modinfo snd
> filename:
> /lib/modules/2.6.32.16-141.fc12.i686/kernel/sound/acore/snd.ko
>
> ...then reboot and depmod -a again
> [root at vanson ~]# modinfo snd
> filename:
> /lib/modules/2.6.32.16-141.fc12.i686/kernel/sound/acore/snd.ko
>
> ...now it sees the new version.
> [root at vanson ~]# cat /proc/asound/version
> Advanced Linux Sound Architecture Driver Version 1.0.23.
> Compiled on Jul 25 2010 for kernel 2.6.32.16-141.fc12.i686 (SMP).
> [root at vanson ~]#
>
>
> Is it right?  Is depmod -a all I needed to do in the first place?

I'm not quite sure. Your output before and after depmod is identical
in both cases there. But the modinfo from the last two id different
from the first two -- sound/core/snd.ko vs. sound/acore/snd.ko. Or is
that a typo transcribing? (Transcribing is frowned upon, straight
copy-n-paste preferred, to be sure we don't chase our tails due to a
typo). :) But perhaps there was something different about the last
build and install from source vs. prior runs that was actually the
key, not the depmod. (Haven't built out-of-tree alsa in ages, no clue
about all the possible gotchas).

-- 
Jarod Wilson
jarod at wilsonet.com


More information about the mythtv-users mailing list