jcmvbkbc / esp32-linux-build

xtensa linux build scripts for the esp32s3 and esp32
http://wiki.osll.ru/doku.php/etc:users:jcmvbkbc:linux-xtensa:esp32s3
81 stars 14 forks source link

USB Host #10

Open shufps opened 2 months ago

shufps commented 2 months ago

First of all, I'm super impressed how flawlessly the script works without any fixed or adjustments, just start it and at the end there is a fully running Linux :exploding_head:

Thx a lot for providing this :raised_hands:

What I wonder, Is there an easy way to enable USB Host on the ESP32-S?

I would like to connect a USB CDC ACM (virtual com port) USB-Device onto my ESP32-S3 board but it doesn't work out-of-the-box :thinking:

I would be very grateful if you could point me in the right direction :hugs:

shufps commented 2 months ago

Hmm in make menuconfig, in the esp32s3_defconfig and .config there is no sign of USB ...

Maybe it doesn't exist?

jcmvbkbc commented 2 months ago

Hmm in make menuconfig, in the esp32s3_defconfig and .config there is no sign of USB ... Maybe it doesn't exist?

That's correct. ATM there's no kernel driver for the esp32s3 USB host controller, so no point in enabling the USB subsystem. The USB serial peripheral is not related to the USB host controller.

jcmvbkbc commented 2 months ago

Not sure when this page was published, but it looks like we may have a linux driver for the USB controller after all. I'll try to configure it.