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

Kernel 4.19 support for Raspberry Pi 4 #4818

Closed
edgarcamilocamacho opened this issue Sep 7, 2019 · 15 comments
Closed

Kernel 4.19 support for Raspberry Pi 4 #4818

edgarcamilocamacho opened this issue Sep 7, 2019 · 15 comments

Comments

@edgarcamilocamacho
Copy link


Required Info
Camera Model D435 / T265
Firmware Version 05.11.11.100 / 0.1.0.279
Operating System & Version Linux (Raspbian Buster)
Kernel Version (Linux Only) 4.19.69
Platform Raspberry Pi 4
SDK Version librealsense2
Language ROS
Segment Robot

Issue Description

Are you planning to add support to Kernel 4.19? In order to use the cameras in Raspberry 4 and Raspbian Buster.

I am getting the error of this issue: #2850

@MartyG-RealSense
Copy link
Collaborator

A bug-fix for Kernel 4.19 was added in SDK version 2.24.0. Some users continued to report problems with using 4.19 though.

A RealSense user succeeded in using 4.19 with Pi4 and Raspbian Buster with a method suggested by a member of Intel's RealSense team.

#4565 (comment)

@dorodnic
Copy link
Contributor

dorodnic commented Sep 8, 2019

We only support official kernel versions used in i86 LTS versions of Ubuntu 16 / 18. This doesn't mean it will or will not work on non-i86 hardware, we just cannot make such commitments. For non-i86 platforms we recommend libuvc_installation.md installation without kernel patching.

@coriolan-v
Copy link

I've got it working as well on a Pi4 with Raspbian Buster 4.19

@AnupamYedida
Copy link

Is the IMU data working as well ?

@coriolan-v
Copy link

I'm using the D410 module, it doesn't have an IMU, so I can't say unfortunately.

@rofreli
Copy link

rofreli commented Oct 7, 2019

I'm using Ubuntu 18 in my Pi 4. With some adjustments, realsense works but Ubuntu does not have official kernel to Pi 4 then some drivers like WiFi need some attention.

@alexcherpi
Copy link

Hi,
Is it possible to have the Realsense T265 running on a STM32MP1 which has a Linux Kernel 4.19 ?
Many thanks,

@MartyG-RealSense
Copy link
Collaborator

MartyG-RealSense commented Oct 8, 2019

Apparently the STM32MP1 uses ARM Cortex-A7 for its compatibility with open-source operating systems such as Linux and Android. There was a case where somebody was using T265 with a Cortex-A7 processor and Ubuntu.

#4408 (comment)

It looks as though the BananaPi Zero hardware they were using was running Kernel 4.19.0.

http://wiki.banana-pi.org/Banana_Pi_BPI-M2_ZERO

image

The user had some initial problems but got it working fine shortly afterwards, as indicated in the comments below the linked-to one.

@alexcherpi
Copy link

alexcherpi commented Oct 10, 2019

Thanks MartyG,
This is maybe a stupid question, but is it possible to dialog to the Realsense T265 with a MCU, e.g STM32F7 which has a USB 2.0 OTG ? Which steps would be required ?

@MartyG-RealSense
Copy link
Collaborator

The T265 can stream pose data on USB2 but needs USB3 for fisheye streams. So USB2 OTG would not be appropriate if you need fisheye data in your project.

I don't know about connecting T265 to OTG, but it is certainly possible to connect RealSense depth cameras to OTG if you use an OTG adapter to connect a full-size USB A connector to an OTG micro-port.

@alexcherpi
Copy link

So if we only need the pose data you mean that we could get it using the USB 2.0 port of the STM32F7 for example? But is there any library to know how to initiate this communication and to parse the received data?

@MartyG-RealSense
Copy link
Collaborator

The official T265 documentation page says "Any board with USB2 capable of receiving pose data at 200 times a second should be sufficient".

https://github.com/IntelRealSense/librealsense/blob/master/doc/t265.md#what-are-the-system-requirements

Intel have published a guide to getting IMU data from the T265 that has a pose-data script at the end of it, in the 'API' section.

https://www.intelrealsense.com/how-to-getting-imu-data-from-d435i-and-t265/

@alexcherpi
Copy link

alexcherpi commented Oct 10, 2019

Thanks for your help.
The STM32F7 has only one Arm® Cortex®-M7 core inside. Do you have a link to the API mentioned in your previous link?

@MartyG-RealSense
Copy link
Collaborator

MartyG-RealSense commented Oct 10, 2019

If you scroll right to the bottom of the page and then scroll a little up, the API section is near the bottom of the page.

You can also access more sample programs compatible with T265 tracking here:

https://github.com/IntelRealSense/librealsense/blob/master/doc/t265.md#examples-and-tools

@RealSenseCustomerSupport
Copy link
Collaborator


Hi All

Is there more that is needed on this thread? Thanks to @MartyG-RealSense for links to other threads with updates on this topic.

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

No branches or pull requests

8 participants