I setup 0.7.0 and a remotepi board. Everything worked except that the xbox (white) MCE media remote is doing double presses most of the time. I also notice that in /etc/lirc/lircd.conf.xbox file the supress repeats is commented out (unlike all the other remotes in /ext/lirc/lircd.conf.rpi
I couldn’t edit the xbox file to see if uncommented the supress repeats would work as the files ystem is readon only.
What’s the right way for me to test to see if it the xbox definition causing the issue or something else?
It should be possible to use SSH and remount the filesystem as read-write through some series of commands, though I never do this myself so I can’t recall the exact procedure (I’m sure others can chime in with the details).
If you have access to a Linux computer (physical or virtual) then the easiest way to do it is to insert the RasPlex SD card in a card reader for that system and use an editor of that computer to edit the file which you’ll then find in the second partition of that card. I use VMware for this myself, using its feature to connect removable devices of the host system (Windows 7 in my case) to the virtual guest OS (Ubuntu 14.04 in my case).
This is a method that can be used not only for RasPlex but for most RPi OS variants, regardless of their partition usage and mounting schemes.
Btw:
If the problem is due to that xml script, then I’d expect the response to be fully consistent, with no random element.
But if what you’re getting is not just consistent double keypress responses, but rather random multiple responses (so sometimes not just two, but three or more), then I suspect the cause may be a battery problem. Many remotes (and keyboards) I’ve used tend to behave that way when the battery is running low.
@dlanor said:
It should be possible to use SSH and remount the filesystem as read-write through some series of commands, though I never do this myself so I can’t recall the exact procedure (I’m sure others can chime in with the details).
If you have access to a Linux computer (physical or virtual) then the easiest way to do it is to insert the RasPlex SD card in a card reader for that system and use an editor of that computer to edit the file which you’ll then find in the second partition of that card. I use VMware for this myself, using its feature to connect removable devices of the host system (Windows 7 in my case) to the virtual guest OS (Ubuntu 14.04 in my case).
But if what you’re getting is not just consistent double keypress responses, but rather random multiple responses (so sometimes not just two, but three or more), then I suspect the cause may be a battery problem.
Thanks for the response, this is not random. I get double key presses every time from both a real xbox 360 white MCE remote AND from a harmony configured as the same
I liked your suggestion, I don’t use Linux and have gone down an awesome journey of ExtFS for windows (great tool) and I also just installed Ubuntu (in virtual box) for the first time in ~7 years - wow its changed but in both cases seems that the /etc folder and all of its contents are NOT on the ExtFS partion (unless I am being super dumb?) I assume the kernel.img / system file / and ovberlay files in the root partition are the actual boot files / partition, but I have no idea how to edit those?
I also found the mount -o command, but couldn’t make the / file system rw (seems to be something called loop) which I think might be SquashFS but I am not sure and I can’t figure out how to edit - the only way seemed to be some very complicated debug mounting involving a USB drive?
Ok, I found out what the issue is, I did this by using squashfs tools (link below) on windows to recreate the SYSTEM drive multiple times and editing the two /etc/lircd.conf.* files to find out what the issue is
When having BOTH the ‘Vista_MCE’ and the ‘XBOX 360 remote’ defined in /etc/lirc/lircd.conf.rpi it causes issues with the official white xbox 360 multimedia remote.
Removing just the ‘Vista_MCE’ section fixes the double presses. Removing just the ‘XBOX 360 remote’ section breaks the controller (registers no inputs at all).
Any ideas, I would prefer this is fixed in the builds else I will end up having to make my only SYSTEM partition every time the builds update that partition
Alex
SquashFS tools for windows:
Download @ http://domoticx.com/?p=2454
Scrolll down to the end of the page!
Filename: squashfs_tools-4.3-i686-windows-cygwin_(lzma+lzma2+lzo+lz4).7z
I setup 0.7.0 and a remotepi board. Everything worked except that the xbox (white) MCE media remote is doing double presses most of the time. I also notice that in /etc/lirc/lircd.conf.xbox file the supress repeats is commented out (unlike all the other remotes in /ext/lirc/lircd.conf.rpi
I couldn’t edit the xbox file to see if uncommented the supress repeats would work as the files ystem is readon only.
What’s the right way for me to test to see if it the xbox definition causing the issue or something else?
Alex
This is a known issue with Harmony remotes for any media player, not just Rasplex, Google is your friend, would appear that solution is to change the key repeat rate in the MyHarmony software.
This has nothing to do with Harmony. It happens with real xbox remote. Please see the posts before the one above, thanks! Bottom line this is a bug of some sort wrt the xbox remotes. Specifically this one http://support.xbox.com/en-US/xbox-360/accessories/universal-media-remote. This is why I didn’t mention harmony in this thread.
@scyto said:
This has nothing to do with Harmony. It happens with real xbox remote. Please see the posts before the one above, thanks! Bottom line this is a bug of some sort wrt the xbox remotes. Specifically this one Xbox Support. This is why I didn’t mention harmony in this thread.
Yes you did, on 10 August ‘AND from a harmony configured as the same’
@NedtheNerd:
The point isn’t what he mentioned in passing as tested or not, but what he needs help with using, and as stated in some of his posts that is the original XBOX remote. That the Harmony remote exhibited the same problem when programmed to emulate that XBOX remote is just an odd tribute to the precision of that emulation (perfect emulation should emulate even the negative aspects of the emulated target).
Possibly your suggested solution to change the remote key repeat rate could work even for the XBOX remote, but the big question then is how/if that rate can be adjusted. I have no idea myself since I’ve never had an XBOX (more of a Playstation user ), but hopefully you or some other user here is better informed on how/if the XBOX remote can be configured.
Alternatively there might be some way to edit the lircd entries for the XBOX remote, so as to make it work better, but this too is an area where my own experience is lacking (ie: completely absent…).
@NedtheNerd said:
Thank you dlanor for your input.
I have one of these remotes and a number of RemotePi Boards and am working on a solution at the moment, patience is required.
That great, thanks. I don’t think anyone is impatient here - just tryin to understand how to help provide information. As FYI my working theory is that this remove sends both the dedicated xbox command AND the MCE command simultaneously in some way. This is because the xbox can be configure to respond to just one or both. However I have failed to validate this, so may be a poor working theory
Oh and changing the remote rate and suppress was the first thing I tried, I couldn’t find a combination that solved - though didn’t try every combination.
when you say config folder do you mean /etc/lirc on the read-only file system or \rasplex\Configfiles or somewhere else?
does this override the default lircd.conf files? (i.e. next time a release is updated the presence of the this file override what’s in /etc/lirc/lircd.conf.pi default image?
I ask because I already have a working /etc/lirc/lircd.conf.pi - what I need to be sure is when that gets overwritten at the next system update that I have a way not to edit that file (i.e I can override it by placing a file in a user writeable area that doesn’t get updated or the build has a permanent change to fix)
If you SSH in to your RPi and enter the command ‘ls -al’ you will see there are a number of hidden folders, one is .config, which is where you need to place the file.
Placing the file there overrides any other lircd file, when you update all you need to do is copy the file back to this same location.
It would have been helpful if you had posted back that you had found a solution. Can you please mark this topic as answered, thanks.
Thanks, I was clear in my post of Aug 9th I had found a fix when editing the /etc/lirc.lircd.conf.pi . What I needed was a way to make that fix permanent outside of my hack of /etc/lirc/lircd.conf.pi - which you provided, thanks ton!