[mythtv-users] Avermedia DVB-T remote
Simon Glynn
simon at brucethecow.com
Wed Jan 26 17:05:31 EST 2005
> Unfortunately no dice. I'll have to create the xmodmap file. Is there a
> particular syntax that Myth expects this file to be in? I've found an
> example file from a different remote that looks like this:
>
> ! Vol Down ([)
> keycode 174 = bracketleft bracketleft bracketleft bracketleft
Andy,
I'm not at home, so can't see my mythbox at the moment, but the syntax
above doesn't seem to look quite right. Mine were in the form
keycode ### = function
where function would be the relevant key that you wanted it to map to
e.g. keycode 123 = F12
It didn't seem to need to have the repeats. Because I got it to a point
where it was working fairly well (and because other issues with my Mythbox
are causing me more problems), I never worked out the full set of key
names, so as to what the correct way to represent the keys are, I'm not
sure.
As I'm using KnoppMyth, there is a prewritten script to start up the
mythfrontend. I modified the mythfrontend line in that script from
exec mythfrontend;
to
exec xmodmap modmapfile | exec mythfrontend;
I think the script is called KnoppMyth-run in /usr/local/bin (but again
not sure)
Hope that helps. I'm fully aware that my setup with the 771 remote is less
than ideal. I should really work out a way to use lirc properly rather
than hack the kernel code and use modmaps, but I've not a lot of time to
experiment at the moment, and now that the box is in regular use, it's
going to be hard to take it away from the TV without upsetting someone :)
Simon
More information about the mythtv-users
mailing list