SiLabs CP2104 USB Driver in FatDog ?

Moderators: kirk, jamesbond, p310don, JakeSFR, step, Forum moderators

Post Reply
Neo_78
Posts: 351
Joined: Wed Dec 29, 2021 10:45 pm
Has thanked: 190 times
Been thanked: 9 times

SiLabs CP2104 USB Driver in FatDog ?

Post 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:

fatdoguser
Posts: 175
Joined: Sat Aug 05, 2023 10:54 am
Has thanked: 22 times
Been thanked: 79 times

Re: SiLabs CP2104 USB Driver in FatDog ?

Post by fatdoguser »

It's a module @Neo_78

Code: Select all

# zcat /proc/config.gz | grep CP210
CONFIG_USB_SERIAL_CP210X=m
Neo_78
Posts: 351
Joined: Wed Dec 29, 2021 10:45 pm
Has thanked: 190 times
Been thanked: 9 times

Re: SiLabs CP2104 USB Driver in FatDog ?

Post by Neo_78 »

Thanks @fatdoguser.

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

fatdoguser
Posts: 175
Joined: Sat Aug 05, 2023 10:54 am
Has thanked: 22 times
Been thanked: 79 times

Re: SiLabs CP2104 USB Driver in FatDog ?

Post by fatdoguser »

@Neo_78 yes, as root (or sudo)

Code: Select all

modprobe cp210x

Optionally confirm with

Code: Select all

lsmod | grep usbserial
jamesbond
Posts: 540
Joined: Tue Aug 11, 2020 3:02 pm
Location: The Pale Blue Dot
Has thanked: 73 times
Been thanked: 292 times

Re: SiLabs CP2104 USB Driver in FatDog ?

Post by jamesbond »

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

Neo_78
Posts: 351
Joined: Wed Dec 29, 2021 10:45 pm
Has thanked: 190 times
Been thanked: 9 times

Re: SiLabs CP2104 USB Driver in FatDog ?

Post 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?

Post Reply

Return to “Software”