-
Notifications
You must be signed in to change notification settings - Fork 805
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
Example usb_camera_mic_spk does not work, prints "Setting format: 0 NOT found" (AEGHB-781) #397
Comments
Only MJPEG cameras are supported |
Yes, but lsusb shows:
I can save a frame with: |
@frka1204 That's because with ESP32-S3 the USB camera can only works in Fullspeed mode. But on your PC it works in Highspeed mode. The configuration descriptors used by the devices are different for different rate modes |
Ok, I thought it was enough to set maximum-speed = "full-speed"; in device tree to force full-speed but it seems that's not enough. Instead I disabled USB EHCI in device tree so that only USB OHCI is enabled which forces full-speed mode as shown:
Now the usb descriptors show that MJPEG isn't a supported format for full-speed mode:
|
Answers checklist.
General issue report
I've tested my usb camera with the example provided in esp-iot-solution/examples/usb/host/usb_camera_mic_spk. However it seems that the program complains about that format 0 (UVC_FORMAT_JPEG) is an unsupported format for this camera.
When the camera is connected to a computer with a usb port run in full speed mode frames are received.
lsusb -v shows this:
lsusb_log.txt
The program in usb_camera_mic_spk prints this information:
The text was updated successfully, but these errors were encountered: