How do I configure a joystick in Ubuntu 16.04?
Andrew Henderson
I have a joystick(img) with device id
0079-0006-DragonRise Inc. Generic USB Joystick
I would like use it in my Ubuntu 16.04 system. So I tried to install joystick and jscalbrator to confiure the device.
Following commands where used:
sudo apt install joystickTried to test it with
jstest-gtkOutput :
The program 'jstest-gtk' is currently not installed. You can install it by typing:sudo apt install jstest-gtkI tried to install it.
Then
sudo apt-get install jscalibratorI tried antimicro,but got the error : E: Unable to locate package antimicro And
sudo apt-get install xboxdrvCompleted
sudo xboxdrv –detach-kernel-driverError : -- [ ERROR ] ------------------------------------------------------ No Xbox or Xbox360 controller found
Later used lsusb to find my device and got Bus 002 Device 009: ID 0079:0006 DragonRise Inc. PC TWIN SHOCK Gamepadlsusb -vd 0079:0006Output:
Then
xboxdrv --debug --device-by-id 0079:0006 --type xbox360 --detach-kernel-driverjscal -c /dev/input/js0Output:
I dont know what else to do.
PS:Hope I provided all the necessary information regarding my problem.
1 Answer
The following worked for me :
modprobe -r xpad
modprobe xpad