Search found 31 matches

by sraposo
Wed Feb 12, 2025 2:41 pm
Forum: ESP-IDF
Topic: USB Host: errors "Bad transfer status 1: CHECK_ADDR" and "[0:0] CHECK_ADDR FAILED"
Replies: 0
Views: 826

USB Host: errors "Bad transfer status 1: CHECK_ADDR" and "[0:0] CHECK_ADDR FAILED"

SoC: ESP32-S3

IDE: ESP-IDF 5.40

Program based on Espressiff's hid host library to accept entries from a USB keyboard. A Tanaka Masayuki's code to deal with HID HOST is also included.

Problem: two different wired USB keyboard with no brand are NOT detect after a hot reset, while an wireless USB ...
by sraposo
Thu Jan 30, 2025 5:17 pm
Forum: ESP-IDF
Topic: Not all USB keyboards are detected by USB HOST library
Replies: 4
Views: 1867

Re: Not all USB keyboards are detected by USB HOST library

Hi, igi540.

Thanks a lot for your suggestion. I had already visited that Root Hub configuration page in menuconfig an I've thought of doing some experimentation soon, if needed.

The values you have proposed did not solved the problem, but they are sensible, considering the seemingly timing-related ...
by sraposo
Thu Jan 30, 2025 2:15 pm
Forum: ESP-IDF
Topic: Not all USB keyboards are detected by USB HOST library
Replies: 4
Views: 1867

Re: Not all USB keyboards are detected by USB HOST library

Hi, ahsrabrifat.

Delays of various values at several places were tried but all were ineffective.
by sraposo
Thu Jan 30, 2025 11:40 am
Forum: ESP-IDF
Topic: Not all USB keyboards are detected by USB HOST library
Replies: 4
Views: 1867

Not all USB keyboards are detected by USB HOST library

Purpose: a system that will accept data entry from an USB standard keyboard.

SoC: ESP32-S3

IDE: ESP-IDF 5.22

Program: based on "hid_host_example" example project from Espressif.

Problem: it was noticed that two generic USB keyboards with cable are NOT detect by USB HOST library most of times ...
by sraposo
Thu Jan 23, 2025 2:07 pm
Forum: ESP-IDF
Topic: Update 1:ESP32-S3 - TinyUSB - mouse: scroll wheel does not work when mouse is connected to ESP32-S3,but works if to a PC
Replies: 18
Views: 5821

Re: Update 1:ESP32-S3 - TinyUSB - mouse: scroll wheel does not work when mouse is connected to ESP32-S3,but works if to

@Manoel

Yep, there's something missing in ESP32 USB driver or it complies to some early version of HID specification, since Windows and Ubuntu are able to interpret scroll wheel moves even from these mice that only use 3 bytes to report mouse controls stati returned by function hid_host_device_get ...
by sraposo
Thu Jan 23, 2025 4:30 am
Forum: ESP-IDF
Topic: Update 1:ESP32-S3 - TinyUSB - mouse: scroll wheel does not work when mouse is connected to ESP32-S3,but works if to a PC
Replies: 18
Views: 5821

Re: Update 1:ESP32-S3 - TinyUSB - mouse: scroll wheel does not work when mouse is connected to ESP32-S3,but works if to


All you are talking about is still USB specification related and has nothing to do with HID report and data structure which mouse is sending.
Espressif usb hid mouse driver is very simple one (just guessing, never tested it) and probably wont wont with mice when cursor data and wheel data are sent ...
by sraposo
Wed Jan 22, 2025 11:10 pm
Forum: ESP-IDF
Topic: Update 1:ESP32-S3 - TinyUSB - mouse: scroll wheel does not work when mouse is connected to ESP32-S3,but works if to a PC
Replies: 18
Views: 5821

Re: Update 1:ESP32-S3 - TinyUSB - mouse: scroll wheel does not work when mouse is connected to ESP32-S3,but works if to

Callback function associated to hid_host_device_open never generated some special event related to the scroll wheel for those mice that returns a 3-byte pack via hid_host_device_get_raw_input_report_data.

I have ever considered if device driver for those mice send some special report (like ESP_IDF ...
by sraposo
Wed Jan 22, 2025 1:26 pm
Forum: ESP-IDF
Topic: Update 1:ESP32-S3 - TinyUSB - mouse: scroll wheel does not work when mouse is connected to ESP32-S3,but works if to a PC
Replies: 18
Views: 5821

Re: Update 1:ESP32-S3 - TinyUSB - mouse: scroll wheel does not work when mouse is connected to ESP32-S3,but works if to


I truly understand that the issue is not with the protocol but rather with the communication the ESP is having with the mouse. The way the native "hid host" library is configured, only 3 bytes arrive in the output. For some older mice, I was able to make it work perfectly. However, with newer mice ...
by sraposo
Tue Jan 21, 2025 11:49 pm
Forum: ESP-IDF
Topic: Update 1:ESP32-S3 - TinyUSB - mouse: scroll wheel does not work when mouse is connected to ESP32-S3,but works if to a PC
Replies: 18
Views: 5821

Re: Update 1:ESP32-S3 - TinyUSB - mouse: scroll wheel does not work when mouse is connected to ESP32-S3,but works if to

Maybe I have not studied enough the HID specification to find it... but it's pretty curious that some brands/models group four bytes related to mouse controls and coordinates while other don't include scroll wheel info in a 3-byte pack...

Well, I'll check HID specification again.
https://www.usb ...
by sraposo
Tue Jan 21, 2025 12:09 pm
Forum: ESP-IDF
Topic: Update 1:ESP32-S3 - TinyUSB - mouse: scroll wheel does not work when mouse is connected to ESP32-S3,but works if to a PC
Replies: 18
Views: 5821

Re: Update 1:ESP32-S3 - TinyUSB - mouse: scroll wheel does not work when mouse is connected to ESP32-S3,but works if to

Hi, Manuel.

No progress yet. I've also checked by WireShark that there are USB events when scroll wheel is moved, but I could not get any useful clue.

I've been spending a LOT of time trying to find where this information resides but I was not successful. I could not find any special event, non ...

Go to advanced search