LIRC + XBMC = Repeating Remote Buttons
#19
Swifty Wrote:@Maxim
From what I can tell those repeat and delay settings are only valid if contained within a button function (ie. the code you posted with 'begin' xxx 'end')
Since XBMC isn't using these there isn't any function to place the delay into.. and just putting it inside the lircd.conf itself seems to make no difference.

I have made a little headway though.. by editing; /usr/share/lirc/remote/mceusb/lirc_mceusb.conf and editing the gap from something like 105000 to 125000.
This makes things a little better but it's still not right.
I see what you mean, i'm a little rusty on the mapping and how they interact with XBMC.

It seems you've come to the same conclusion that I have regarding changing how LIRC handles the remote and modifying the conf file for that remote. I belive that there are other options you could add to the remote which could help with such as repeat, min_repeat, repeat_gap, repeate_bit.

However, in all of these config files I see messages saying that they're automatically generated.

Now it makes sense to me that not all remotes/receivers would be created equally, especially when it comes to electronic devices. Firmware/Hardware/Software changes frequently.

What make work for you guys is to create a new config file for your remote. You could even submit it to the folks over at LIRC and help them out a bit. I bet that if you made a new config file it will handle your remote well.

A new config file can apparently be made with irrecord, I don't have much time to fool around with it this evening, but from what i've found so far it's pretty self driven, it prompts you and tells you what to do.

The command that I used to make a new file for my remote was
Code:
irrecord -H sb0540 -d /dev/usb/hiddev0 newconfig.conf
I had to specifiy both the device, and the driver for it to work for me, as it was trying to use /dev/lircd by default and that, for whatever reason, is not how my system is setup.

Another option that you have is to use irxevent in a conf file and use that to send keyboard commands directly to XBMC through the X Server. I did this a while ago for MPlayer/MythTV and it worked very well. Using this method would allow you to use the repeat/gap commands on individual buttons.
Reply


Messages In This Thread
[No subject] - by Swifty - 2009-09-07, 02:26
[No subject] - by Maxim - 2009-09-07, 02:35
[No subject] - by BDPNA - 2009-09-07, 06:07
[No subject] - by TwilightZone - 2009-09-07, 07:59
[No subject] - by hotlobster - 2009-09-07, 10:44
[No subject] - by Swifty - 2009-09-07, 11:18
[No subject] - by olympia - 2009-09-07, 11:50
[No subject] - by TwilightZone - 2009-09-07, 18:12
[No subject] - by Swifty - 2009-09-08, 18:57
[No subject] - by olympia - 2009-09-08, 19:04
[No subject] - by Maxim - 2009-09-08, 19:24
[No subject] - by Swifty - 2009-09-08, 21:31
[No subject] - by BDPNA - 2009-09-08, 21:36
[No subject] - by olympia - 2009-09-08, 23:04
[No subject] - by TwilightZone - 2009-09-08, 23:48
[No subject] - by Swifty - 2009-09-08, 23:49
[No subject] - by olympia - 2009-09-09, 00:14
[No subject] - by Maxim - 2009-09-09, 06:10
[No subject] - by TwilightZone - 2009-09-09, 07:12
[No subject] - by Swifty - 2009-09-09, 09:40
[No subject] - by olympia - 2009-09-09, 09:53
[No subject] - by Swifty - 2009-09-09, 10:38
[No subject] - by TwilightZone - 2009-09-09, 16:32
[No subject] - by Swifty - 2009-09-09, 21:34
[No subject] - by locust - 2009-10-07, 10:10
[No subject] - by essence25 - 2009-10-09, 16:48
[No subject] - by Paulicat - 2009-10-14, 15:11
[No subject] - by Evanrich - 2009-12-09, 22:17
[No subject] - by mrloofer - 2010-02-10, 06:23
[No subject] - by axeldude - 2010-08-31, 13:43
Logout Mark Read Team Forum Stats Members Help
LIRC + XBMC = Repeating Remote Buttons1