There are problems when using the industrial camera on TX2 NX

Hi,when I use camera on TX2 NX,first link camera is ok.But if I broke link and link again,there is a greater chance of not being able to connect.
Industrial camera‘s brand is Daheng

What do you mean “But if I broke link and link again”? Disconnect the camera at running time?

Close the connection normally, and then connect the camera again

Do you mean HW connection?

What do you mean"HW"?

software or hardware connection?

Daheng camera connect with TX2 NX via USB interface,and use software to connection

Please share your detail step to check if can reproduce the problem.


When I first OpenDevice it will ok.But after CloseDevice and OpenDevice again, it will fail


If reconnect successful will show blue part
If connect failed will show yellow part and when reconnect successful will show blue part.

Did you try this on any others platform like x86 system?
What the APP? Is it specific APP for this cam only?

windows is ok.
this camera use on Xavier nx is also ok

This is Daheng Linux camera GUI.
when I directly use its camera’s API,also happen this error

Can you share the full dmesg as a text file when error happens?

mydmesg.txt (61.0 KB)

Is this the error you said?

[ 333.569989] usb 2-2: USB disconnect, device number 2
[ 336.973495] usb 2-2: new SuperSpeed USB device number 3 using tegra-xusb
[ 336.994923] usb 2-2: New USB device found, idVendor=2ba2, idProduct=4d55
[ 336.994930] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=10
[ 336.994934] usb 2-2: Product: ME2P-2621-15U3M
[ 336.994938] usb 2-2: Manufacturer: Daheng Imaging
[ 336.994941] usb 2-2: SerialNumber: GCD21040440
[ 350.862089] usb 2-2: reset SuperSpeed USB device number 3 using tegra-xusb
[ 358.637835] usb 2-2: USB disconnect, device number 3
[ 358.641337] usb usb2: usb_suspend_both: status 0
[ 359.501746] usb 2-2: new SuperSpeed USB device number 4 using tegra-xusb
[ 359.523659] usb 2-2: New USB device found, idVendor=2ba2, idProduct=4d55
[ 359.523692] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=10
[ 359.523711] usb 2-2: Product: ME2P-2621-15U3M
[ 359.523725] usb 2-2: Manufacturer: Daheng Imaging
[ 359.523738] usb 2-2: SerialNumber: GCD21040440
[ 466.201215] usb 1-3.4: new high-speed USB device number 7 using tegra-xusb

yes

Is this disconnection triggered by you or it just happened without expectation?

me.This is to test the stability of repeated connections

Then I don’t see any error here… This is just hotplug usb device log. Even hotplug a usb mouse will show that.

Thanks,I will send it to Daheng,They said they did not adapt Tx2 Nx and will test it