Xbox 360 linux steam

Arch Linux

Hi everyone,
I have recently re-installed archlinux. In my previous installation controllers worked perfectly with steam, while unfortunately in this new installation steam is not detecting my xbox 360 wired controller. In big picture mode under controller settings it says: no controller detected.

What i have tried:
1. Installing jstest-gtk from AUR -> It correctly sees the controller
2. Checking permissions in /dev/input/event* -> the device is correctly created and with the right permissions (read for everyone) when i plug the joypad
3. USB Legacy support enabled disabled in bios -> both have the same effect (i have to keep it disabled for a bug with android debug bridge).
3. Alternatives to xpad:
— steamos-xpad: same behavior working in jstest-gtk not in steam.
— xboxdrv: working in jstest-gtk, in steam big picture mode two xbox 360 controllers shows up and inputs from my controller are detected by steam. Anyway some games doesen’t detect the controller (not working: Grid autosport, Mercenary kings. working: Hands of fate).

In my previous installation Grid autosport and steam worked out of the box with the xpad module.

PS: I am using steam-native with package steam-native-runtime installed (as in my previous installation).

I have no idea how to investigate further

Last edited by wellsaid (2018-03-19 13:14:42)

#2 2018-03-19 23:41:22

Re: Xbox 360 wired controller not working for steam

I noticed a similar problem recently. My controller didn’t work in both Steam and the game «Guacamelee», while I remember that things were fine in the past. The controller also worked correctly in jstest for me, just didn’t work in Big Picture and didn’t work in games.

For me, ‘xboxdrv’ solved the problem. For that «two controller» problem you mention, I solved that by blacklisting xpad in /etc/modprobe.d/. The file I created looks like this:

$ cat /etc/modprobe.d/blacklist-xpad.conf blacklist xpad

And my xboxdrv config looks like this:

## This config is for the device "Thrustmaster GPX Gamepad" [xboxdrv] silent = true # next-controller = true # detach-kernel-driver = true # evdev = /dev/input/by-id/usb-Thrustmaster_GPX_Gamepad_0000380D-event-joystick # evdev = /dev/input/event18 evdev-grab = true mimic-xpad = true # trigger-as-button = true deadzone-trigger = 0 deadzone = 4000 [calibration] x1=-32767:0:32767 y1=-32767:-2750:32767 x2=-32767:-500:32767 y2=-32767:425:32767 [evdev-absmap] ABS_X = X1 ABS_Y = Y1 ABS_RX = X2 ABS_RY = Y2 ABS_HAT0X = DPAD_X ABS_HAT0Y = DPAD_Y ABS_Z = LT ABS_RZ = RT [evdev-keymap] BTN_THUMBL = TL BTN_THUMBR = TR BTN_SOUTH = A BTN_EAST = B BTN_NORTH = X BTN_WEST = Y BTN_START = Start BTN_SELECT = Back BTN_MODE = Guide BTN_TL = LB BTN_TR = RB [xboxdrv-daemon] dbus = disabled

This is the file «/etc/default/xboxdrv». It’s used by the «xboxdrv» systemd service that comes with the xboxdrv package.

I used this setup in the games «Guacamelee» and «Hollow Knight» and it worked there. I don’t have the games you mentioned so I can’t test them.

About problems with this setup, it doesn’t always detect the controller when I plug it in. When that happens, I have to restart the xboxdrv service.

If you want to try this config file, you might want to cut out some of the stuff. The calibration section has to go as it’s only really there because the sticks weren’t fully centered as the controller is pretty old.

Читайте также:  Драйверы для atheros linux

About the button layout section in the config file, this is for a (perhaps crappy) xbox 360 controller alternative, not for an original Microsoft controller. I had to fix the button layout as it things were mapped to wrong button events by default. What’s strange about that is that I remember that things were fine in the past with the xpad driver in the kernel. It looked exactly like a xbox 360 controller when that worked, button layout was the same.

Last edited by Ropid (2018-03-19 23:44:23)

Источник

Xbox 360 linux steam

11 авг. 2015 в 17:22

