Skip to content

Errors when starting the library with USB device already connected #18

@andreavalle

Description

@andreavalle

Hello Bert,
I'm testing your library with the loopback code on a ESP32-S3 connected to a M-Bus USB interface implementing a CH341 chip (PID=0x7523).
Everything seems to work fine, but only if I connect the USB device to the OTG port after booting the ESP32 program. Instead, if the ESP32 starts with the USB device already connected to it, I get the following errors, with the last 5 lines that keep repeating:

E (3085) cdc_acm_ops: cdc_acm_host_line_coding_get(25): line_coding_get function not supported
E (3386) USBH: EP with 130 address already allocated
E (3386) USB HOST: EP allocation error ESP_ERR_INVALID_STATE
E (3387) USB HOST: Claiming interface error: ESP_ERR_INVALID_STATE
E (3391) cdc_acm: cdc_acm_start(191): Could not claim interface
E (3397) cdc_acm: cdc_acm_host_open(621): 

Any idea of the problem and on how to avoid it?

Thanks
Andrea

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions