-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Raspberry Pi 2: Failed to open motor/audio subdevice or it is not disabled. #447
Comments
Any progress here? Got the same problem on an Xilinx Zynq running an embedded Linux (PetaLinux) |
It looks like audio is required for motor control on the K4W. If you only need the camera, you can modify libfreenect.hpp#191 to
But I'm not sure why the error happens in the first place. It's possible that some USB hosts can't support whatever is required for audio. Maybe @wizgrav or @ofTheo knows something more? |
Thank you, this indeed solves the issue for me. |
I modify libfreenect.hpp#191 to "freenect_select_subdevices(m_ctx, static_cast<freenect_device_flags>(FREENECT_DEVICE_CAMERA));" but it doesn't work out. |
I also encountered the same problem. And i failed to fix it by the solution mentioned above. It still returned the error "Failed to open motor subddevice or it is not disabled.Failed to open audio subdevice or it is not disabled.Could not open device" |
Please try updating to dcb2929. It should allow continuing execution if the audio device fails to load. |
Hello, I am Sebastian, I am from Argentina. To compile the example KinextExample You have but same error. Any new solution? |
Hopefully fixed by #479 - please reopen if it still doesn't work. |
Hi,
I'm having issues trying to run some examples (freenect-glview, freenect-chunkview, freenect-cppview, freenect-hiview), with all of them returning:
Occasionally, libusb seems to return error code -4 too. These errors are not permissions-related.
Note that freenect-regview does function correctly.
What actually bothers me is that, for an unknown reason, I am unable to run the OpenCV example on the Raspberry Pi 2, it returns the same error codes and messages (-4, could not open motor and audio).
The thing is, I do not actually care for motor and audio, only video and depth.
I have been able to run the OpenCV example on an Ubuntu 14.04 laptop, but I have no idea why it does not run on the Raspberry Pi 2 (I have already followed these steps and also asked for help here). I have been running the latest version of both Raspbian and Arch Linux, with no success other than freenect-regview.
A strange thing that happens is, whenever I run a freenect application, the following message appears in dmesg, and I don't know whether it is a feature or a bug:
I (think I) have a Kinect for Windows device, which has been adapted to USB via a Microsoft 1431 12V 1.08A power adapter. However, plugging the device into a powered USB hub has not made any difference. For sake of completeness, here is the relevant part of the output of lsusb:
The text was updated successfully, but these errors were encountered: