[Pkg-alsa-devel] Bug#446968: Bug#446968: Bug#446968: alsa-base: Alsa only works after /etc/init.d/alsa restart, then fails again later

Sean Zimmermann svz90 at pipeline.com
Fri Oct 19 23:27:02 UTC 2007


On Oct 19, 2007, at 6:05 PM, Elimar Riesebieter wrote:

> The correct list must be:
>
> snd_aoa_codec_tas      13216  2
> snd_aoa_fabric_layout    12392  2
> snd_aoa                17472  2  
> snd_aoa_codec_tas,snd_aoa_fabric_layout
> snd_aoa_i2sbus         21540  1
> snd_pcm                85540  1 snd_aoa_i2sbus
> snd_timer              22468  1 snd_pcm
> snd_page_alloc          9256  1 snd_pcm
> snd                    60564  10  
> snd_aoa_codec_tas,snd_aoa_fabric_layout,snd_aoa,snd_aoa_i2sbus,snd_pcm 
> ,snd_timer
> soundcore               6948  1 snd
> snd_aoa_soundbus        6148  2 snd_aoa_fabric_layout,snd_aoa_i2sbus
...
> Please do (tseted on my PB):
>
> # /etc/init.d/alsa force-unload
> as long till
> # lsmod | grep snd
> is empty.
>
> Then
> # modprobe -v snd_aoa_i2sbus
> or just reboot.
>
> No more /etc/init.d/alsa reload needed. Please rely on udev.

Here's what I got:

# /etc/init.d/alsa force-unload
Terminating processes: 3868 3980.
Unloading ALSA sound driver modules: snd-powermac snd-aoa-i2sbus
snd-pcm-oss snd-mixer-oss snd-pcm snd-timer snd-page-alloc
snd-aoa-soundbus.

# lsmod | grep snd
(no output)

# modprobe -v snd_aoa_i2sbus
install /sbin/modprobe --ignore-install snd-aoa-soundbus  &&
/lib/alsa/modprobe-post-install snd-aoa-soundbus
insmod
/lib/modules/2.6.22-2-powerpc/kernel/sound/aoa/soundbus/snd-aoa- 
soundbus.ko
insmod /lib/modules/2.6.22-2-powerpc/kernel/sound/soundcore.ko
install /sbin/modprobe --ignore-install snd && { /sbin/modprobe --quiet
snd-ioctl32 ; : ; }
insmod /lib/modules/2.6.22-2-powerpc/kernel/sound/core/snd.ko
insmod /lib/modules/2.6.22-2-powerpc/kernel/sound/core/snd-page-alloc.ko
insmod /lib/modules/2.6.22-2-powerpc/kernel/sound/core/snd-timer.ko
install /sbin/modprobe --ignore-install snd-pcm && { /sbin/modprobe
--quiet snd-pcm-oss ; : ; }
insmod /lib/modules/2.6.22-2-powerpc/kernel/sound/core/snd-pcm.ko
insmod
/lib/modules/2.6.22-2-powerpc/kernel/sound/core/oss/snd-mixer-oss.ko
insmod
/lib/modules/2.6.22-2-powerpc/kernel/sound/core/oss/snd-pcm-oss.ko
install /sbin/modprobe --ignore-install snd-aoa-i2sbus  &&
/lib/alsa/modprobe-post-install snd-aoa-i2sbus
insmod
/lib/modules/2.6.22-2-powerpc/kernel/sound/aoa/soundbus/i2sbus/snd- 
aoa-i2sbus.ko

# lsmod | grep snd
snd_aoa_i2sbus         24388  0
snd_pcm_oss            52480  0
snd_mixer_oss          20384  1 snd_pcm_oss
snd_pcm                92324  2 snd_aoa_i2sbus,snd_pcm_oss
snd_timer              26084  1 snd_pcm
snd_page_alloc         11272  1 snd_pcm
snd                    67476  5
snd_aoa_i2sbus,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore               8900  1 snd
snd_aoa_soundbus        7908  1 snd_aoa_i2sbus

# modprobe -v snd_aoa_codec_tas
install /sbin/modprobe --ignore-install snd-aoa  &&
/lib/alsa/modprobe-post-install snd-aoa
insmod /lib/modules/2.6.22-2-powerpc/kernel/sound/aoa/core/snd-aoa.ko
insmod
/lib/modules/2.6.22-2-powerpc/kernel/sound/aoa/codecs/snd-aoa-codec- 
tas.ko

# lsmod | grep snd
snd_aoa_codec_tas      15104  0
snd_aoa                21056  1 snd_aoa_codec_tas
snd_aoa_i2sbus         24388  0
snd_pcm_oss            52480  0
snd_mixer_oss          20384  1 snd_pcm_oss
snd_pcm                92324  2 snd_aoa_i2sbus,snd_pcm_oss
snd_timer              26084  1 snd_pcm
snd_page_alloc         11272  1 snd_pcm
snd                    67476  7
snd_aoa_codec_tas,snd_aoa,snd_aoa_i2sbus,snd_pcm_oss,snd_mixer_oss,snd_p 
cm,snd_timer
soundcore               8900  1 snd
snd_aoa_soundbus        7908  1 snd_aoa_i2sbus

# modprobe -v snd_aoa_fabric_layout
install /sbin/modprobe --ignore-install snd-aoa-fabric-layout  &&
/lib/alsa/modprobe-post-install snd-aoa-fabric-layout
insmod /lib/modules/2.6.22-2-powerpc/kernel/sound/aoa/fabrics/snd-aoa- 
fabric-layout.ko

~# lsmod | grep snd
snd_aoa_fabric_layout    13832  0
snd_aoa_codec_tas      15104  0
snd_aoa                21056  2 snd_aoa_fabric_layout,snd_aoa_codec_tas
snd_aoa_i2sbus         24388  0
snd_pcm_oss            52480  0
snd_mixer_oss          20384  1 snd_pcm_oss
snd_pcm                92324  2 snd_aoa_i2sbus,snd_pcm_oss
snd_timer              26084  1 snd_pcm
snd_page_alloc         11272  1 snd_pcm
snd                    67476  8
snd_aoa_fabric_layout,snd_aoa_codec_tas,snd_aoa,snd_aoa_i2sbus,snd_pcm_o 
ss,snd_mixer_oss,snd_pcm,snd_timer
soundcore               8900  1 snd
snd_aoa_soundbus        7908  2 snd_aoa_fabric_layout,snd_aoa_i2sbus

# amixer
amixer: Mixer attach default error: No such device

# cat /proc/asound/cards
--- no soundcards ---


I'm not sure if it's relevant, but my machine is quite old (G4  
Powermac (Quicksilver)). Is it possible that the
aoa-tas driver isn't recognizing it because my card is too old?

Sean
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2419 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-alsa-devel/attachments/20071019/413858fe/attachment-0001.bin 


More information about the Pkg-alsa-devel mailing list