Page 1 of 1

SiLabs CP2104 USB Driver in FatDog ?

Posted: Tue Mar 05, 2024 9:38 pm
by Neo_78

In order to communicate via USB with the serial port of many ESP32 microcontrollers in the Arduino IDE, the Silicon Labs CP2104 driver is used, for instance:

https://docs.heltec.org/general/establi ... ction.html

SiLabs claims that their driver ships with the Linux Kernel since version 2.6 and later:

https://community.silabs.com/s/article/ ... uage=en_US

Checking this in latest FatDog unfortunately returns nothing:

lsmod | grep cp210x

Is this driver module not available in the current FatDog Kernel or does it just have to be enabled with modprobe ?

Thanks for your feedback! :thumbup:


Re: SiLabs CP2104 USB Driver in FatDog ?

Posted: Tue Mar 05, 2024 11:07 pm
by fatdoguser

It's a module @Neo_78

Code: Select all

# zcat /proc/config.gz | grep CP210
CONFIG_USB_SERIAL_CP210X=m

Re: SiLabs CP2104 USB Driver in FatDog ?

Posted: Wed Mar 06, 2024 9:30 pm
by Neo_78

Thanks @fatdoguser.

So I assume I can simply load it with sudo modprobe cp210x ?


Re: SiLabs CP2104 USB Driver in FatDog ?

Posted: Wed Mar 06, 2024 10:07 pm
by fatdoguser

@Neo_78 yes, as root (or sudo)

Code: Select all

modprobe cp210x

Optionally confirm with

Code: Select all

lsmod | grep usbserial

Re: SiLabs CP2104 USB Driver in FatDog ?

Posted: Thu Mar 07, 2024 12:59 pm
by jamesbond

Plugging the stuff to your computer's USB port should automatically load it if it is not already loaded.


Re: SiLabs CP2104 USB Driver in FatDog ?

Posted: Thu Mar 07, 2024 10:58 pm
by Neo_78

Thanks @jamesbond @fatdoguser. The idea is to get an ESP32 microcontroller that I am able to access via Fatdog and these boards seem to ship with a variety of different USB-Serial chips. That's why I am asking before having to buy a larger number of boards.

There seems to be a global shortage of CP2104 chips so they replaced them with CH9102 chips. Is that driver module supported in FatDog?