gelöst [Ubuntu] XBOX 360 Controller

Joined
Apr 9, 2008
Messages
14,539
Points
0
Guten Tag. Mit dem HumbleBundle wollte ich die Spiele mit Gamepad unter Ubuntu 11.10 spielen. Natürlich mit meinem 360 Gamepad. Allerdings stellt sich die Verwendung enorm schwierig heraus. Ich habe mich jetzt mal über den "xboxdrv" Treiber belesen, komme damit aber kaum zurecht. Diverse Installationsvorgägen schlugen fehl.

Wenn ich im Terminal versuche xboxdrv zu starten, kommt folgende Fehlermeldung:

xboxdrv
xboxdrv 0.8.2 - http://pingus.seul.org/~grumbel/xboxdrv/
Copyright © 2008-2011 Ingo Ruhnke <grumbel@gmx.de>
Licensed under GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it under certain
conditions; see the file COPYING for details.

Controller: Microsoft Xbox 360 Controller
Vendor/Product: 045e:028e
USB Path: 006:003
Controller Type: Xbox360
libusb couldn't open USB device /dev/bus/usb/006/003: Permission denied.
libusb requires write access to USB device nodes.

-- [ ERROR ] ------------------------------------------------------
USBController::USBController(): libusb_open() failed: LIBUSB_ERROR_ACCESS

Hat hier jemand das gleiche Pad für ubuntu? Wie habt ihr das zum Laufen bekommen?

Ich glaub ich brauch Hilfe :troll: Am besten wäre ne Idiotenanleitung :)
 
Ich hab das gleiche Pad und Ubuntu, hab das allerdings noch nicht ausprobiert. Hab nur schon gelesen das es bei einigen Leuten Probleme gibt obwohl das Ding bei nem neueren Kernel (welche Ubuntu Version nutzt du?) eigentlich über xpad direkt erkannt werden sollte.
So wie das von der Fehlermeldung klingt wird ja der Controller von LibUSB nicht erkannt bzw irgendwas läuft bei der Erkennung scheif. Ist das ganze mit root Rechten?

Was sagt denn das Terminal wenn du "ls usb" eingibts, mit und ohne den angeschlossenen Controller? Bzw Reciever, ich nehme mal an du das kabellose Exemplar?
 
Last edited:
Ok. Hier einmal lsusb ohne Controller:

lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 04f2:b157 Chicony Electronics Co., Ltd
Bus 007 Device 002: ID 046d:c049 Logitech, Inc. G5 Laser Mouse

und einmal mit:

lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 04f2:b157 Chicony Electronics Co., Ltd
Bus 007 Device 002: ID 046d:c049 Logitech, Inc. G5 Laser Mouse
Bus 006 Device 002: ID 045e:028e Microsoft Corp. Xbox360 Controller

Controller scheint wohl erkannt zu werden...
 
Mh. Also erkannt wird er ja. Ich kanns jetzt blöderweise nicht testen da ich erst im neuen Jahr wieder an meinem Rechner bin...
Hast du das "joystick" (ich glaube es heißt so) Package installiert? Da sind lauter so Tools für Joysticks drin, auch zum konfigurieren. Erkennen die das Pad? Das xboxdrv ist über sudo gestartet?

Sonst fällt mir jetzt weiter auch nichts ein außer Links über ne Google Suche, aber dafür brauchst du mich ja nicht ;)

Im Zweifelsfall würde ich mal bei Ubuntuusers.de im Forum nachfragen. Die sind nett kompetent und meist auch recht schnell mit ihren Antworten.
 
Gut. Danke erstmal ich schau mal weiter. Wenn ich was finde, schreib ichs hier!
 
Update: Ich habs gelöst!

Es gibt schon nen vorinstallierten XBOX Controller Treiber, der allerdings nur für die alten Controller ist. Den muss man vorher entfernen, dann arbeitet der neue Treiber einwandfrei:top

$ sudo rmmod xpad

Danach xboxdrv starten und alles läuft toppi!
 
Ah okay. Danke. Ich ging irgendwie davon aus xpad könnte mit den 360 Controller umgehen.
 
Back
Top Bottom