Bug #1031

MCE remote no longer works after update to 8.5.2

Added by cluehawk 7 months ago. Updated 3 months ago.

Status:Feedback Start date:01/05/2019
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:Other Spent time: -
Target version:-

Description

After updating to LINHES 8.5.2 or installing directly from 8.5.2 media, the MCE IR remote no longer functions.
It worked in the previous version.

Associated revisions

Revision 5b923b00
Added by brfransen 3 months ago

runit-scripts: remotes run: ensure default driver is used. refs #1031

History

Updated by brfransen 7 months ago

  • Priority changed from High to Normal
  • Target version deleted (8.5)
  • Status changed from New to Feedback

What is the device id shown in lsusb of your MCE remote. Which remote profile are you using in LinHES Settings > Remotes? Is that the same profile you used in the previous version of LH? What version of LH did it work in before?

Updated by cluehawk 7 months ago

Thanks for looking into this issue.
Device id:045e:006d microsoft corp. eHome remote keyboard keys

This device worked on Linhes for the past 5 years.
I confirmed it worked on the 8.4.3 install media.
Remote is set to MCE
the receiver is set to mce.
This is the profile I've always used.
LinHes has always bested all other mythtv distributions when it comes to remotes.
I support three different installations in three different homes.

Updated by brfransen 7 months ago

That device should work. R8.5.2 update does have a newer version of lirc.

Do you have a custom remote profile in home that is also called MCE?
Does irw show anything when buttons are pressed?
Is lirc running? ps aux | grep lirc

Updated by cluehawk 7 months ago

No custom profile in home.
Lirc is running with the MCE profile:
884 ? S 0:00 /usr/bin/lircd -r -n -d /dev/remotes/mce_lirc --output /var/run/lirc/lircd
889 ? S 0:00 /usr/bin/irexec /etc/lircrc

but IRW shows no input when buttons are pressed. I can confirm that the remote and receiver are working in an older version.

I messed with it a bit and after unplugging the receiver and re-inserting it the arrows registered on IRW but nothing else.
after re-configuring LIRC through LinHes, none of the buttons are working.

Thanks for your help!!

Updated by brfransen 4 months ago

Unplug/plug and arrows work sound like the in kernel stuff is working. They stop working when configuring in LH because in kernel gets disabled.

What do you get from sudo ir-keytable

Please post contents of:
/etc/lircrc
ls -al /etc/lirc/lircd.conf.d/remote_lircd.conf

Updated by cluehawk 4 months ago

Thanks for looking into this.
Here are the outputs:

sudo ir-keytable
Found /sys/class/rc/rc0/ (/dev/input/event6) with:
Driver mceusb, table rc-rc6-mce
Supported protocols: unknown other lirc rc-5 jvc sony nec sanyo mce-kbd rc-6 sharp xmp
Enabled protocols: lirc
Name: Media Center Ed. eHome Infrared
bus: 3, vendor/product: 045e:006d, version: 0x0200
Repeat delay = 500 ms, repeat period = 125 ms

cat /etc/lircrc
include "/usr/MythVantage/templates/remotes/favorites/mce/lircrc-mceusb"

ls -al /etc/lirc/lircd.conf.d/remote_lircd.conf
lrwxrwxrwx 1 root root 66 Jan 8 17:48 /etc/lirc/lircd.conf.d/remote_lircd.conf -> /usr/MythVantage/templates/remotes/favorites/mce/lircd.conf.mceusb

Updated by brfransen 4 months ago

Can you try using this lircd file? http://lirc.sourceforge.net/remotes/mceusb/lircd.conf.mceusb
It may be easiest for testing to create a custom remote template: http://linhes.org/projects/linhes/wiki/Remotes#Custom-Remote-Templates
Select the new user template in LinHES Settings > Remotes
Run irw and press buttons to see what buttons if any work. The button names are different in this lircd so they may not work right in Myth right now.

If this doesn't work you will need to create a new lircd using irrecord. Something like sudo irrecord -d /dev/remotes/mce_lirc new_lircd.conf

Updated by brfransen 4 months ago

Can you post the contents of your /etc/lirc/lirc_options.conf file?

Updated by cluehawk 4 months ago

Thanks for the continued support.
I was able to get the correct output from ir-keytable -t
IRW, however, did not provide the correct output.
I have not been able to try irrecord to create a new lircd.

Here is the /etc/lirc/lirc_options.conf file:

  1. These are the default options to lircd, if installed as
  2. /etc/lirc/lirc_options.conf. See the lircd(8) and lircmd(8)
  3. manpages for info on the different options. #
  4. Some tools including mode2 and irw uses values such as
  5. driver, device, plugindir and loglevel as fallback values
  6. in not defined elsewhere.

[lircd]
nodaemon = False
driver = devinput
device = auto
output = /var/run/lirc/lircd
pidfile = /var/run/lirc/lircd.pid
plugindir = /usr/lib/lirc/plugins
permission = 666
allow-simulate = No
repeat-max = 600
#effective-user =
#listen = [address:]port
#connect = host[:port]
#loglevel = 6
#release = true
#release_suffix = _EVUP
#logfile = ...
#driver-options = ...

[lircmd]
uinput = False
nodaemon = False

  1. [modinit]
  2. code = /usr/sbin/modprobe lirc_serial
  3. code1 = /usr/bin/setfacl -m g:lirc:rw /dev/uinput
  4. code2 = ...
  1. [lircd-uinput]
  2. add-release-events = False
  3. release-timeout = 200
  4. release-suffix = _EVUP

Updated by brfransen 4 months ago

Please try this and let me know if the remote works.

sudo pacman -U http://repo.linhes.org/repo/x86_64/core-testing/runit-scripts-8.6-2-x86_64.pkg.tar.xz
sudo sv restart remotes

Test remote.

Updated by cluehawk 3 months ago

One step closer! IRW now has a proper output.

However, Mythtv will not respond. I tried key mapping in setup to see if any inputs were received, but they were not.
I did try rebooting just in case.

Thanks for your continued support with this issue.

Updated by brfransen 3 months ago

Check what LIRC controls socket in Myth is set to. In MythTV Settings > General > Remote Control

Are you still using the LinHES lircd.conf.mceusb or did you try the sourceforge one I posted above?

Updated by cluehawk 3 months ago

Sorry about the long delay,
the LIRC socket in Myth is set to /var/run/lirc/lircd
I am using the lircd.conf.mceusb that you posted above.

Thanks for your assistance!

Updated by brfransen 3 months ago

Go back to the LinHES lircd.conf. The one I posted above has different button names that don't agree with your lircrc which would be why IRW works but myth isn't responding.

Also available in: Atom PDF