Joystick and Intel Edison

The Ubilinux doesn’t have the joydev module. I don’t know why. Correspondingly, we can’t start the xboxdrv program. There are two ways to fix this problem. The first one: you have to download the following kernels-headers for Yocto:

and then compile by yourself with the command:

The second way: use the file compiled by myself.
Further in any case you should copy the file to the Edison’s system folder:

Now enter:

If you get the error message like this:
[124585.799513] joydev: version magic ‘3.10.17-poky-edison SMP preempt mod_unload ATOM ‘ should be ‘3.10.17-yocto-standard-r2 SMP preempt mod_unload ATOM ‘
Error: could not insert module /lib/modules/3.10.17-yocto-standard-r2/kernel/drivers/joydev.ko: Invalid module format
then you need to edit file

and insert the right kernel name “3.10.17-poky-edison”. After this run the command:

To make sure:

If it is OK, then add to aoutorun:

add “joydev”.

After the rebooting:

For check of joystick work I’d recommend to install xboxdrv:

If you want to test your gamepad with the ROS do next:

I’ve tried the wireless X-BOX 360 gamepad with the receiver successfully.
Also Sony DualShock4 works well, but in this case you have to config your Edison’s bluetooth adapter like this:

A noname joystick from aliexpress didn’t work. So I’d recommended to use a branded gamepads.

If you like the post you can donate:
BTC: 17h8xfX11tZWZ5fbDR58MCVhCrAjjL31w7
LTC: LTJj6LS3n8fndcoeysDVMDzH1u9Amg581C
DGE: D7XqBhykUDmb7JLMVkT3QLd7yAJ241zyGM
ETH: 0xc189c61c20960cbcb57cd040c67f421180966967
ZEC: t1VnhNCzArY8yS8U37jshYYkcMmRJYh2FAE

3 thoughts on “Joystick and Intel Edison”

  1. Pingback: tube
  2. Pingback: tadalafil 20 mg

Leave a Reply