alliedvision / linux_nvidia_jetson

Allied Vision CSI-2 camera driver for NVIDIA Jetson Systems.
105 stars 41 forks source link

Port /dev/ttyTHS1 has been disappeared after driver installation #72

Open rancyberbee opened 2 weeks ago

rancyberbee commented 2 weeks ago

Hi,

I am working with a Jetson Orin NX running Ubuntu 22.04, L4T 35.4.1, and JetPack 5.1.2, along with an Allied Vision 1800 C-240 MIPI Camera.

I followed the instructions from https://github.com/alliedvision/linux_nvidia_jetson/tree/l4t-35.4.1 and successfully installed the relevant drivers. While the camera works fine, I’ve encountered an issue: my serial port that I used to communicate with another hardware, which used to appear as /dev/ttyTHS1, has disappeared following the driver installation.

I checked my dtb file and confirmed that the serial UART that corresponds to /dev/ttyTHS1 is enabled:

from the dts file with been extract from kernel_tegra234-p3767-0000-p3768-0000-a0.dtb:

serial@3110000 { compatible = "nvidia,tegra194-hsuart"; iommus = <0x06 0x04>; dma-coherent; reg = <0x00 0x3110000 0x00 0x10000>; reg-shift = <0x02>; interrupts = <0x00 0x71 0x04>; nvidia,memory-clients = <0x0e>; dmas = <0x3f 0x09 0x3f 0x09>; dma-names = "rx\0tx"; clocks = <0x02 0x9c 0x02 0x66>; clock-names = "serial\0parent"; resets = <0x02 0x65>; reset-names = "serial"; status = "okay"; phandle = <0x2ff>; };

Could you guide me on how to resolve this issue and re-enable the serial port? This is crucial for the progress of our project.

Thanks, Ran