Ubuntu CP210x驱动程序失败

时间:2017-07-11 15:29:22

标签: ubuntu linux-kernel kernel-module

当我将CP2102虚拟COM端口(VCP)适配器连接到USB时,我得到此输出:

[ 1893.942663] usb 1-1.1.4.2: new full-speed USB device number 12 using ehci-pci
[ 1894.052823] usb 1-1.1.4.2: New USB device found, idVendor=10c4, idProduct=ea60
[ 1894.052826] usb 1-1.1.4.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1894.052828] usb 1-1.1.4.2: Product: CP2102 USB to UART Bridge Controller
[ 1894.052829] usb 1-1.1.4.2: Manufacturer: Silicon Labs
[ 1894.052831] usb 1-1.1.4.2: SerialNumber: 0001
[ 1895.067552] cp210x: Unknown symbol usb_serial_generic_open (err 0)
[ 1895.067565] cp210x: Unknown symbol usb_serial_generic_close (err 0)
[ 1895.067579] cp210x: Unknown symbol usb_serial_deregister_drivers (err 0)
[ 1895.067595] cp210x: Unknown symbol usb_serial_register_drivers (err 0)


$ lsmod | grep 210x$ lsmod | grep usbserial没有输出任何内容

然后我尝试重建驱动程序。已下载新的CP210x驱动程序http://www.silabs.com/products/development-tools/software/usb-to-uart-bridge-vcp-drivers

$ make
$ cp ./cp210x.ko /lib/modules/4.8.0-58-generic/kernel/drivers/usb/serial/cp210x.ko
$ insmod /lib/modules/4.8.0-58-generic/kernel/drivers/usb/serial/cp210x.ko 
insmod: ERROR: could not insert module /lib/modules/4.8.0-58-generic/kernel/drivers/usb/serial/cp210x.ko: Unknown symbol in module

此外$ modinfo usbserial输出

filename:       /lib/modules/4.8.0-58-generic/kernel/drivers/usb/serial/usbserial.ko
modinfo: ERROR: could not get modinfo from 'usbserial': No such file or directory

我的系统信息:4.8.0-58-generic #63~16.04.1-Ubuntu SMP Mon Jun 26 18:08:51 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux 这里发生了什么以及如何解决它?

0 个答案:

没有答案