在调试handsfree时,ubuntu tk1板卡识别不出ttyUSB端口
通过dmesg -c查看,
Product: CP2102 USB to UART Bridge Controller
但是cp210x没有attached to ttyUSB0
这个我们需要更新cp210x的driver
从http://www.silabs.com/products/mcu/pages/usbtouartbridgevcpdrivers.aspx#linux下载 cp210x的驱动
编译生成cp210x.ko
insmod cp210x.ko,就可以看到ttyUSB0了。
另外我们还需要ubuntu上电自动加载驱动模块
步骤如下
1. depmod -a
2. 在/etc/modules加入cp210x
3. 拷贝cp210x.ko到/lib/modules/.../kernel/drivers/usb/serial