jetsonhacks / logitech-f710-module

Support for Logitech F710 game controller on Jetson Xavier
MIT License
12 stars 8 forks source link
logitech-f710-game-controller nvidia-jetson-agx-xavier nvidia-jetson-xavier-nx

logitech-f710-module

Support for Logitech F710 game controller on NVIDIA Jetson Developer Kits.

Installs hid-logitech module with F710 game controller enabled. The module uses the local name (e.g. 4.9.253-tegra) which is the default image local name.

The repository also provides an outline script to generate the module from the kernel sources.

install-module

To install the provided hid-logitech.ko module:

$ ./install-module.sh

After installation, cold boot the machine.

build-module

This is the outline script to build the Logitech kernel module. The script expects kernel sources to be in /usr/src

# For Kernel 5.X (Ubuntu 20+) you need to install libssl-dev
sudo apt install libssl-dev
./build-module.sh

This script is provided as an example on how to turn on the LOGITECH_FF module on and build the module.

After the build, the module will be in the source tree. For example, if the $KERNEL_RELEASE is kernel-4.9 : /usr/src/kernel/kernel-4.9/drivers/hid/hid-logitech.ko

Testing

After installation, to test:

$ sudo apt-get install jstest-gtk
# By default, the logitech F710 is on /dev/input/js0
# for example:
$ jstest /dev/input/js0

Notes

You will need to download the BSP source and expand it properly if you are going to build the module from source. There are convenience scripts in this account to help with that, depending on which Jetson you are using.

Release v1.5

Release v1.4

Release v1.3

Release v1.2

Release v1.1.1

Release v1.1

Release v1.0