snd-aoa status update / automatic driver loading
Wolfgang Pfeiffer
roto at gmx.net
Fri May 19 04:17:48 EST 2006
On Thu, May 18, 2006 at 12:13:12PM +0200, Johannes Berg wrote:
> On Thu, 2006-05-18 at 00:19 +0200, Wolfgang Pfeiffer wrote:
>
> > changed /etc/modules to explicitly load only i2sbus:
>
> Even that should not be necessary.
True. Just tested it (i.e. booted the machine) with this /etc/modules file:
----------------
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
apm_emu
ide-cd
#ide-disk
#ide-generic
sbp2
i2c-powermac
#snd-powermac
#snd-aoa:
#soundbus
#i2sbus
#snd-aoa
#snd-aoa-fabric-layout
#snd-aoa-codec-onyx
# End snd-aoa
cpufreq_performance
cpufreq_powersave
sr_mod
therm_adt746x
-----------------
And this is lsmod, after booting with he file above (op. slightly
edited for better readability):
# lsmod | grep snd
snd_aoa_codec_onyx 12736 2
snd_aoa_fabric_layout 7716 1
snd_aoa 8076 2 snd_aoa_codec_onyx,snd_aoa_fabric_layout
snd_pcm_oss 45824 0
snd_mixer_oss 19392 1 snd_pcm_oss
snd_pcm 89060 2 i2sbus,snd_pcm_oss
snd_timer 22468 1 snd_pcm
snd_page_alloc 8744 1 snd_pcm
soundbus 6436 2 snd_aoa_fabric_layout,i2sbus
snd 60148 10 snd_aoa_codec_onyx,
snd_aoa_fabric_layout,snd_aoa,i2sbus,
snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore 8612 1 snd
BTW: Is there a way to let 'alsaconf' detect the soundcard on this
PB5,8 ?
So far that's impossible, as it seems. But this could also be
related to mistakes I made in my modules files, or wherever.
That's why I changed a few files today below /etc/modprobe.d/ and
/etc/modutils/ that still had a few instances calling snd-powermac:
I simply replaced 'snd-powermac' with i2sbus resp. (IIRC)
snd-aoa. To no avail so far: alsaconf still does not detect any
soundcard ..
Status quo:
$ grep -irs i2sbus /etc/
/etc/modprobe.d/alsa-base:install i2sbus /sbin/modprobe --ignore-install i2sbus $CMDLINE_OPTS && /lib/alsa/modprobe-post-install i2sbus
/etc/modprobe.d/sound:alias snd-card-0 i2sbus
/etc/modutils/alsa-base:post-install i2sbus /lib/alsa/modprobe-post-install i2sbus
Anything wrong up there?
Best Regards
Wolfgang
--
Wolfgang Pfeiffer: /ICQ: 286585973/ + + + /AIM: crashinglinux/
http://profiles.yahoo.com/wolfgangpfeiffer
Key ID: E3037113
http://keyserver.mine.nu/pks/lookup?search=0xE3037113&fingerprint=on
More information about the Linuxppc-dev
mailing list