linux3.10
高新兴物联ME3630-W pid:c3c
内核中已经有了usb serial的驱动 命令echo 0x19d2 0x1476 > /sys/bus/usb-serial/drivers/option1/new_id
如下所示,就不需要去修改内核中的static const struct usb_device_id option_ids[]结构体了# echo 0x19d2 0x1476 > /sys/bus/usb-serial/drivers/option1/new_id
[ 87.036901] option 3-1:1.0: GSM modem (1-port) converter detected
[ 87.045534] usb 3-1: GSM modem (1-port) converter now attached to ttyUSB0
[ 87.053459] option 3-1:1.1: GSM modem (1-port) converter detected
[ 87.061535] usb 3-1: GSM modem (1-port) converter now attached to ttyUSB1
[ 87.069580] option 3-1:1.2: GSM modem (1-port) converter detected
[ 87.077486] usb 3-1: GSM modem (1-port) converter now attached to ttyUSB2免责声明:文章内容来自互联网,本站不对其真实性负责,也不承担任何法律责任,如有侵权等情况,请与本站联系删除。
转载请注明出处:不编译内核,让usb serial识别新的上网卡 https://www.yhzz.com.cn/a/19054.html