M5Stack usbserial driver

vibnwis
Posts: 89
Joined: Thu Aug 24, 2017 1:13 am

M5Stack usbserial driver

Postby vibnwis » Sat Feb 24, 2018 11:38 am

HI there,

My apologies if this is not the right forum for M5Stack. I have problems to get the driver cp210x.ko to work properly. However, I managed to compile that in Ubuntu 16.04. When installing as suggested below, it says invalid module format. See below.

I had tried M5Stack, none of the know or use Linux. Hence, the founder said, they could not support. Please advise.

esp32@lts16ws-S550CM:~/esp/ESP32_OLED_webradio_weather_station$ sudo insmod /lib/modules/4.13.0-35-generic/kernel/drivers/usb/serial/usbserial.ko
insmod: ERROR: could not insert module /lib/modules/4.13.0-35-generic/kernel/drivers/usb/serial/usbserial.ko: Invalid module format
esp32@lts16ws-S550CM:~/esp/ESP32_OLED_webradio_weather_station$ sudo insmod /lib/modules/4.13.0-35-generic/kernel/drivers/usb/serial/cp210x.ko
insmod: ERROR: could not insert module /lib/modules/4.13.0-35-generic/kernel/drivers/usb/serial/cp210x.ko: Invalid module format

vibnwis
Posts: 89
Joined: Thu Aug 24, 2017 1:13 am

Re: M5Stack usbserial driver

Postby vibnwis » Sat Feb 24, 2018 8:03 pm

Well, that was probably a false alarm which I did not reset the system. Having reset the system, I see it has been loaded.
modinfo cp210x
filename: /lib/modules/4.13.0-36-generic/kernel/drivers/usb/serial/cp210x.ko
license: GPL
description: Silicon Labs CP210x RS232 serial adaptor driver
srcversion: 2D74E682A8B5BA859E4D6BC
depends: usbserial
name: cp210x
vermagic: 4.13.0-36-generic SMP mod_unload

Who is online

Users browsing this forum: Baidu [Spider] and 133 guests