[mythtv-users] Can't get lirc or irw to work, but mode2 works

Jerry Rubinow jerrymr at gmail.com
Mon Jun 22 05:23:26 UTC 2015


On Sun, Jun 21, 2015 at 5:10 AM, Hika van den Hoven <hikavdh at gmail.com>
wrote:

> Hoi Jerry,
>
> Sunday, June 21, 2015, 6:21:10 AM, you wrote:
>
> > I have a newly setup LIVA box, frontend only, using the latest mythbuntu.
> > It has a USB ir receiver, and I configured lirc to use mceusb remote.
>
> > If I stop lircd and run mode2, it spews out data when I press buttons on
> > the remote.  So I know the hardware is working.  However I can't get irw
> to
> > print anything.  The receiver is the same ir receiver I was using with my
> > original frontend, configured the same way, although with an older
> version
> > of mythbuntu a few years ago.
>
> > Info from the new machine:
>
> > jerry at squeek:~$ lsusb
> > Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
> > Bus 001 Device 003: ID 1784:0008 TopSeed Technology Corp. eHome Infrared
> > Transceiver
> > Bus 001 Device 002: ID 04f2:0402 Chicony Electronics Co., Ltd Genius
> > LuxeMate i200 Keyboard
> > Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>
> > jerry at squeek:~$ lsmod | grep lirc
> > ir_lirc_codec          13062  3
> > lirc_dev               19980  1 ir_lirc_codec
> > rc_core                28718  13
> >
> ir_sharp_decoder,lirc_dev,ir_lirc_codec,ir_rc5_decoder,ir_nec_decoder,ir_sony_decoder,mceusb,ir_mce_kbd_decoder,ir_jvc_decoder,ir_rc6_decoder,ir_sanyo_decoder,rc_rc6_mce
>
> > jerry at squeek:~$ ls -l /dev/lirc*
> > crw------- 1 root root 250, 0 Jun 20 22:55 /dev/lirc0
> > lrwxrwxrwx 1 root root     15 Jun 20 22:55 /dev/lircd -> /run/lirc/lircd
>
> > jerry at squeek:~$ ps aux  | grep lirc
> > root       566  0.0  0.1  33112  2000 ?        Ss   Jun20   0:00
> > /usr/sbin/lircd --output=/run/lirc/lircd --device=/dev/lirc0
>
> > Any suggestions?
>
> > -Jerry
>
> Have you read this thread from early this month "Anyone Using LIRC on
> CentOS 6.6?" A lot of possible issues come up there!
>
> Tot mails,
>   Hika                            mailto:hikavdh at gmail.com
>
> "Zonder hoop kun je niet leven
> Zonder leven is er geen hoop
> Het eeuwige dilemma
> Zeker als je hoop moet vernietigen om te kunnen overleven!"
>
> De lerende Mens
>
>
Thanks for the pointer, Hika.  I spent a few hours fiddling around, mostly
with ir-keytables.  It sees the remote, but it seems to not be interpreting
the signal properly.  Here's is the output of ir-keytables -t.  It's not
seeing any key events, and the scancodes don't look like they're broken up
correctly.  This is from pressing the same button on the remote repeatedly.

Testing events. Please, press CTRL-C to abort.
1434950415.277167: event type EV_MSC(0x04): scancode = 0x4007
1434950415.277167: event type EV_SYN(0x00).
1434950415.629476: event type EV_MSC(0x04): scancode = 0x4007
1434950415.629476: event type EV_SYN(0x00).
1434950416.141482: event type EV_MSC(0x04): scancode = 0x4007
1434950416.141482: event type EV_SYN(0x00).
1434950416.333429: event type EV_MSC(0x04): scancode = 0x2003e10
1434950416.333429: event type EV_SYN(0x00).
1434950417.197495: event type EV_MSC(0x04): scancode = 0x400
1434950417.197495: event type EV_SYN(0x00).
1434950417.357055: event type EV_MSC(0x04): scancode = 0x400782
1434950417.357055: event type EV_SYN(0x00).
1434950418.765469: event type EV_MSC(0x04): scancode = 0x2003e10
1434950418.765469: event type EV_SYN(0x00).
1434950418.893453: event type EV_MSC(0x04): scancode = 0x4007
1434950418.893453: event type EV_SYN(0x00).

-Jerry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20150622/67095b54/attachment.html>


More information about the mythtv-users mailing list