sound not working on ppc

Bug #7423 reported by Martin Pitt
4
Affects Status Importance Assigned to Milestone
Ubuntu
Fix Released
Medium
Colin Watson

Bug Description

The sound card in ppc is on the ADB bus which is not currently supported by
hotplug. Therefore a sane solution would be to either put the modules into
/etc/modules on ppc or introduce a fake dependency of a mac-specific module to
the sound modules.

Specifically, the following modules should be loaded:

snd-powermac
snd-pcm-oss
snd-mixer-oss

Revision history for this message
Colin Watson (cjwatson) wrote :

This depends on the powerpc system, of course.

Can we detect this by looking around the mac-io bus? hw-detect already does that
for some Mac hardware. I would very strongly prefer not to just hardcode this.

Revision history for this message
Colin Watson (cjwatson) wrote :

A tarball of /proc/device-tree`cat /proc/device-tree/aliases/mac-io` would
probably be useful in investigating this.

Revision history for this message
Martin Pitt (pitti) wrote :
Revision history for this message
Colin Watson (cjwatson) wrote :

Thanks for that. i2s@10000/i2s-a@10000/sound seems to be the relevant node.
sound/ppc/pmac.c:snd_pmac_detect() in the kernel looks for this, and we can
duplicate its logic in shell.

(Of course, in the long run it would be better if this were discoverable or
hotpluggable.)

Revision history for this message
Colin Watson (cjwatson) wrote :

I've implemented this in debian-installer upstream, since mac-io bus hardware
detection really needed a bit of a reorganization. I'll grind the wheels to get
that change into Warty.

Revision history for this message
Colin Watson (cjwatson) wrote :

Fixed in warty a while ago, but I forgot to close this bug.

ddetect (1.03ubuntu1) warty; urgency=low

  * Merge from Debian to get mac-io detection improvements.

 -- Colin Watson <email address hidden> Thu, 2 Sep 2004 14:51:54 +0100

  * Colin Watson
    - Detect dmasound_pmac/snd-powermac (depending on kernel version) on
      PowerMacs.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.