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

IR laggy
http://forums.linhes.org/viewtopic.php?f=23&t=24619
Page 1 of 1

Author:  daweze [ Sat Jan 28, 2017 4:59 pm ]
Post subject:  IR laggy

i have an intel nuc D34010WYK with built in IR nuvoton-cir. i have configured mythtv to use favorite / MCE / default IR. my problem is that multiple MCE remotes will control the system but its very laggy. you have to hold the remote button down for 1 second before it will move. No combo of settings has made an improvement. if i kill the PID for lirc then the lag is 100% gone but of course now only the arrows keys work. Any sugetions would e greatly appreciated.

Author:  alien [ Mon Feb 06, 2017 6:55 am ]
Post subject:  Re: IR laggy

It seems lirc is somehow causing the slowness. Since the kernel IR framework seems to be working for you (the arrow keys work after killing lirc), maybe all you have to do is fix the kernel mappings and then uninstall lirc.

A very easy way that sometimes works is to change focus to an xterm window and hit keys on the remote to see what they do (ex. "record" typically results in the letter "R"). Then change the mythtv key mappings in the mythtv settings section to use these keys. I think that the mythtv settings also allows the remote key to be pressed directly, so you may not need the "xterm window" step.

If this doesn't work, you may have to change the kernel keymaps (search on ir-keytable and rc_keymaps). However, I generally find that the default mappings are close enough that a few tweaks in the mythtv settings are all that is needed.

Author:  daweze [ Sat Aug 05, 2017 1:07 pm ]
Post subject:  Re: IR laggy

had time to revisit this and worked out the issue but not a great fix.

i found using ir-keytable that for some reason rc6 protocal is not enabled
Found /sys/class/rc/rc0/ (/dev/input/event3) with:
Driver nuvoton-cir, 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: Nuvoton w836x7hg Infrared Remote
bus: 25, vendor/product: 1050:00c3, version: 0x0033
Repeat delay = 500 ms, repeat period = 125 ms

from a shell running
ir-keytable -c -p LIRC,RC-6
and its prefect.

i just have not found which config to edit to make this change permanent. for now i just run a script a boot.

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