Hello ~
I need help ..
My laptop is macbook white old model, and install ubuntu 16.04 for lps
cfclient, firmware upload, installing ros is passed..ok.
but. cannot install xbox 360 gamepad usb driver.
I followed these link.
https://launchpad.net/~rael-gc/+archive ... tu-xboxdrv
http://askubuntu.com/questions/828768/u ... s-joystick
and type these commands.
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
sudo apt-add-repository -y ppa:rael-gc/ubuntu-xboxdrv
sudo apt-get update
sudo apt-get install ubuntu-xboxdrv
but lsusb list does not included xbox 360, it just Microsoft corp
as shown in attached image
what should I do. ?
is there any different driver for ubuntu 16.04
or do I have to set another laptop up for crazyflie lps?
thanks
Xbox 360 usb driver
Re: Xbox 360 usb driver
you do not need a specific driver in Linux for the xbox-360 gamepad (this is the good thing with linux, driver eventually gets merged in the linux source code and so peripheral are supported out of the box eventually .
If you want to test that the gamepad working, you can use jstest-gtk to test the gamepad axis and buttons:
If you want to test that the gamepad working, you can use jstest-gtk to test the gamepad axis and buttons:
Code: Select all
sudo apt-get install jstest-gtk
jstest-gtk
Re: Xbox 360 usb driver
Thank you for introducing JStest GTK tool.
but my macbook with ubuntu cannot recognize XBOX 360 automatically.
and, I fomated my macbook and reinstall ubuntu 16.04 again cuz I want to feel clean..
jstest shows two joystick preference. 1 is appmc, and 2 is MS X BOX one not 360.
I Attatched screenshot which shows my status.
do I have to install x box 360 driver myself?
but my macbook with ubuntu cannot recognize XBOX 360 automatically.
and, I fomated my macbook and reinstall ubuntu 16.04 again cuz I want to feel clean..
jstest shows two joystick preference. 1 is appmc, and 2 is MS X BOX one not 360.
I Attatched screenshot which shows my status.
do I have to install x box 360 driver myself?
Re: Xbox 360 usb driver
I have Ubuntu 16.04 and an official Xbox360 gamepad and it works out of the box, so no need of extra drivers.
From the look of your screenshot it looks like you actually have an xbox one gamepad.
If you have problems using it with ROS it might be that your mac has another joystick (certainly the accelerometer for the harddrive exposed as a joystick, this happens with some PC too). So you need to use /dev/input/js1 instead of /dev/input/js0. See this answer: viewtopic.php?f=6&t=2212&p=11173&hilit= ... +js#p11260. You can add "joy_dev:=/dev/input/js1" to the launchfile command-line.
From the look of your screenshot it looks like you actually have an xbox one gamepad.
If you have problems using it with ROS it might be that your mac has another joystick (certainly the accelerometer for the harddrive exposed as a joystick, this happens with some PC too). So you need to use /dev/input/js1 instead of /dev/input/js0. See this answer: viewtopic.php?f=6&t=2212&p=11173&hilit= ... +js#p11260. You can add "joy_dev:=/dev/input/js1" to the launchfile command-line.