Posts: 8
Joined: Oct 2014
Reputation:
0
2014-10-22, 11:56
(This post was last modified: 2014-10-22, 11:57 by thermosiphonas.)
Can I set a repeat rate for my remote?
I have an ASUS DH which works fine except the fact that I get no repeat when I hold a button down, which is very frustrating when you try to increase or decrease the volume.
Is there a way to tell XBMC to start repeating the command when the button is held down?
I am using LIRC, XMBC 13.2 and Ubuntu 14.04LTS
Posts: 8
Joined: Oct 2014
Reputation:
0
I tried it and it doesn't do anything. I think these settings are for keys that already get repeated when the button is held down
Posts: 6,810
Joined: Jul 2010
Reputation:
198
I don't think this is related to XBMC. start xev and watch what you get when pressing the buttons.
Posts: 8
Joined: Oct 2014
Reputation:
0
I get results when I move the mouse or press anything on the keyboard, but nothing when I press the keys on the remote controller
Posts: 6,810
Joined: Jul 2010
Reputation:
198
so you don't have configure ir_keytable. are you using lirc? Note that devinput is not best choice. try irw and check if you get repeats.
Posts: 1,104
Joined: May 2009
Reputation:
19
Some remotes simply do not repeat when a button is held down.
As suggested, IRW and Lirc will tell the story.
Posts: 8
Joined: Oct 2014
Reputation:
0
I made a few tests and finally got my hands on an asus motherboard that I can install the remote with its official windows drivers.
The keys repeat themselves when I hold them down on windows, so I guess that the remote repeats.
As far as IRW is concerned, although it registers every key, it does not repeat it. What can I do to fix this?
Posts: 13
Joined: Sep 2012
Reputation:
0
What output from ir-keytable are you getting? I think it may be possible to try different IR protocols and you can try changing the repeat-delay and period using the --delay=700 --period=250 --device=/dev/input/xxx options
eg I get
# ir-keytable
Found /sys/class/rc/rc0/ (/dev/input/event3) with:
Driver saa716x, table rc-tbs-nec (this device isn't being used)
Supported protocols: NEC RC-5 RC-6 JVC SONY LIRC other
Enabled protocols:
Name: saa716x IR (TurboSight TBS 6280)
bus: 1, vendor/product: 6280:0011, version: 0x0001
Repeat delay = 500 ms, repeat period = 125 ms
Found /sys/class/rc/rc1/ (/dev/input/event14) with:
Driver mceusb, table rc-rc6-mce (this is used - MS MediaCentre remote)
Supported protocols: NEC RC-5 RC-6 JVC SONY LIRC other
Enabled protocols: NEC RC-5 RC-6 JVC SONY LIRC other
Name: Media Center Ed. eHome Infrared
bus: 3, vendor/product: 0471:0815, version: 0x0000
Repeat delay = 800 ms, repeat period = 200 ms
Posts: 8
Joined: Oct 2014
Reputation:
0
Sorry for my very delayed response. When I type it I get "Couldn't find any node at /sys/class/rc/rc*."
Posts: 13
Joined: Sep 2012
Reputation:
0
Hmm, I don't really know in that case.
The system should detect the hardware during boot and create the device filesystem, but it doesn't appear to have done so. Do you know what driver your ASUS DH is supposed to use? lirc forums may have some info too.
I presume you're using a standard Ubuntu package for lirc ?
What lircd commandline is running?
$ ps -ef | grep lircd
Have you looked at the config files in
/etc/lirc/lircd.conf etc?
As root,
# pkill lircd
Then does
$ ir-keytable --test
show events when you press keys on the remote for most keys? (lircd must not be running)
Posts: 13
Joined: Sep 2012
Reputation:
0
2014-11-20, 18:32
(This post was last modified: 2014-11-20, 18:41 by andydiver.)
Also, what does
$ dmesg | grep lirc
show?
Also, do you see anything relevant to you IR device in /var/log/Xorg.0.log (can you pastebin ?)
eg
[ 10.422] (II) config/udev: Adding input device saa716x IR (TurboSight TBS 6280) (/dev/input/event3)
...
[ 10.432] (**) MCE IR Keyboard/Mouse (saa716x): Ignoring device from InputClass "Ignore IR remote(s) as keyboard"
Posts: 8
Joined: Oct 2014
Reputation:
0
Thank you very much for your reply! I will test what you have proposed and will get back to you