View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 3 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: IR laggy
PostPosted: Sat Jan 28, 2017 4:59 pm 
Offline
Joined: Sat Jan 28, 2017 4:53 pm
Posts: 2
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.


Top
 Profile  
 
 Post subject: Re: IR laggy
PostPosted: Mon Feb 06, 2017 6:55 am 
Offline
Joined: Mon Jun 21, 2004 5:28 am
Posts: 696
Location: Germany
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.

_________________
ASUS AT3N7A-I (Atom 330)
TBS 8922 PCI (DVB-S2)


Top
 Profile  
 
 Post subject: Re: IR laggy
PostPosted: Sat Aug 05, 2017 1:07 pm 
Offline
Joined: Sat Jan 28, 2017 4:53 pm
Posts: 2
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.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu