[SOLVED] XBox 360 controller partly recognized ?

Questions about hardware,drivers and peripherals
Forum rules
Before you post please read how to get help
Post Reply
benoitsmith
Level 1
Level 1
Posts: 10
Joined: Sun Oct 06, 2013 2:37 pm

[SOLVED] XBox 360 controller partly recognized ?

Post by benoitsmith » Sun Mar 04, 2018 11:55 am

Greetings,

As a Linux Mint 17.3 user, I followed some forum posts to make a XBox 360 controller work with xboxdrv. The thing is, I got a proper wired XBox 360 controller (the Microsoft one, not by a third party) after meddling with the software, so I'm not sure if I did the right things. Problems showed when I started playing games:

a) Steam detects the controller, but in the game, I couldn't use the right-hand pad vertically.

b) In some non-Steam game supposed to support XBox 360 controllers, the controller didn't work at all.

c) I wondered if that could be a calibration problem, so I launched jstest-gtk, once with Steam on, once with Steam off:
- With Steam on, the tool lists four XBox 360 wireless controllers that don't exist, and four XBox 360 wired controllers;
- With Steam off, it only lists the wireless one.

d) When I launch "sudo xboxdrv", I got this output:

Code: Select all

xboxdrv 0.8.5 - 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:          003:008
Controller Type:   Xbox360

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

Code: Select all

sudo rmmod xpad
rmmod: ERROR: Module xpad is not currently loaded

Code: Select all

sudo xboxdrv -detach-kernel-driver

-- [ ERROR ] ------------------------------------------------------
invalid option -- e
Rather that just ask for help to get that work, I would like to ask some questions:

a) Was I right to use xboxdrv instead of the xpad module ?

b) Would it be best to reset the configuration to the state it was in the beginning ? If so, how to do that ?

Any hint would be appreciated. Thanks in advance!

Best regards
Last edited by benoitsmith on Sun Mar 04, 2018 1:53 pm, edited 1 time in total.

User avatar
ClixTrix
Level 5
Level 5
Posts: 699
Joined: Wed Dec 09, 2015 11:40 am
Location: Columbus, Ohio, USA

Re: XBox 360 controller partly recognized ?

Post by ClixTrix » Sun Mar 04, 2018 12:06 pm

benoitsmith wrote:
Sun Mar 04, 2018 11:55 am

Code: Select all

sudo xboxdrv -detach-kernel-driver

-- [ ERROR ] ------------------------------------------------------
invalid option -- e
The command is missing a "-" and that appears to have cause the error. It should be....

Code: Select all

sudo xboxdrv --detach-kernel-driver
Edit: Thread at Ubuntu that might help.

https://ubuntuforums.org/showthread.php?t=2123662
Linux Mint 18.3 x64 Cinnamon Kernel 4.15.0-23-generic
Gigabyte GA-AB350M-D3H (F20) / Ryzen 5 1600 / Micron Ballistix Sport DDR4 2400 2x8GB / XFX HD5450-1GB
NVMe-SSD Samsung EVO 960 250GB / SATA-HDD WD1600BEKT 160GB / SATA-SSD Toshiba OCZ VX500 512GB

benoitsmith
Level 1
Level 1
Posts: 10
Joined: Sun Oct 06, 2013 2:37 pm

Re: XBox 360 controller partly recognized ?

Post by benoitsmith » Sun Mar 04, 2018 12:46 pm

Thanks for the info. "sudo xboxdrv --detach-kernel-driver" (with the double '-') gives the same output as "sudo xboxdrv" ("Error couldn't claim the USB interface", etc...). I'll check the Ubuntu thread.

benoitsmith
Level 1
Level 1
Posts: 10
Joined: Sun Oct 06, 2013 2:37 pm

Re: XBox 360 controller partly recognized ?

Post by benoitsmith » Sun Mar 04, 2018 1:53 pm

Well, after reading the thread, I got even more convinced I shouldn't have meddled with xboxdrv before knowing more of what I was doing. So I uninstalled xboxdrv in order to restart from fresh - and the xpad module flawlessly did the trick!

Thanks for your help!

User avatar
ClixTrix
Level 5
Level 5
Posts: 699
Joined: Wed Dec 09, 2015 11:40 am
Location: Columbus, Ohio, USA

Re: [SOLVED] XBox 360 controller partly recognized ?

Post by ClixTrix » Sun Mar 04, 2018 2:04 pm

Look before you leap is always good advise on the road to success. Glad you're working and have a good one.
Linux Mint 18.3 x64 Cinnamon Kernel 4.15.0-23-generic
Gigabyte GA-AB350M-D3H (F20) / Ryzen 5 1600 / Micron Ballistix Sport DDR4 2400 2x8GB / XFX HD5450-1GB
NVMe-SSD Samsung EVO 960 250GB / SATA-HDD WD1600BEKT 160GB / SATA-SSD Toshiba OCZ VX500 512GB

Post Reply

Return to “Hardware Support”