当前使用5g模块rm520n-cn,驱动已经适配且可以正常使用网络。当前需要在已有驱动的基础上做添加,希望能同时适配ec200a这个型号的4g模块,不知道如何操作。
当前尝试在option.c中添加ec200a的vid和pid(搜索到可能是0x2c7c &0x6005 ),但是添加并重新编译后,识别依旧是失败了。
系统启动后的打印如下:
usb 1-1.3: new low-speed USB device number 5 using xhci-hcd
usb 1-1.3: device descriptor read/64, error -32
usb 1-1.3: device descriptor read/64, error -32
usb 1-1.3: new low-speed USB device number 6 using xhci-hcd
usb 1-1.3: device descriptor read/64, error -32
usb 1-1.3: device descriptor read/64, error -32
usb 1-1-port3: attempt power cycle
usb 1-1.3: new low-speed USB device number 7 using xhci-hcd
usb 1-1.3: Device not responding to setup address.
usb 1-1.3: Device not responding to setup address.
usb 1-1.3: device not accepting address 7, error -71
usb 1-1.3: new low-speed USB device number 8 using xhci-hcd
usb 1-1.3: Device not responding to setup address.
usb 1-1.3: Device not responding to setup address.
usb 1-1.3: device not accepting address 8, error -71
usb 1-1-port3: unable to enumerate USB device
usb 1-1.3: new low-speed USB device number 9 using xhci-hcd
usb 1-1.3: device descriptor read/64, error -32
usb 1-1.3: device descriptor read/64, error -32
usb 1-1.3: new low-speed USB device number 10 using xhci-hcd
usb 1-1.3: device descriptor read/64, error -32
usb 1-1.3: device descriptor read/64, error -32
usb 1-1-port3: attempt power cycle
usb 1-1.3: new low-speed USB device number 11 using xhci-hcd
usb 1-1.3: Device not responding to setup address.
usb 1-1.3: Device not responding to setup address.
usb 1-1.3: device not accepting address 11, error -71
usb 1-1.3: new low-speed USB device number 12 using xhci-hcd
usb 1-1.3: Device not responding to setup address.
usb 1-1.3: Device not responding to setup address.
usb 1-1.3: device not accepting address 12, error -71
usb 1-1-port3: unable to enumerate USB device
random: crng init done
请问正确修改驱动,使其能同时适配两个模块的驱动应该怎么修改呢?