Package Details: xboxdrv 0.8.8-2

Git Clone URL: https://aur.archlinux.org/xboxdrv.git (read-only)
Package Base: xboxdrv
Description: Userspace gamepad driver for Linux
Upstream URL: http://pingus.seul.org/~grumbel/xboxdrv
Licenses: GPL3
Submitter: None
Maintainer: anthraxx
Last Packager: anthraxx
Votes: 204
Popularity: 6.976035
First Submitted: 2009-11-17 12:07
Last Updated: 2016-06-01 10:55

Required by (1)

  • atari800 (requires xboxdrv) (optional)

Sources (3)

Latest Comments

ttherouanne commented on 2016-06-26 19:52

Hi Anthraxx,

Sorry, I don't really know what are these flags..
The detach option is usefull because systemd wait a fork, and the Unit fail
(see the comment of spapanik21)
Thanks for your fix :)

I encountered another problem, with the xboxdrvctl tool.
To get it to work, i have to add the "--dbus system" parameter to xboxdrv and this dbus configuration (should maybe be checked, i don't master the dbus security rules)

[root@RPI2 system.d]# cat /etc/dbus-1/system.d/org.seul.Xboxdrv.conf
<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
<policy context="default">
<allow own="org.seul.Xboxdrv"/>
<allow send_type="method_call"/>
</policy>
</busconfig>

anthraxx commented on 2016-06-01 09:52

Sorry my mailbox filter was going nuts and ate notification mails, the request made me aware ^.^
Will fix the build, it just needs dropping the custom target type for scons, however please don't propose to drop passing the FLAGS, they also include hardening flags which are missing and its working with them.
The detach option can be added to the service file but I'm not sure what you want to fix with that it just detached from the invoking shell.
I'm not a big fan of adding armv7h, for official packages it needs to be dropped anyway and I try to avoid anything that is not valid for being used in an official repository context

Samleybrize commented on 2016-05-21 13:49

Here is an updated version with the modifications of ttherouanne that worked for me:

https://github.com/samleybrize/aur-xboxdrv

agarie commented on 2016-05-16 03:02

I proceeded with the modifications ttherouanne listed below and xboxdrv is working correctly after that.

ttherouanne commented on 2016-05-10 19:49

Hello, it's working for me after few modifications:
- add armv7h in the 'arch' section
- add --detach option in the systemd service
- run scons without options/variables to compile

Could you update the pkgbuild?
Thanks :)

cosarara97 commented on 2016-05-09 22:19

Doesn't build with the new gcc.

spapanik21 commented on 2016-05-04 21:53

The xboxdrv.service dies unexpectedly from time to time:

USERNAME@XXXXXXXX$ sudo systemctl status xboxdrv.service
● xboxdrv.service - Xbox controller driver daemon
Loaded: loaded (/usr/lib/systemd/system/xboxdrv.service; enabled; vendor preset: disabled)
Active: failed (Result: timeout) since Wed 2016-05-04 22:39:37 BST; 4min 7s ago
Docs: man:xboxdrv(1)
Process: 3197 ExecStart=/usr/bin/xboxdrv --daemon --pid-file /var/run/xboxdrv.pid -c /etc/default/xboxdrv --detach-kernel-driver --deadzone 4000 --deadzone-trigger 10% (code=exited, status=0/SUCCESS)

May 04 22:38:07 XXXXXXXX xboxdrv[3197]: xboxdrv 0.8.8 - http://pingus.seul.org/~grumbel/xboxdrv/
May 04 22:38:07 XXXXXXXX xboxdrv[3197]: Copyright © 2008-2011 Ingo Ruhnke <grumbel@gmail.com>
May 04 22:38:07 XXXXXXXX xboxdrv[3197]: Licensed under GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
May 04 22:38:07 XXXXXXXX xboxdrv[3197]: This program comes with ABSOLUTELY NO WARRANTY.
May 04 22:38:07 XXXXXXXX xboxdrv[3197]: This is free software, and you are welcome to redistribute it under certain
May 04 22:38:07 XXXXXXXX xboxdrv[3197]: conditions; see the file COPYING for details.
May 04 22:39:37 XXXXXXXX systemd[1]: xboxdrv.service: Start operation timed out. Terminating.
May 04 22:39:37 XXXXXXXX systemd[1]: Failed to start Xbox controller driver daemon.
May 04 22:39:37 XXXXXXXX systemd[1]: xboxdrv.service: Unit entered failed state.
May 04 22:39:37 XXXXXXXX systemd[1]: xboxdrv.service: Failed with result 'timeout'.

The workaround I am using is to run
sudo xboxdrv --detach-kernel-driver &
whenever I want to play a game.

anthraxx commented on 2015-12-01 20:40

@UglyBob: please report those issues to the upstream github issue tracker with all your details provided. This are upstream issues that we don't really can fix. https://github.com/xboxdrv/xboxdrv

UglyBob commented on 2015-11-30 20:11

I have a strange issue with this driver using a wireless MS dongle and 4 wireless xbox 360 controllers. The player leds get lit up in the order I start them (1, 2, 3, 4), but when using them in retroarch (with udev driver), the device indexes are all wrong like this:

Led 1: device 3
Led 2: device 0
Led 3: device 1
Led 4: device 2

Every time... I'm thinking somewhere there is a subtraction by one that shouldn't be there. The indexes was probably 0-3 without it and with it the first one wraps to 3, the rest 0, 1, 2. I don't know, but only way it makes sense...

UglyBob commented on 2015-11-20 18:56

I'm using this driver with retroarch and it works perfectly. I would also like to use it in Kodi, but it doesn't seem to work. Kodi detects them though it seems:

18:37:14 T:140013475649600 NOTICE: Enabled Joystick: Xbox Gamepad (userspace driver) #2
18:37:14 T:140013475649600 NOTICE: Details: Total Axis: 6 Total Hats: 1 Total Buttons: 11
18:37:14 T:140013475649600 NOTICE: Enabled Joystick: Xbox Gamepad (userspace driver)
18:37:14 T:140013475649600 NOTICE: Details: Total Axis: 6 Total Hats: 1 Total Buttons: 11

But nothing happens if I press anything...

All comments