Thread: Silabs UART to USB CP210x
i'm having problem installing driver silabs usb uart bridge.
i download driver here:http://www.silabs.com/products/mcu/p...cpdrivers.aspx
i'm running ubuntu 12.04 32bit kernel linux 3.5.0-27-generic
the instructions that:
make (your cp2010x driver)
cp cp2010x.ko /libmodules/<kernel>/kernel/driver/usb/serial
insmod /libmodules/<kernel>/kernel/driver/usb/serial/usbserial.ko
insmod xp2010x.ko
however, error when try call make:
root@grace:/home/admin/desktop/usb# make
make -c /lib/modules/3.5.0-27-generic/build m=/home/admin/desktop/usb modules
make[1]: entering directory `/usr/src/linux-headers-3.5.0-27-generic'
cc [m] /home/admin/desktop/usb/cp210x.o
/home/admin/desktop/usb/cp210x.c:164:12: error: ‘usb_serial_probe’ undeclared here (not in function)
/home/admin/desktop/usb/cp210x.c:165:16: error: ‘usb_serial_disconnect’ undeclared here (not in function)
/home/admin/desktop/usb/cp210x.c: in function ‘cp210x_init’:
/home/admin/desktop/usb/cp210x.c:989:2: error: implicit declaration of function ‘usb_serial_register’ [-werror=implicit-function-declaration]
/home/admin/desktop/usb/cp210x.c:996:3: error: implicit declaration of function ‘usb_serial_deregister’ [-werror=implicit-function-declaration]
cc1: warnings being treated errors
make[2]: *** [/home/admin/desktop/usb/cp210x.o] error 1
make[1]: *** [_module_/home/admin/desktop/usb] error 2
make[1]: leaving directory `/usr/src/linux-headers-3.5.0-27-generic'
make: *** [all] error 2
new linux. i've googled error lot can't find answers works.
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Hardware [ubuntu] Silabs UART to USB CP210x
Ubuntu
Comments
Post a Comment