[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#609747: udev: snd-powermac.ko not loaded automatically on iBook (first generation), resulting in no audio



On 01/12/2011 12:15 PM, Ben Hutchings wrote:
> No, because the build tree doesn't have the symbol versions in it.
> What might work is to install both the linux-source-2.6.32 and
> linux-headers-2.6.32-5-amd64 packages, and then run:
> 
>     make -C /usr/src/linux-headers-2.6.32-5-powerpc/ \
>         M=/usr/src/linux-source-2.6.32/sound/ppc

Thanks, this was very helpful advice (to be explicit, i needed
linux-headers-2.6.32-5-powerpc, not linux-headers-2.6.32-5-amd64, and i
built it as a non-privileged user after unpacking
/usr/src/linux-source-2.6.32.tar.bz2 into the user's home directory,
varying the M= argument above to match).

So as the superuser, i replaced
/lib/modules/2.6.32-5-powerpc/kernel/sound/ppc/snd-powermac.ko with the
hand-built snd-powermac.ko, and ran depmod -a.

i can do:

 modprobe -v -r snd-powermac
 modprobe -v snd-powermac

and my audio still works with the new module.  so that's good!

But it still doesn't get auto-loaded for me.

i made sure snd-powermac was not listed in /etc/modules, i re-built the
initramfs, and i re-started the system.

It came up without snd-powermac.ko loaded, and i had to load it by hand
again.

I can tell that i've got the hand-built module in /lib/modules instead
of the original:

>> 0 root@clam:~# strings /lib/modules/2.6.32-5-powerpc/kernel/sound/ppc/snd-powermac.ko  | grep daca
>> daca
>> alias=of:N*T*Cdaca*
>> daca
>> 0 root@clam:~# strings snd-powermac.ko.2.6.32-5.orig | grep daca
>> daca
>> 0 root@clam:~# 

So what am i missing?  Is this sufficient info, but now udev needs to do
something else?  or is there some other patch that needs applying?

I note that the following snd modules *are* auto-loaded -- i don't know
if this is useful info or not:

>> 0 root@clam:~# lsmod | grep snd
>> snd_aoa_i2sbus         20629  0 
>> snd_pcm                65033  1 snd_aoa_i2sbus
>> snd_page_alloc          9045  1 snd_pcm
>> snd_seq                51409  0 
>> snd_timer              20956  2 snd_pcm,snd_seq
>> snd_seq_device          8405  1 snd_seq
>> snd                    52651  5 snd_aoa_i2sbus,snd_pcm,snd_seq,snd_timer,snd_seq_device
>> soundcore               8003  1 snd
>> snd_aoa_soundbus        6669  1 snd_aoa_i2sbus
>> 0 root@clam:~# 


Thanks for your help,

	--dkg

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: