文章目录
1 添加USB设备信息
要使用EC20 4G模块首先需要在Linux内核中添加EC20的USB信息,这样内核启动后,才能正确识别EC20 4G模块。打开Linux内核下的drivers/usb/serial/option.c 文件,添加如下信息:
1809 /* add support EC220 4G Module */
1810 {
USB_DEVICE(0x05C6, 0x9090) }, /* Quectel UC15 */
1811 {
USB_DEVICE(0x05C6, 0x9003) }, /* Quectel UC20 */
1812 {
USB_DEVICE(0x05C6, 0x9215)