Can not run jstest on Xavier

I am using Logitech Gamepad F710 with Xavier. However, jstest does not work. When I pressed the buttons, jstest did not show any changes. How can I fix this? Here is my system config

L4T 32.2.1 [ JetPack 4.2.2 ]
Ubuntu 18.04.2 LTS
Kernel Version: 4.9.140-tegra
CUDA 10.0.326

Hi AutoCar,

Please refer to below topic:

@kayccc I look through that topic, but not exactly sure what needs to be done. Could you please let me know?

Hi,
You need to rebuild kernel with the config enabled:

Please check Kernel Customization in developer guide

should I set CONFIG_LOGITECH_FF=y or CONFIG_LOGITECH_FF=m?

After I build the kernel by running

make Image
make modules

I find the Image is at

my_build_location/arch/arm64/boot/Image

Is this Image the correct one to copy to /boot? Why it is arm64?

I am following the instruction here to build the kernel:

https://docs.nvidia.com/jetson/l4t/index.html#page/Tegra%20Linux%20Driver%20Package%20Development%20Guide/kernel_custom.html

However, I do not know how where I can change the CONFIG_LOGITECH_FF in the instruction above.

Could you help?

should I set CONFIG_LOGITECH_FF=y or CONFIG_LOGITECH_FF=m?

Maybe you should firstly understand what is the difference between m and y in kernel config. This answer could be easily found over the internet. Then you decide which one do you need.

However, I do not know how where I can change the CONFIG_LOGITECH_FF in the instruction above.

Please search “tegra_defconfig” in the kernel source.

Is this Image the correct one to copy to /boot? Why it is arm64?

Because this binary is going to run on Jetson which is a ARM64 device.