[Patch / Quirk Request] rtw89 (RTL8852BE): Permanent hardware rfkill block on MAIBENBEN Medio Series (M16C)

Aperta
#1,092 0 commenti 0 reazioni 2 assegnatari Vedi su GitHub

@ptr1337 ci sta già lavorando.

Dal 21/10/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

enhancement
Pre-flight checklist
  • I have searched existing issues/PRs and this has not been requested before.
  • I have read the Contributing Guidelines.
Request type
  • New patch / patchset inclusion
  • Kernel config change (enable/disable option)
  • New kernel variant
  • Scheduler tuning / addition
  • Compiler / LTO / PGO optimization
  • Security hardening
  • Driver or hardware enablement
  • Other
Summary

On the MAIBENBEN Medio Series (board: M16C) laptop equipped with a Realtek RTL8852BE Wi-Fi card (10ec:b852, Subsystem AzureWave 1a3b:5470), the rtw89 driver permanently reports a hardware rfkill block upon initialization, making Wi-Fi completely unusable out of the box.

Because of an inverted/unconnected hardware GPIO pin on this motherboard (M16C), rtw89_core immediately triggers hardware rfkill during probe:

dmesg output: rtw89_8852be 0000:01:00.0: rfkill hardware state changed to disable
rfkill list all output: Hard blocked: yes (cannot be unblocked via rfkill unblock or Fn keys).

Forcing rtw89_chip_has_rfkill() in drivers/net/wireless/realtek/rtw89/core.c to return false completely resolves the issue: Wi-Fi and Bluetooth work flawlessly without any side effects.
Hardware & System Information

Kernel: 7.3.0-2-cachyos (also reproducible on 7.2.x and 6.18 LTS)
DMI Information:
    sys_vendor: MAIBENBEN
    product_name: Medio Series
    product_family: Medio Series
    board_vendor: MAIBENBEN
    board_name: M16C
    bios_version: T163PHXP_V1212
PCI Information (lspci -nnk):

01:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8852BE PCIe 802.11ax Wireless Network Controller [10ec:b852]
Subsystem: AzureWave Device [1a3b:5470]
Kernel driver in use: rtw89_8852be
Kernel modules: rtw89_8852be

Proposed Solution / Patch
Could you please add a DMI quirk for MAIBENBEN / M16C (and optionally a disable_rfkill module parameter for other affected OEM laptops) to drivers/net/wireless/realtek/rtw89/core.c?

Here is a minimal patch that implements both the automatic DMI quirk for this laptop and an optional rtw89_core.disable_rfkill=1 module parameter:

--- a/drivers/net/wireless/realtek/rtw89/core.c
+++ b/drivers/net/wireless/realtek/rtw89/core.c
@@ -4,6 +4,7 @@

#include <linux/ip.h>
#include <linux/udp.h>
+#include <linux/dmi.h>

#include "cam.h"
#include "chan.h"
@@ -36,6 +37,26 @@ module_param_named(disable_ps_mode, rtw89_disable_ps_mode, bool, 0644);
MODULE_PARM_DESC(disable_ps_mode, "Y to disable low power mode");

+static bool rtw89_disable_rfkill;
+module_param_named(disable_rfkill, rtw89_disable_rfkill, bool, 0644);
+MODULE_PARM_DESC(disable_rfkill, "Y to disable hardware rfkill polling");
+
+static const struct dmi_system_id rtw89_rfkill_quirk_table[] = {
+	{
+		.ident = "MAIBENBEN Medio Series M16C",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "MAIBENBEN"),
+			DMI_MATCH(DMI_BOARD_NAME, "M16C"),
+		},
+	},
+	{}
+};
+
static const struct ieee80211_channel rtw89_channels_2ghz[] = {
  { .band = NL80211_BAND_2GHZ, .center_freq = 2412, .hw_value = 1, },
@@ -7215,6 +7236,9 @@ static void rtw89_core_rfkill_poll(struct ieee80211_hw *hw)

static bool rtw89_chip_has_rfkill(struct rtw89_dev *rtwdev)
{
+	if (rtw89_disable_rfkill || dmi_check_system(rtw89_rfkill_quirk_table))
+		return false;
+
  return !!rtwdev->chip->rfkill_init;
}



### Motivation / use case

resolves the issue with Wi-Fi 

### Patch / upstream reference (if available)

_No response_

### Testing / benchmarks

_No response_

### Additional context

_No response_
Lingua principale
Shell
Stelle
4.9k
Fork
190
Merge medio
8h 53m
PR unite (30g)
1

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di CachyOS/linux-cachyos

Tutte le issue di CachyOS/linux-cachyos

Issue simili

Altre issue su Shell/Bash

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.