- TwilightZone - 2009-09-08
every mapped button is double on the harmony. Setting it to 0 in the harmony software does make the 2 presses show up less but it still there. Can't watch movies hammered anymore as my timing isn't fast enough.
The delay in advancedsetting.xml i made a crazy high number. 8000 it made no difference but I don't have lirc installed either. On ubuntu though I have noticed something xev displays 2 key presses for every one with the default 105 PC international keyboard setup. XBMC however is the only thing that detects them.
Hardware HP DV8320ca media laptop
harmony 880 remote
consumer IR
ubuntu 9.04
XBMC PPA nightly builds
- Swifty - 2009-09-08
Ah I see, sorry a misunderstanding.. I thought you were suggesting that the remoterepeat setting would fix this.
I did read the trac ticket but it didn't register that you guys were using linux.. my bad.
Out of interest what receiver / remote combo do you guys have ?
My output from lsusb is;
045e:006d Microsoft Corp. eHome Remote Control Keyboard keys
Using a Microsoft / Philips v2 MCE Remote (Second one from the left; http://www.mythtv.org/wiki/MCE_Remote#Media_Center_Remotes)
- olympia - 2009-09-09
Swifty Wrote:Ah I see, sorry a misunderstanding.. I thought you were suggesting that the remoterepeat setting would fix this.
I did read the trac ticket but it didn't register that you guys were using linux.. my bad.
Out of interest what receiver / remote combo do you guys have ?
My output from lsusb is;
045e:006d Microsoft Corp. eHome Remote Control Keyboard keys
Using a Microsoft / Philips v2 MCE Remote (Second one from the left; http://www.mythtv.org/wiki/MCE_Remote#Media_Center_Remotes)
No problem.
Mine is:
0471:0815 Philips eHome Infrared Receiver
And the same remote as you (second from left)
- Maxim - 2009-09-09
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 wasCode: 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.
- TwilightZone - 2009-09-09
well in my case I have this issue and I don't run lirc, my ir is built into the laptop and it doesn't require lirc to run it works out of the box. I did have inputlirc installed not sure why wasn't my doing but have removed both in case there is a conflict still have the issue. It is easy to setup the buttons in the harmony software to match the laptop. Works great in Ubuntu every one i set works fine. I've even gone so far are to try and set a few accessibility options on ubuntu in an attempt to cure this (bounce keys, sticky key etc). I have run xev to capture events and have noticed 1 thing. Both the keyboard and remote show double events for each press on on every key. Not sure if it is related but figured I'd throw it out there. The keyboard however only does a single click like it is suppose to. I've also tried rolling back to the stable version figuring it worked before should again and it no longer does. At least not from the remote at any rate.
- Swifty - 2009-09-09
Thanks for the update guys.. hopefully we can nail down where the problem is.
@Maxim
I'm pretty sure the inital 'gap' setting is right as I did try to create a new remote control last night and checked the gap setting from that against the one in the original mce config, it was extremely close.
Changing the value up, just makes the remote less responsive.. it's not ideal just a temporary measure till this one is figured out.
I couldn't complete making a new config though as the irrecord app kept on saying 'sorry, something went wrong' when I input the name for the buttons....
Will do some searching on the error and try again tonight.
@TwilightZone
Interesting your not even using lirc.. do you get repeating keys if you quit xbmc and fire up x server with fluxbox or similar ?
I wonder if this is indeed all tied in to the bug that olympia noted with something wierd going on in xbmc event handler..
- olympia - 2009-09-09
I was playing around with "lircd.conf.mceusb" yesterday evening, and in it's current form it seems much better on my side.
My lircd.conf.mceusb looks like this now:
Code: #
# brand: HP
# model no. of remote control: TSGH-IR01
# devices being controlled by this remote: HP Slimline S3100y
#
# Derived from MCEUSB2 lircd.conf file (lircd.conf.mceusb) found at:
# https://help.ubuntu.com/community/Install_Lirc_Feisty
#
# RC-6 config file
#
# source: http://home.hccnet.nl/m.majoor/projects__remote_control.htm
# http://home.hccnet.nl/m.majoor/pronto.pdf
#
# used by: Philips
#
#########
#
# Philips Media Center Edition remote control
# For use with the USB MCE ir receiver
#
# Dan Conti dconti|acm.wwu.edu
#
# Updated with codes for MCE 2005 Remote additional buttons
# *, #, Teletext, Red, Green, Yellow & Blue Buttons
# Note: TV power button transmits no code until programmed.
# Updated 12th September 2005
# Graham Auld - mce|graham.auld.me.uk
#
# Radio, Print, RecTV are only available on the HP Media Center remote control
#
#
# Updated with codes for MCE 2007 Remote additional buttons
# Visualization, Aspect, SlideShow, Eject
# Note:
# Renamed some buttons: DVD->DVDMenu, More->MoreInfo, Star->Asterisk, Hash->Pound
# Note:
# Blue, Yellow, Green, Red, and Teletext buttons do not exist on the HP remote
begin remote
name mceusb
bits 16
flags RC6|CONST_LENGTH
eps 30
aeps 100
header 2667 889
one 444 444
zero 444 444
repeat 0 0
pre_data_bits 21
pre_data 0x37FF0
gap 115000
toggle_bit 22
rc6_mask 0x100000000
begin codes
#unused by HP remote
Blue 0x00007ba1
Yellow 0x00007ba2
Green 0x00007ba3
Red 0x00007ba4
Teletext 0x00007ba5
#ba6 - bae unused
BA6 0x00007ba6
BA7 0x00007ba7
BA8 0x00007ba8
BA9 0x00007ba9
BAA 0x00007baa
BAB 0x00007bab
BAC 0x00007bac
BAD 0x00007bad
BAE 0x00007bae
Radio 0x00007baf
Print 0x00007bb1
#bb2 - bb4 unused
BB2 0x00007bb2
BB3 0x00007bb3
BB4 0x00007bb4
Videos 0x00007bb5
Pictures 0x00007bb6
RecTV 0x00007bb7
Music 0x00007bb8
TV 0x00007bb9
#bba - bbf unused
BBA 0x00007bba
BBB 0x00007bbb
BBC 0x00007bbc
BBD 0x00007bbd
BBE 0x00007bbe
BBF 0x00007bbf
#bc1 - bca unused
BC1 0x00007bc1
BC2 0x00007bc2
BC3 0x00007bc3
BC4 0x00007bc4
BC5 0x00007bc5
BC6 0x00007bc6
BC7 0x00007bc7
BC8 0x00007bc8
BC9 0x00007bc9
BCA 0x00007bca
Eject 0x00007bcb
SlideShow 0x00007bcc
Visualization 0x00007bcd
#bce - bcf unused
BCE 0x00007bce
BCF 0x00007bcf
#bd1 - bd7 unused
BD1 0x00007bd1
BD2 0x00007bd2
BD3 0x00007bd3
BD4 0x00007bd4
BD5 0x00007bd5
BD6 0x00007bd6
BD7 0x00007bd7
Aspect 0x00007bd8
Guide 0x00007bd9
LiveTV 0x00007bda
DVD 0x00007bdb
#NoGap
Back 0x00007bdc
OK 0x00007bdd
Right 0x00007bde
Left 0x00007bdf
Down 0x00007be0
Up 0x00007be1
#NoGap
Star 0x00007be2
Hash 0x00007be3
#NoGap
Replay 0x00007be4
Skip 0x00007be5
Stop 0x00007be6
Pause 0x00007be7
Record 0x00007be8
Play 0x00007be9
Rewind 0x00007bea
Forward 0x00007beb
#NoGap
ChanDown 0x00007bec
ChanUp 0x00007bed
VolDown 0x00007bee
VolUp 0x00007bef
#NoGap
More 0x00007bf0
Mute 0x00007bf1
Home 0x00007bf2
Power 0x00007bf3
#NoGap
Enter 0x00007bf4
Clear 0x00007bf5
#NoGap
Nine 0x00007bf6
Eight 0x00007bf7
Seven 0x00007bf8
Six 0x00007bf9
Five 0x00007bfa
Four 0x00007bfb
Three 0x00007bfc
Two 0x00007bfd
One 0x00007bfe
Zero 0x00007bff
end codes
end remote
Note that I inserted "repeat 0 0 " before "gap", and also that I increased the "gap" from 105000 to 115000.
At the top of that, surprising or not, I needed the "remoterepeat" tweak in advancedsettings.xml too.
It looks like this:
Code: <advancedsettings>
<remoterepeat>1000</remoterepeat>
</advancedsettings>
What is interesting, that after all the tweaks, I changed back everything to the default state to confirm that really the tweaks I made brought in the better behaviour. Surprisingly the repating issue didn't happen as frequent as before even with the default settings, so I am a bit confused now.
Could you please guys try this out and give some feedback on it?
- Swifty - 2009-09-09
Thanks for the update on your finds olympia... will check this out tonight and let you know.
- TwilightZone - 2009-09-09
yeah the remote works fine under gnome only oddity I saw was xev does show 2 events for every key press with both the keyboard and remote. With the keyboard however it only registers 1 where the remote doubles everything. A bug with event handler though would account for my issue. I switched back to the svn PPA hopefully there is a fix in the pipe soon. Until then I'll continue to to wrestle with it nothing suggested so far has made any difference.
- Swifty - 2009-09-09
Just tried out olympia's tweaks and no difference for me.
Will keep digging with the irrecord errors and see if I can make a mapping of my remote.. hopefully that will help.
- locust - 2009-10-07
Bump
I am also having the same problem.
Using a USB-UIRT and Harmony remote; after setting repeats to '0' in the Harmony software, each keypress is triggering 2 commands, making navigating/playing a royal bitch unless you quickly tap each button and hope for the best
Any luck with eliminating the remote repeats?
Thanks
- essence25 - 2009-10-09
olympia Wrote:I was playing around with "lircd.conf.mceusb" yesterday evening, and in it's current form it seems much better on my side.
My lircd.conf.mceusb looks like this now:
Code: #
# brand: HP
# model no. of remote control: TSGH-IR01
# devices being controlled by this remote: HP Slimline S3100y
#
# Derived from MCEUSB2 lircd.conf file (lircd.conf.mceusb) found at:
# https://help.ubuntu.com/community/Install_Lirc_Feisty
#
# RC-6 config file
#
# source: http://home.hccnet.nl/m.majoor/projects__remote_control.htm
# http://home.hccnet.nl/m.majoor/pronto.pdf
#
# used by: Philips
#
#########
#
# Philips Media Center Edition remote control
# For use with the USB MCE ir receiver
#
# Dan Conti dconti|acm.wwu.edu
#
# Updated with codes for MCE 2005 Remote additional buttons
# *, #, Teletext, Red, Green, Yellow & Blue Buttons
# Note: TV power button transmits no code until programmed.
# Updated 12th September 2005
# Graham Auld - mce|graham.auld.me.uk
#
# Radio, Print, RecTV are only available on the HP Media Center remote control
#
#
# Updated with codes for MCE 2007 Remote additional buttons
# Visualization, Aspect, SlideShow, Eject
# Note:
# Renamed some buttons: DVD->DVDMenu, More->MoreInfo, Star->Asterisk, Hash->Pound
# Note:
# Blue, Yellow, Green, Red, and Teletext buttons do not exist on the HP remote
begin remote
name mceusb
bits 16
flags RC6|CONST_LENGTH
eps 30
aeps 100
header 2667 889
one 444 444
zero 444 444
repeat 0 0
pre_data_bits 21
pre_data 0x37FF0
gap 115000
toggle_bit 22
rc6_mask 0x100000000
begin codes
#unused by HP remote
Blue 0x00007ba1
Yellow 0x00007ba2
Green 0x00007ba3
Red 0x00007ba4
Teletext 0x00007ba5
#ba6 - bae unused
BA6 0x00007ba6
BA7 0x00007ba7
BA8 0x00007ba8
BA9 0x00007ba9
BAA 0x00007baa
BAB 0x00007bab
BAC 0x00007bac
BAD 0x00007bad
BAE 0x00007bae
Radio 0x00007baf
Print 0x00007bb1
#bb2 - bb4 unused
BB2 0x00007bb2
BB3 0x00007bb3
BB4 0x00007bb4
Videos 0x00007bb5
Pictures 0x00007bb6
RecTV 0x00007bb7
Music 0x00007bb8
TV 0x00007bb9
#bba - bbf unused
BBA 0x00007bba
BBB 0x00007bbb
BBC 0x00007bbc
BBD 0x00007bbd
BBE 0x00007bbe
BBF 0x00007bbf
#bc1 - bca unused
BC1 0x00007bc1
BC2 0x00007bc2
BC3 0x00007bc3
BC4 0x00007bc4
BC5 0x00007bc5
BC6 0x00007bc6
BC7 0x00007bc7
BC8 0x00007bc8
BC9 0x00007bc9
BCA 0x00007bca
Eject 0x00007bcb
SlideShow 0x00007bcc
Visualization 0x00007bcd
#bce - bcf unused
BCE 0x00007bce
BCF 0x00007bcf
#bd1 - bd7 unused
BD1 0x00007bd1
BD2 0x00007bd2
BD3 0x00007bd3
BD4 0x00007bd4
BD5 0x00007bd5
BD6 0x00007bd6
BD7 0x00007bd7
Aspect 0x00007bd8
Guide 0x00007bd9
LiveTV 0x00007bda
DVD 0x00007bdb
#NoGap
Back 0x00007bdc
OK 0x00007bdd
Right 0x00007bde
Left 0x00007bdf
Down 0x00007be0
Up 0x00007be1
#NoGap
Star 0x00007be2
Hash 0x00007be3
#NoGap
Replay 0x00007be4
Skip 0x00007be5
Stop 0x00007be6
Pause 0x00007be7
Record 0x00007be8
Play 0x00007be9
Rewind 0x00007bea
Forward 0x00007beb
#NoGap
ChanDown 0x00007bec
ChanUp 0x00007bed
VolDown 0x00007bee
VolUp 0x00007bef
#NoGap
More 0x00007bf0
Mute 0x00007bf1
Home 0x00007bf2
Power 0x00007bf3
#NoGap
Enter 0x00007bf4
Clear 0x00007bf5
#NoGap
Nine 0x00007bf6
Eight 0x00007bf7
Seven 0x00007bf8
Six 0x00007bf9
Five 0x00007bfa
Four 0x00007bfb
Three 0x00007bfc
Two 0x00007bfd
One 0x00007bfe
Zero 0x00007bff
end codes
end remote
Note that I inserted "repeat 0 0 " before "gap", and also that I increased the "gap" from 105000 to 115000.
At the top of that, surprising or not, I needed the "remoterepeat" tweak in advancedsettings.xml too.
It looks like this:
Code: <advancedsettings>
<remoterepeat>1000</remoterepeat>
</advancedsettings>
What is interesting, that after all the tweaks, I changed back everything to the default state to confirm that really the tweaks I made brought in the better behaviour. Surprisingly the repating issue didn't happen as frequent as before even with the default settings, so I am a bit confused now.
Could you please guys try this out and give some feedback on it?
Hi,
Where is this "advancedsettings.xml" supposed to be found in? It is not in my XBMC live filesystem.
Also can your tweak be tailored to this remote please? LIRCD configuration file for Xbox DVD Kit
#
# Marko Friedemann <[email protected]>
#
#
# brand: Microsoft
# model: Xbox DVD Remote
# supported devices: Xbox DVD Remote via xpad-ir driver
#
# comment: EXPERIMENTAL
#
begin remote
name XboxDVDDongle
# eps 30
# aeps 100
gap 100000
bits 8
begin codes
SELECT 0x0b
UP 0xa6
DOWN 0xa7
RIGHT 0xa8
LEFT 0xa9
INFO 0xc3
9 0xc6
8 0xc7
7 0xc8
6 0xc9
5 0xca
4 0xcb
3 0xcc
2 0xcd
1 0xce
0 0xcf
DISPLAY 0xd5
BACK 0xd8
SKIP+ 0xdd
SKIP- 0xdf
STOP 0xe0
REVERSE 0xe2
FORWARD 0xe3
TITLE 0xe5
PAUSE 0xe6
PLAY 0xea
MENU 0xf7
- Paulicat - 2009-10-14
Hey everyone, I was having the same repeat key problem as described in this thread, so searched and tried something out last night that initially came from the windows subforum.
In the Harmony software, I removed the MCE Remote device and added a "MCE Keyboard" instead, everything else left as is, no custom keymap.xml or anything.
Its unlisted, just type it in as "MCE Keyboard".
No more repeats!
My media keys (play/pause etc) and directional keys all worked out of the box so no need to adjust anything.
Try it out!
- Evanrich - 2009-12-09
olympia Wrote:I was playing around with "lircd.conf.mceusb" yesterday evening, and in it's current form it seems much better on my side.
My lircd.conf.mceusb looks like this now:
Code: #
# brand: HP
# model no. of remote control: TSGH-IR01
# devices being controlled by this remote: HP Slimline S3100y
#
# Derived from MCEUSB2 lircd.conf file (lircd.conf.mceusb) found at:
# https://help.ubuntu.com/community/Install_Lirc_Feisty
#
# RC-6 config file
#
# source: http://home.hccnet.nl/m.majoor/projects__remote_control.htm
# http://home.hccnet.nl/m.majoor/pronto.pdf
#
# used by: Philips
#
#########
#
# Philips Media Center Edition remote control
# For use with the USB MCE ir receiver
#
# Dan Conti dconti|acm.wwu.edu
#
# Updated with codes for MCE 2005 Remote additional buttons
# *, #, Teletext, Red, Green, Yellow & Blue Buttons
# Note: TV power button transmits no code until programmed.
# Updated 12th September 2005
# Graham Auld - mce|graham.auld.me.uk
#
# Radio, Print, RecTV are only available on the HP Media Center remote control
#
#
# Updated with codes for MCE 2007 Remote additional buttons
# Visualization, Aspect, SlideShow, Eject
# Note:
# Renamed some buttons: DVD->DVDMenu, More->MoreInfo, Star->Asterisk, Hash->Pound
# Note:
# Blue, Yellow, Green, Red, and Teletext buttons do not exist on the HP remote
begin remote
name mceusb
bits 16
flags RC6|CONST_LENGTH
eps 30
aeps 100
header 2667 889
one 444 444
zero 444 444
repeat 0 0
pre_data_bits 21
pre_data 0x37FF0
gap 115000
toggle_bit 22
rc6_mask 0x100000000
begin codes
#unused by HP remote
Blue 0x00007ba1
Yellow 0x00007ba2
Green 0x00007ba3
Red 0x00007ba4
Teletext 0x00007ba5
#ba6 - bae unused
BA6 0x00007ba6
BA7 0x00007ba7
BA8 0x00007ba8
BA9 0x00007ba9
BAA 0x00007baa
BAB 0x00007bab
BAC 0x00007bac
BAD 0x00007bad
BAE 0x00007bae
Radio 0x00007baf
Print 0x00007bb1
#bb2 - bb4 unused
BB2 0x00007bb2
BB3 0x00007bb3
BB4 0x00007bb4
Videos 0x00007bb5
Pictures 0x00007bb6
RecTV 0x00007bb7
Music 0x00007bb8
TV 0x00007bb9
#bba - bbf unused
BBA 0x00007bba
BBB 0x00007bbb
BBC 0x00007bbc
BBD 0x00007bbd
BBE 0x00007bbe
BBF 0x00007bbf
#bc1 - bca unused
BC1 0x00007bc1
BC2 0x00007bc2
BC3 0x00007bc3
BC4 0x00007bc4
BC5 0x00007bc5
BC6 0x00007bc6
BC7 0x00007bc7
BC8 0x00007bc8
BC9 0x00007bc9
BCA 0x00007bca
Eject 0x00007bcb
SlideShow 0x00007bcc
Visualization 0x00007bcd
#bce - bcf unused
BCE 0x00007bce
BCF 0x00007bcf
#bd1 - bd7 unused
BD1 0x00007bd1
BD2 0x00007bd2
BD3 0x00007bd3
BD4 0x00007bd4
BD5 0x00007bd5
BD6 0x00007bd6
BD7 0x00007bd7
Aspect 0x00007bd8
Guide 0x00007bd9
LiveTV 0x00007bda
DVD 0x00007bdb
#NoGap
Back 0x00007bdc
OK 0x00007bdd
Right 0x00007bde
Left 0x00007bdf
Down 0x00007be0
Up 0x00007be1
#NoGap
Star 0x00007be2
Hash 0x00007be3
#NoGap
Replay 0x00007be4
Skip 0x00007be5
Stop 0x00007be6
Pause 0x00007be7
Record 0x00007be8
Play 0x00007be9
Rewind 0x00007bea
Forward 0x00007beb
#NoGap
ChanDown 0x00007bec
ChanUp 0x00007bed
VolDown 0x00007bee
VolUp 0x00007bef
#NoGap
More 0x00007bf0
Mute 0x00007bf1
Home 0x00007bf2
Power 0x00007bf3
#NoGap
Enter 0x00007bf4
Clear 0x00007bf5
#NoGap
Nine 0x00007bf6
Eight 0x00007bf7
Seven 0x00007bf8
Six 0x00007bf9
Five 0x00007bfa
Four 0x00007bfb
Three 0x00007bfc
Two 0x00007bfd
One 0x00007bfe
Zero 0x00007bff
end codes
end remote
Note that I inserted "repeat 0 0 " before "gap", and also that I increased the "gap" from 105000 to 115000.
At the top of that, surprising or not, I needed the "remoterepeat" tweak in advancedsettings.xml too.
It looks like this:
Code: <advancedsettings>
<remoterepeat>1000</remoterepeat>
</advancedsettings>
What is interesting, that after all the tweaks, I changed back everything to the default state to confirm that really the tweaks I made brought in the better behaviour. Surprisingly the repating issue didn't happen as frequent as before even with the default settings, so I am a bit confused now.
Could you please guys try this out and give some feedback on it?
can you clarify what repeat 0 0 does? I'm guessing that it tells lirc not to repeat the command....does this take care of the issue with IRW showing 3 button presses for remotes?
- mrloofer - 2010-02-10
Swifty were you able to resolve this?
I have the exact same problem with the Mediagate MCE remote. Kinda frustrating!
|