我正在从 linux backports 修改 WLAN 卡驱动程序模块。目前,我已经修改ath9k_htc
和iwlwifi
.
显然,我记得当我根本没有修改驱动程序时,两个驱动程序一直在一起工作。但是我不能在修改驱动程序后让两个驱动程序同时工作。
这是我遇到的一个问题:
1:仅安装ath9k_htc
:
make defconfig-ath9k
make
sudo make install
sudo reboot
lsmod
没有iwlwifi
列出
2:仅安装iwlwifi
:
make defconfig-iwlwifi
make
sudo make install
sudo reboot
lsmod
没有ath9k*
列出
3:安装两者(我不确定我所做的是否正确):
make defconfig-ath9k defconfig-iwlwifi
make
sudo make install
sudo reboot
lsmod
然后,仅列出两个驱动程序中的一个lsmod
。
假设ath9k_htc
正在工作,然后iwlwifi
将此类消息抛出dmesg
:
[ 22.563631] iwldvm: disagrees about version of symbol ieee80211_start_tx_ba_cb_irqsafe
[ 22.563637] iwldvm: Unknown symbol ieee80211_start_tx_ba_cb_irqsafe (err -22)
[ 22.563645] iwldvm: disagrees about version of symbol ieee80211_report_wowlan_wakeup
[ 22.563647] iwldvm: Unknown symbol ieee80211_report_wowlan_wakeup (err -22)
[ 22.563657] iwldvm: disagrees about version of symbol ieee80211_chswitch_done
[ 22.563660] iwldvm: Unknown symbol ieee80211_chswitch_done (err -22)
[ 22.563718] iwldvm: disagrees about version of symbol ieee80211_alloc_hw
[ 22.563720] iwldvm: Unknown symbol ieee80211_alloc_hw (err -22)
[ 22.563801] iwldvm: disagrees about version of symbol ieee80211_find_sta
[ 22.563803] iwldvm: Unknown symbol ieee80211_find_sta (err -22)
[ 22.563809] iwldvm: disagrees about version of symbol ieee80211_iter_keys
[ 22.563811] iwldvm: Unknown symbol ieee80211_iter_keys (err -22)
[ 22.563852] iwldvm: disagrees about version of symbol ieee80211_enable_rssi_reports
[ 22.563854] iwldvm: Unknown symbol ieee80211_enable_rssi_reports (err -22)
[ 22.563862] iwldvm: disagrees about version of symbol ieee80211_stop_tx_ba_cb_irqsafe
[ 22.563865] iwldvm: Unknown symbol ieee80211_stop_tx_ba_cb_irqsafe (err -22)
[ 22.563873] iwldvm: disagrees about version of symbol ieee80211_ave_rssi
[ 22.563875] iwldvm: Unknown symbol ieee80211_ave_rssi (err -22)
[ 22.563992] iwldvm: disagrees about version of symbol ieee80211_resume_disconnect
[ 22.563995] iwldvm: Unknown symbol ieee80211_resume_disconnect (err -22)
[ 22.564004] iwldvm: disagrees about version of symbol ieee80211_beacon_get_tim
[ 22.564006] iwldvm: Unknown symbol ieee80211_beacon_get_tim (err -22)
[ 22.564021] iwldvm: disagrees about version of symbol ieee80211_request_smps
[ 22.564023] iwldvm: Unknown symbol ieee80211_request_smps (err -22)
[ 22.564070] iwldvm: disagrees about version of symbol ieee80211_disable_rssi_reports
[ 22.564072] iwldvm: Unknown symbol ieee80211_disable_rssi_reports (err -22)
ath9k_htc
工作时反之亦然iwlwifi
。
谁能给我一个建议让两个驱动程序一起工作?