Debian Realtek RTL7832BS 驅動程式

Debian Realtek RTL7832BS 驅動程式

我最近在我的 Lark Ultimate 7i WIN 平板電腦上安裝了 Linux Debian,該平板電腦原本運行的是 Windows,但 Windows 在該設備上非常滯後。
我成功地使用 LXDE 安裝了 Debian,它在該設備上運行得非常好,幾乎沒有 CPU 使用率和 RAM 使用率。但我遇到了網路連線問題。

我去了這個網站,我發現該設備正在使用 REALTEK RTL7832BS 晶片組。我幾乎搜索了整個互聯網的結果,但沒有任何結果對我有用。我只發現這位司機為世界各地的某個人工作。我透過將 .deb 軟體包移植到平板電腦,使用具有互聯網的電腦
成功地在我的系統上安裝了軟體包。build-essential我還在這裡移植了該驅動程式 git 包,並make在該驅動程式目錄中運行,但我得到了以下輸出:

make: Warning: File 'Makefile' has modification time 88116208 s in the future. 
make ARCH=i386 CROSS_COMPILE= -C /lib/modules/3.16.0-4-686-pae/build M=/home/main/drv/drvWORK modules
make[1]: Entering directory '/usr/src/linux-headers-3.16.0-4-686-pae'
make[1]: Warning: File 'Makefile' has modification time 88116208 s in the future. 
make[2]: Warning: File 'Makefile' has modification time 88116208 s in the future. 
Entering directory '/usr/src/linux-headers-3.16.0-4-686-pae'
/usr/src/linux-headers-3.16.0-4-common/scripts/gcc-version.sh: line 25: gcc-4.8: command not found
/usr/src/linux-headers-3.16.0-4-common/scripts/gcc-version.sh: line 26: gcc-4.8: command not found
/usr/src/linux-headers-3.16.0-4-common/arch/x86/MakeFile:121:stack-protector enabled, but compiler support broken...
/usr/src/linux-headers-3.16.0-4-common/Makefile:647: Cannot use CONFIG_CC_STACKPROTECTOR_REGULAR: -fstack-protector...
make[3]: gcc-4.8: Command not found
make[3]: Warning: File 'scripts/Makefile.lib' has modification time 59474584 s in the future.
CC [M] /home/main/drv/drvWORK /core/rtw_cmd.o
/bin/sh: 1: gcc-4.8: not found
/usr/src/linux-headers-3.16.0-4-common/scripts/Makefile.build:262: recipe for target '/home/main/drv/drvWORK/core...
failed
make[4]: *** [/home/main/drv/drvWORK/core/rtw_cmd.o] Error 127
Makefile:181: recipe for target 'sub-make' failed
make[2]: *** [sub-make] Error 2
Makefile:8: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-3.16.0-4-686-pae'
Makefile:216: recipe for target 'modules' failed
make: **** [modules] Error 2

附加資訊:
---核心:Intel Atom
---CPU 架構:i386 (x32/x86)

答案1

好的,隨著時間的推移,我自己解決了這個問題。問題是你需要安裝核心 4.1 或更高版本或使用舊核心的補丁(我沒有嘗試過)。然後你必須安裝gcc-4.8才能運行make。

2018 年更新:

Debian stable 現在包含內核 4.9,向後移植包含相對較新的 4.16,因此問題可以輕鬆解決。 RTL8723BS 在 4.12 中合併到主線。

2020 年更新: rtl8723bs 核心驅動程式與匹配的藍牙驅動程式 rtl8723bs-bt 一起包含在主線核心中。在 Debian 10 中,一切都是開箱即用的(不過您可能仍然需要複製韌體檔案)。

相關內容