linux-mips
[Top] [All Lists]

[Broken PATCH]: IP32 Audio Driver

To: linux-mips@linux-mips.org
Subject: [Broken PATCH]: IP32 Audio Driver
From: Stuart Longland <redhatter@gentoo.org>
Date: Tue, 24 Jan 2006 22:13:50 +1000
Openpgp: id=63264AB9; url=http://dev.gentoo.org/~redhatter/gpgkey.asc
Organization: Gentoo Foundation
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mozilla Thunderbird 1.0.7 (X11/20051029)
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,
-- 
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

Attachment: signature.asc
Description: OpenPGP digital signature

<Prev in Thread] Current Thread [Next in Thread>
  • [Broken PATCH]: IP32 Audio Driver, Stuart Longland <=