From owner-cvs-all Tue Jan 2 17:42:42 2001 From owner-cvs-all@FreeBSD.ORG Tue Jan 2 17:42:36 2001 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from meow.osd.bsdi.com (meow.osd.bsdi.com [204.216.28.88]) by hub.freebsd.org (Postfix) with ESMTP id 04A3F37B69B; Tue, 2 Jan 2001 17:42:26 -0800 (PST) Received: from laptop.baldwin.cx (john@jhb-laptop.osd.bsdi.com [204.216.28.241]) by meow.osd.bsdi.com (8.11.1/8.9.3) with ESMTP id f031g5G09220; Tue, 2 Jan 2001 17:42:05 -0800 (PST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200101030132.f031WwE42138@freefall.freebsd.org> Date: Tue, 02 Jan 2001 17:42:32 -0800 (PST) From: John Baldwin To: cvs-all@FreeBSD.org Subject: RE: cvs commit: src/sys/dev/sound/pci maestro.c maestro_reg.h Cc: cvs-committers@FreeBSD.org Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 -- 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