orin NX上 GmbH DFM 37UR0234-ML usb3.0的相机 断电启动被识别为FX3 micro-controller (DFU mode)
GmbH DFM 37UR0234-ML recognize as FX3 micro-controller (DFU mode) on orin nx
现象:
USB3.0的相机 接在 核心板 原生usb端口, 断电启动, 相机无法识别,
识别成: Bus 001 Device 004: ID 04b4:00f3 Cypress Semiconductor Corp. FX3 micro-controller (DFU mode)
如果重新插拔一下,可以识别成:Bus 002 Device 003: ID 199e:949e The Imaging Source Europe GmbH DFM 37UR0234-ML
在不重新插拔的情况下,是否有其他方案让相机断电启动后可以正常工作?
ps: 在x86 pc上尝试过,断电启动可以正常识别出。
USB3.0相机电气参数:
Interface USB 3.1gen1
Supply Voltage 4.75V DC to 5.25V DC
Current Consumption ~270mA @5V DC
已经从论坛查找如下方法,全部无法工作
1) 端口解码:
sudo sh -c “echo -n ‘1-2’ > /sys/bus/usb/drivers/usb/unbind”
sleep 3
sudo sh -c “echo -n ‘1-2’ > /sys/bus/usb/drivers/usb/bind”
2)端口断电
sudo uhubctl -l 2-1 -a off
No compatible devices detected at location 2-1!
Run with -h to get usage info.
3)/boot/extlinux/extlinux.conf 中增加usbcore的延时也无法识别
usbcore.initial_delay=6000
目前判断是orin nx下 启动过程 usb电源存在波动或者 usb枚举时间过短打断了设备启动过程,导致设备进入DFU模式, 必须断电重新初始化才能进入正常工作状态。
相同问题:系统启动后,是否有办法对原生的USB端口进行断电?
#系统版本:
cat /etc/nv_tegra_release
R36 (release), REVISION: 4.7, GCID: 42132812, BOARD: generic, EABI: aarch64, DATE: Thu Sep 18 22:54:44 UTC 2025
KERNEL_VARIANT: oot
TARGET_USERSPACE_LIB_DIR=nvidia
TARGET_USERSPACE_LIB_DIR_PATH=usr/lib/aarch64-linux-gnu/nvidia
#demsg日志:
sudo dmesg |grep usb
[ 0.000000] Kernel command line: root=PARTUUID=414039fd-89a5-4bd3-b4bf-00c703a6cc10 rw rootwait rootfstype=ext4 mminit_loglevel=4 console=ttyTCU0,115200 firmware_class.path=/etc/firmware fbcon=map:0 video=efifb:off console=tty0 usbcore.initial_delay=6000 bl_prof_dataptr=2031616@0x471E10000 bl_prof_ro_ptr=65536@0x471E00000
[ 0.085491] usbcore: registered new interface driver usbfs
[ 0.085503] usbcore: registered new interface driver hub
[ 0.085512] usbcore: registered new device driver usb
[ 0.184562] usbcore: registered new interface driver usb-storage
[ 1.596462] usbcore: registered new interface driver usbhid
[ 1.596469] usbhid: USB HID core driver
[ 1.662425] usbcore: registered new interface driver snd-usb-audio
[ 1.819235] tegra-xusb 3610000.usb: Adding to iommu group 2
[ 1.833558] tegra-xusb 3610000.usb: Firmware timestamp: 2023-02-10 03:48:10 UTC
[ 1.833565] tegra-xusb 3610000.usb: xHCI Host Controller
[ 1.833574] tegra-xusb 3610000.usb: new USB bus registered, assigned bus number 1
[ 1.834296] tegra-xusb 3610000.usb: hcc params 0x0180ff05 hci version 0x120 quirks 0x0000000000010810
[ 1.834315] tegra-xusb 3610000.usb: irq 124, io mem 0x03610000
[ 1.834423] tegra-xusb 3610000.usb: xHCI Host Controller
[ 1.834427] tegra-xusb 3610000.usb: new USB bus registered, assigned bus number 2
[ 1.834430] tegra-xusb 3610000.usb: Host supports USB 3.1 Enhanced SuperSpeed
[ 2.167553] usb 1-2: new high-speed USB device number 2 using tegra-xusb
[ 2.444108] usb 2-1: new SuperSpeed USB device number 2 using tegra-xusb
[ 2.715555] usb 1-2.1: new high-speed USB device number 3 using tegra-xusb
[ 3.107554] usb 1-2.2: new high-speed USB device number 4 using tegra-xusb
[ 3.415554] usb 1-2.1.1: new low-speed USB device number 5 using tegra-xusb
[ 3.570670] input: HID 046a:010d as /devices/platform/bus@0/3610000.usb/usb1/1-2/1-2.1/1-2.1.1/1-2.1.1:1.0/0003:046A:010D.0001/input/input1
[ 3.628943] hid-generic 0003:046A:010D.0001: input,hidraw0: USB HID v1.11 Keyboard [HID 046a:010d] on usb-3610000.usb-2.1.1/input0
[ 3.635423] input: HID 046a:010d as /devices/platform/bus@0/3610000.usb/usb1/1-2/1-2.1/1-2.1.1/1-2.1.1:1.1/0003:046A:010D.0002/input/input2
[ 3.692684] hid-generic 0003:046A:010D.0002: input,hidraw1: USB HID v1.11 Device [HID 046a:010d] on usb-3610000.usb-2.1.1/input1
[ 3.795560] usb 1-2.1.4: new low-speed USB device number 6 using tegra-xusb
[ 3.932830] input: Logitech USB Optical Mouse as /devices/platform/bus@0/3610000.usb/usb1/1-2/1-2.1/1-2.1.4/1-2.1.4:1.0/0003:046D:C077.0003/input/input3
[ 3.933406] hid-generic 0003:046D:C077.0003: input,hidraw2: USB HID v1.11 Mouse [Logitech USB Optical Mouse] on usb-3610000.usb-2.1.4/input0
[ 5.448077] tegra-xudc 3550000.usb: Adding to iommu group 4
[ 12.667401] usb0: HOST MAC 3e:1e:d0:8f:68:6c
[ 12.667409] usb0: MAC 3e:1e:d0:8f:68:6d
[ 12.668109] usb1: HOST MAC 3e:1e:d0:8f:68:6e
[ 12.668113] usb1: MAC 3e:1e:d0:8f:68:6f
[ 12.669181] tegra-xudc 3550000.usb: EP 0 (type: ctrl, dir: out) enabled
[ 12.679668] l4tbr0: port 1(usb0) entered blocking state
[ 12.679733] l4tbr0: port 1(usb0) entered disabled state
[ 12.680216] device usb0 entered promiscuous mode
[ 12.686668] l4tbr0: port 2(usb1) entered blocking state
[ 12.686685] l4tbr0: port 2(usb1) entered disabled state
[ 12.686837] device usb1 entered promiscuous mode
[ 1016.610808] usb 1-2.1: USB disconnect, device number 3 —尝试unbind and bind无效
[ 1016.610824] usb 1-2.1.1: USB disconnect, device number 5
[ 1016.809284] usb 1-2.1.4: USB disconnect, device number 6
[ 1016.858448] usb 1-2.2: USB disconnect, device number 4
[ 1025.647785] tegra-xusb 3610000.usb: Firmware timestamp: 2023-02-10 03:48:10 UTC
[ 1026.284983] usb 1-2.1: new high-speed USB device number 7 using tegra-xusb
[ 1026.676768] usb 1-2.2: new high-speed USB device number 8 using tegra-xusb
[ 1026.980766] usb 1-2.1.1: new low-speed USB device number 9 using tegra-xusb
[ 1027.142713] input: HID 046a:010d as /devices/platform/bus@0/3610000.usb/usb1/1-2/1-2.1/1-2.1.1/1-2.1.1:1.0/0003:046A:010D.0004/input/input8
[ 1027.201136] hid-generic 0003:046A:010D.0004: input,hidraw0: USB HID v1.11 Keyboard [HID 046a:010d] on usb-3610000.usb-2.1.1/input0
[ 1027.208803] input: HID 046a:010d as /devices/platform/bus@0/3610000.usb/usb1/1-2/1-2.1/1-2.1.1/1-2.1.1:1.1/0003:046A:010D.0005/input/input9
[ 1027.269022] hid-generic 0003:046A:010D.0005: input,hidraw1: USB HID v1.11 Device [HID 046a:010d] on usb-3610000.usb-2.1.1/input1
[ 1027.372740] usb 1-2.1.4: new low-speed USB device number 10 using tegra-xusb
[ 1027.512220] input: Logitech USB Optical Mouse as /devices/platform/bus@0/3610000.usb/usb1/1-2/1-2.1/1-2.1.4/1-2.1.4:1.0/0003:046D:C077.0006/input/input10
[ 1027.512420] hid-generic 0003:046D:C077.0006: input,hidraw2: USB HID v1.11 Mouse [Logitech USB Optical Mouse] on usb-3610000.usb-2.1.4/input0
[ 2199.666913] usb 1-2.2: USB disconnect, device number 8 ----拔出,重新插拔后,可以正常识别
[ 2209.340943] usb 2-3: new SuperSpeed USB device number 3 using tegra-xusb
[ 2209.362667] usb 2-3: LPM exit latency is zeroed, disabling LPM.
[ 2209.400947] usb 2-3: Found UVC 1.10 device DFM 37UR0234-ML (199e:949e)
[ 2209.405916] usbcore: registered new interface driver uvcvideo