Installing cp210x driver
-
- Posts: 7
- youtube meble na wymiar Warszawa
- Joined: Sun Jul 05, 2020 3:44 pm
Re: Installing cp210x driver
Thanks Phillipe! This has solved it - I did search but could only find the 4.1.4 kernel version listed here (which didn't work).
-
- Posts: 3
- Joined: Wed Jun 01, 2022 3:45 pm
Re: Installing cp210x driver
Hi bro,father.mande wrote:Hi,
I have posted a version for kernel 5.4.x in the forum after a request ... search somewhere ...
I again post it :
Philippe.
I have the problem with zigbee2mqtt : "Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)".
Pls help. Thanks
- father.mande
- Posts: 1817
- Joined: Sat Sep 12, 2015 2:55 am
- Location: La Rochelle (France)
Re: Installing cp210x driver
Hi,
Verify that it's the real problem (first page of get started in zibee2mqtt site, if yes search it in the forum, or ask me, if I have time, I can put it here (IF IT'S the problem).
extract of get started ... in zibee2mqtt site :
SO search for ch341 ...
Philippe.
No idea, please provide dmesg, BUT if "get started" in zigbee2mqtt is correct (again no idea) the driver require is NOT CP210x but CH341 (also provide before ex. used in Octoprint APKG (generated by me) ... and used by me for my own 3D printer requiring this interface).thanhroe wrote: Hi bro,
I have the problem with zigbee2mqtt : "Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)".
Pls help. Thanks
Verify that it's the real problem (first page of get started in zibee2mqtt site, if yes search it in the forum, or ask me, if I have time, I can put it here (IF IT'S the problem).
extract of get started ... in zibee2mqtt site :
Code: Select all
After you plug the adapter in see the dmesg output to find the device location:
$ sudo dmesg
...
usbcore: registered new interface driver ch341
usbserial: USB Serial support registered for ch341-uart
ch341 3-1:1.0: ch341-uart converter detected
usb 3-1: ch341-uart converter now attached to ttyUSB0
Philippe.
AS6602T / AS5202T /AS5002T / AS1002T / FS6706T
-
- Posts: 3
- Joined: Wed Jun 01, 2022 3:45 pm
Re: Installing cp210x driver
This is log file of dmesg and z2m . Please help check .father.mande wrote:Hi,No idea, please provide dmesg, BUT if "get started" in zigbee2mqtt is correct (again no idea) the driver require is NOT CP210x but CH341 (also provide before ex. used in Octoprint APKG (generated by me) ... and used by me for my own 3D printer requiring this interface).thanhroe wrote: Hi bro,
I have the problem with zigbee2mqtt : "Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)".
Pls help. Thanks
Verify that it's the real problem (first page of get started in zibee2mqtt site, if yes search it in the forum, or ask me, if I have time, I can put it here (IF IT'S the problem).
extract of get started ... in zibee2mqtt site :SO search for ch341 ...Code: Select all
After you plug the adapter in see the dmesg output to find the device location: $ sudo dmesg ... usbcore: registered new interface driver ch341 usbserial: USB Serial support registered for ch341-uart ch341 3-1:1.0: ch341-uart converter detected usb 3-1: ch341-uart converter now attached to ttyUSB0
Philippe.
Thanks
- Attachments
-
- dmesg_and_z2m_log.zip
- (17.88 KiB) Downloaded 174 times
- father.mande
- Posts: 1817
- Joined: Sat Sep 12, 2015 2:55 am
- Location: La Rochelle (France)
Re: Installing cp210x driver
Hi,
Nothing clear
seem you used docker ... is it for this application ? if yes dmesg is not useful ... in all case the containers in your system is badly (as usual for docker) configured (error reported) and network used a veth link between host and containers ... the lazy solution
BUT if application run in a containers, reason are not explicated (as in a "normal" Linux or as in a correctly build container ... )
reason 1 : the driver is not present ... so test using ch341
reason 2 : driver cp210x is correct ... so it's the access to device from the container have the problem, ex. as in dmesg some resource are not correctly configured (cgroup, etc.)
reason 3 : another problem not visible with only your log
I am not support ... so my help is very limited, please ask Asustor support and creator of the container ... I have write docker containers and some document like how-to ... but stop ... too many lack and no possibility to know exactly what docker engine do itself ... so no quality process.
Philippe.
NB if you don't retreive ch431 module I will put it here on your request ... after ... do it yourself.
Philippe.
Nothing clear
seem you used docker ... is it for this application ? if yes dmesg is not useful ... in all case the containers in your system is badly (as usual for docker) configured (error reported) and network used a veth link between host and containers ... the lazy solution
BUT if application run in a containers, reason are not explicated (as in a "normal" Linux or as in a correctly build container ... )
reason 1 : the driver is not present ... so test using ch341
reason 2 : driver cp210x is correct ... so it's the access to device from the container have the problem, ex. as in dmesg some resource are not correctly configured (cgroup, etc.)
reason 3 : another problem not visible with only your log
I am not support ... so my help is very limited, please ask Asustor support and creator of the container ... I have write docker containers and some document like how-to ... but stop ... too many lack and no possibility to know exactly what docker engine do itself ... so no quality process.
Philippe.
NB if you don't retreive ch431 module I will put it here on your request ... after ... do it yourself.
Philippe.
AS6602T / AS5202T /AS5002T / AS1002T / FS6706T
-
- Posts: 3
- Joined: Wed Jun 01, 2022 3:45 pm
Re: Installing cp210x driver
Yes, I used docker.father.mande wrote:Hi,
Nothing clear
seem you used docker ... is it for this application ? if yes dmesg is not useful ... in all case the containers in your system is badly (as usual for docker) configured (error reported) and network used a veth link between host and containers ... the lazy solution
BUT if application run in a containers, reason are not explicated (as in a "normal" Linux or as in a correctly build container ... )
reason 1 : the driver is not present ... so test using ch341
reason 2 : driver cp210x is correct ... so it's the access to device from the container have the problem, ex. as in dmesg some resource are not correctly configured (cgroup, etc.)
reason 3 : another problem not visible with only your log
I am not support ... so my help is very limited, please ask Asustor support and creator of the container ... I have write docker containers and some document like how-to ... but stop ... too many lack and no possibility to know exactly what docker engine do itself ... so no quality process.
Philippe.
NB if you don't retreive ch431 module I will put it here on your request ... after ... do it yourself.
Philippe.
I will try ch431 .
Thanks
- father.mande
- Posts: 1817
- Joined: Sat Sep 12, 2015 2:55 am
- Location: La Rochelle (France)
Re: Installing cp210x driver
Hi,
In case ... module for kernel 5.4.x Philippe.
In case ... module for kernel 5.4.x Philippe.
AS6602T / AS5202T /AS5002T / AS1002T / FS6706T
-
- Posts: 2
- Joined: Sun Jun 26, 2022 5:44 am
Re: Installing cp210x driver
Thanks Philippe! I was compiling the kernel module but it kept giving me errors when I loaded it.father.mande wrote:Hi,
I have posted a version for kernel 5.4.x in the forum after a request ... search somewhere ...
I again post it :
Philippe.
What did you do to compile the module?
- father.mande
- Posts: 1817
- Joined: Sat Sep 12, 2015 2:55 am
- Location: La Rochelle (France)
Re: Installing cp210x driver
Hi Plasmoid,
Hum! ... in fact I don't think while doing it ... I do it ... especially for modules in kernel tree ?
Please, just wait for few days (I am in travel and move frequently) without time to verify my process. and try to list some phases I run and why I choice environment for each phase.
In all case support can also help you, I suppose, even it's not in the core of A.D.M. delivery.
or high specialist of Linux present on the forum can also help you ...
Philippe.
Hum! ... in fact I don't think while doing it ... I do it ... especially for modules in kernel tree ?
Please, just wait for few days (I am in travel and move frequently) without time to verify my process. and try to list some phases I run and why I choice environment for each phase.
In all case support can also help you, I suppose, even it's not in the core of A.D.M. delivery.
or high specialist of Linux present on the forum can also help you ...
Philippe.
AS6602T / AS5202T /AS5002T / AS1002T / FS6706T
-
- Posts: 7
- Joined: Sun Jul 05, 2020 3:44 pm
Re: Installing cp210x driver
Hi Phillipe,
Sorry to annoy you again but it looks the previous drivers are longer compatible with the last ADM version (ADM 4.1.0.RJ72 - 2022-07-07).
Is it possible to compile an updated version? Info etc below:
AS5304T
Linux 5.13.x x86_64
dmesg:
insmod:
lsusb:
/opt/bin/lsusb:
/opt/bin/lusb -v:
Thanks for your help!
Sorry to annoy you again but it looks the previous drivers are longer compatible with the last ADM version (ADM 4.1.0.RJ72 - 2022-07-07).
Is it possible to compile an updated version? Info etc below:
AS5304T
Linux 5.13.x x86_64
dmesg:
Code: Select all
[ 1660.751254] cp210x: disagrees about version of symbol module_layout
[ 1919.876531] ch341: disagrees about version of symbol module_layout
Code: Select all
insmod: can't insert 'ch341.ko': invalid module format
insmod: can't insert 'cp210x.ko': invalid module format
Code: Select all
Bus 002 Device 002: ID 0781:5567 USB SanDisk 3.2Gen1
Bus 002 Device 001: ID 1d6b:0003 Linux 5.13.x xhci-hcd xHCI Host Controller
Bus 001 Device 002: ID 10c4:ea60 ITead Sonoff Zigbee 3.0 USB Dongle Plus
Bus 001 Device 001: ID 1d6b:0002 Linux 5.13.x xhci-hcd xHCI Host Controller
Code: Select all
Bus 002 Device 002: ID 0781:5567 USB SanDisk 3.2Gen1
Bus 002 Device 001: ID 1d6b:0003 Linux 5.13.x xhci-hcd xHCI Host Controller
Bus 001 Device 002: ID 10c4:ea60 ITead Sonoff Zigbee 3.0 USB Dongle Plus
Bus 001 Device 001: ID 1d6b:0002 Linux 5.13.x xhci-hcd xHCI Host Controller
Code: Select all
Bus 001 Device 002: ID 10c4:ea60 ITead Sonoff Zigbee 3.0 USB Dongle Plus
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x10c4
idProduct 0xea60
bcdDevice 1.00
iManufacturer 1 ITead
iProduct 2 Sonoff Zigbee 3.0 USB Dongle Plus
iSerial 3 2cd10afc5729ec118de56f7840c9ce8d
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x0020
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 255
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Device Status: 0x0000
(Bus Powered)