User Tools

Site Tools


doc:appunti:hardware:rtl8852be_on_debian_12

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
doc:appunti:hardware:rtl8852be_on_debian_12 [2024/10/04 12:11] – [Installing the DKMS package into the target system] niccolodoc:appunti:hardware:rtl8852be_on_debian_12 [2024/10/04 15:04] (current) – [RTL8852BE WiFi adapter on Debian 12 Bookworm] niccolo
Line 8: Line 8:
   * Download and install the **rtw8852b_fw-1.bin** firmware.   * Download and install the **rtw8852b_fw-1.bin** firmware.
  
 +{{ .:mini_pc_t9plus:ami-bios-secure-boot.jpg?200|Secure Boot in BIOS}}
 A **self compiled kernel module** is strictly tied to the running kernel, so **it must be re-compiled** whenever the kernel package is upgraded. The official Debian kernel is properly signed, so it runs even if the **Secure Boot** option is enabled into the BIOS. But the self compiled kernel module is a non-trusted software running at kernel level, so it requires that the Secure Boot into the BIOS to be disabled. A **self compiled kernel module** is strictly tied to the running kernel, so **it must be re-compiled** whenever the kernel package is upgraded. The official Debian kernel is properly signed, so it runs even if the **Secure Boot** option is enabled into the BIOS. But the self compiled kernel module is a non-trusted software running at kernel level, so it requires that the Secure Boot into the BIOS to be disabled.
  
Line 93: Line 94:
 ===== Providing the firmware ===== ===== Providing the firmware =====
  
-If you have installed the non-free Debian package **firmware-realtek**, the kernel module will automatically load the **/lib/firmware/rtw89/rtw8852b_fw.bin**, but this is a non working fall-back, as logged by the kernel:+If you have installed the non-free Debian package **firmware-realtek**, the kernel module will automatically load the **/lib/firmware/rtw89/rtw8852b_fw.bin**, as logged by the kernel:
  
 <code> <code>
Line 101: Line 102:
 rtw89_8852be 0000:02:00.0: firmware: direct-loading firmware rtw89/rtw8852b_fw.bin rtw89_8852be 0000:02:00.0: firmware: direct-loading firmware rtw89/rtw8852b_fw.bin
 rtw89_8852be 0000:02:00.0: loaded firmware rtw89/rtw8852b_fw.bin rtw89_8852be 0000:02:00.0: loaded firmware rtw89/rtw8852b_fw.bin
 +</code>
 +
 +But this is a non working fall-back, you can confirm that the WiFi adapter is not working:
 +
 +<code>
 +ifconfig wlan0 up
 +iwlist wlan0 scan
 +wlan0     Interface doesn't support scanning : Network is down
 +</code>
 +
 +You can download the required firmware from the **[[https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/rtw89/rtw8852b_fw-1.bin|kernel Git repository]]** and save it into **/usr/lib/firmware/rtw89/**; there are no directories for locally installed firmwares.
 +
 +===== Signal level not reported =====
 +
 +If everything is working, you can check for available WiFi networks using **iwlist**:
 +
 +<code>
 +ifconfig wlan0 up
 +iwlist wlan0 scan
 +</code>
 +
 +The current module (rtw89 1.0.2) does not support the signal level reporting, for every ESSID you see the following:
 +
 +<code>
 +Quality=70/70  Signal level=0 dBm
 </code> </code>
  
doc/appunti/hardware/rtl8852be_on_debian_12.1728036714.txt.gz · Last modified: 2024/10/04 12:11 by niccolo