Subject: Re: SPARCbook audio
To: None <port-sparc@netbsd.org>
From: Christer Andersson <christer@a-son.net>
List: port-sparc
Date: 07/16/2005 15:04:31
On Fri, Jul 15, 2005 at 06:34:35PM -0400, Michael wrote:
> Hello,
>
> based on Jared's work I finally have a working DBRI audio driver. So far
> it's output-only and I didn't test it with anything else than 16bit
> stuff ( read: mpg123 ), 8 bit should work but no guarantee.
>
> You can get a testkernel here:
> ftp://ftp.netbsd.org/pub/NetBSD/misc/macallan/sparc/SPARCbook3GX_07_15.bz2
>
> The codec doesn't offer lots of things to play with so the mixer only
> allows to set master volume and enable/disable the speaker, headphone
> and line out.
>
> Here's what dmesg says:
>
> dbri0 at sbus0 slot 2 offset 0x40 level 9
> dbri0: need to power up first....done
> dbri0: onboard CS4215 detected
> dbri0: cs4215 ver 2 found at offset 0
> audio0 at dbri0: half duplex, mmap
>
> ~> mixerctl -a
> monitor.master=160,160
> monitor.mono=on
> monitor.headphones=on
> monitor.line=on
>
> have fun
> Michael
Hello,
It works just fine on my 3TX, I am listening while typing. I get CPU
states around 16-17% with mpg123, so this is quite usable on a SparcBook
3TX. I haven't compiled anything with listening, though :)
From my dmesg:
dbri0 at sbus0 slot 2 offset 0x40 level 9
dbri0: need to power up first....done
wskbd0 at kbd0: console keyboard, using wsdisplay0
dbri0: onboard CS4215 detected
dbri0: cs4215 ver 2 found at offset 0
audio0 at dbri0: half duplex, mmap
--
Christer Andersson
Odensbacken