我嘗試爲我的Silabs USB轉UART橋接器安裝驅動程序時出現問題。Silabs Usb CP210x驅動程序錯誤
我下載從這裏司機:http://www.silabs.com/products/mcu/Pages/USBtoUARTBridgeVCPDrivers.aspx
我試圖安裝在我的覆盆子具有內核3.6.11
在說明中,我可以看到以下內容:
make (your cp2010x driver)
cp cp2010x.ko to /libmodules/<kernel>/kernel/driver/usb/serial
insmod /libmodules/<kernel>/kernel/driver/usb/serial/usbserial.ko
insmod xp2010x.ko
不過,我得到這個錯誤,當我嘗試調用MAKE:
[email protected]:/home/pi/Desktop/vcp/Linux1# make
make -C /lib/modules/3.6.11+/build M=/home/pi/Desktop/vcp/Linux1 modules
make[1]: Entering directory `/usr/src/linux'
CC [M] /home/pi/Desktop/vcp/Linux1/cp210x.o
/home/pi/Desktop/vcp/Linux1/cp210x.c:164:12: error: ´usb_serial_probe´ undeclared here (not in a function)
/home/pi/Desktop/vcp/Linux1/cp210x.c:165:16: error: ´usb_serial_disconnect´ undeclared here (not in a function)
/home/pi/Desktop/vcp/Linux1/cp210x.c: In function ´cp210x_init´:
/home/pi/Desktop/vcp/Linux1/cp210x.c:989:2: error: implicit declaration of function ´usb_serial_register´ [-Werror=implicit-function-declaration]
/home/pi/Desktop/vcp/Linux1/cp210x.c:996:3: error: implicit declaration of function ´usb_serial_deregister´ [-Werror=implicit-function-declaration]
cc1:某些警告被視爲錯誤
make[2]: *** [/home/pi/Desktop/vcp/Linux1/cp210x.o] Error 1
make[1]: *** [_module_/home/pi/Desktop/vcp/Linux1] Error 2
make[1]: Leaving directory `/usr/src/linux'
make: *** [all] Error 2
這裏有什麼問題?
任何想法??是否有任何問題的cp210x.c文件?不幸的是我不能編輯它!請幫助,如果你知道! – dali1985 2013-05-06 06:30:43