[mythtv-users] Volume Controls

Jim Kusznir jkusznir at gmail.com
Wed Mar 8 06:47:44 UTC 2006


Hi All:

I'm currently trying to use one of those $20 IR keyboards to control myth.
Or specifically, volume.  I have one of those Audigy LS cards which do not
have a PCM or a Master; instead, the active control is "Analog Front" (as I
mentioned in the previous e-mail).  Also per that e-mail thread, myth is
unable to control it internally (0.18, currently the latest released
KnoppMyth).

So, this keyboard has "multimedia keys" inlcuding volume up/down.  My
thoughts were to simply set up the OS to call amixer -q set "Analog Front"
15+ for each press for the up key, and similar for the down.  I was follwing
instructions as indicated at:
http://gentoo-wiki.com/HOWTO_Use_Multimedia_Keys#Setting_up_xmodmap
(no, I am not running Gentoo, but the basic idea is the same).  I've
identified the keycodes and added them to my system Xmodmap, and verified
(through xmodmap -pk) that the keycodes are being mapped to
XF86AudioRaiseVolume, etc.

As Knoppmyth uses fluxbox as its window manager of choice, I edited
~/.fluxbox/keys and added
None XF86AudioRaiseVolume :ExecCommand /usr/bin/amixer -q set "Analog Front"
15+
as indicated by the howto referenced above.

I then forced a full reload of X and a login to ensure all config files were
reread, but my volume buttons have nearly no effect.  With or without
mythfrontend running, they do not effect the volume of the channel (I've
verified with amixer get "Analog Front").  However, if mythfrontend is
running and I press one of the buttons, it immediately segfaults.  Even if I
don't have the definition in .fluxbox/keys, it still does.  This indicates
that Mythfrontend is somehow capturing the XF86AudioRaiseVolume/LowerVolume
events, but segfaults on them.

I do have mythfrontend set to not control volume internally due to the whole
issue with it not being able to control "Analog Front".

Any suggestions?

Thanks in advance!
--Jim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20060307/aaf4ea9a/attachment.htm 


More information about the mythtv-users mailing list