OpenELEC Testbuilds for RaspberryPi Part 2
(2014-02-12, 21:16)dhead Wrote:
(2014-02-12, 15:17)doveman2 Wrote: Regarding the issue where the remote volume keys don't repeat, which is apparently an OS-level bug as XBMC doesn't do the repeating itself but relies on the OS to handle this, I wonder if this workaround for Ubuntu can be used with OE?

Raspberry Pi builds doesn't include X.org so this is no go (and this solution only works for keyboards and not for keypress send by lirc).
From a quick googling I guess your remote recognized as keyboard.

Sadly the current state of keyboard support in XBMC is a bit of a mess, with the Raspberry Pi XBMC gets scancodes from the kernel, on OpenELEC x86_64 and i686 from X.Org and on regular Linux distribution from SDL, this is true for Frodo and Gotham.
I've already encountered with the issue you described and more but I didn't thought it worth reporting as the whole keyboard situation seems to me very funny and with Wayland soon on my desktop (Gnome 3.12 next month) I probably will have more issues.

I've been doing a little more testing and I think I know how to solve this.

If I understand correctly when you hold the VolumeUp button the remote send a button hold event and when released the remote sends a release event.
When you hold another button like a "K" the remote will send a press key event (hold and release ?) and repeat again (with some delay) and again until you release the button.

I think that maybe XBMC is relying on SDL and X11 to convert "hold" and "release" events when there is a large delay between them (the button is held) to continuously repeats.
On the Raspberry where no SDL and X11 are use, XBMC gets events from the kernel which doesn't do this conversion.

I'm not sure if it is a good idea to have this issue solved in XBMC, probably better to solve it in external app.
The best suiteable candidate is eventlircd but we will need to code in this feature.
My coding skills are lacking but this is surely my do-it list.


Messages In This Thread
RE: OpenELEC Testbuilds for RaspberryPi Part 2 - by dhead - 2014-02-20, 14:29
AW: RE: - by DieterLumpen - 2013-07-29, 20:50
include guires switch? - by hpbaxxter - 2013-08-01, 21:46
RE: dual audio?? - by pootler - 2013-08-03, 17:13
Help, watch 3D Film on Non 3D TV - by unix72 - 2013-08-09, 12:39
Remote Controllers - by tfft - 2013-08-14, 09:11
rbej repeatable crash - by RichG - 2013-08-19, 12:43
New Tester - by theneverstill - 2013-10-03, 17:16
[split] missing subtitle stream - by Jönke - 2014-01-08, 21:03
3D Support - by michbeck100 - 2014-01-11, 01:01
No sound on Gotham builds - by URBANsUNITED - 2014-01-13, 15:19
Logout Mark Read Team Forum Stats Members Help
OpenELEC Testbuilds for RaspberryPi Part 223