Sonoff zigbee 3.0 dongle plus: linux mint: not recognized as TTYUSB

Hi All,

I’m using linux mint (19.1) with home assistant container (latest version)
i purchased this dongle

followed this guide to flash it to CC1352P2_CC2652P_launchpad_coordinator_20211217.zip.

when i insert it into the server it is shown in lsusb

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP210x UART Bridge / myAVR mySmartUSB light
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

but it is not creating a TTYUSB0 or TTYACM, so i can’t forward it in my docker compose file to home assistant.
I have searched but cannot find a solution, does anyone know where i have to look for?

let me know if more information is needed.

kind regards

*Update: dmesg info

[ 1441.260708] usb 1-2: new full-speed USB device number 3 using xhci_hcd
[ 1441.411062] usb 1-2: New USB device found, idVendor=10c4, idProduct=ea60
[ 1441.411072] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1441.411078] usb 1-2: Product: Sonoff Zigbee 3.0 USB Dongle Plus
[ 1441.411084] usb 1-2: Manufacturer: ITead
[ 1441.411090] usb 1-2: SerialNumber: a07846d69e29ec118eb06c7840c9ce8d

Update2: the driver looks empty and probably the problem
lsusb -t -v

/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/6p, 5000M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/12p, 480M
    |__ Port 2: Dev 3, If 0, Class=Vendor Specific Class, Driver=, 12M

Is your docker container under --net=host? If not then it may not find the devs
Try adding this to the docker run command: --device /dev/ttyUSB0:/dev/ttyUSB0

1 Like

The usb dongle is not detected in the host at this point
ttyUSB0 is not created in linux

fixed it

driver was indeed missing, or better to say it was misnamed in the kernel

so the fix for anyone that runs into the same problem
location of kernel drivers is
/lib/modules/<Kernel version>/kernel/drivers/usb/serial

the driver was named
cp210x.ko.orig
should be named
cp210x.ko

replug the usb dongle and run
lsusb -t -v

/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/6p, 5000M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/12p, 480M
    |__ Port 2: Dev 4, If 0, Class=Vendor Specific Class, Driver=cp210x, 12M

now the driver is filled in

if you check /dev/ then u will see the ttyUSB0 is now in the list

Capture

1 Like

Thank you! This solved my problem, and now it appears in HomeAssistant.

how can I see the kernel version ?

mine had only one folder so i didn’t need to search for it

my dongle doesnt get recognized :frowning:

cat /proc/version

that worked for me