Bug#609747: udev: snd-powermac.ko not loaded automatically on iBook (first generation), resulting in no audio
On Wed, Jan 12, 2011 at 12:59:46PM -0500, Daniel Kahn Gillmor wrote:
> 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
Sorry, my fingers automatically typed the flavour I usually use
and test.
> 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.
>
What does '/sbin/modinfo snd-powermac' say?
Beyond that, I think we'll need a udev log showing what devices
the kernel is reporting to it.
[...]
> 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:~#
I think alsa-base may load those explicitly.
Ben.
--
Ben Hutchings
We get into the habit of living before acquiring the habit of thinking.
- Albert Camus
Reply to:
- References:
- Bug#609747: udev: snd-powermac.ko not loaded automatically on iBook (first generation), resulting in no audio
- From: Ben Hutchings <ben@decadent.org.uk>
- Bug#609747: udev: snd-powermac.ko not loaded automatically on iBook (first generation), resulting in no audio
- From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
- Bug#609747: udev: snd-powermac.ko not loaded automatically on iBook (first generation), resulting in no audio
- From: Ben Hutchings <ben@decadent.org.uk>
- Bug#609747: udev: snd-powermac.ko not loaded automatically on iBook (first generation), resulting in no audio
- From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
- Bug#609747: udev: snd-powermac.ko not loaded automatically on iBook (first generation), resulting in no audio
- From: md@Linux.IT (Marco d'Itri)
- Bug#609747: udev: snd-powermac.ko not loaded automatically on iBook (first generation), resulting in no audio
- From: Ben Hutchings <ben@decadent.org.uk>
- Bug#609747: udev: snd-powermac.ko not loaded automatically on iBook (first generation), resulting in no audio
- From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
- Bug#609747: udev: snd-powermac.ko not loaded automatically on iBook (first generation), resulting in no audio
- From: md@Linux.IT (Marco d'Itri)
- Bug#609747: udev: snd-powermac.ko not loaded automatically on iBook (first generation), resulting in no audio
- From: Ben Hutchings <ben@decadent.org.uk>
- Bug#609747: udev: snd-powermac.ko not loaded automatically on iBook (first generation), resulting in no audio
- From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>