Lakka sh: /storage/.config/autostart.sh: line 2: can’t crea To check, look at the status of the autostart.sh: If you use the above methods, you might see autostart.sh possibly encountering errors. However, disable “ertm” ( enhanced retransmission mode) as folks have mentioned and everything works magically:Įcho 1 > /sys/module/bluetooth/parameters/disable_ertm # info C8:3F:26:5D:C5:51 Device C8:3F:26:5D:C5:51 Connected: noĪttempting to connect to C8:3F:26:5D:C5:51įailed to connect: Device C8:3F:26:5D:C5:51 ServicesResolved: no Device C8:3F:26:5D:C5:51 ServicesResolved: yes Then, here’s is what happens if you try to connect (it fails): # info C8:3F:26:5D:C5:51 Then, follow the commands to start bluetoothctl and enable pairing and discovery as documented:
Retropie xbox one bluetooth drivers#
Hi, just so people can see step by step, first ensure you have a bluetooth xbox controller and get a bluetooth wireless adapter (if needed) that is supported by Linux drivers e.g. Is there any reason a Lakka box might actually need bluetooth ERTM? If not, perhaps this, along with a working config file for xbox one bt controllers, could be put in a future version of Lakka? Place the service file in /storage/.config/system.d and place the script in /storage/.config and chmod +x the script or otherwise make it executable (as with any script, have a look at it first to make sure it isn’t doing anything it shouldn’t be). As a fix to this, knowing that on all but a select few systems Lakka uses systemd, I made a systemd unit that calls a script to disable ertm: Now for an issue I had: autostart.sh is apparently no longer called by default in Lakka - at least it wasn’t on my Lakka installation (on an odroid xu4). You’ll need to tell WinSCP to show hidden files and folders in order to see it, or just manually navigate to it (it’s there, it just isn’t visible). I’m not familiar with WinSCP myself, but I do know that on linux (which is what Lakka runs on), any file or folder starting with a “.” is considered to be a “hidden” file/folder.