MythTV, lirc, and mceusb remote

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

MythTV, lirc, and mceusb remote

Postby mark9117 » Oct 11th, '12, 04:59

I upgraded the HTPC to Mageia 2 and installed the MythTV from the testing repos. It's working but I can't get the mceusb remote to work. I have the same lircrc file in ~/.mythtv, the same /etc/lirc/lircd.conf file that were working fine in my Mageia 1 MythTV installation.

I can see that lircd is starting:

Code: Select all
root      4484  0.0  0.0   3640   520 ?        Ss   19:42   0:00 lircd --device=/dev/lirc/0


I do have the device in /dev:

Code: Select all
# ls /dev/lirc*
/dev/lirc0


Modules are loading:

Code: Select all
# lsmod |grep lirc_
ir_lirc_codec          12869  0
lirc_dev               19324  1 ir_lirc_codec
rc_core                26394  11 mceusb,ir_nec_decoder,rc_rc6_mce,ir_rc5_decoder,ir_rc6_decoder,ir_jvc_decoder,ir_sony_decoder,ir_sanyo_decoder,ir_mce_kbd_decoder,ir_lirc_codec


But I'm not getting any real output from irw. The top, botton, right and left arrow buttons produce the following code respectively:

Code: Select all
^[[A^[[B^[[C^[[D


On my last go-around with this issue, I think we determined that the remote was producing keyboard input. I was able to fix that in the config files, but this time, I'm not getting anything else from irw and I'm not sure what's going on.

The "clear" and "enter" buttons produce "^[[3~" and a carriage return.

Contents of the lircrc file is here: http://pastebin.com/ysvypq3t

The lircd.conf file is here: http://pastebin.com/04DxWYD8

I've figured this out three times over the past 5 or 6 years and I don't have the time to relearn everything all over again. Any shortcuts you folks could point me to would be appreciated.

Thanks.

Mark

Edit: I'm seeing this under lsusb

Code: Select all
]# lsusb
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 1784:0001 TopSeed Technology Corp. eHome Infrared Transceiver
Bus 002 Device 002: ID 0ef5:300f PointChips
Bus 003 Device 002: ID 046d:c00e Logitech, Inc. M-BJ58/M-BJ69 Optical Wheel Mouse


I expect to see a "Phillips" device for the transceiver, but it looks like it's loading as TopSeed Tech. I don't know if that helps.

Also wanted to include this:

Code: Select all
Linux pvr 3.3.8-desktop586-2.mga2 #1 SMP Mon Jul 30 21:35:45 UTC 2012 i686 i686 i386 GNU/Linux


Code: Select all
# ir-keytable
Found /sys/class/rc/rc0/ (/dev/input/event11) with:
        Driver mceusb, table rc-rc6-mce
        Supported protocols: NEC RC-5 RC-6 JVC SONY LIRC other
        Enabled protocols: RC-6
        Repeat delay = 500 ms, repeat period = 125 ms
Let's just reboot everything all the time.
User avatar
mark9117
 
Posts: 395
Joined: Sep 12th, '11, 20:32
Location: Eastern New Mexico -- Not Hell, but you can see it from here.

Re: MythTV, lirc, and mceusb remote

Postby mark9117 » Oct 11th, '12, 06:36

Two other things. The version of Lirc:

Code: Select all
lircd 0.9.0


And I found this which has confused me about the drivers I'm seeing. Are these the old drivers?

http://www.mythtv.org/wiki/LIRC

As of 2.6.36, some infrared receiver drivers have been removed from LIRC and into the kernel. The following drivers are no longer available in lirc:

mceusb
streamzap
it8x
ene0100

Other LIRC drivers have been moved to staging. For example, the lirc_i2c driver is in this part of the kernel now. These changes have been backported to the 2.6.35 kernel for Fedora 14, and the 2.6.32 kernel used by RHEL and derivatives.


Any advice on how to handle juggling those drivers?

Thanks.

Mark
Let's just reboot everything all the time.
User avatar
mark9117
 
Posts: 395
Joined: Sep 12th, '11, 20:32
Location: Eastern New Mexico -- Not Hell, but you can see it from here.

Re: MythTV, lirc, and mceusb remote

Postby djennings » Oct 11th, '12, 13:02

The way LIRC operates has been changing a lot recently. It was hard to set up before, now it is still hard and most of the guides on the internet no longer help :(

You may find this bug report helpful
https://bugs.mageia.org/show_bug.cgi?id=1265
and my attachment for an entirely different control to the one you have may be useful
https://bugs.mageia.org/attachment.cgi?id=2434

You may decide that LIRC is such a pain you prefer to use mythmote
https://code.google.com/p/mythmote/
(assuming you have an Android phone)

EDIT
-------
I should add that despite managing to get the LIRC drivers set up for my remote, I was still unable to actually get it working with MythTV.
I am now using mythmote as well as a micro wireless keyboard
User avatar
djennings
 
Posts: 613
Joined: Jun 2nd, '11, 23:51
Location: Wokingham, UK


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest