IntelRealSense / meta-intel-realsense

Yocto layer for realsense-sdk and librealsense
https://realsense.intel.com/
Other
35 stars 26 forks source link

D435i not working on imx8mq-evk #25

Closed Andoku closed 4 years ago

Andoku commented 4 years ago

machine: imx8mqevk

camera: Intel Corp. Intel(R) RealSense(TM) Depth Camera 435i

branch: zeus

uname -a output: Linux imx8mqevk 5.4.3-lts-lf-5.4.y+gf8118585ee3c #1 SMP PREEMPT Sun Jun 28 15:33:27 UTC 2020 aarch64 aarch64 aarch64 GNU/Linux

bitbake imx-image-multimedia

dmesg output:

[ 2425.747372] usb 2-1: new SuperSpeed Gen 1 USB device number 3 using xhci-hcd
[ 2425.788888] uvcvideo: Unknown video format 00000050-0000-0010-8000-00aa00389b71
[ 2425.796790] uvcvideo: Found UVC 1.50 device Intel(R) RealSense(TM) Depth Camera 435i (8086:0b3a)
[ 2425.806857] uvcvideo 2-1:1.0: Entity type for entity Intel(R) RealSense(TM) Depth Ca was not initialized!
[ 2425.816452] uvcvideo 2-1:1.0: Entity type for entity Processing 2 was not initialized!
[ 2425.824384] uvcvideo 2-1:1.0: Entity type for entity Camera 1 was not initialized!
[ 2425.832195] input: Intel(R) RealSense(TM) Depth Ca as /devices/platform/soc@0/38200000.usb/xhci-hcd.0.auto/usb2/2-1/2-1:1.0/input/input2
[ 2425.845351] uvcvideo: Unknown video format 36315752-1a66-a242-9065-d01814a8ef8a
[ 2425.852745] uvcvideo: Found UVC 1.50 device Intel(R) RealSense(TM) Depth Camera 435i (8086:0b3a)
[ 2425.862927] uvcvideo 2-1:1.3: Entity type for entity Processing 7 was not initialized!
[ 2425.870859] uvcvideo 2-1:1.3: Entity type for entity Extension 8 was not initialized!
[ 2425.878706] uvcvideo 2-1:1.3: Entity type for entity Camera 6 was not initialized!
[ 2425.890891] hid-generic 0003:8086:0B3A.0002: device has no listeners, quitting
srware commented 4 years ago

@Andoku , which branch are you building with and which kernel is being built for that MACHINE? If linux-imx then only the master branch of 'meta-intel-realsense' currently has support for this. The required kernel patches won't be applied if using any other branch.

Andoku commented 4 years ago

@srware

which branch are you building with and which kernel is being built for that MACHINE?

I am building with zeus branch. Kernel imx-5.4.3-1.0.0

The required kernel patches won't be applied if using any other branch.

Oh, I followed instruction "1. Checkout the branch which corresponds with your version of Yocto" and checked out zeus branch. Am i supposed to build master instead?

Andoku commented 4 years ago

@srware When trying to build master I get following error: ERROR: Layer intel-realsense is not compatible with the core layer which only supports these series: zeus (layer is compatible with dunfell gatesgarth)

srware commented 4 years ago

Generally no, you should keep layer branches the same however IMX devices use a kernel called "linux-imx" provided by the 'meta-freescale' layer. This layer until recently only had support for the standard "linux-yocto" and "linux-intel" kernels so any devices which do not use these kernels required the user to manually override and patch accordingly. I recently added support for the "linux-imx" kernel in master but this hasn't and might not get backported to older branches.

You can try taking the linux-imx_5.4%.bbappend and associated patches from master and applying these to the zeus branch. It will likely work fine however given this is a stable branch it will require more testing for me to officially backport.

Andoku commented 4 years ago

@srware I backported linux-imx_5.4%.bbappend and associated files-folder from master. Everything compiled fine, but dmesg still gives me: [ 2425.890891] hid-generic 0003:8086:0B3A.0002: device has no listeners, quitting

And running realsense examples (rs-helloworld) on imx8 tells me: no device connected

Maybe I've missed something from master? What else should I look for?

Andoku commented 4 years ago

@srware Is it possible to use master branch and just add zeus to LAYERSERIES_COMPAT_intel-realsense = "dunfell gatesgarth"

Or master branch not compatible with zeus?

srware commented 4 years ago

@Andoku , this should be possible off the top of my head. I can't think of any other conflicts.

Are you using the D435i with a USB 3 port? The HID message you posted would relate to the IMU specifically. Are you able to access any of the camera streams with the "viewer" application for example?

It might be that there is a missing kernel config with the linux-imx kernel which needs forcing but I will need to look into this some more and unfortunately don't have any hardware to test with...

Andoku commented 4 years ago

@srware

Are you using the D435i with a USB 3 port?

Yes. We are using USB3.0 port:

root@imx8mqevk:~# lsusb
Bus 002 Device 002: ID 8086:0b3a Intel Corp. Intel(R) RealSense(TM) Depth Camera 435i
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Is it possible that there is not enough power? Should we try it with usb hub with extra power?

Are you able to access any of the camera streams with the "viewer" application for example?

Unfortunately we can't run realsense-viewer:

root@imx8mqevk:~# realsense-viewer
Could not initialize offscreen content!

I think it is because we use xwayland image because nxp yocto image doesn't support X11 anymore, will it work with wayland? Can we check with something else instead?

Andoku commented 4 years ago

@srware Recompiled with master and added option CONFIG_USB_HIDDEV=y to uvc.cfg, now dmesg looks like:

[  507.686506] usb 2-1: new SuperSpeed Gen 1 USB device number 6 using xhci-hcd
[  507.723549] uvcvideo: Found UVC 1.50 device Intel(R) RealSense(TM) Depth Camera 435i (8086:0b3a)
[  507.734522] uvcvideo 2-1:1.0: Entity type for entity Intel(R) RealSense(TM) Depth Ca was not initialized!
[  507.744131] uvcvideo 2-1:1.0: Entity type for entity Processing 2 was not initialized!
[  507.752086] uvcvideo 2-1:1.0: Entity type for entity Camera 1 was not initialized!
[  507.760453] input: Intel(R) RealSense(TM) Depth Ca as /devices/platform/soc@0/38200000.usb/xhci-hcd.0.auto/usb2/2-1/2-1:1.0/input/input18
[  507.773743] uvcvideo: Found UVC 1.50 device Intel(R) RealSense(TM) Depth Camera 435i (8086:0b3a)
[  507.783778] uvcvideo 2-1:1.3: Entity type for entity Processing 7 was not initialized!
[  507.791716] uvcvideo 2-1:1.3: Entity type for entity Extension 8 was not initialized!
[  507.799562] uvcvideo 2-1:1.3: Entity type for entity Camera 6 was not initialized!
[  507.811735] hid-generic 0003:8086:0B3A.000F: device has no listeners, quitting

and examples:

root@imx8mqevk:~# rs-enumerate-devices 
No device detected. Is it plugged in?
root@imx8mqevk:~# rs-hello-realsense 
RealSense error calling rs2_pipeline_start(pipe:0xeffe0f0):
    No device connected
Andoku commented 4 years ago

@srware Any ideas what else can we try?

srware commented 4 years ago

@Andoku , it sounds similar to this

Can you check that the udev rules made it into the image and maybe try the udevadm command to ensure they are in effect. Otherwise I would assume that the kernel patches are not being applied correctly and/or something is missing in the kernel config. I am struggling to build an image currently using meta-freescale master branch due to license issues so I need to work that out before I can check what's going on.

Andoku commented 4 years ago

@srware

Can you check that the udev rules made it into the image

It seems like they are in the image:

root@imx8mqevk:~#  ls /etc/udev/rules.d/
10-imx.rules         99-librealsense2-libusb.rules  localextra.rules
40-libgphoto2.rules  automount.rules            touchscreen.rules
71-weston-drm.rules  autonet.rules

and maybe try the udevadm command to ensure they are in effect

Did it - nothing changed :(

root@imx8mqevk:~# sudo udevadm control --reload-rules && udevadm trigger
root@imx8mqevk:~#
srware commented 4 years ago

Thanks for testing @Andoku

Andoku commented 4 years ago

@srware Is it possible to look at resulting kernel source code in yocto so I can check if kernel patches were applied correctly?

srware commented 4 years ago

It looks like linux-imx doesn't work like linux-yocto and other kernels with regards to modifying the config: https://community.nxp.com/thread/376369

I might need to update the .bbappend recipe to explicitly copy the additional config to the correct file so the kernel config contains all of the right pieces. I will keep working on it.

srware commented 4 years ago

@Andoku , I have looked into this some more and it does seem that the kernel config is being applied correctly however there is some missing config for the HID side of the D435i in the linux-imx kernel. I have pushed changes to master. Could you see if this makes any difference for your hardware? Thanks.

Andoku commented 4 years ago

@srware dmesg message:

[ 964.404784] usb 2-1: new SuperSpeed Gen 1 USB device number 5 using xhci-hcd
[ 964.445988] uvcvideo: Found UVC 1.50 device Intel(R) RealSense(TM) Depth Camera 435i (8086:0b3a)
[ 964.456903] uvcvideo 2-1:1.0: Entity type for entity Intel(R) RealSense(TM) Depth Ca was not initialized!
[ 964.466530] uvcvideo 2-1:1.0: Entity type for entity Processing 2 was not initialized!
[ 964.474481] uvcvideo 2-1:1.0: Entity type for entity Camera 1 was not initialized!
[ 964.482338] input: Intel(R) RealSense(TM) Depth Ca as /devices/platform/soc@0/38200000.usb/xhci-hcd.0.auto/usb2/2-1/2-1:1.0/input/input8
[ 964.495520] uvcvideo: Found UVC 1.50 device Intel(R) RealSense(TM) Depth Camera 435i (8086:0b3a)
[ 964.505550] uvcvideo 2-1:1.3: Entity type for entity Processing 7 was not initialized!
[ 964.513477] uvcvideo 2-1:1.3: Entity type for entity Extension 8 was not initialized!
[ 964.521322] uvcvideo 2-1:1.3: Entity type for entity Camera 6 was not initialized!
[ 964.533430] hid-generic 0003:8086:0B3A.0007: device has no listeners, quitting

and sometimes:

[  640.845478] usb 2-1: new SuperSpeed Gen 1 USB device number 2 using xhci-hcd
[  640.893140] hid-generic 0003:8086:0B3A.0004: device has no listeners, quitting
[  640.974975] uvcvideo: Found UVC 1.50 device Intel(R) RealSense(TM) Depth Camera 435i (8086:0b3a)
[  640.984863] uvcvideo 2-1:1.0: Entity type for entity Intel(R) RealSense(TM) Depth Ca was not initialized!
[  640.994474] uvcvideo 2-1:1.0: Entity type for entity Processing 2 was not initialized!
[  641.002559] uvcvideo 2-1:1.0: Entity type for entity Camera 1 was not initialized!
[  641.010405] input: Intel(R) RealSense(TM) Depth Ca as /devices/platform/soc@0/38200000.usb/xhci-hcd.0.auto/usb2/2-1/2-1:1.0/input/input5
[  641.023095] uvcvideo: Found UVC 1.50 device Intel(R) RealSense(TM) Depth Camera 435i (8086:0b3a)
[  641.033172] uvcvideo 2-1:1.3: Entity type for entity Processing 7 was not initialized!
[  641.041109] uvcvideo 2-1:1.3: Entity type for entity Extension 8 was not initialized!
[  641.048972] uvcvideo 2-1:1.3: Entity type for entity Camera 6 was not initialized!
[  641.056758] usbcore: registered new interface driver uvcvideo
[  641.062550] USB Video Class driver (1.1.1)
# rs-enumerate-devices
No device detected. Is it plugged in?
srware commented 4 years ago

@Andoku , for want of a better idea can you try pulling master again with my latest changes and add the following to your build config:

PACKAGECONFIG_pn-librealsense2 = "rsusb"

I checked the linux-imx config and source and everything seems to be working correctly but clearly there are issues using the native backend on your platform (i've seen this reported for other arm based platforms also). I don't have a camera or hardware currently in order to do any further debug.

Thanks.

Andoku commented 4 years ago

@srware It's working now!

dmesg:

[ 260.964946] usb 2-1: new SuperSpeed Gen 1 USB device number 81 using xhci-hcd
[ 261.007330] uvcvideo: Found UVC 1.50 device Intel(R) RealSense(TM) Depth Camera 435i (8086:0b3a)
[ 261.017984] uvcvideo 2-1:1.0: Entity type for entity Intel(R) RealSense(TM) Depth Ca was not initialized!
[ 261.027615] uvcvideo 2-1:1.0: Entity type for entity Processing 2 was not initialized!
[ 261.036612] uvcvideo 2-1:1.0: Entity type for entity Camera 1 was not initialized!
[ 261.044496] input: Intel(R) RealSense(TM) Depth Ca as /devices/platform/soc@0/38200000.usb/xhci-hcd.0.auto/usb2/2-1/2-1:1.0/input/input2
[ 261.057626] uvcvideo: Found UVC 1.50 device Intel(R) RealSense(TM) Depth Camera 435i (8086:0b3a)
[ 261.067685] uvcvideo 2-1:1.3: Entity type for entity Processing 7 was not initialized!
[ 261.075630] uvcvideo 2-1:1.3: Entity type for entity Extension 8 was not initialized!
[ 261.083502] uvcvideo 2-1:1.3: Entity type for entity Camera 6 was not initialized!
[ 261.095699] hid-generic 0003:8086:0B3A.0002: device has no listeners, quitting
rs-enumerate-devices ``` Device info: Name : Intel RealSense D435I Serial Number : 013222073991 Firmware Version : 05.12.05.00 Recommended Firmware Version : 05.12.03.00 Physical Port : 2-1-81 Debug Op Code : 15 Advanced Mode : YES Product Id : 0B3A Camera Locked : YES Usb Type Descriptor : 3.2 Product Line : D400 Asic Serial Number : 011323050307 Firmware Update Id : 011323050307 Stream Profiles supported by Stereo Module Supported modes: stream resolution fps format Infrared 1 1280x800 @ 30Hz Y8 Infrared 2 1280x800 @ 30Hz Y8 Infrared 2 1280x800 @ 25Hz Y16 Infrared 1 1280x800 @ 25Hz Y16 Infrared 2 1280x800 @ 15Hz Y16 Infrared 1 1280x800 @ 15Hz Y16 Infrared 2 1280x800 @ 15Hz Y8 Infrared 1 1280x800 @ 15Hz Y8 Infrared 1 1280x720 @ 30Hz Y8 Infrared 2 1280x720 @ 30Hz Y8 Infrared 2 1280x720 @ 15Hz Y8 Infrared 1 1280x720 @ 15Hz Y8 Infrared 2 1280x720 @ 6Hz Y8 Infrared 1 1280x720 @ 6Hz Y8 Infrared 1 848x480 @ 90Hz Y8 Infrared 2 848x480 @ 90Hz Y8 Infrared 1 848x480 @ 60Hz Y8 Infrared 2 848x480 @ 60Hz Y8 Infrared 1 848x480 @ 30Hz Y8 Infrared 2 848x480 @ 30Hz Y8 Infrared 2 848x480 @ 15Hz Y8 Infrared 1 848x480 @ 15Hz Y8 Infrared 1 848x480 @ 6Hz Y8 Infrared 2 848x480 @ 6Hz Y8 Infrared 2 848x100 @ 300Hz Y8 Infrared 1 848x100 @ 300Hz Y8 Infrared 2 848x100 @ 100Hz Y8 Infrared 1 848x100 @ 100Hz Y8 Infrared 1 640x480 @ 90Hz Y8 Infrared 2 640x480 @ 90Hz Y8 Infrared 1 640x480 @ 60Hz Y8 Infrared 2 640x480 @ 60Hz Y8 Infrared 1 640x480 @ 30Hz Y8 Infrared 2 640x480 @ 30Hz Y8 Infrared 2 640x480 @ 15Hz Y8 Infrared 1 640x480 @ 15Hz Y8 Infrared 1 640x480 @ 6Hz Y8 Infrared 2 640x480 @ 6Hz Y8 Infrared 2 640x400 @ 25Hz Y16 Infrared 1 640x400 @ 25Hz Y16 Infrared 2 640x400 @ 15Hz Y16 Infrared 1 640x400 @ 15Hz Y16 Infrared 2 640x360 @ 90Hz Y8 Infrared 1 640x360 @ 90Hz Y8 Infrared 1 640x360 @ 60Hz Y8 Infrared 2 640x360 @ 60Hz Y8 Infrared 2 640x360 @ 30Hz Y8 Infrared 1 640x360 @ 30Hz Y8 Infrared 2 640x360 @ 15Hz Y8 Infrared 1 640x360 @ 15Hz Y8 Infrared 1 640x360 @ 6Hz Y8 Infrared 2 640x360 @ 6Hz Y8 Infrared 2 480x270 @ 90Hz Y8 Infrared 1 480x270 @ 90Hz Y8 Infrared 2 480x270 @ 60Hz Y8 Infrared 1 480x270 @ 60Hz Y8 Infrared 2 480x270 @ 30Hz Y8 Infrared 1 480x270 @ 30Hz Y8 Infrared 1 480x270 @ 15Hz Y8 Infrared 2 480x270 @ 15Hz Y8 Infrared 1 480x270 @ 6Hz Y8 Infrared 2 480x270 @ 6Hz Y8 Infrared 1 424x240 @ 90Hz Y8 Infrared 2 424x240 @ 90Hz Y8 Infrared 1 424x240 @ 60Hz Y8 Infrared 2 424x240 @ 60Hz Y8 Infrared 2 424x240 @ 30Hz Y8 Infrared 1 424x240 @ 30Hz Y8 Infrared 1 424x240 @ 15Hz Y8 Infrared 2 424x240 @ 15Hz Y8 Infrared 2 424x240 @ 6Hz Y8 Infrared 1 424x240 @ 6Hz Y8 Infrared 1 256x144 @ 300Hz Y8 Infrared 2 256x144 @ 300Hz Y8 Infrared 1 256x144 @ 90Hz Y8 Infrared 2 256x144 @ 90Hz Y8 Depth 1280x720 @ 30Hz Z16 Depth 1280x720 @ 15Hz Z16 Depth 1280x720 @ 6Hz Z16 Depth 848x480 @ 90Hz Z16 Depth 848x480 @ 60Hz Z16 Depth 848x480 @ 30Hz Z16 Depth 848x480 @ 15Hz Z16 Depth 848x480 @ 6Hz Z16 Depth 848x100 @ 300Hz Z16 Depth 848x100 @ 100Hz Z16 Depth 640x480 @ 90Hz Z16 Depth 640x480 @ 60Hz Z16 Depth 640x480 @ 30Hz Z16 Depth 640x480 @ 15Hz Z16 Depth 640x480 @ 6Hz Z16 Depth 640x360 @ 90Hz Z16 Depth 640x360 @ 60Hz Z16 Depth 640x360 @ 30Hz Z16 Depth 640x360 @ 15Hz Z16 Depth 640x360 @ 6Hz Z16 Depth 480x270 @ 90Hz Z16 Depth 480x270 @ 60Hz Z16 Depth 480x270 @ 30Hz Z16 Depth 480x270 @ 15Hz Z16 Depth 480x270 @ 6Hz Z16 Depth 424x240 @ 90Hz Z16 Depth 424x240 @ 60Hz Z16 Depth 424x240 @ 30Hz Z16 Depth 424x240 @ 15Hz Z16 Depth 424x240 @ 6Hz Z16 Depth 256x144 @ 300Hz Z16 Depth 256x144 @ 90Hz Z16 Stream Profiles supported by RGB Camera Supported modes: stream resolution fps format Color 1920x1080 @ 30Hz RGB8 Color 1920x1080 @ 30Hz RAW16 Color 1920x1080 @ 30Hz Y16 Color 1920x1080 @ 30Hz BGRA8 Color 1920x1080 @ 30Hz RGBA8 Color 1920x1080 @ 30Hz BGR8 Color 1920x1080 @ 30Hz YUYV Color 1920x1080 @ 15Hz RGB8 Color 1920x1080 @ 15Hz Y16 Color 1920x1080 @ 15Hz BGRA8 Color 1920x1080 @ 15Hz RGBA8 Color 1920x1080 @ 15Hz BGR8 Color 1920x1080 @ 15Hz YUYV Color 1920x1080 @ 6Hz RGB8 Color 1920x1080 @ 6Hz Y16 Color 1920x1080 @ 6Hz BGRA8 Color 1920x1080 @ 6Hz RGBA8 Color 1920x1080 @ 6Hz BGR8 Color 1920x1080 @ 6Hz YUYV Color 1280x720 @ 30Hz RGB8 Color 1280x720 @ 30Hz Y16 Color 1280x720 @ 30Hz BGRA8 Color 1280x720 @ 30Hz RGBA8 Color 1280x720 @ 30Hz BGR8 Color 1280x720 @ 30Hz YUYV Color 1280x720 @ 15Hz RGB8 Color 1280x720 @ 15Hz Y16 Color 1280x720 @ 15Hz BGRA8 Color 1280x720 @ 15Hz RGBA8 Color 1280x720 @ 15Hz BGR8 Color 1280x720 @ 15Hz YUYV Color 1280x720 @ 6Hz RGB8 Color 1280x720 @ 6Hz Y16 Color 1280x720 @ 6Hz BGRA8 Color 1280x720 @ 6Hz RGBA8 Color 1280x720 @ 6Hz BGR8 Color 1280x720 @ 6Hz YUYV Color 960x540 @ 60Hz RGB8 Color 960x540 @ 60Hz Y16 Color 960x540 @ 60Hz BGRA8 Color 960x540 @ 60Hz RGBA8 Color 960x540 @ 60Hz BGR8 Color 960x540 @ 60Hz YUYV Color 960x540 @ 30Hz RGB8 Color 960x540 @ 30Hz Y16 Color 960x540 @ 30Hz BGRA8 Color 960x540 @ 30Hz RGBA8 Color 960x540 @ 30Hz BGR8 Color 960x540 @ 30Hz YUYV Color 960x540 @ 15Hz RGB8 Color 960x540 @ 15Hz Y16 Color 960x540 @ 15Hz BGRA8 Color 960x540 @ 15Hz RGBA8 Color 960x540 @ 15Hz BGR8 Color 960x540 @ 15Hz YUYV Color 960x540 @ 6Hz RGB8 Color 960x540 @ 6Hz Y16 Color 960x540 @ 6Hz BGRA8 Color 960x540 @ 6Hz RGBA8 Color 960x540 @ 6Hz BGR8 Color 960x540 @ 6Hz YUYV Color 848x480 @ 60Hz RGB8 Color 848x480 @ 60Hz Y16 Color 848x480 @ 60Hz BGRA8 Color 848x480 @ 60Hz RGBA8 Color 848x480 @ 60Hz BGR8 Color 848x480 @ 60Hz YUYV Color 848x480 @ 30Hz RGB8 Color 848x480 @ 30Hz Y16 Color 848x480 @ 30Hz BGRA8 Color 848x480 @ 30Hz RGBA8 Color 848x480 @ 30Hz BGR8 Color 848x480 @ 30Hz YUYV Color 848x480 @ 15Hz RGB8 Color 848x480 @ 15Hz Y16 Color 848x480 @ 15Hz BGRA8 Color 848x480 @ 15Hz RGBA8 Color 848x480 @ 15Hz BGR8 Color 848x480 @ 15Hz YUYV Color 848x480 @ 6Hz RGB8 Color 848x480 @ 6Hz Y16 Color 848x480 @ 6Hz BGRA8 Color 848x480 @ 6Hz RGBA8 Color 848x480 @ 6Hz BGR8 Color 848x480 @ 6Hz YUYV Color 640x480 @ 60Hz RGB8 Color 640x480 @ 60Hz Y16 Color 640x480 @ 60Hz BGRA8 Color 640x480 @ 60Hz RGBA8 Color 640x480 @ 60Hz BGR8 Color 640x480 @ 60Hz YUYV Color 640x480 @ 30Hz RGB8 Color 640x480 @ 30Hz Y16 Color 640x480 @ 30Hz BGRA8 Color 640x480 @ 30Hz RGBA8 Color 640x480 @ 30Hz BGR8 Color 640x480 @ 30Hz YUYV Color 640x480 @ 15Hz RGB8 Color 640x480 @ 15Hz Y16 Color 640x480 @ 15Hz BGRA8 Color 640x480 @ 15Hz RGBA8 Color 640x480 @ 15Hz BGR8 Color 640x480 @ 15Hz YUYV Color 640x480 @ 6Hz RGB8 Color 640x480 @ 6Hz Y16 Color 640x480 @ 6Hz BGRA8 Color 640x480 @ 6Hz RGBA8 Color 640x480 @ 6Hz BGR8 Color 640x480 @ 6Hz YUYV Color 640x360 @ 60Hz RGB8 Color 640x360 @ 60Hz Y16 Color 640x360 @ 60Hz BGRA8 Color 640x360 @ 60Hz RGBA8 Color 640x360 @ 60Hz BGR8 Color 640x360 @ 60Hz YUYV Color 640x360 @ 30Hz RGB8 Color 640x360 @ 30Hz Y16 Color 640x360 @ 30Hz BGRA8 Color 640x360 @ 30Hz RGBA8 Color 640x360 @ 30Hz BGR8 Color 640x360 @ 30Hz YUYV Color 640x360 @ 15Hz RGB8 Color 640x360 @ 15Hz Y16 Color 640x360 @ 15Hz BGRA8 Color 640x360 @ 15Hz RGBA8 Color 640x360 @ 15Hz BGR8 Color 640x360 @ 15Hz YUYV Color 640x360 @ 6Hz RGB8 Color 640x360 @ 6Hz Y16 Color 640x360 @ 6Hz BGRA8 Color 640x360 @ 6Hz RGBA8 Color 640x360 @ 6Hz BGR8 Color 640x360 @ 6Hz YUYV Color 424x240 @ 60Hz RGB8 Color 424x240 @ 60Hz Y16 Color 424x240 @ 60Hz BGRA8 Color 424x240 @ 60Hz RGBA8 Color 424x240 @ 60Hz BGR8 Color 424x240 @ 60Hz YUYV Color 424x240 @ 30Hz RGB8 Color 424x240 @ 30Hz Y16 Color 424x240 @ 30Hz BGRA8 Color 424x240 @ 30Hz RGBA8 Color 424x240 @ 30Hz BGR8 Color 424x240 @ 30Hz YUYV Color 424x240 @ 15Hz RGB8 Color 424x240 @ 15Hz Y16 Color 424x240 @ 15Hz BGRA8 Color 424x240 @ 15Hz RGBA8 Color 424x240 @ 15Hz BGR8 Color 424x240 @ 15Hz YUYV Color 424x240 @ 6Hz RGB8 Color 424x240 @ 6Hz Y16 Color 424x240 @ 6Hz BGRA8 Color 424x240 @ 6Hz RGBA8 Color 424x240 @ 6Hz BGR8 Color 424x240 @ 6Hz YUYV Color 320x240 @ 60Hz RGB8 Color 320x240 @ 60Hz Y16 Color 320x240 @ 60Hz BGRA8 Color 320x240 @ 60Hz RGBA8 Color 320x240 @ 60Hz BGR8 Color 320x240 @ 60Hz YUYV Color 320x240 @ 30Hz RGB8 Color 320x240 @ 30Hz Y16 Color 320x240 @ 30Hz BGRA8 Color 320x240 @ 30Hz RGBA8 Color 320x240 @ 30Hz BGR8 Color 320x240 @ 30Hz YUYV Color 320x240 @ 6Hz RGB8 Color 320x240 @ 6Hz Y16 Color 320x240 @ 6Hz BGRA8 Color 320x240 @ 6Hz RGBA8 Color 320x240 @ 6Hz BGR8 Color 320x240 @ 6Hz YUYV Color 320x180 @ 60Hz RGB8 Color 320x180 @ 60Hz Y16 Color 320x180 @ 60Hz BGRA8 Color 320x180 @ 60Hz RGBA8 Color 320x180 @ 60Hz BGR8 Color 320x180 @ 60Hz YUYV Color 320x180 @ 30Hz RGB8 Color 320x180 @ 30Hz Y16 Color 320x180 @ 30Hz BGRA8 Color 320x180 @ 30Hz RGBA8 Color 320x180 @ 30Hz BGR8 Color 320x180 @ 30Hz YUYV Color 320x180 @ 6Hz RGB8 Color 320x180 @ 6Hz Y16 Color 320x180 @ 6Hz BGRA8 Color 320x180 @ 6Hz RGBA8 Color 320x180 @ 6Hz BGR8 Color 320x180 @ 6Hz YUYV Stream Profiles supported by Motion Module Supported modes: stream resolution fps format Accel N/A @ 250Hz MOTION_XYZ32F Accel N/A @ 63Hz MOTION_XYZ32F Gyro N/A @ 400Hz MOTION_XYZ32F Gyro N/A @ 200Hz MOTION_XYZ32F ```
Andoku commented 4 years ago

@srware But I noticed that sometimes after running examples like rs-depth or rs-distance camera can't be found and there are erros in dmesg. Only re-plugging camera helps. I will add dmesg errors tomorrow.

ReinaldoGotz commented 2 years ago

It works well for me with D455, running PetaLinux v. 2020.2 on Ultra96-V2 board. Thanks a lot!

nalithlakshan commented 2 years ago

Hi @reinaldogotz Where exactly do I need to add the line PACKAGECONFIG_pn-librealsense2 = "rsusb" to solve this problem in Petalinux?

srware commented 2 years ago

@nalithlakshan , it will need to go in 'conf/local.conf' or 'conf/auto.conf' unless you are appending an image recipe etc... elsewhere in your build.