From owner-freebsd-mobile@FreeBSD.ORG Thu Mar 17 15:08:11 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F32FD16A4CE for ; Thu, 17 Mar 2005 15:08:10 +0000 (GMT) Received: from mail2.itxmarket.com (fw.itxmarket.com [213.11.40.109]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9797C43D3F for ; Thu, 17 Mar 2005 15:08:10 +0000 (GMT) (envelope-from mich@icommerce.fr) Received: from icommerce.fr (mich2.itxmarket.com [192.168.2.26]) by mail2.itxmarket.com (Postfix) with ESMTP id EC98537C27; Thu, 17 Mar 2005 16:08:09 +0100 (CET) Received: by icommerce.fr (Postfix, from userid 1001) id DED2422839; Thu, 17 Mar 2005 16:08:09 +0100 (CET) Date: Thu, 17 Mar 2005 16:08:09 +0100 From: "Michael L. Hostbaek" To: Thiemo Nordenholz Message-ID: <20050317150809.GC46793@mich2.itxmarket.com> Mail-Followup-To: "Michael L. Hostbaek" , Thiemo Nordenholz , freebsd-mobile@FreeBSD.org References: <20050317102352.GJ66687@mich2.itxmarket.com> <20050317105711.GA70710@mygiea.ham01.thiemo.net> <20050317111548.GN66687@mich2.itxmarket.com> <20050317132502.GA72756@mygiea.ham01.thiemo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050317132502.GA72756@mygiea.ham01.thiemo.net> X-Operating-System: FreeBSD 5.3-STABLE i386 X-PGP-Key: http://www.freebsdcluster.org/~mich/ User-Agent: Mutt/1.5.9i cc: freebsd-mobile@FreeBSD.org Subject: Re: Function keys X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Mar 2005 15:08:11 -0000 Thiemo Nordenholz (list+ie7qf001jl79sii4) writes: > > I would then look into the audio configuration... E.g. "does mixer(8) work?" > Then, I would have a look into what hotkeys does to adjust the volume -- > after all, it seems to do something which just doesn't work - but the > triggering of actions through the special keys has succeeded. Actually I realized that hotkeys(1) was adjusting the volume through SOUND_MIXER_WRITE_VOLUME - and my soundcard only responds through pcm(4) (for god knows what reason) - so I simply changed all instances of SOUND_MIXER_READ_VOLUME and SOUND_MIXER_WRITE_VOLUME to SOUND_MIXER_READ_PCM and SOUND_MIXER_WRITE_PCM in the hotkeys.c It works now ! /mich