From owner-freebsd-multimedia@FreeBSD.ORG Mon May 30 03:24:29 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6F8D916A41C for ; Mon, 30 May 2005 03:24:29 +0000 (GMT) (envelope-from yongari@rndsoft.co.kr) Received: from rndsoft.co.kr (michelle.rndsoft.co.kr [211.32.202.209]) by mx1.FreeBSD.org (Postfix) with ESMTP id C9F2543D48 for ; Mon, 30 May 2005 03:24:28 +0000 (GMT) (envelope-from yongari@rndsoft.co.kr) Received: by simscan 1.1.0 ppid: 10876, pid: 10877, t: 1.0267s scanners:none Received: from unknown (HELO michelle.rndsoft.co.kr) (192.168.5.90) by 0 with SMTP; 30 May 2005 03:21:54 +0900 Received: from michelle.rndsoft.co.kr (localhost.rndsoft.co.kr [127.0.0.1]) by michelle.rndsoft.co.kr (8.13.1/8.13.1) with ESMTP id j4U3M3K1001562 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 30 May 2005 12:22:03 +0900 (KST) (envelope-from yongari@rndsoft.co.kr) Received: (from yongari@localhost) by michelle.rndsoft.co.kr (8.13.1/8.13.1/Submit) id j4U3M24t001561; Mon, 30 May 2005 12:22:02 +0900 (KST) (envelope-from yongari@rndsoft.co.kr) Date: Mon, 30 May 2005 12:22:02 +0900 From: Pyun YongHyeon To: Panagiotis Astithas Message-ID: <20050530032202.GC892@rndsoft.co.kr> References: <4298F0AB.2090404@ebs.gr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4298F0AB.2090404@ebs.gr> User-Agent: Mutt/1.4.2.1i X-Spam-Checker-Version: SpamDetector 1.00 (2004-01-11) on Cc: freebsd-multimedia@freebsd.org Subject: Re: maestro3 hardware volume control X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: yongari@rndsoft.co.kr List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 May 2005 03:24:29 -0000 On Sun, May 29, 2005 at 01:28:59AM +0300, Panagiotis Astithas wrote: > Weird, on my HP Omnibook XE3, the on-board maestro3 has been working > flawlessly all along without any entry in /boot/device.hints. If I add: > hint.pcm.0.hwvol_config="0" > then the hardware volume controls on the laptop stop functioning. > Setting it to "1" makes it working again. > Hmm, I didn't know that due to a comment in the driver and failure on my laptops. > Does that mean that GPIO pin 4,5 was selected as the default by some > other means on my system? Could ACPI be doing it? > > I guess your system use GD pins to control hardware volume. Stock maestro3 driver uses hint.pcm.0.hwvol_config="0" : select GPIO pin hint.pcm.0.hwvol_config="1" : select GD pin (This is reverse of my previous posting, sorry, I'm confused.) If there is no hint then it will use GD pin. Having a quirk table for sytems would be better solution. But it's hard to build a complete table for this. Since there is a system that works with current driver's behavior it would be useless to change default to use GD pin. I can live with the hint mechanism. However the drawback is the hint mechanism works only at boot time for staticlly linked driver, so it's not apply to dynamically loaded driver. :-( -- Regards, Pyun YongHyeon http://www.kr.freebsd.org/~yongari | yongari@freebsd.org