tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pcmaudio(4), for fun and games.



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

On Sep 19, 2008, at 7:10 AM, Antti Kantee wrote:

On Fri Sep 19 2008 at 16:09:49 +0530, Cherry G. Mathew wrote:
Hi,

Announcing the pcmaudio(4) driver, for all geeks with lots of PWM,
lots of time, lots of boredome and nothing else to do.

ftp://ftp.netbsd.org/pub/NetBSD/misc/cherry/pcmaudio

Its basically been an exercise in writing a device driver for NetBSD,
and has only been tested with mplayer and xine.

BUGS
plaympeg (libSDL) doesn't seem to work for some reason.
PWM translation seems to have some sort of bug, when the volume drops, sound gets scratchy. I'm sure I'm missing something obvious in clock.c

I've tried to organise the code to be as little intrusive as possible,
however, it does touch x86/isa/clock.c, pcppi(4) and attimer(4), so
here's what I'm asking anyone with the inclination to try:

Could you run it on a slower machine (i386/486 etc) and see if it
works at all ? Also, if you disabled it, does it affect anything else
?

I don't expect to commit this anytime soon, unless someone absolutely
needs this in the tree :-)

If it a) works b) doesn't break anything c) could be remotely useful
for someone, why not develop it in the tree?

Yeah, I'm sure it will have more users than some of my drivers ;)
( Fujitsu AG-10e anyone? )

have fun
Michael

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)

iQEVAwUBSNOrOcpnzkX8Yg2nAQL0xAf+MRYqOgRFR2oVJ+kkykalN1cp/hAH2ts7
Upbx31Bj9xcxrawT0fJNf5gS6z1E00O5UvWE6q8vYIMLju9oNnYXu1hIASp4EVDX
iyuZMBXeuZj6O9NOpFnHCzVSY3TuwBlrE63a8OSTU3oxk7t42zAuqalkobvjbPPA
OFmmTc0UMmSQYkE+7+Zgoqf3ne+I3pCgnI2mFx/TAtGE4QnG412/lphHLkF9xCGh
UBYRgQmsYmkmdXTTEWhOHgGs350k4RVjsk7i4ylHGf64ZRhv21QhlNTc6bIGajmD
UdtxBJ1vSyXRwolYofjMdD5tEsiv066z/fy/AbRcJTB9dc2VMLlSiA==
=4IPM
-----END PGP SIGNATURE-----


Home | Main Index | Thread Index | Old Index