Date: Tue, 02 Jan 2001 17:42:32 -0800 (PST) From: John Baldwin <jhb@FreeBSD.org> To: cvs-all@FreeBSD.org Cc: cvs-committers@FreeBSD.org Subject: RE: cvs commit: src/sys/dev/sound/pci maestro.c maestro_reg.h Message-ID: <XFMail.010102174232.jhb@FreeBSD.org> In-Reply-To: <200101030132.f031WwE42138@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 03-Jan-01 John Baldwin wrote: > jhb 2001/01/02 17:32:58 PST > > Modified files: > sys/dev/sound/pci maestro.c maestro_reg.h > Log: > - When acknowledging interrupts, write the value 0xff to the interrupt > status register rather than 0. Without this, a single hardware volume > event triggers an interrupt storm. This might also help people having problems with hwptr going backwards on the maestro chips, as it seems we weren't acknowledging interrupts properly. The linux driver uses 0xff rather than 0x0 at least.. > - Implement hardware volume control for the Maestro chips. This version > only handles the case where both channels are adjusted at the same time. With this, the volume buttons on my laptop work nicely. Hitting both buttons at the same time triggers a mute, and the buttons on their own adjust the volume up and down just like they do in Winders. Woo. :) Note that currently the mute function just sileneces, it doesn't do a save/restore type action. -- John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.010102174232.jhb>