Not proper setup for xboxdrv
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xboxdrv (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
In order to get xboxdrv properly working on Ubuntu 14.04, there are 2 missing setups:
1 - This package should remove xpad. Both should be not installed at the same time, so probably xboxdrv and xpad should be marked as conflict with each other.
2 - xboxdrv can work in 2 modes:
(a) run in userspace: not too user friendly, as the user has to manually add each new controller (running it again);
(b) xboxdrv can run at system start, on systemd. This way it'll run as daemon, always watching for new plugged controllers (preferable).
In order to achieve (b), one startup script will be required. On 14.04 I created /etc/init/
start on filesystem
expect fork
exec xboxdrv --detach-
Of course, my use of fork and & can be wrong, but is the way I found to get the service command working fine.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: xboxdrv 0.8.5-1
ProcVersionSign
Uname: Linux 3.13.0-20-generic x86_64
ApportVersion: 2.14.1-0ubuntu2
Architecture: amd64
CurrentDesktop: Unity
Date: Fri Apr 11 12:40:52 2014
InstallationDate: Installed on 2014-03-28 (13 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140323)
SourcePackage: xboxdrv
UpgradeStatus: No upgrade log present (probably fresh install)
A better script (it'll remove all joysticks before start... maybe this can be done in a better way then remove all js* files):
# xboxdrv.conf kernel- driver --silent --dbus disabled
start on filesystem
pre-start script
# clean up joysticks
rm -f /dev/input/js*
end script
exec xboxdrv -D --detach-