RetroPie and Kodi mouse/keyboard/usb storage compatibility issues
-
Hello,
So I followed this guide to install RetroPie and Kodi on my Raspbian, and it works fine. Just a few problems though:
-
on RetroPie, the 360 controller works nicely, but I also configured the keyboard as a controller and now I don't know how to undo it, and when I try to play Doom, for instance, the key bidings remain those I have chosen as if it were a contoller. I can't navigate normally as in any FPS game. Also, the mouse doesnt work at all.
-
again a mouse problem, on Kodi this time. It works ok, but every time I click, the cursor gets shifted in the upper end corner, and thus doesnt click where I want to. For info, I use a Logitech G602 mouse. Also, I use a Logitech K400r keyboard with a integrated touchpad, which works fine, but the click buttons don't seem to work when Kodi is launched from Raspbian desktop (works ok when launched from terminal, not tested when launched from RetroPie).
-
I read on forementionned guide that Kodi doesnt support external usb storage when launched from the terminal, and that can be fixed through drivers. Which drivers and how can I set them up?
Note that I havent had time nor have I time right now to test more extensively thee issues, but I'd like to know if they are common things easily fixed.
Lastly, I use the script from the guide to add a menu to chose between desktop, emulation station or kodi. It works fine, but is there any way to make a script that could launch RetroPie from the desktop, by shutting X down, and starting it again once RetroPie is closed? If possible, I'd like that, so that I don't have to go through the terminal on startup, but this is a rather minor convenience issue.
Thanks for your help!
-
-
Since I have no issues with my keyboards/mouse/joysticks in both Kodi and RetroPie, at least nothing than can't be fixed by following the RetroPie wiki, I can only respond to your third question.
Kodi do support mounting and automounting USB storage devices via udisks if launched with the command "kodi-standalone". But you need to configure a polkit rule to give permission for udisks to do that. I created a file, /etc/polkit-1/localauthority/50-local.d/automount.pkla with this content:
[Allow Mount and Automount] Identity=unix-group:plugdev Action=org.freedesktop.udisks* ResultAny=yes ResultInactive=yes ResultActive=yes
Your user, normally "pi", must be in the group "plugdev", I do not remember if RetroPie has this set by default. This works for me. I don't use the USB automount feature from RetroPie and have disabled it. I use udevil instead, it also uses udisks.
WARNING: This can be a security issue since everybody can plug and mount an USB storage device in the RPi. -
@rascas I’m having difficulty with an external HDD dock, and would like to try your method above, but I’m not sure how best to proceed. Could you please guide me through what you did? Here is the thread with my problem.
https://retropie.org.uk/forum/topic/23683/hard-drive-dock-not-accessible/30
-
@pen2paper Please don't bump old topics.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.