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 error calling rs2_pipeline_start(pipe:0x57bfa0) #8834

Closed
sandra-mf opened this issue Apr 15, 2021 · 6 comments
Closed

RealSense error calling rs2_pipeline_start(pipe:0x57bfa0) #8834

sandra-mf opened this issue Apr 15, 2021 · 6 comments

Comments

@sandra-mf
Copy link

  • Before opening a new issue, we wanted to provide you with some useful suggestions (Click "Preview" above for a better view):

  • All users are welcomed to report bugs, ask questions, suggest or request enhancements and generally feel free to open new issue, even if they haven't followed any of the suggestions above :)


Required Info
Camera Model D400
Firmware Version 05.12.12.100
Operating System & Version Linux
Kernel Version (Linux Only) 4.14.34-rt27-aimx6
Platform emPC-A/iMX6
SDK Version 2.44.0
Language C
Segment Robot

RealSense error calling rs2_pipeline_start(pipe:0x57bfa0)

Hello,

I just compiled the librealsense libraries on my emPC-A/iMX6, but the examples seem not find my D435. I am using the original USB cable, although the USBs on the emPC-A/iMX6 are 2.0.

When I connect the camera, I get this with dmesg | grep 8086:
[32134.622781] usb 2-1.1: New USB device found, idVendor=8086, idProduct=0b07

But when I run pipe.start(); I get this error:
RealSense error calling rs2_pipeline_start(pipe:0x57bfa0):
No device connected

Can you help me?

@MartyG-RealSense
Copy link
Collaborator

Hi @sandra-mf The emPC-A/iMX6 is an industrial PC with a dedicated Linux kernel. I would therefore recommend building the librealsense SDK from source code with CMake using the build flag -DFORCE_RSUSB_BACKEND=true to bypass the kernel.

The RSUSB installation method installs librealsense over an internet connection and is not dependent on Linux versions or kernel versions and does not require kernel patching. The link below has instructions for performing this type of installation.

#6368 (comment)

@sandra-mf
Copy link
Author

Hi !

Thank you very much for your answer, I recompiled it with the -DFORCE_RSUSB_BACKEND=true flag and now I get a different error :

15/04 16:41:10,109 ERROR [1759921232] (handle-libusb.h:95) failed to claim usb interface: 0, error: RS2_USB_STATUS_BUSY
terminate called after throwing an instance of 'rs2::error'
what(): failed to set power state

any idea?

@MartyG-RealSense
Copy link
Collaborator

Are you using a single camera or more than one camera on the computer, please?

@sandra-mf
Copy link
Author

Just one camera, and I think the problem was that I was starting the pipeline twice. Sorry.
Now it is working
Thank you very much for the support!

@MartyG-RealSense
Copy link
Collaborator

No problem at all, I'm very pleased to hear that you found the solution. Thanks for the update!

@MartyG-RealSense
Copy link
Collaborator

Case closed due to solution achieved and no further comments received.

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

2 participants