forked from luck/tmp_suning_uos_patched
7bbd827750
This patch hacks the current PowerMac Alsa driver to add some basic support of analog sound output to some desktop G5s. It has severe limitations though: - Only 44100Khz 16 bits - Only work on G5 models using a TAS3004 analog code, that is early single CPU desktops and all dual CPU desktops at this date, but none of the more recent ones like iMac G5. - It does analog only, no digital/SPDIF support at all, no native AC3 support Better support would require a complete rewrite of the driver (which I am working on, but don't hold your breath), to properly support the diversity of apple sound HW setup, including dual codecs, several i2s busses, all the new codecs used in the new machines, proper clock switching with digital, etc etc etc... This patch applies on top of the other PowerMac sound patches I posted in the past couple of days (new powerbook support and sleep fixes). Note: This is a FAQ entry for PowerMac sound support with TI codecs: They have a feature called "DRC" which is automatically enabled for the internal speaker (at least when auto mute control is enabled) which will cause your sound to fade out to nothing after half a second of playback if you don't set a proper "DRC Range" in the mixer. So if you have a problem like that, check alsamixer and raise your DRC Range to something reasonable. Note2: This patch will also add auto-mute of the speaker when line-out jack is used on some earlier desktop G4s (and on the G5) in addition to the headphone jack. If that behaviour isn't what you want, just disable auto-muting and use the manual mute controls in alsamixer. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> |
||
---|---|---|
.. | ||
4xx | ||
83xx | ||
85xx | ||
adir_pci.c | ||
adir_pic.c | ||
adir_setup.c | ||
adir.h | ||
apus_pci.c | ||
apus_pci.h | ||
apus_setup.c | ||
bseip.h | ||
ccm.h | ||
chestnut.c | ||
chestnut.h | ||
chrp_pci.c | ||
chrp_pegasos_eth.c | ||
chrp_setup.c | ||
chrp_smp.c | ||
chrp_time.c | ||
cpci690.c | ||
cpci690.h | ||
est8260.h | ||
ev64260.c | ||
ev64260.h | ||
fads.h | ||
gemini_pci.c | ||
gemini_prom.S | ||
gemini_serial.h | ||
gemini_setup.c | ||
gemini.h | ||
hdpu.c | ||
hdpu.h | ||
hermes.h | ||
ip860.h | ||
ivms8.h | ||
k2.c | ||
k2.h | ||
katana.c | ||
katana.h | ||
lantec.h | ||
lite5200.c | ||
lite5200.h | ||
lopec.c | ||
lopec.h | ||
lwmon.h | ||
Makefile | ||
mbx.h | ||
mcpn765.c | ||
mcpn765.h | ||
mpc5200.c | ||
mvme5100.c | ||
mvme5100.h | ||
pal4_pci.c | ||
pal4_serial.h | ||
pal4_setup.c | ||
pal4.h | ||
pcore.c | ||
pcore.h | ||
pcu_e.h | ||
pmac_backlight.c | ||
pmac_cache.S | ||
pmac_cpufreq.c | ||
pmac_feature.c | ||
pmac_low_i2c.c | ||
pmac_nvram.c | ||
pmac_pci.c | ||
pmac_pic.c | ||
pmac_pic.h | ||
pmac_setup.c | ||
pmac_sleep.S | ||
pmac_smp.c | ||
pmac_time.c | ||
powerpmc250.c | ||
powerpmc250.h | ||
pplus.c | ||
pplus.h | ||
pq2ads.c | ||
pq2ads.h | ||
prep_pci.c | ||
prep_setup.c | ||
prpmc750.c | ||
prpmc750.h | ||
prpmc800.c | ||
prpmc800.h | ||
radstone_ppc7d.c | ||
radstone_ppc7d.h | ||
residual.c | ||
rpx8260.h | ||
rpxclassic.h | ||
rpxhiox.h | ||
rpxlite.h | ||
sandpoint.c | ||
sandpoint.h | ||
sbc82xx.c | ||
sbc82xx.h | ||
sbs8260.h | ||
spd8xx.h | ||
spruce.c | ||
spruce.h | ||
tqm8xx.h | ||
tqm8260_setup.c | ||
tqm8260.h |