インストール
WI-U3-2400XE2ではRealtekのrtw8852cuという無線チップが使用されているようなので、
ドライバーをインストールする。
git clone https://github.com/lwfinger/rtw8852cu.git
cd rtw8852cu
os_dep/linux/usb_intf.cに下記の7行目の内容を追記する。
static struct usb_device_id rtw_usb_id_tbl[] = {
/*=== Realtek demoboard ===*/
{USB_DEVICE_AND_INTERFACE_INFO(USB_VENDER_ID_REALTEK, 0xC85A, 0xff, 0xff, 0xff), .driver_info = RTL8852C},
{USB_DEVICE_AND_INTERFACE_INFO(USB_VENDER_ID_REALTEK, 0xC832, 0xff, 0xff, 0xff), .driver_info = RTL8852C},
{USB_DEVICE_AND_INTERFACE_INFO(USB_VENDER_ID_REALTEK, 0xC85D, 0xff, 0xff, 0xff), .driver_info = RTL8852C},
{USB_DEVICE_AND_INTERFACE_INFO(0x35b2, 0x0502, 0xff, 0xff, 0xff), .driver_info = RTL8852C}, /* TP-Link AXE5400 */
{USB_DEVICE_AND_INTERFACE_INFO(0x0411, 0x03a6, 0xff, 0xff, 0xff), .driver_info = RTL8852C}, /* WI-U3-2400XE2 */
{} /* Terminating entry */
};
効果があるのか分からないが、Makefile内のCONFIG_POWER_SAVEも無効とした。
そしてビルド&インストール
make -j {並列数}
sudo make install
warningはたくさん出るが無視。。
再起動後、lsmodコマンドで8852cuが含まれていればOK。
その他の設定
上記だけでは次回起動時にドライバーが読み込まれなかったため、/etc/modulesに下記の通り追記する。
# /etc/modules is obsolete and has been replaced by /etc/modules-load.d/.
# Please see modules-load.d(5) and modprobe.d(5) for details.
#
# Updating this file still works, but it is undocumented and unsupported.
8852cu
また、USBが3.0として認識されず、300Mbps程度の速度しか出なかったため、下記設定を/etc/modprobe.d/8852cu.confへ記載する。
# Edit the following line to change, add or delete options:
options 8852cu rtw_drv_log_level=1 rtw_led_ctrl=1 rtw_vht_enable=1 rtw_switch_usb_mode=1
結果
無事に1Gbps程度の速度がでるようになった。(買ってよかった)