[mythtv-users] [solved] AverTV DVB-T 777 (PCI) remote

martyn at wol.es martyn at wol.es
Wed Oct 10 17:15:35 UTC 2007


   Hello!

   This is a little help for those still trying to figure out how to get this 
remote control (named RM-FP) to work. I'm using kernel version 2.6.22, 
Mythbuntu 7.10 beta.

   "lirc_dev" and "lirc_gpio" are the two modules needed by LIRC. 
But "lirc_gpio.ko" is missing in Mythbuntu!! However, I found that 
saa7134, the card driver, has support for the remote and it can be read 
through /dev/input/event<x>. So, this is what I did:

$ cat /proc/bus/input/devices
...
I: Bus=0001 Vendor=1461 Product=2c05 Version=0001
N: Name="saa7134 IR (AverTV DVB-T 777)"
P: Phys=pci-0000:02:0c.0/ir0
S: Sysfs=/class/input/input4
U: Uniq=
H: Handlers=kbd event4 
B: EV=100003
B: KEY=40fc310 82140000 0 0 0 0 2048000 180 4001 9e0000 0 0 ffc
...

--   The line starting with "H:" tell us the device node, "event4" in my 
system. With this information , we edit "hardware.conf":

# /etc/lirc/hardware.conf
REMOTE="AverTV777"
LIRCD_ARGS=""
LOAD_MODULES=true
DRIVER="dev/input"                
DEVICE="/dev/input/event4"   
MODULES=""
LIRCD_CONF="/etc/lirc/lircd.conf"
LIRCMD_CONF=""


--   Now, we create the lirc config file which names the remote control 
buttons:

$ irrecord -H dev/input -d /dev/input/event4 lircd.conf


-- We can edit "lircd.conf" and change the remote control name if we want. 
Then we move this file to "/etc/lirc/".

-- Restart the daemon ("/etc/init.d/lircd restart" on Debian).

-- Execute "irw". This tool prints the button name when it is pressed. If 
nothing appears on screen, then something is wrong! 

-- Edit "~/.mythtv/lircrc" or "~/.lircrc" (or both) to map button names to 
mythtv commands.

-- Restart mythtv.


   Regards.
      Martín.


More information about the mythtv-users mailing list