Skip to contentSkip to conversation

: IP32 Audio Driver

PATCH New Stuart Longland 1 participant 1 message Jan 24, 2006 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 : IP32 Audio Driver

Hi All...
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[1].

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:
http://dev.gentoo.org/~redhatter/mips/sgi/ip32/patches/ip32-audio-2.6.15.diff.gz

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).

Regards,

Signature · 7 lines
Stuart Longland (aka Redhatter)              .'''.
Gentoo Linux/MIPS Cobalt and Docs Developer  '.'` :
. . . . . . . . . . . . . . . . . . . . . .   .'.'
http://dev.gentoo.org/~redhatter             :.'

Footnotes:
1. http://www.linux-mips.org/archives/linux-mips/2005-04/msg00233.html