Alternative solution to lirc_gpio situation
Taken from mythtv-users:
$ cat /proc/bus/
...
I: Bus=0001 Vendor=1461 Product=2c05 Version=0001
N: Name="saa7134 IR (AverTV DVB-T 777)"
P: Phys=pci-
S: Sysfs=/
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/
REMOTE="AverTV777"
LIRCD_ARGS=""
LOAD_MODULES=true
DRIVER="dev/input"
DEVICE=
MODULES=""
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