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.

UPDATE: to install ROS joy

Leave a Reply

Specify Facebook App ID and Secret in Super Socializer > Social Login section in admin panel for Facebook Login to work

Specify GooglePlus Client ID and Secret in Super Socializer > Social Login section in admin panel for GooglePlus Login to work

Specify Vkontakte Application ID and Secret Key in Super Socializer > Social Login section in admin panel for Vkontakte Login to work