Gamepad/Joystick Drivers for TX2 & Xavier

Problem
I previously used a Logitech Gamepad F710 to great success on both the TX2 (most recently with Jetpack 3.3) and (formerly) TX1.

Since upgrading to Jetpack 4.2, this no longer works. I have confirmed the controller works on a number of other desktop systems running Ubuntu 18.04. I have also tried on a Xavier and noticed the same problematic behavior. This leads me to believe the Jetpack 4.2 ships without a driver Jetpack 3.3 included.

Behavior
When plugged in, the device shows up in lsusb, produces reasonable dmesg output, and is created at /dev/input/js0. (So far so good…)

When I test the device output with:

jstest /dev/input/js0

I get the following static output:

Axes:  0:-32767  1:-32767  2:-32767  3:-32767  4:     0  5:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:off  8:off  9:off 10:off 11:off

Additionally, after I close and reopen jstest a few times, it will eventually get into a state where it immediately segfault and requires a hard TX2 reboot to get output again.

My Investigation
Checking with lsusb -l, I see the device is properly using usbhid as its driver. I am a bit at a loss why this isn’t working.

Reading into some other Wikis, it appears some Logitech gamepads may want the adi kernel mod. Was this included in previous version of L4T and removed in the most recent version? If so how can I add it back?

Thanks in advance for all the help!

Quick update: Build adi kernel mod and modprobed it. Still does not work.

Any thoughts on what could have changed between from 3.3 to 4.2?

Please refer to
[url]https://devtalk.nvidia.com/default/topic/1042633/jetson-agx-xavier/no-data-being-updated-from-joystick-in-o-p-of-sudo-jstest-dev-input-js0-solved-/post/5289799/#5289799[/url]

I am trying to use a Logitech Gamepad F710 on a jetson TX2 on xinput mode. I did follow the link above. However my problem is slightly different than the problem posted in that link.

The joystick isn’t recognized on startup. After I change the toggle from xinput to direct input on the joystick, the /dev/input/js0 file is created. If i change it back to xinput, the js0 file disappears.

The joystick works fine in direct input mode. Again, it is recognized only after I start up the jetson and toggle the button on the joystick to x and back to d.

On checking the /proc/config.gz file, CONFIG_LOGITECH_FF is set to y.

I require my joystick to work on xinput mode and has to be recognized on startup itself without me having to toggle it back to x and d again.

Would following the steps in the above link solve my problem as well? I would greatly appreciate any help on this.

Thank you!