jetsonhacks / logitech-f710-module

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

[BUG] cannot install the module with the basic command #1

Closed VincentPelletier1 closed 3 years ago

VincentPelletier1 commented 3 years ago

Describe the issue

The issue happens when I run ./install-module.sh. It shows this exact output:

/dev/nvme0n1p1
bin/l4t-32-5-1
./install-module.sh: line 27: cd: bin/l4t-32-5-1: No such file or directory
modinfo: ERROR: Module hid-logitech.ko not found.
The Kernel version does not match the Module Version
Kernel Version:  4.9.201-tegra
Module Version:
Would you still like to install the module? [Y/n] Y
You may have to force the module to be inserted, i.e.
$ sudo modprobe -f hid-logitech
cp: cannot stat 'hid-logitech.ko': No such file or directory
Installed hid-logitech Module

The output is the same with every tag on the repo.

What version of L4T/JetPack

Package: nvidia-jetpack
Version: 4.5-b129
Architecture: arm64
Maintainer: NVIDIA Corporation
Installed-Size: 194
Depends: nvidia-cuda (= 4.5-b129), nvidia-opencv (= 4.5-b129), nvidia-cudnn8 (= 4.5-b129), nvidia-tensorrt (= 4.5-b129), nvidia-visionworks (= 4.5-b129), nvidia-container (= 4.5-b129), nvidia-vpi (= 4.5-b129), nvidia-l4t-jetson-multimedia-api (>> 32.5-0), nvidia-l4t-jetson-multimedia-api (<< 32.6-0)
Homepage: http://developer.nvidia.com/jetson
Priority: standard
Section: metapackages
Filename: pool/main/n/nvidia-jetpack/nvidia-jetpack_4.5-b129_arm64.deb
Size: 29360
SHA256: 002646e6d81d13526ade23d7c45180014f3cd9e9f5fb0f8896b77dff85d6b9fe
SHA1: cb17547b902b2793e0df86d561809ecdbf7e401f
MD5sum: 06962c42e462f643455d6194d1a2d641
Description: NVIDIA Jetpack Meta Package
Description-md5: ad1462289bdbc54909ae109d1d32c0a8

Which Jetson

Jetson: Xavier NX

To Reproduce

Steps to reproduce the behavior: ./install-module.sh

jetsonhacks commented 3 years ago

A version for the new JetPack 4.5.1 has just been released. Please try it again.

VincentPelletier1 commented 3 years ago

I've pulled the master branch and have been able to run the install command. However, I still get this issue:

Installed hid-logitech Module
introlab@introlab:~/logitech-f710-module$ ./build-module.sh
./build-module.sh: line 6: cd: /usr/src/kernel/kernel-4.9: No such file or directory
bash: scripts/config: No such file or directory
make: *** No rule to make target 'modules_prepare'.  Stop.
make: *** No rule to make target 'drivers/hid/hid-logitech.ko'.  Stop.
introlab@introlab:~/logitech-f710-module$

Note: I've also tried the three tags available and only the l4t-32-5-1 worked on the installation, but not on the build (which makes sense)

jetsonhacks commented 3 years ago

@Plopao It is saying that the kernel source code could not be found. How did you install the kernel source code?

VincentPelletier1 commented 3 years ago

I followed the steps to boot linux on micro SD given on the nvidia website. Then I followed this tutorial to boot from the NVMe SSD I installed on the jetson. That is all I did kernel related before installing the repo on ~/.

jetsonhacks commented 3 years ago

From the README: build-module

This is the outline script to build the Logitech kernel module. The script expects kernel sources to be in /usr/src $ ./build-module.sh This script is provided as an example on how to turn on the LOGITECH_FF module on and build the module.

VincentPelletier1 commented 3 years ago

So if my kernel sources aren't in this specific repo, is there a way for me to get these modules?

jetsonhacks commented 3 years ago

You can download them from the NVIDIA Jetson Download center if you do not want to use the convenience scripts in the Jetsonhacks Github repository.

VincentPelletier1 commented 3 years ago

Alright! I'll try the option. Thanks a lot!

jetsonhacks commented 3 years ago

There has been no activity on this lately. Closing. Please open another issue if you encounter problems.