Subject: SPARCbook audio
To: None <port-sparc@netbsd.org>
From: Michael <macallan18@earthlink.net>
List: port-sparc
Date: 07/15/2005 18:34:35
--Signature_Fri__15_Jul_2005_18_34_35_-0400_u.PIz/8jqTzUdVtG
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable
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.=20
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=3D160,160
monitor.mono=3Don
monitor.headphones=3Don
monitor.line=3Don
have fun
Michael
--Signature_Fri__15_Jul_2005_18_34_35_-0400_u.PIz/8jqTzUdVtG
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (NetBSD)
iQEVAwUBQtg6AMpnzkX8Yg2nAQLxugf/Wc2R4LoJmx6GMR8VfNb3AgpEU6WWD8gP
zsBUX18PVX9MlGmmDz+FiU+Do07wdKAUSBup0FpLKXwjRISPLonshH2SN6eAAZtU
pco5zHcyYJqtPtpvnqC7PdxfJKnh7tdK29Kest9HwGwYGQulJn6/ND2rYhra9uFe
6HNLRDmrER5OQUMjzClxVMPGMtEL5QX6yRCp1r4JYG1KXq8gacX4K8cCSkLYR9RK
0DfB0KmKBG9+w1i9YA33XAKDGnFuAZmAwwDSzhP7pe7VZqpoGuUag0D1HfrZATps
MApbeczXNYyNfql74rwm1bryLpk0RXI6VINp5IVz3yPQQib3nn+YxA==
=/QYF
-----END PGP SIGNATURE-----
--Signature_Fri__15_Jul_2005_18_34_35_-0400_u.PIz/8jqTzUdVtG--