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

Sound drivers detected on Mac Mini and G5, but not Powermac G4



Howdy all,

I have a Powermac G4 installed with Debian Squeeze. Its audio devices
are not detected on boot by the default kernel, and ALSA reports no
sound cards:

=====
$ uname -a
Linux geranium 2.6.26-2-powerpc #1 Sun Jul 26 21:16:45 UTC 2009 ppc GNU/Linux
$ /usr/sbin/alsactl --version
alsactl version 1.0.20

$ dmesg | grep snd

$ 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

$ cat /proc/asound/cards
--- no soundcards ---
=====

Yet, on a Mac Mini with the same kernel and ALSA packages, the drivers
are loaded fine and sound card is reported:

=====
$ uname -a
Linux lily 2.6.26-2-powerpc #1 Sun Jun 21 06:56:26 UTC 2009 ppc GNU/Linux
$ /usr/sbin/alsactl --version
alsactl version 1.0.20

$ dmesg | grep snd
[   16.148983] snd-aoa-fabric-layout: found bus with layout 58
[   16.148994] snd-aoa-fabric-layout: Using direct GPIOs
[   16.153960] snd-aoa-fabric-layout: can use this codec

$ lsmod | grep snd
snd_aoa_codec_toonie     5988  2 
snd_aoa_fabric_layout    14408  1 
snd_aoa_i2sbus         22820  1 
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  2 snd_aoa_codec_toonie,snd_aoa_fabric_layout
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  14 snd_aoa_codec_toonie,snd_aoa_fabric_layout,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  2 snd_aoa_fabric_layout,snd_aoa_i2sbus

$ cat /proc/asound/cards 
 0 [SoundByLayout  ]: AppleOnbdAudio - SoundByLayout
                      SoundByLayout
=====

Previously I would have tried the ‘alsaconf’ utility, but that's no
longer provided by Debian's ALSA packages from what I can tell. The
documentation doesn't give any indication what tools take its place, and
‘dpkg-reconfigure --priority low’ doesn't ask any questions for either
of ‘alsa-base’ or ‘alsa-utils’.

What is the necessary procedure to get sound working on my Powermac G4
as it's working on my Mac Mini?

-- 
 \     “For myself, I am an optimist — it does not seem to be much use |
  `\              being anything else.” —Winston Churchill, 1954-11-09 |
_o__)                                                                  |
Ben Finney


Reply to: