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

No Motion data from D435i on Raspberry Pi 4 #4979

Closed
AnupamYedida opened this issue Oct 4, 2019 · 11 comments
Closed

No Motion data from D435i on Raspberry Pi 4 #4979

AnupamYedida opened this issue Oct 4, 2019 · 11 comments

Comments

@AnupamYedida
Copy link

AnupamYedida commented Oct 4, 2019

Required Info
Camera Model D435i
Firmware Version 05.11.15.00
Operating System & Version Debian Buster
Kernel Version (Linux Only) 4.19.75
Platform Raspberry Pi4
SDK Version 2.28.0

The depth and RGB data is fine. But there is no IMU(Gyro and Accel) data being published. It returns Error type: No data to return (-21).
Bus error.
I have a desktop running Ubuntu 18.04 and the motion data is published over there perfectly.
I have tried installing libuvc-backend, no progress with that.

@MartyG-RealSense
Copy link
Collaborator

MartyG-RealSense commented Oct 4, 2019

Another Pi 4 user has reported this error with the D435i recently, though the customer stopped responding before the case was resolved. The error would go away whenever they disabled accel and gyro. I provide the link below as a reference regarding the customer's log data and what was tried to fix it.

https://forums.intel.com/s/question/0D50P00004RoUHqSAN/d435i-motion-module-force-pause-when-turning-on-imu?language=en_US

@AnupamYedida
Copy link
Author

I have already gone through this link and followed along. Sadly no progress with that :(

@MartyG-RealSense
Copy link
Collaborator

MartyG-RealSense commented Oct 4, 2019

It could be part of other recent issues relating to Pi4 / Raspbian Buster. Links to other cases can be found in the discussion below

#4899

@AnupamYedida
Copy link
Author

Tried that link as well, unfortunately no luck with that. I would appreciate any help with this.

@MartyG-RealSense
Copy link
Collaborator

MartyG-RealSense commented Oct 5, 2019

Regarding the question of whether kernel 4.19 is supported by Librealsense, whilst it is not officially, a Pi 4 user reported it worked for them with Raspian Buster. Though importantly, they did not say if they were using a D435i.

#4818 (comment)

@AnupamYedida
Copy link
Author

I suspect it 4.19 has issues with the HID interface. There are kernel patches for Ubuntu 16 and 18, but I couldn't get it to work on Debian Buster on the Pi4.

@ev-mp
Copy link
Collaborator

ev-mp commented Oct 10, 2019

@AnupamYedida hello, we've recently received RPI4 units to start working on the reproduction.
One immediate observation is that running IMU sensors using the native Raspbian kernel is not possible as the core IIO kernel modules are not built into it. So for full support one will need to reconfigure and recompile the kernel, which is not, obviously, the first choice.

We'll look into the reasons for FORCE_LIBUVC=true not working properly as it should and update accordingly.
Sorry for the inconvenience

@AnupamYedida
Copy link
Author

I see. Much appreciated :)

@rofreli
Copy link

rofreli commented Oct 12, 2019

Thank you, MartyG-Realsense, that's mean I will continue forcing with ubuntu in raspberry pi 4. It does not work well, but I can test somethings, including IMU.

@RealSenseCustomerSupport
Copy link
Collaborator


@AnupamYedida is this issue still occurring with the latest SDK and f/w combinations?

@RealSenseCustomerSupport
Copy link
Collaborator


@AnupamYedida it seems that this issue has been resolved so if we do not hear otherwise we will close this ticket next week.

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

6 participants