Alternative solution to lirc_gpio situation

Registered by Mario Limonciello

Taken from mythtv-users:

$ 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.

Blueprint information

Status:
Complete
Approver:
None
Priority:
Undefined
Drafter:
None
Direction:
Needs approval
Assignee:
Mario Limonciello
Definition:
Approved
Series goal:
None
Implementation:
Implemented
Milestone target:
None
Started by
Mario Limonciello
Completed by
Mario Limonciello

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.