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

Jarod Wilson jarod at wilsonet.com
Tue Jul 27 04:15:48 UTC 2010


On Mon, Jul 26, 2010 at 11:44 PM, Don Brett <dlbrett at zoominternet.net> wrote:
> Jarod Wilson wrote:
...
>>> ...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).
>>
>>
>
> Well, I said the box was twisted, so I reloaded it again...got slightly
> different results.  Now it reports version 1.0.21 again.  The previous
> install had the modules in the new location (as a result of the update?), so
> the alsa build was installed in the right place (coincidentally).  This
> pass....it's still looking at the old location.
>
> After MD-12 installation:
> [root at vanson ~]# modinfo snd
> filename:       /lib/modules/2.6.32.11-99.fc12.i686/kernel/sound/core/snd.ko

kernel 2.6.32.11-99

> After depmod -a
> [root at vanson ~]# depmod -a
> [root at vanson ~]# modinfo snd
> filename:       /lib/modules/2.6.32.11-99.fc12.i686/kernel/sound/core/snd.ko

kernel 2.6.32.11-99

> ...download driver source, unpack,
> ./configure --with-kernel=/usr/src/kernels/2.6.32.16-141.fc12.i686

kernel 2.6.32.16-141

> make
> make install
> ./snddevices
>
> [root at vanson ~]# modinfo snd
> filename:       /lib/modules/2.6.32.11-99.fc12.i686/kernel/sound/core/snd.ko

kernel 2.6.32.11-99

> [root at vanson ~]# cat /proc/asound/version
> Advanced Linux Sound Architecture Driver Version 1.0.21.
>
> After depmod -a:
> [root at vanson ~]# modinfo snd
> filename:       /lib/modules/2.6.32.11-99.fc12.i686/kernel/sound/core/snd.ko
>
> [root at vanson ~]# cat /proc/asound/version
> Advanced Linux Sound Architecture Driver Version 1.0.21.
>
> After reboot:
> [root at vanson ~]# cat /proc/asound/version
> Advanced Linux Sound Architecture Driver Version 1.0.21.
>
> [root at vanson ~]# modinfo snd
> filename:       /lib/modules/2.6.32.11-99.fc12.i686/kernel/sound/core/snd.ko
>
> After depmod -a:
> [root at vanson ~]# modinfo snd
> filename:       /lib/modules/2.6.32.11-99.fc12.i686/kernel/sound/core/snd.ko
>
> [root at vanson ~]# cat /proc/asound/version
> Advanced Linux Sound Architecture Driver Version 1.0.21.
>
> After shutdown -h now:
> [root at vanson ~]# depmod -a
> [root at vanson ~]# cat /proc/asound/version
> Advanced Linux Sound Architecture Driver Version 1.0.21.
> [root at vanson ~]# modinfo snd
> filename:       /lib/modules/2.6.32.11-99.fc12.i686/kernel/sound/core/snd.ko
> [root at vanson ~]# /usr/src/alsa/alsa-driver-1.0.23/snddevices
> Creating mixer?...done.
> .....
>
> Not sure what to try from here.

Install kernel and kernel-devel w/version-release of
2.6.32.16-141.fc12, rebuild and reinstall alsa bits, boot that kernel.
:)


-- 
Jarod Wilson
jarod at wilsonet.com


More information about the mythtv-users mailing list