Re: Sound drivers detected on Mac Mini and G5, but not Powermac G4
Rogério Brito <rbrito@ime.usp.br> writes:
> Just for debugging purposes, you can remove the snd-aoa module and
> friends and load snd-powermac.
=====
$ lsmod | grep snd
snd_aoa_i2sbus 22820 0
snd_pcm_oss 45248 0
snd_mixer_oss 19360 1 snd_pcm_oss
snd_pcm 79748 2 snd_aoa_i2sbus,snd_pcm_oss
snd_page_alloc 12392 1 snd_pcm
snd_aoa 19840 0
snd_seq_oss 36756 0
snd_seq_midi 10240 0
snd_rawmidi 26176 1 snd_seq_midi
snd_seq_midi_event 10528 2 snd_seq_oss,snd_seq_midi
snd_seq 57800 5 snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer 25508 2 snd_pcm,snd_seq
snd_seq_device 11020 4 snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
snd 61876 10 snd_aoa_i2sbus,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_aoa,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore 10244 1 snd
snd_aoa_soundbus 9060 1 snd_aoa_i2sbus
$ sudo modprobe -r snd-aoa-i2sbus snd-aoa-soundbus snd-aoa
$ lsmod | grep snd
snd_pcm_oss 45248 0
snd_mixer_oss 19360 1 snd_pcm_oss
snd_pcm 79748 1 snd_pcm_oss
snd_page_alloc 12392 1 snd_pcm
snd_seq_oss 36756 0
snd_seq_midi 10240 0
snd_rawmidi 26176 1 snd_seq_midi
snd_seq_midi_event 10528 2 snd_seq_oss,snd_seq_midi
snd_seq 57800 5 snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer 25508 2 snd_pcm,snd_seq
snd_seq_device 11020 4 snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
snd 61876 8 snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore 10244 1 snd
$ sudo modprobe snd-powermac
$ lsmod | grep snd
snd_powermac 47936 1
snd_pcm_oss 45248 0
snd_mixer_oss 19360 1 snd_pcm_oss
snd_pcm 79748 2 snd_powermac,snd_pcm_oss
snd_page_alloc 12392 1 snd_pcm
snd_seq_oss 36756 0
snd_seq_midi 10240 0
snd_rawmidi 26176 1 snd_seq_midi
snd_seq_midi_event 10528 2 snd_seq_oss,snd_seq_midi
snd_seq 57800 5 snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer 25508 2 snd_pcm,snd_seq
snd_seq_device 11020 4 snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
snd 61876 11 snd_powermac,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore 10244 1 snd
$ cat /proc/asound/cards
0 [Tumbler ]: PMac Tumbler - PowerMac Tumbler
PowerMac Tumbler (Dev 14) Sub-frame 0
$ alsaplayer /usr/share/gnome-games/sounds/laughter.ogg
Playing (1/1): 0:02 (0:02) (no title information available)
...done playing
=====
So, after manually loading the module, ALSA then recognises a sound card
and uses it. However, this isn't what the Debian-supplied kernel is
doing, and AIUI that module is deprecated.
> Actually, since I roll my own kernels, I usually don't even bother
> with snd-aoa and just go to snd-powermac (on machines that have sound,
> that is).
I'm trying to get this working with the default Debian kernel precisely
so that I don't have to keep rolling kernels for it. So I'm still
looking for a solution that helps the kernel use (what I assume to be)
the correct module, ‘snd-aoa’, to drive the sound hardware in this
Powermac G4.
--
\ “A new swimming pool is rapidly taking shape since the |
`\ contractors have thrown in the bulk of their workers.” |
_o__) newspaper article, east Africa |
Ben Finney
Reply to: