PS3 controller under Ubuntu 2x.04

Last Updated on 9 February 2024 by Suffocation

The article discusses the specifics of integrating PS3 controllers. The general installation, configuration, and troubleshooting of a Bluetooth controller under Ubuntu can be found at the following link.

Bluetooth Gamepad on Ubuntu 22.04

Facts

Benötigte Hardware

  • Bluetooth Game Controller
  • USB cable to connect the controller to the computer
  • (Optional) USB Bluetooth Adapter

Benötigte Software

  • Ubuntu (20.04 / 22.04)
  • BlueZ
  • jstest-gtk

Areas of application

  • Remote control
  • RC control
  • Joystick für Spiele

Installation

Gnome starten und die Bluetooth Konfiguration öffnen. Dies kann über das Icon rechts oben auf dem Desktop geschehen. (oder über die Einstellungen)

Bluetooth Einstellungen öffnen

Nach dem Öffnen den Controller mit dem USB Kabel am Computer anschliessen.

Bluetooth Einstellungen mit Geräteliste

All 4 LEDs on the controller flash initially, and then only the middle two remain lit. In the meantime, a pop-up window appears asking for permission to connect the controller.

Bestätigungsdialog für den Aufbau einer Bluetooth Verbindung zum Controller

Den Dialog mit „Allow “ bestätigen und schon taucht der Controller in der Auswahlliste der BlueTooth Geräte auf.

Bluetooth Einstellungen mit Geräteliste und dem neu eingetragenen PS3 Controller.

Zuerst ist der status „Nicht Verbunden“. Wird der Controller vom USB Kabel getrennt und der PS3 Knopf gedrückt, blinken die LEDs kurz auf und danach leuchtet eine der vier LED’s permanent auf. Gleichzeitig sollte der Status in der BlueTooth Geräteübersicht auf connected wechseln.

Problems

Proxmox

Ich habe den Controller unter proxmox nicht zum laufen gebracht. Das Gerät wird zwar erkannt aber kann nicht verbunden werden, weil die USB „Aktivierung“ nicht funktioniert.

Hierfür habe ich bis jetzt noch keine Lösung.

Conclusion

Wird der Bluetooth Adapter in Gnome erkannt ist die Einbindung einfacher als in Windows. Anstecken, bestätigen, abziehen schon läuft er. Wird der Adapter nicht richtig erkannt, ist der Weg steiniger. Wie bei vielen Dingen unter Linux oder generell bei der Installation ist es wichtig die richtigen Quellen zu finden. Viele sind veraltet oder helfen nicht weil das Setup oder die Linuxversion nicht stimmt. So habe ich ein paar Tage gerbraucht und bin dennoch mit Proxmox gescheitert.

Verwandte Beiträge

Sources

https://wiki.ubuntuusers.de/Archiv/PS3_Controller/

https://askubuntu.com/questions/409761/how-do-i-use-a-playstation-3-sixaxis-controller-with-ubuntu-to-control-games

https://www.reddit.com/r/linuxquestions/comments/10o6352/connecting_ps3_controllers_to_ubuntu/

NimBLE-Arduino

NimBLE-Arduino New User Guide

NimBLE-Arduino API

https://github.com/lemmingDev/ESP32-BLE-Gamepad

https://en.wikipedia.org/wiki/List_of_Bluetooth_profiles

https://en.wikipedia.org/wiki/USB_human_interface_device_class

https://www.usb.org/sites/default/files/documents/hid1_11.pdf

https://praxistipps.chip.de/ps3-controller-mit-pc-verbinden-so-gehts_13631

https://retropie.org.uk/forum/topic/2913/guide-use-qtsixa-on-ubuntu-16-04-and-derivatives

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=4a1a4d8b87389e35c3af04c0d0a95f6a0391b964

https://needforbits.wordpress.com/2017/05/10/dualshock-3-controller-ps3-sixaxis-gamepad-on-ubuntu-16-04/

https://www.pabr.org/sixlinux/sixlinux.en.html

DateChangeAuthor
04.01.2024Post createdSuffocation

Leave a Reply

Your email address will not be published. Required fields are marked *