A couple of weeks ago, I went digging for a patch that adds support for
the O2's onboard sound. Google cache (linux-mips.org was down at the
time) managed to reveal a patch against 2.6.12-rc2.
Since then, snd_hidden_kcalloc and snd_hidden_kfree have disappeared.
I can get the driver to compile and semi-work by replacing those with
kmalloc and kfree ... but I'm not sure if that's correct or not.
Under a 64-bit kernel (built with gcc 3.4.4, binutils 2.16.1), the
driver loads, but the audio output is badly distorted. Having never
used an O2 before, I can't vouch for this being any better or worse than
the original driver, although I'm told it has never worked correctly.
The patch, as it stands now, is available here:
Does anyone have any docs, or useful tidbits on how this hardware
works? I'd like to assist get this driver fixed if I can. It almost
works (for playback).
Stuart Longland (aka Redhatter) .'''.
Gentoo Linux/MIPS Cobalt and Docs Developer '.'` :
. . . . . . . . . . . . . . . . . . . . . . .'.'
Description: OpenPGP digital signature