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

libusb adapter failed to allocate transfer with length: 16384 (IEC-8) (IEC-144) #51

Open
dmitrij9992905 opened this issue Nov 6, 2022 · 1 comment

Comments

@dmitrij9992905
Copy link

Hello everyone!

I use ESP32S3 and Lenovo camera. PSRAM 8MB, usage is ON.
I still cannot get an image in any format, only broken files.
Camera has been detected, I can get camera info, but I cannot get image from camera because I see the following errors

E (6343) libusb adapter: Failed to allocate transfer with length: 16384
Streaming...
Enabling auto exposure ...
E (6343) USBH: Dev 1 EP 0 STALL
E (6353) Transfer failed: Status 4
@tom-borcin tom-borcin changed the title libusb adapter failed to allocate transfer with length: 16384 libusb adapter failed to allocate transfer with length: 16384 Apr 21, 2023
@tom-borcin tom-borcin changed the title libusb adapter failed to allocate transfer with length: 16384 libusb adapter failed to allocate transfer with length: 16384 Apr 24, 2023
@github-actions github-actions bot changed the title libusb adapter failed to allocate transfer with length: 16384 libusb adapter failed to allocate transfer with length: 16384 (IEC-8) Apr 24, 2023
@tore-espressif tore-espressif transferred this issue from espressif/idf-extra-components Jul 31, 2024
@tore-espressif
Copy link
Collaborator

I'm really sorry that this issues is unanswered for so long.
ATM, we are working on our custom UVC driver, because there were too many limitations in the original driver based on libuvc.

In this case, the issue is that the USB transfer must be allocated in DMA capable memory, that is, the internal RAM. This limitation will be resolved in the new UVC driver

@github-actions github-actions bot changed the title libusb adapter failed to allocate transfer with length: 16384 (IEC-8) libusb adapter failed to allocate transfer with length: 16384 (IEC-8) (IEC-144) Jul 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants