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

RealSense Camera can not be detected by Jetson Nano #22

Open
JiajianLu opened this issue Nov 12, 2020 · 0 comments
Open

RealSense Camera can not be detected by Jetson Nano #22

JiajianLu opened this issue Nov 12, 2020 · 0 comments

Comments

@JiajianLu
Copy link

Hi all.

In terminal, I try the following commands:

  1. realsense-viewer
    output: DS5 group_devices is empty
    Then the realsense viewer gui is open, but there is warning saying: failed to read busnum/devnum. Device Path: /sys/bus/iio/devices/iio:device0

  2. lsusb
    output:
    Bus 002 Device 003: ID 8086:0b3a Intel Corp.

From this command, it seems that usb port can detect realsense camera

  1. dmseg -wT
    output:
    usb usb2: usb_suspend_both: status -16
    [Wed Nov 11 20:43:41 2020] usb usb2: usb_suspend_both: status 0
    [Wed Nov 11 20:43:41 2020] usb 2-1.1: new SuperSpeed USB device number 3 using tegra-xusb
    [Wed Nov 11 20:43:41 2020] usb 2-1.1: New USB device found, idVendor=8086, idProduct=0b3a
    [Wed Nov 11 20:43:41 2020] usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [Wed Nov 11 20:43:41 2020] usb 2-1.1: Product: Intel(R) RealSense(TM) Depth Camera 435i
    [Wed Nov 11 20:43:41 2020] usb 2-1.1: Manufacturer: Intel(R) RealSense(TM) Depth Camera 435i
    [Wed Nov 11 20:43:41 2020] usb 2-1.1: SerialNumber: 934123056151
    [Wed Nov 11 20:43:42 2020] uvcvideo: Unknown video format 00000050-0000-0010-8000-00aa00389b71
    [Wed Nov 11 20:43:42 2020] uvcvideo: Unknown video format 00000032-0000-0010-8000-00aa00389b71
    [Wed Nov 11 20:43:42 2020] uvcvideo: Found UVC 1.50 device Intel(R) RealSense(TM) Depth Camera 435i (8086:0b3a)
    [Wed Nov 11 20:43:42 2020] uvcvideo: Unable to create debugfs 2-3 directory.
    [Wed Nov 11 20:43:42 2020] uvcvideo 2-1.1:1.0: Entity type for entity Intel(R) RealSense(TM) Depth Ca was not initialized!
    [Wed Nov 11 20:43:42 2020] uvcvideo 2-1.1:1.0: Entity type for entity Processing 2 was not initialized!
    [Wed Nov 11 20:43:42 2020] uvcvideo 2-1.1:1.0: Entity type for entity Camera 1 was not initialized!
    [Wed Nov 11 20:43:42 2020] input: Intel(R) RealSense(TM) Depth Ca as /devices/70090000.xusb/usb2/2-1/2-1.1/2-1.1:1.0/input/input6
    [Wed Nov 11 20:43:42 2020] uvcvideo: Unknown video format 36315752-1a66-a242-9065-d01814a8ef8a
    [Wed Nov 11 20:43:42 2020] uvcvideo: Found UVC 1.50 device Intel(R) RealSense(TM) Depth Camera 435i (8086:0b3a)
    [Wed Nov 11 20:43:42 2020] uvcvideo: Unable to create debugfs 2-3 directory.
    [Wed Nov 11 20:43:42 2020] uvcvideo 2-1.1:1.3: Entity type for entity Processing 7 was not initialized!
    [Wed Nov 11 20:43:42 2020] uvcvideo 2-1.1:1.3: Entity type for entity Extension 8 was not initialized!
    [Wed Nov 11 20:43:42 2020] uvcvideo 2-1.1:1.3: Entity type for entity Camera 6 was not initialized!
    [Wed Nov 11 20:43:42 2020] usbcore: registered new interface driver uvcvideo
    [Wed Nov 11 20:43:42 2020] USB Video Class driver (1.1.1)
    [Wed Nov 11 20:43:47 2020] usb 2-1.1: usb_suspend_both: status 0
    [Wed Nov 11 20:43:48 2020] usb 2-1: usb_suspend_both: status 0
    [Wed Nov 11 20:43:48 2020] usb usb2: usb_suspend_both: status 0
    [Wed Nov 11 20:43:51 2020] r8168: eth0: link up
    [Wed Nov 11 20:43:51 2020] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [Wed Nov 11 20:44:40 2020] usb 2-1.1: usb_suspend_both: status 0
    [Wed Nov 11 20:44:40 2020] usb 2-1: usb_suspend_both: status 0
    [Wed Nov 11 20:44:40 2020] usb usb2: usb_suspend_both: status 0
    [Wed Nov 11 20:44:47 2020] usb 2-1.1: usb_suspend_both: status 0
    [Wed Nov 11 20:44:48 2020] usb 2-1: usb_suspend_both: status 0
    [Wed Nov 11 20:44:48 2020] usb usb2: usb_suspend_both: status 0
    [Wed Nov 11 20:44:51 2020] usb 2-1.1: usb_suspend_both: status 0
    [Wed Nov 11 20:44:51 2020] usb 2-1: usb_suspend_both: status 0
    [Wed Nov 11 20:44:51 2020] usb usb2: usb_suspend_both: status 0
    [Wed Nov 11 20:44:56 2020] usb 2-1.1: usb_suspend_both: status 0
    [Wed Nov 11 20:44:56 2020] usb 2-1: usb_suspend_both: status 0
    [Wed Nov 11 20:44:56 2020] usb usb2: usb_suspend_both: status 0

From here, it seems like uvcvideo can detect realsense camera but usb 2-1 is suspended.

intelligent@intelligent-desktop:~$ v4l2-ctl -d /dev/video0 --list-formats-ext
ioctl: VIDIOC_ENUM_FMT
Index       : 0
Type        : Video Capture
Pixel Format: 'RG10'
Name        : 10-bit Bayer RGRG/GBGB
Size: Discrete 3264x2464
Interval: Discrete 0.048s (21.000 fps)
Size: Discrete 3264x1848
Interval: Discrete 0.036s (28.000 fps)
Size: Discrete 1920x1080
Interval: Discrete 0.033s (30.000 fps)
Size: Discrete 1280x720
Interval: Discrete 0.017s (60.000 fps)
Size: Discrete 1280x720
Interval: Discrete 0.017s (60.000 fps)

intelligent@intelligent-desktop:~$ v4l2-ctl -d /dev/video1 --list-formats-ext
ioctl: VIDIOC_ENUM_FMT
Index       : 0
Type        : Video Capture
Pixel Format: 'Z16 '
Name        : 16-bit Depth
Size: Discrete 256x144
Interval: Discrete 0.011s (90.000 fps)
Size: Discrete 424x240
Interval: Discrete 0.011s (90.000 fps)
Interval: Discrete 0.017s (60.000 fps)
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.067s (15.000 fps)
Interval: Discrete 0.167s (6.000 fps)
Size: Discrete 480x270
Interval: Discrete 0.011s (90.000 fps)
Interval: Discrete 0.017s (60.000 fps)
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.067s (15.000 fps)
Interval: Discrete 0.167s (6.000 fps)
Size: Discrete 640x360
Interval: Discrete 0.011s (90.000 fps)
Interval: Discrete 0.017s (60.000 fps)
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.067s (15.000 fps)
Interval: Discrete 0.167s (6.000 fps)
Size: Discrete 640x480
Interval: Discrete 0.011s (90.000 fps)
Interval: Discrete 0.017s (60.000 fps)
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.067s (15.000 fps)
Interval: Discrete 0.167s (6.000 fps)
Size: Discrete 848x100
Interval: Discrete 0.010s (100.000 fps)
Size: Discrete 848x480
Interval: Discrete 0.011s (90.000 fps)
Interval: Discrete 0.017s (60.000 fps)
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.067s (15.000 fps)
Interval: Discrete 0.167s (6.000 fps)
Size: Discrete 1280x720
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.067s (15.000 fps)
Interval: Discrete 0.167s (6.000 fps)

Index       : 1
Type        : Video Capture
Pixel Format: ''
Name        : 00000050-0000-0010-8000-00aa003
	Size: Discrete 256x144
		Interval: Discrete 0.011s (90.000 fps)
	Size: Discrete 424x240
		Interval: Discrete 0.011s (90.000 fps)
		Interval: Discrete 0.017s (60.000 fps)
		Interval: Discrete 0.033s (30.000 fps)
		Interval: Discrete 0.067s (15.000 fps)
		Interval: Discrete 0.167s (6.000 fps)
	Size: Discrete 480x270
		Interval: Discrete 0.011s (90.000 fps)
		Interval: Discrete 0.017s (60.000 fps)
		Interval: Discrete 0.033s (30.000 fps)
		Interval: Discrete 0.067s (15.000 fps)
		Interval: Discrete 0.167s (6.000 fps)
	Size: Discrete 640x360
		Interval: Discrete 0.011s (90.000 fps)
		Interval: Discrete 0.017s (60.000 fps)
		Interval: Discrete 0.033s (30.000 fps)
		Interval: Discrete 0.067s (15.000 fps)
		Interval: Discrete 0.167s (6.000 fps)
	Size: Discrete 640x480
		Interval: Discrete 0.011s (90.000 fps)
		Interval: Discrete 0.017s (60.000 fps)
		Interval: Discrete 0.033s (30.000 fps)
		Interval: Discrete 0.067s (15.000 fps)
		Interval: Discrete 0.167s (6.000 fps)
	Size: Discrete 848x100
		Interval: Discrete 0.010s (100.000 fps)
	Size: Discrete 848x480
		Interval: Discrete 0.011s (90.000 fps)
		Interval: Discrete 0.017s (60.000 fps)
		Interval: Discrete 0.033s (30.000 fps)
		Interval: Discrete 0.067s (15.000 fps)
		Interval: Discrete 0.167s (6.000 fps)
	Size: Discrete 1280x720
		Interval: Discrete 0.033s (30.000 fps)
		Interval: Discrete 0.067s (15.000 fps)
		Interval: Discrete 0.167s (6.000 fps)

intelligent@intelligent-desktop:~$ v4l2-ctl -d /dev/video2 --list-formats-ext
ioctl: VIDIOC_ENUM_FMT
Index       : 0
Type        : Video Capture
Pixel Format: ''
Name        : 00000032-0000-0010-8000-00aa003
Size: Discrete 256x144
Interval: Discrete 0.011s (90.000 fps)
Size: Discrete 424x240
Interval: Discrete 0.011s (90.000 fps)
Interval: Discrete 0.017s (60.000 fps)
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.067s (15.000 fps)
Interval: Discrete 0.167s (6.000 fps)
Size: Discrete 480x270
Interval: Discrete 0.011s (90.000 fps)
Interval: Discrete 0.017s (60.000 fps)
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.067s (15.000 fps)
Interval: Discrete 0.167s (6.000 fps)
Size: Discrete 640x360
Interval: Discrete 0.011s (90.000 fps)
Interval: Discrete 0.017s (60.000 fps)
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.067s (15.000 fps)
Interval: Discrete 0.167s (6.000 fps)
Size: Discrete 640x480
Interval: Discrete 0.011s (90.000 fps)
Interval: Discrete 0.017s (60.000 fps)
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.067s (15.000 fps)
Interval: Discrete 0.167s (6.000 fps)
Size: Discrete 848x100
Interval: Discrete 0.010s (100.000 fps)
Size: Discrete 848x480
Interval: Discrete 0.011s (90.000 fps)
Interval: Discrete 0.017s (60.000 fps)
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.067s (15.000 fps)
Interval: Discrete 0.167s (6.000 fps)
Size: Discrete 1280x720
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.067s (15.000 fps)
Interval: Discrete 0.167s (6.000 fps)

Index       : 1
Type        : Video Capture
Pixel Format: 'UYVY'
Name        : UYVY 4:2:2
	Size: Discrete 256x144
		Interval: Discrete 0.011s (90.000 fps)
	Size: Discrete 424x240
		Interval: Discrete 0.011s (90.000 fps)
		Interval: Discrete 0.017s (60.000 fps)
		Interval: Discrete 0.033s (30.000 fps)
		Interval: Discrete 0.067s (15.000 fps)
		Interval: Discrete 0.167s (6.000 fps)
	Size: Discrete 480x270
		Interval: Discrete 0.011s (90.000 fps)
		Interval: Discrete 0.017s (60.000 fps)
		Interval: Discrete 0.033s (30.000 fps)
		Interval: Discrete 0.067s (15.000 fps)
		Interval: Discrete 0.167s (6.000 fps)
	Size: Discrete 640x360
		Interval: Discrete 0.011s (90.000 fps)
		Interval: Discrete 0.017s (60.000 fps)
		Interval: Discrete 0.033s (30.000 fps)
		Interval: Discrete 0.067s (15.000 fps)
		Interval: Discrete 0.167s (6.000 fps)
	Size: Discrete 640x480
		Interval: Discrete 0.011s (90.000 fps)
		Interval: Discrete 0.017s (60.000 fps)
		Interval: Discrete 0.033s (30.000 fps)
		Interval: Discrete 0.067s (15.000 fps)
		Interval: Discrete 0.167s (6.000 fps)
	Size: Discrete 848x100
		Interval: Discrete 0.010s (100.000 fps)
	Size: Discrete 848x480
		Interval: Discrete 0.011s (90.000 fps)
		Interval: Discrete 0.017s (60.000 fps)
		Interval: Discrete 0.033s (30.000 fps)
		Interval: Discrete 0.067s (15.000 fps)
		Interval: Discrete 0.167s (6.000 fps)
	Size: Discrete 1280x720
		Interval: Discrete 0.033s (30.000 fps)
		Interval: Discrete 0.067s (15.000 fps)
		Interval: Discrete 0.167s (6.000 fps)

Index       : 2
Type        : Video Capture
Pixel Format: 'GREY'
Name        : 8-bit Greyscale
	Size: Discrete 256x144
		Interval: Discrete 0.011s (90.000 fps)
	Size: Discrete 424x240
		Interval: Discrete 0.011s (90.000 fps)
		Interval: Discrete 0.017s (60.000 fps)
		Interval: Discrete 0.033s (30.000 fps)
		Interval: Discrete 0.067s (15.000 fps)
		Interval: Discrete 0.167s (6.000 fps)
	Size: Discrete 480x270
		Interval: Discrete 0.011s (90.000 fps)
		Interval: Discrete 0.017s (60.000 fps)
		Interval: Discrete 0.033s (30.000 fps)
		Interval: Discrete 0.067s (15.000 fps)
		Interval: Discrete 0.167s (6.000 fps)
	Size: Discrete 640x360
		Interval: Discrete 0.011s (90.000 fps)
		Interval: Discrete 0.017s (60.000 fps)
		Interval: Discrete 0.033s (30.000 fps)
		Interval: Discrete 0.067s (15.000 fps)
		Interval: Discrete 0.167s (6.000 fps)
	Size: Discrete 640x480
		Interval: Discrete 0.011s (90.000 fps)
		Interval: Discrete 0.017s (60.000 fps)
		Interval: Discrete 0.033s (30.000 fps)
		Interval: Discrete 0.067s (15.000 fps)
		Interval: Discrete 0.167s (6.000 fps)
	Size: Discrete 848x100
		Interval: Discrete 0.010s (100.000 fps)
	Size: Discrete 848x480
		Interval: Discrete 0.011s (90.000 fps)
		Interval: Discrete 0.017s (60.000 fps)
		Interval: Discrete 0.033s (30.000 fps)
		Interval: Discrete 0.067s (15.000 fps)
		Interval: Discrete 0.167s (6.000 fps)
	Size: Discrete 1280x720
		Interval: Discrete 0.033s (30.000 fps)
		Interval: Discrete 0.067s (15.000 fps)
		Interval: Discrete 0.167s (6.000 fps)

Index       : 3
Type        : Video Capture
Pixel Format: 'Y8I '
Name        : Interleaved 8-bit Greyscale
	Size: Discrete 256x144
		Interval: Discrete 0.011s (90.000 fps)
	Size: Discrete 424x240
		Interval: Discrete 0.011s (90.000 fps)
		Interval: Discrete 0.017s (60.000 fps)
		Interval: Discrete 0.033s (30.000 fps)
		Interval: Discrete 0.067s (15.000 fps)
		Interval: Discrete 0.167s (6.000 fps)
	Size: Discrete 480x270
		Interval: Discrete 0.011s (90.000 fps)
		Interval: Discrete 0.017s (60.000 fps)
		Interval: Discrete 0.033s (30.000 fps)
		Interval: Discrete 0.067s (15.000 fps)
		Interval: Discrete 0.167s (6.000 fps)
	Size: Discrete 640x360
		Interval: Discrete 0.011s (90.000 fps)
		Interval: Discrete 0.017s (60.000 fps)
		Interval: Discrete 0.033s (30.000 fps)
		Interval: Discrete 0.067s (15.000 fps)
		Interval: Discrete 0.167s (6.000 fps)
	Size: Discrete 640x480
		Interval: Discrete 0.011s (90.000 fps)
		Interval: Discrete 0.017s (60.000 fps)
		Interval: Discrete 0.033s (30.000 fps)
		Interval: Discrete 0.067s (15.000 fps)
		Interval: Discrete 0.167s (6.000 fps)
	Size: Discrete 848x100
		Interval: Discrete 0.010s (100.000 fps)
	Size: Discrete 848x480
		Interval: Discrete 0.011s (90.000 fps)
		Interval: Discrete 0.017s (60.000 fps)
		Interval: Discrete 0.033s (30.000 fps)
		Interval: Discrete 0.067s (15.000 fps)
		Interval: Discrete 0.167s (6.000 fps)
	Size: Discrete 1280x720
		Interval: Discrete 0.033s (30.000 fps)
		Interval: Discrete 0.067s (15.000 fps)
		Interval: Discrete 0.167s (6.000 fps)
	Size: Discrete 1280x800
		Interval: Discrete 0.033s (30.000 fps)
		Interval: Discrete 0.067s (15.000 fps)

Index       : 4
Type        : Video Capture
Pixel Format: 'Y12I'
Name        : Interleaved 12-bit Greyscale
	Size: Discrete 640x400
		Interval: Discrete 0.040s (25.000 fps)
		Interval: Discrete 0.067s (15.000 fps)
	Size: Discrete 1280x800
		Interval: Discrete 0.040s (25.000 fps)
		Interval: Discrete 0.067s (15.000 fps)

intelligent@intelligent-desktop:~$ v4l2-ctl -d /dev/video3 --list-formats-ext
ioctl: VIDIOC_ENUM_FMT
Index       : 0
Type        : Video Capture
Pixel Format: 'YUYV'
Name        : YUYV 4:2:2
Size: Discrete 320x180
Interval: Discrete 0.017s (60.000 fps)
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.167s (6.000 fps)
Size: Discrete 320x240
Interval: Discrete 0.017s (60.000 fps)
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.167s (6.000 fps)
Size: Discrete 424x240
Interval: Discrete 0.017s (60.000 fps)
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.067s (15.000 fps)
Interval: Discrete 0.167s (6.000 fps)
Size: Discrete 640x360
Interval: Discrete 0.017s (60.000 fps)
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.067s (15.000 fps)
Interval: Discrete 0.167s (6.000 fps)
Size: Discrete 640x480
Interval: Discrete 0.017s (60.000 fps)
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.067s (15.000 fps)
Interval: Discrete 0.167s (6.000 fps)
Size: Discrete 848x480
Interval: Discrete 0.017s (60.000 fps)
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.067s (15.000 fps)
Interval: Discrete 0.167s (6.000 fps)
Size: Discrete 960x540
Interval: Discrete 0.017s (60.000 fps)
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.067s (15.000 fps)
Interval: Discrete 0.167s (6.000 fps)
Size: Discrete 1280x720
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.067s (15.000 fps)
Interval: Discrete 0.167s (6.000 fps)
Size: Discrete 1920x1080
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.067s (15.000 fps)
Interval: Discrete 0.167s (6.000 fps)

Index       : 1
Type        : Video Capture
Pixel Format: ''
Name        : 36315752-1a66-a242-9065-d01814a
	Size: Discrete 1920x1080
		Interval: Discrete 0.033s (30.000 fps)

I was able to get the camera view from realsense viewer two weeks ago, but when I tried it about this week, I had this issue. I thought it was the problem of the realsense package and I uninstalled the package by command line: dpkg -l | grep "realsense" | cut -d " " -f 3 | xargs sudo dpkg --purge and installed the package again according to the procedure in https://www.jetsonhacks.com/2019/12/22/install-realsense-camera-in-5-minutes-jetson-nano/. But the problem still exists.

Thank you for your help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant