0

我正在从 linux backports 修改 WLAN 卡驱动程序模块。目前,我已经修改ath9k_htciwlwifi.

显然,我记得当我根本没有修改驱动程序时,两个驱动程序一直在一起工作。但是我不能在修改驱动程序后让两个驱动程序同时工作。

这是我遇到的一个问题:

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

谁能给我一个建议让两个驱动程序一起工作?

4

2 回答 2

0

我不确定这是否仍然相关,但请尝试

make defconfig-wifi
make menuconfig // select all the drivers you want (Atheros, Intel, etc.)
make & make install

您将安装您选择的所有驱动程序。

于 2015-10-25T01:59:30.707 回答
0

模块安装后(如您所述)。

添加这两个模块ath9kiwlwifi/etc/modules.
因此它们将在启动时加载。

于 2016-06-09T01:44:01.280 回答