Installing stk1160 module into Jetson Nano developer kit Image

I have an analog camera that I want to use with the jetson Nano via an EasyCam USB dongle. I have connected this usb device into my linux under ubuntu 22.04 using linux kernel 5.15 and I can see a video* device, which I can then read properly. When I use the Jetson Nano with the image from Nvidia (linux kernel 4.9.337-tegra) I can detect the usb device using lmesg:
[ 328.908631] usb 1-2.4: USB disconnect, device number 5
[ 330.159262] usb 1-2.4: new high-speed USB device number 6 using tegra-xusb
[ 330.180605] usb 1-2.4: config 1 interface 0 altsetting 0 endpoint 0x81 has invalid wMaxPacketSize 0
[ 330.191364] usb 1-2.4: New USB device found, idVendor=05e1, idProduct=0408
[ 330.191396] usb 1-2.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 330.191421] usb 1-2.4: Product: USB 2.0 Video Capture Controller
[ 330.191443] usb 1-2.4: Manufacturer: Syntek Semiconductor
But I cannot find any video* device. It seems to me that the module for the easy cam usb is missing from the installed kernel in the jetsonNano (from : Stk1160 based USB 2.0 video and audio capture devices - LinuxTVWiki; “from version 3.2+ the linux kernel includes the stk1160 module”, which does not seem to be the case).
In the Jetson Nano; I have checked in /lib/modules/4.9.337-tegra/kernel/drivers/media/usb and the module stk1160 is missing as expected. I have tried to install it but this requires re-compiling the linux kernel that comes inside nvidia’s developer image. Is there a solution to this or at least a workaround?
Thanks

Hello @infol7p51,

If you had the module already compiled as a .ko
And you can ensure that it was compiled against the same kernel version
You should be able to drop it in the modules directory, and load it with insmod
However, if you don’t have a .ko at hand, you would still need to compile either the kernel or the modules, not to mention that you would also need to make sure that your DTB has a module for the device.

Just out of curiosity, may I ask why is it that you would rather not compile the kernel ?

regards,
Andrew
support@proventusnova.com

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.