Gaming Xubuntu and PS3 Controller

  • Thread starter Thread starter Touko White
  • Start date Start date
  • Views Views 2,117
  • Replies Replies 12

Touko White

(not)Banned
Member
Joined
Jan 12, 2016
Messages
687
Reaction score
1,488
Trophies
0
XP
771
Country
United Kingdom
Xubuntu 16.04 is proving to be a fucking problem.

I mainly installed it because I couldn't run PS3 controller on a Mac at all, among a few other reasons why I did so, my last controller broke the R1 button and could not use.

I tried to use higan and QtSixA. The controller is on and working, but it doesn't seem to detect fuck all, just sits there with the P1 light mocking your face while you can't play anything. Tried using my main (ZSNES) in Wine, that also accounted to fuck all, because the controller was still deciding to mock me.

Any suggestions? I haven't played anything emulation-wise since I came back from holiday, I'm absolutely NOT switching to Windows and I want to play some SNES titles, without using a shitty Mac keyboard. And don't tell me to buy another keyboard.

Thanks.
 
Make sure you have xboxdrv installed, then post the output and relevant lines from dmesg.
 
I didn't even know that existed, anyway from that description it's not for PS3...

--------------------- MERGED ---------------------------

I just installed XBOXDRV anyway.
Then I noticed Input is Off for PS3 controller in QtSixA. Turned that on.

Nothing, still.
Don't know where the logs are. I don't really understand Linux at all.
 
Just got this when launch 'xboxdrv'
USBController::USBController(): libusb_open() failed: LIBUSB_ERROR_ACCESS

I don't know what this means but it is recognising the controller correctly via USB
 
Just got this when launch 'xboxdrv'
USBController::USBController(): libusb_open() failed: LIBUSB_ERROR_ACCESS

I don't know what this means but it is recognising the controller correctly via USB
Open a terminal, type "sudo dmesg | grep sony" then "sudo xboxdrv --detach-kernel-driver"
You should see output in terminal when you press a button on the controller.
 
Last edited by 0x40,
The first part worked okay.
Now it tells me that detach-kernel-driver is a unrecognised option.

Probably something wrong with me, being an idiot...
 
The first part worked okay.
Now it tells me that detach-kernel-driver is a unrecognised option.

Probably something wrong with me, being an idiot...
Strange. It works for me with xboxdrv version 0.8.8. Try with just -d instead of --detach-kernel-driver.
 
Got it right. Turned out I didn't write Detach properly.
Says now:

Error couldn't claim the USB interface: LIBUSB_ERROR_NOT_FOUND
Try to run 'rmmod xpad' and then xboxdrv again or start xboxdrv with the option --detach-kernel-driver.

I did use sudo.
I tried to run xpad, then rmmod xpad and then got nothing but the Terminal went blank (stopped allowing me to use commands) and then came up something a bit like a sticky note or such.
 
Got it right. Turned out I didn't write Detach properly.
Says now:

Error couldn't claim the USB interface: LIBUSB_ERROR_NOT_FOUND
Try to run 'rmmod xpad' and then xboxdrv again or start xboxdrv with the option --detach-kernel-driver.

I did use sudo.
I tried to run xpad, then rmmod xpad and then got nothing but the Terminal went blank (stopped allowing me to use commands) and then came up something a bit like a sticky note or such.
That means some other program is using the USB interface. Run "sudo lsmod | grep usb" and copy paste the output here.
 
btusb 45056 0
btrtl 16384 1 btusb
btbcm 16384 1 btusb
btintel 16384 1 btusb
bluetooth 520192 42 bnep,hidp,btbcm,btrtl,btusb,rfcomm,btintel
usbhid 49152 0
hid 118784 5 hidp,hid_sony,hid_generic,usbhid,hid_apple

I'm using a MacBook Air...
Probably the cause is that...

Edit 3: Just rebooted and disconnected everything. Nothing SHOULD be using the device, although it has two other entries in there, don't understand everything. Probably the Mac's problem. changed usb slot, same problem.

might have to give up at this point
 
Last edited by Touko White,
cammy@cammy-MacBookAir:~$ sudo xboxdrv --detach-kernel-driver
xboxdrv 0.8.5 - http://pingus.seul.org/~grumbel/xboxdrv/
Copyright © 2008-2011 Ingo Ruhnke <[email protected]>
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: PLAYSTATION(R)3 Controller
Vendor/Product: 054c:0268
USB Path: 001:008
Controller Type: Playstation 3 USB

Your Xbox/Xbox360 controller should now be available as:
/dev/input/js1
/dev/input/event7

After a while of discussion on the Xubuntu facebook group I ended up with this result.
Also the PS3 controller is recognised as a separate keyboard in the battery system, which is good. :)

Will be to trying with the ZSNES later :)
I'll make a test video if I can.
 

Site & Scene News

Popular threads in this forum