I recently discovered i could setup my new hisense tv to send its remote button presses to RasPlex through CEC (HDMI).
Most of the buttons seem to work except the Back and Exit buttons (nothing happens when pressed), and this makes it impossible to actually navigate. So i got to use my keyboard to exit any sub directory (library, channel, movie, etc).
From what i understand. You will need to turn debug mode to check if the keys are recognized by the system, if they are recognized you can map them to the function you want by editing one of the remote.xml keymaps and placing it at ./userdata/keymaps/
If your key isnt recognized and you get an XBMCK_UNKNOWN error you are probably out of luck until you mod and compile your own build. Im currently stuck in the later one
The Back and Exit buttons aren’t even being detected. Only a few buttons are being detected.
I guess this means i have to try another option. I think i will map the rewind button as my back/PrevMenu button.
That post you directed me to mentions to put the keymap.xml in /storage/.plexht/userdata/keymaps/ directory.
But i cant find the directory on the SD card on my computer. How do i access it?
Its on the ext4 partition of the SD so you wont be able to access it directly from windows if you insert it on your PC. You can access it remotely through SFTP, SSH or SMB share. Also files and archives starting with a dot are invisible on Linux. To see hidden files on ssh do a “ls -a”
OK, i can view the directory’s over ssh and on Linux using a live CD i created a while back.
However, when i try to copy the file to the keymaps directory i get an access denied error, even on Linux by dragging and dropping.
I guess you are trying this through ssh or sftp. You need to place it inside ~/.plexht/userdata/keymaps/ Anything outside the user folder it’s on a squashfs read only filesystem
Yes, i am trying to place the file into the correct location.
I have tried using scp in cmd on windows to copy the file. When asked for a password, i use the same one i use to connect through ssh but i get a permission denied error.
I tried Fedora 13 (Linux) to copy the file. Same problem.
Thought maybe Fedora 13 couldn’t do it because it was to old, so i downloaded and booted the newest version. Same problem.
Thats because everything itś owned by root, check the owner. You need super user privileges if you are going to mount it on your pc or do it remotely through sftp or scp but your user its also wrong
Also I can suggest you mobaXterm to work on the rasplex remotely from windows. It will make your life easier as it includes ssh and sftp and a code editor on the same window. Great little tool
Ah ok. I thought root was part of the ssh connect command or something lol.
That was the reason for denied access when using scp.
This works for me:
scp Desktop/keymap.xml root@myrasplexip:.plexht/userdata/keymaps
However, the button i mapped as the Back/PrevMenu button doesn’t behave any differently.
I tried adding a universalremote section to see if it helps, but it did not.
Also tried naming the .xml file to remote.xml instead of keymap.xml but it did not fix it.
This is my .xml code
If you want to share a xml file just zip it before uploading
well Im out of ideas, that should work. The only thing i can think of its listing it also as a keyboard and using also the id=48 of rewind but it should already work