I’m trying to connect the EM9191 from a M.2 slot using USB 2.0 to my ARMv7 board. I have modified the MBPL-USB drivers to cross compile for ARM as well as build for the correct kernel source running on target. The three files qcserial.ko, usb_wwan.ko and qmi_wwan.ko are copied on target to their correct directories. Running modprobe on qcserial and usb_wwan works fine, but my qmi_wwan gives the following errors:
qmi_wwan: disagrees about version of symbol usbnet_write_cmd
qmi_wwan: Unknown symbol usbnet_write_cmd (err -22)
qmi_wwan: disagrees about version of symbol skb_put
qmi_wwan: Unknown symbol skb_put (err -22)
qmi_wwan: disagrees about version of symbol dev_queue_xmit
qmi_wwan: Unknown symbol dev_queue_xmit (err -22)
qmi_wwan: disagrees about version of symbol usb_ifnum_to_if
qmi_wwan: Unknown symbol usb_ifnum_to_if (err -22)
qmi_wwan: disagrees about version of symbol usbnet_change_mtu
qmi_wwan: Unknown symbol usbnet_change_mtu (err -22)
qmi_wwan: disagrees about version of symbol eth_validate_addr
qmi_wwan: Unknown symbol eth_validate_addr (err -22)
qmi_wwan: disagrees about version of symbol unregister_netdevice_queue
qmi_wwan: Unknown symbol unregister_netdevice_queue (err -22)
qmi_wwan: disagrees about version of symbol ether_setup
qmi_wwan: Unknown symbol ether_setup (err -22)
qmi_wwan: disagrees about version of symbol eth_commit_mac_addr_change
qmi_wwan: Unknown symbol eth_commit_mac_addr_change (err -22)
qmi_wwan: disagrees about version of symbol netdev_err
qmi_wwan: Unknown symbol netdev_err (err -22)
qmi_wwan: disagrees about version of symbol netdev_upper_dev_link
qmi_wwan: Unknown symbol netdev_upper_dev_link (err -22)
qmi_wwan: disagrees about version of symbol usbnet_open
qmi_wwan: Unknown symbol usbnet_open (err -22)
qmi_wwan: disagrees about version of symbol alloc_netdev_mqs
qmi_wwan: Unknown symbol alloc_netdev_mqs (err -22)
qmi_wwan: disagrees about version of symbol usbnet_get_ethernet_addr
qmi_wwan: Unknown symbol usbnet_get_ethernet_addr (err -22)
qmi_wwan: disagrees about version of symbol usbnet_tx_timeout
qmi_wwan: Unknown symbol usbnet_tx_timeout (err -22)
qmi_wwan: disagrees about version of symbol netdev_upper_get_next_dev_rcu
qmi_wwan: Unknown symbol netdev_upper_get_next_dev_rcu (err -22)
qmi_wwan: disagrees about version of symbol eth_prepare_mac_addr_change
qmi_wwan: Unknown symbol eth_prepare_mac_addr_change (err -22)
qmi_wwan: disagrees about version of symbol usbnet_suspend
qmi_wwan: Unknown symbol usbnet_suspend (err -22)
qmi_wwan: disagrees about version of symbol netif_stacked_transfer_operstate
qmi_wwan: Unknown symbol netif_stacked_transfer_operstate (err -22)
qmi_wwan: disagrees about version of symbol usbnet_start_xmit
qmi_wwan: Unknown symbol usbnet_start_xmit (err -22)
qmi_wwan: disagrees about version of symbol skb_push
qmi_wwan: Unknown symbol skb_push (err -22)
qmi_wwan: disagrees about version of symbol netdev_upper_dev_unlink
qmi_wwan: Unknown symbol netdev_upper_dev_unlink (err -22)
qmi_wwan: disagrees about version of symbol usbnet_get_endpoints
qmi_wwan: Unknown symbol usbnet_get_endpoints (err -22)
qmi_wwan: disagrees about version of symbol free_netdev
qmi_wwan: Unknown symbol free_netdev (err -22)
qmi_wwan: disagrees about version of symbol dev_err
qmi_wwan: Unknown symbol dev_err (err -22)
qmi_wwan: disagrees about version of symbol netif_rx
qmi_wwan: Unknown symbol netif_rx (err -22)
qmi_wwan: disagrees about version of symbol __netdev_alloc_skb
qmi_wwan: Unknown symbol __netdev_alloc_skb (err -22)
qmi_wwan: disagrees about version of symbol usbnet_stop
qmi_wwan: Unknown symbol usbnet_stop (err -22)
qmi_wwan: disagrees about version of symbol call_netdevice_notifiers
qmi_wwan: Unknown symbol call_netdevice_notifiers (err -22)
qmi_wwan: disagrees about version of symbol netif_carrier_off
qmi_wwan: Unknown symbol netif_carrier_off (err -22)
qmi_wwan: disagrees about version of symbol usbnet_disconnect
qmi_wwan: Unknown symbol usbnet_disconnect (err -22)
qmi_wwan: disagrees about version of symbol netif_carrier_on
qmi_wwan: Unknown symbol netif_carrier_on (err -22)
qmi_wwan: disagrees about version of symbol usbnet_probe
qmi_wwan: Unknown symbol usbnet_probe (err -22)
qmi_wwan: disagrees about version of symbol usbnet_resume
qmi_wwan: Unknown symbol usbnet_resume (err -22)
qmi_wwan: disagrees about version of symbol register_netdevice
qmi_wwan: Unknown symbol register_netdevice (err -22)
modprobe: ERROR: could not insert ‘qmi_wwan’: Invalid argument
The target also has drivers from previous sierra wireless modems EM7455 and EM7565, so i’m wondering if there might be some issue with that. Or does anyone might know what else could be causing these errors?