Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Mar 2005 16:08:09 +0100
From:      "Michael L. Hostbaek" <mich@FreeBSD.org>
To:        Thiemo Nordenholz <list+ie7qf001jl79sii4@thiemo.net>
Cc:        freebsd-mobile@FreeBSD.org
Subject:   Re: Function keys
Message-ID:  <20050317150809.GC46793@mich2.itxmarket.com>
In-Reply-To: <20050317132502.GA72756@mygiea.ham01.thiemo.net>
References:  <20050317102352.GJ66687@mich2.itxmarket.com> <20050317105711.GA70710@mygiea.ham01.thiemo.net> <20050317111548.GN66687@mich2.itxmarket.com> <20050317132502.GA72756@mygiea.ham01.thiemo.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050317150809.GC46793>