Current workable temporary solution for f710 gamepad to work with f1_tenth system docker image (foxy-based) on jetpack 6.2 (orin nano) #21
mingguangZhou
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Referred to this solution: jetsonhacks/logitech-f710-module#7
Here are the complete steps at least work for now:
Outside the container in the local terminal:
--prepare xpad driver:
$ sudo apt update
$ sudo apt install -y dkms
$ sudo git clone https://github.com/paroj/xpad.git /usr/src/xpad-0.4
$ sudo dkms install -m xpad -v 0.4
$ sudo evtest /dev/input/event1
--setup the udev rule:
$ sudo vi /etc/udev/rules.d/99-joypad-f710.rules
add in the doc: KERNEL=="event[0-9]*", ACTION=="add", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c21f", SYMLINK+="input/joypad-f710"
After get into the docker image, commands in docker before source and start launch of bringup:
$ apt update
$ wget http://ports.ubuntu.com/pool/main/libf/libffi/libffi8_3.4.2-4_arm64.deb
$ dpkg -i libffi8_3.4.2-4_arm64.deb
$ ls -l /usr/lib/aarch64-linux-gnu/libffi.so*
expected:
libffi.so.7 -> libffi.so.7.1.0
libffi.so.7.1.0
libffi.so.8 -> libffi.so.8.1.0 ✅ (Correct)
libffi.so.8.1.0
After this the f710 pad should work with the launch. Hope it helps before the new image comes out. Cheers!
All reactions