Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] installation issue for 5.15.122-tegra (Ubuntu 22.04) #6

Open
InguChoi opened this issue Feb 1, 2024 · 16 comments
Open

[BUG] installation issue for 5.15.122-tegra (Ubuntu 22.04) #6

InguChoi opened this issue Feb 1, 2024 · 16 comments
Labels
bug Something isn't working

Comments

@InguChoi
Copy link

InguChoi commented Feb 1, 2024

Describe the issue
Please describe the issue
I just download the package and install it on the jetson orin board.
The jetson orin board uses the jetpack version of 6.0-b52 and kernel version of 5.15.122-tegra.

The error message is below

Installing on root device: /dev/nvme0n1p1
Installing from: bin/l4t-36-2-0
./install-module.sh: line 27: cd: bin/l4t-36-2-0: No such file or directory
modinfo: ERROR: Module hid-logitech.ko not found.
The Kernel version does not match the Module Version
Kernel Version: 5.15.122-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

What version of L4T/JetPack
L4T/JetPack version: 6.0-b52

Which Jetson
Jetson: Orin

To Reproduce
Steps to reproduce the behavior:
For example, what command line did you run?
./install-module.sh

Expected behavior
A clear and concise description of what you expected to happen.

Additional context
Add any other context about the problem here.

@InguChoi InguChoi added the bug Something isn't working label Feb 1, 2024
@AZSupra
Copy link

AZSupra commented Feb 2, 2024

A new folder needs to be created under /bin called l4t-36-2-0 and a hid-logitech.ko file needs to be placed in that folder. I'm currently trying to determine if we can use the same file that is in the other l4t folders or if we need to extract the kernel module from the 5.15 kernel that Jetpack 6.0 is using.

@AZSupra
Copy link

AZSupra commented Feb 2, 2024

Looking further and downloading the driver package source from https://developer.nvidia.com/downloads/embedded/l4t/r36_release_v2.0/sources/public_sources.tbz2 and referencing this https://www.kernelconfig.io/config_hid_logitech it looks like the driver might now be
public_sources.tbz2/Linux_for_Tegra/source/kernel_src.tbz2/kernel/kernel-jammy-src/drivers/hid/hid-lg-g15.c

@balen-muon
Copy link

@AZSupra Hi, sorry this might be a bit of stupid question but how do I actually use the zipped folder you have linked? I am very new to Linux in general and have been asked to work on a robot with a Jetson Orin NX at work. I need to us the Logitech F710 controller but can't get it to work.

The jetson is running Ubuntu 22.04. When running uname -a I get the following information:

Linux muon-jetson 5.15.122-tegra #1 SMP PREEMPT Mon Dec 18 21:24:25 PST 2023 aarch64 aarch64 aarch64 GNU/Linux

Some guidance on how I can make this controller work would be very much appreciated.

Thanks in advance.
Regard,
Balen.

@AZSupra
Copy link

AZSupra commented Mar 6, 2024

Hi @balen-muon, you can use the following command to extract the archived files:
tar -xf public_sources.tbz2

@balen-muon
Copy link

balen-muon commented Mar 7, 2024

@AZSupra thank you for the reply. Sorry I should've been clearer in my question. I have unzipped the folder, however, I get an error when trying to follow the steps in the README file. I get the following error:

muon@muon-jetson:~/logitech-f710-module$ ./install-module.sh 
Installing on root device: /dev/nvme0n1p1
Installing from: bin/l4t-36-2-0
./install-module.sh: line 27: cd: bin/l4t-36-2-0: No such file or directory
modinfo: ERROR: Module hid-logitech.ko not found.
The Kernel version does not match the Module Version
Kernel Version:  5.15.122-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
[sudo] password for muon: 
cp: cannot stat 'hid-logitech.ko': No such file or directory
Installed hid-logitech Module

it seems to be the same error the OP had but I am not sure how they fixed or if they have even fixed. Do you know if I need to create folder and file you mentioned in your original reply to the OP? I haven't done that yet because I am a total noob to Linux and don't want to break anything lol.

Thanks.

@AZSupra
Copy link

AZSupra commented Mar 8, 2024

Unfortunately I ran into an issue when I attempted this last month and need to revisit it. I'll let you know if I make anymore progress.

@d4n13lx13
Copy link

I have a similar issue as well, on Orin NX with Ubuntu 20.04. Thanks

@JuanCarlos-TiqueRangel
Copy link

Does anyone know how to fix this issue ? I have the same problem in a Jetson Orin nano with ubuntu 22.04

@InguChoi
Copy link
Author

InguChoi commented May 9, 2024

I have another solution that is using a communication conversion device called arduino with USB Host Shield.

https://www.cytron.io/tutorial/interfacing-logitech-wireless-gamepad-f710-using-arduino

You can see the suceess of communication between F710 and arduino uno.

I tried to connect the normal arduino uno and the F710, but I could not connect them.
Maybe you should use Maker UNO provided by the link.

@AZSupra
Copy link

AZSupra commented May 10, 2024

@InguChoi Along those lines, I just saw this on Hackaday: https://github.com/ricardoquesada/bluepad32

@sardanian
Copy link

I also cannot see the Logitech f710 in /dev/input

it shows up as js0 in my other jetson systems but not the most recent jet pack 6

was anyone else able to get it to work?

@PatRocks99
Copy link

@sardanian I was able to find the device using udev rule bellow by specifying the vendor and product id and leaving of the port. With that being said I do not see anything on the /joy node. I have the joy node installed with apt-get instead of having the joy package in the work space. Has anyone else ran into this issue?
ACTION=="add", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c219", SYMLINK+="input/joypad-f710"

@muellerbernd
Copy link

muellerbernd commented Jul 8, 2024

@sardanian I was able to find the device using udev rule bellow by specifying the vendor and product id and leaving of the port. With that being said I do not see anything on the /joy node. I have the joy node installed with apt-get instead of having the joy package in the work space. Has anyone else ran into this issue? ACTION=="add", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c219", SYMLINK+="input/joypad-f710"

We had the same issues on jetson orin AGX. We build a custom kernel with CONFIG_LOGITECH_FF=y enabled and we used the joy_linux package. (tested on ubuntu 22.04 with ros humble)

@JuanCarlos-TiqueRangel
Copy link

@muellerbernd Thanks for your answer. Could you please explain how you build the custom kernel ? Thank you in advance

@muellerbernd
Copy link

@JuanCarlos-TiqueRangel I have summarized my workflow in this repo

@Genozen
Copy link

Genozen commented Aug 1, 2024

For anyone landed at this page, please checkout #7, you don't need to tinker the kernels.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

9 participants