LinHES Forums
http://forum.linhes.org/

LIRC irw and ircat receive the button presses but not mythtv
http://forum.linhes.org/viewtopic.php?f=23&t=22347
Page 1 of 1

Author:  turpie [ Mon Nov 28, 2011 9:48 pm ]
Post subject:  LIRC irw and ircat receive the button presses but not mythtv

I have recently bought a Lenovo labeled Philips-style MCE remote to use with mythtv, but I can't get mythfrontend to respond to it.

If I run irw or "ircat mythtv" I can see that the commands are being received somewhere but why isn't mythtv listening?

I previously used a serial ir receiver and lirc it still trying to listen to it.
Code:
[root@mythtv mythtv]# ps -ef|grep lirc
root      1041  1040  0 Nov27 ?        00:00:00 runsv lircd
root      1079  1041  0 Nov27 ?        00:00:01 /usr/sbin/lircd -r -n -d /dev/lirc0 --output /var/run/lirc/lircd --connect=localhost 8761
root      1909     1  0 Nov27 ?        00:00:00 /usr/sbin/lircd -r -d /dev/lirc1 --output=/var/run/lirc/lircd1 --pidfile=/var/run/lircd1.pid --listen=8761
root     25684 32149  0 14:39 pts/1    00:00:00 grep lirc

Does this matter? If so how can I stop lirc from listening to the serial port?
I've tried to include some relevant debugging info. Is there anything else I should look at?
Code:
lsusb
Bus 002 Device 002: ID 0471:060c Philips (or NXP) Consumer Infrared Transceiver (HP)
Code:
[root@mythtv mythtv]# cat ~mythtv/.lircrc
include "/usr/MythVantage/templates/remotes/mceusb/lircrc-mceusb"
irw output:
Code:
000000037ff07bdf 00 Left mceusb
000000037ff07bdf 01 Left mceusb
000000037ff07bdf 02 Left mceusb
000000037ff07bdf 00 Left_UP mceusb
000000037ff07bde 00 Right mceusb
000000037ff07bde 01 Right mceusb
000000037ff07bde 00 Right_UP mceusb
000000037ff07be1 00 Up mceusb
000000037ff07be1 01 Up mceusb
000000037ff07be1 00 Up_UP mceusb
000000037ff07be0 00 Down mceusb
000000037ff07be0 01 Down mceusb
000000037ff07be0 00 Down_UP mceusb
000000037ff07bdd 00 OK mceusb
000000037ff07bdd 01 OK mceusb
000000037ff07bdd 02 OK mceusb
ircat output:
Code:
Left
Right
Up
Down
Return

A snippet from /var/log/mythtv/mythfrontend.log
Code:
2011-11-28 16:54:42.649 Enabled verbose msgs:  important general
2011-11-28 16:54:42.657 Loading en_us translation for module mythfrontend
2011-11-28 16:54:42.744 LIRC, Error: Failed to connect to Unix socket '/dev/lircd'
                        eno: No such file or directory (2)
2011-11-28 16:54:42.744 JoystickMenuThread: Joystick disabled - Failed to read /home/mythtv/.mythtv/joystickmenurc
2011-11-28 16:54:42.792 Using Frameless Window

Author:  turpie [ Mon Nov 28, 2011 11:32 pm ]
Post subject: 

I've just read the MythTV wiki page for LIRC and it looks like I had to change the socket that Mythfrontend was listening to.
I have changed it from /dev/lircd to /var/run/lirc/lircd and the mythfrontend.log no longer has the LIRC error.

Hopefully when I get home tonight it will actually work.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/