jetsonhacks / logitech-f710-module

Support for Logitech F710 game controller on Jetson Xavier
MIT License
12 stars 8 forks source link

[Resolved] Jetpack 6 with Logitech F710 - Solution post #7

Open Genozen opened 4 months ago

Genozen commented 4 months ago

From #6 , there's a bunch of instructions that requires tinkering to kernels.

However, I actually found that for my Jetson Nano Orin, the F710 Logitech controller is listed as dev/input/event1 and not what everyone was saying about the js0.

Solution:

sudo dkms remove xpad/0.4 --all
sudo dkms install -m xpad -v 0.4

sudo dmesg | grep xpad
[  272.580367] usbcore: registered new interface driver xpad
[  415.401556] usbcore: deregistering interface driver xpad
[  428.802933] usbcore: registered new interface driver xpad

sudo evtest /dev/input/event1

then observe the joystick inputs (you'll have to be in Xinput mode)

nlitz88 commented 1 month ago

Just wanted to say this worked perfectly for me! Absolute lifesaver!

However, I wanted to note one difference that I ran into: Once I installed xpad, it seems that every time I plug in my Logitech receiver, js0 gets created every time at /dev/input/js0 (without creating a udev rule that maps its corresponding event).

I see in the usage section that it creates that js0 file descriptor--is this not the case for you when you use xpad?

I'm assuming I may have missed a step along the way, did this rather quickly.