I’ve been attempting to use an Xbox 360 controller on Steam for Linux. It works on all my emulators and other native games outside of Steam, but the mapping is incorrect for every game on Steam. For some reason, it does not recognize the Xbox button in the middle, the Select button, or the Start button. Instead the right trigger is mapped as Start. It’s all messed up. I wanted to adjust the mapping, but have found NO settings for doing this.
I’ve used jstest-gtk and all the buttons work and are mapped correctly, but this does not transfer to Steam. Does anyone know how to solve this? (Sadly, the forums’ search function turns up a lot of problems with specific games and NOT the platform itself. and SUPPORT was useless.)

11 авг. 2015 в 17:49

It works out of the box on Linux Mint/Ubuntu, with the default kernel driver (xpad). If you are using xboxdrv this is mostly likely the cause of your issues.

On Big Picture Mode there’s an option to manually setup your controller, under settings > controller.

11 авг. 2015 в 21:29

I second that, only experienced this with xboxdrv and mostly in SDL games. The BPM solution produces some weird behavior, ghost button presses and it recognizing pressing one button as pressing 2-3 buttons, so it’s not an ideal solution. To be honest, xpad being currently broken, there really is no ideal solution apart from playing with kb+m or dual booting.

12 авг. 2015 в 8:34

I second that, only experienced this with xboxdrv and mostly in SDL games. The BPM solution produces some weird behavior, ghost button presses and it recognizing pressing one button as pressing 2-3 buttons, so it’s not an ideal solution. To be honest, xpad being currently broken, there really is no ideal solution apart from playing with kb+m or dual booting.

It’s strange to me because I haven’t had any issues using Xbox controllers before. However, on this newer computer the mapping is all screwed up (even though it’s fine in any non-Steam game)! I’m guessing some sort of update to Steam messed it up. I just want it fixed. Right now, I can only play the games that have their own mapping settings. (Sadly, a lot of games are as lacking in mapping settings as Steam is.)

12 авг. 2015 в 8:51

It works out of the box on Linux Mint/Ubuntu, with the default kernel driver (xpad). If you are using xboxdrv this is mostly likely the cause of your issues.

Читайте также:  Linux open named pipe

On Big Picture Mode there’s an option to manually setup your controller, under settings > controller.

You’re right. I used xboxdrv. How do I fix this to get back to the default kernel driver? (kinda new to Linux) As for BPM, the only option I find under ‘Controller’ is the option to activate a Steam controller.

12 авг. 2015 в 12:21

It works out of the box on Linux Mint/Ubuntu, with the default kernel driver (xpad). If you are using xboxdrv this is mostly likely the cause of your issues.

On Big Picture Mode there’s an option to manually setup your controller, under settings > controller.

You’re right. I used xboxdrv. How do I fix this to get back to the default kernel driver? (kinda new to Linux) As for BPM, the only option I find under ‘Controller’ is the option to activate a Steam controller.
That’s depend on how you installed the driver, if you added a PPA, just purge the PPA and reboot the computer. And if you blacklisted the xpad driver you have to undo that.

It seems that there’s no longer an option to manually setup the controller on Big Picture Mode, Valve changed something in the updates. But like i said, mine is working out of the box with the xpad driver. I use Linux Mint 17.2.

Источник

Xbox 360 linux steam

11 апр. 2020 в 7:59

My controller xbox 360 with steam linux
Hi
i did update Steam, my computer is Linux opensuse, game:drying light, my controller works with Linux under xboxdrv, steam is detected my controller, big picture is works with my controller, but not works with game drying light.. .

But works with keyboard.. But why.. is Not works with my controller.

I don’t find.. Solution.. How. Language game is Italian.. Please help me..

11 апр. 2020 в 11:36

12 апр. 2020 в 9:10

Try toggling «xbox configuration support» on and off on controller page of steam settings. sometimes switching their inner handling of controllers off lets the games deal directly with it better than with Steam in the middle (as long as the game does support controllers itself)

If that isn’t enough and you really want to take time to fix this, I can think of a couple things you could also try (nothing sure-fire though):

