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: 211
Popularity: 5.419674
First Submitted: 2009-11-17 12:07
Last Updated: 2016-06-01 10:55

Latest Comments

anthraxx commented on 2016-12-24 13:54

@erikzenker: sounds more like an issue with some configon your side also having --param=ssp-buffer-size=4 sounds like an very ancient makepkg.conf that you have not properly updated.
Please try in a clean chroot f.e. via extra-x86_64-build from devtools package

erikzenker commented on 2016-12-24 13:26

I get the following error:

scons: Building targets ...
g++ -o src/main/main.o -c -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -isystem/usr/include/libusb-1.0 -g -O3 -Wall -ansi -pedantic -DPACKAGE_VERSION='"0.8.8"' -Isrc src/main/main.cpp
g++ -o src/arg_parser.o -c -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -isystem/usr/include/libusb-1.0 -g -O3 -Wall -ansi -pedantic -DPACKAGE_VERSION='"0.8.8"' -Isrc src/arg_parser.cpp
g++ -o src/axis_event.o -c -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -isystem/usr/include/libusb-1.0 -g -O3 -Wall -ansi -pedantic -DPACKAGE_VERSION='"0.8.8"' -Isrc src/axis_event.cpp
g++ -o src/axis_filter.o -c -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -isystem/usr/include/libusb-1.0 -g -O3 -Wall -ansi -pedantic -DPACKAGE_VERSION='"0.8.8"' -Isrc src/axis_filter.cpp
g++ -o src/axis_map.o -c -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -isystem/usr/include/libusb-1.0 -g -O3 -Wall -ansi -pedantic -DPACKAGE_VERSION='"0.8.8"' -Isrc src/axis_map.cpp
In file included from src/axis_event.cpp:28:0:
src/uinput.hpp:22:18: fatal error: glib.h: No such file or directory
#include <glib.h>
^
compilation terminated.

Is there some dependency missing?

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

All comments