Hi, I just wrote some small patches for ALSA driver snd-powermac. The changes were addressed for G4 Digital Audio (PowerMac3,4). Possibly these changes would be needed for other models, too.
The first one: http://ristosu.wippiespace.com/pub/alsa-tumbler-1.0.22.1-p15.diff reverses the interpretation of the headphone detection bit, and it has been tested on one machine. The second one: http://ristosu.wippiespace.com/pub/alsa-tumbler-1.0.22.1-p16.diff tries to implement lineout detection. Lineout refers to the small (2.5 mm) Pro Speaker jack. This has not been tested. Is there someone with access to this combination of hardware? The same Pro Speakers can be used in all desktop Macs with G4 processor, and were included with many iMac G4 models. To test these patches, one opens alsamixer and, plugs in and out headphone or Pro Speaker, and checks that the mute (MM) controls follow after. Auto-mute control has to be enabled (OO). The third one: http://ristosu.wippiespace.com/pub/alsa-tumbler-1.0.22.1-p16d.diff adds some debug output, and it has to be enabled manually by editing the source files, see below. Probably the best way to test these, is to download ALSA driver source archive: ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.22.1.tar.bz2 and apply the patches on it using -p1 (directly on directory sound in kernel sources -p2 should work). The installation procedure is outlined here: http://ristosu.wippiespace.com/pub/alsa-driver-tumbler-patch.html To enable the debug output '#undef DEBUG' has to be changed to '#define DEBUG' in the beginning of alsa-kernel/ppc/tumbler.c and ppc/tumbler.patch, before saying 'make'. I'll be pleased to provide more help if needed. Risto -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/[email protected]