— install the «steam-devices» package (this is how it is called on Ubuntu and derivates, not sure if it exists and under which name on OpenSUSE)

— replace xboxdrv with SC Controller (works better for some people, not for everyone

12 апр. 2020 в 12:51

Источник

Xbox 360 linux steam

6 мая. 2013 в 13:28

I have been trying to use a consistent method to have a USB Wired Xbox360 controller working with Steam Games in Wine.And the only method that worked for me is the following. I’m not talking about Keyboard-Mouse remapping of course.

===================================================================
1)downloaded xbox360cemu.v.3.0
link to google code is gone so you can still find it using your favorite search engine.

2)Then copy at the root of the folder where the executable reside ,in the steam folder the following files:

Читайте также:  Moving file command in linux

ex: /home/rcmn/PlayOnLinux’s virtual drives/AssassinsCreed/drive_c/Program Files (x86)/Steam/SteamApps/common/Assassins Creed

4) connect the USB Wired Xbox360 controller

5) run in a terminal:
sudo xboxdrv —silent —detach-kernel-driver —trigger-as-button —ui-axismap x2=ABS_Z,y2=ABS_RZ —ui-buttonmap A=BTN_B,B=BTN_X,X=BTN_A,TR=BTN_THUMBL,TL=BTN_MODE,GUIDE=BTN_THUMBR

===================================================================
Worked with :
— Assassins Creed (Steam version) (need to be activated in the option menu)
— Dishonored (Steam version)
— deus ex — human revolution (Steam Version)
-The Witcher2
-Tomb Raider (2013)

Did not work with:
— Rayman Origins (Steam version). I tried many options but I can’t get to work ,even when I push the reset function in the options menu. It does not remap to the gamepad like it should.If anyone Has any suggestions I’ll be happy to hear them.
===================================================================

6 мая. 2013 в 13:56

That’s a really good news,for all new games and some of the older games that will be able to function with the 1.6 version .

6 мая. 2013 в 14:23

6 мая. 2013 в 14:35

We are talking about Wine(http://www.winehq.org/about/) + steam games. So it’s not so much about Steam linux abilty to handle the Xbox360 than for Wine to recognize the gamepad.

7 сен. 2013 в 16:06

30 янв. 2014 в 1:34

24 фев. 2014 в 5:02

Thanks mate, I am now playing Skyrim with wired 360 controller on Ubuntu thanks to you! This info should be made more publically known, since this seems like a good way to get that controller support working in a lot of Wine games.

I don’t fully understand the magic behind this, but it works.

Please note, the link in first post doesn’t work, but you can find it easily with an internet search.

24 фев. 2014 в 6:05

You can use Steam Big Picture instead of xboxdrv to map your generic controller into a XBOX controller. It works perfectly for Linux, it may work for windows too, give it a try it’s very simple:

24 фев. 2014 в 8:17

Thanks mate, I am now playing Skyrim with wired 360 controller on Ubuntu thanks to you! This info should be made more publically known, since this seems like a good way to get that controller support working in a lot of Wine games.

I don’t fully understand the magic behind this, but it works.

Please note, the link in first post doesn’t work, but you can find it easily with an internet search.

Hey Vimes,
Thank you for mentionnning the broken link. This project use to be hosted on Google Code. But it seems like it’s been discontinued and used(maybe forked?) by https://code.google.com/p/x360ce/.Anyway Greenbikerdude was mentionnning above «It should be mentioned that they want to include xbox gamepad support for wine 1.6 afaik».
I haven’t been playing under wine lately(only native games) so I’m not sure if wine 1.6+ kept it’s promises.
I beleive ubuntu is using wine 1.4 still. So for those who would like to try they could try to add a PPA like this
https://www.winehq.org/download/ubuntu

or install playonlinux http://www.playonlinux.com/en/ (before installing read about it).

You can use Steam Big Picture instead of xboxdrv to map your generic controller into a XBOX controller. It works perfectly for Linux, it may work for windows too, give it a try it’s very simple:

Источник

Оцените статью
Adblock
detector