[mythtv-users] Avermedia DVB-T remote

Andy Shaw ashaw at seberg.co.uk
Tue Jan 25 15:29:56 EST 2005


Simon Glynn wrote:

>check out this post
>http://mysettopbox.tv/phpBB2/viewtopic.php?t=3010&highlight=
>
>I'm using KnoppMyth, but most of it should still follow. In addition to
>what I wrote in that post, I subsequently did end up modifying the
>ir_kbd_io.c file to map the keypresses to keys in the 0-255 range, which
>seemed to be the only ones that worked for xmodmap. Then used xmodmap to
>remap them to what I wanted to use them for. Most all of my remote keys
>now do something useful. I'm actually getting v-good reception in a bad
>blackspot from my DVB-T. I understand the older model wasn't so good. I'm
>in Aus. YMMV
>
Thanks for the advice Simon. I kind of nearly have this working now. 
Using xev I was able to see the key mapping for the remote. This seems 
pretty straightforward, ie. up=88, down=80, etc and then I thought I'd 
use mythweb to just map these numbers straight to the relevant action. 
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 

! Vol Up   (])
keycode 176 = bracketright bracketright bracketright bracketright 

! Mute    (|)
keycode 160 = bar bar bar bar

! >>      (U) Faster
keycode 233 = U U U U

I'm not sure why this file contains things like 'bar bar bar bar'. I mean, where does that come from?

Thanks for any pointers.

Kind regards
Andy




More information about the mythtv-users mailing list