Page 1 of 1

No WiFi on Surface Pro7 Mx23.5 - Solved

Posted: Wed Feb 19, 2025 12:53 pm
by zandoval
Set up MX Linux 23.5 USB Live on Surface Pro7 and no WIFI.

Set up MX Linux 21.3 AHS USB Live on Surface Pro7 and yes WIFI. Then after update and upgrade, no WIFI.

Then I found this post on the MX Forum:

Realtek RTL8821CE wifi chip not detected: https://mxlinux.org/wiki/hardware/realt ... -detected/

If your RTL8821CE wifi chip is not detected... download the .deb package from http://mxrepo.com/mx/repo/pool/main/r/rtl8821ce/ ...

All is working now, but I get a notice that a package needs to be upgraded:

The following packages will be upgraded:
rtl8821ce-dkms (5.5.2.1+git20230504-0~mx23+1 => 5.5.2.1+git20240526-0~mx21)

I know if I upgrade this driver my WIFI will no longer work.

Any way... My Surface Pro7 now has WIFI on a Live USB with MX Linux 23.5 so I am good. Thanks Guys!

Re: No WiFi on Surface Pro7 Mx23.5 - Solved

Posted: Wed Feb 19, 2025 1:39 pm
by j2mcgreg
For what it's worth, my HP 17 has that WiFi card, it's fully updated and working fine.
My QSI:

Code: Select all

Snapshot created on: 20240715_1922
System:
  Kernel: 6.12.11-amd64 [6.12.11-1~mx23ahs] arch: x86_64 bits: 64 compiler: N/A
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.12.11-amd64 root=UUID=<filter> ro quiet splash
  Desktop: Xfce v: 4.20.0 tk: Gtk v: 3.24.38 info: xfce4-panel wm: xfwm v: 4.20.0 vt: 7
    dm: LightDM v: 1.32.0 Distro: MX-23.5_x64 Libretto July 15  2024 base: Debian GNU/Linux 12
    (bookworm)
Machine:
  Type: Laptop System: HP product: HP Laptop 17-ca1xxx v: N/A serial: <superuser required> Chassis:
    type: 10 serial: <superuser required>
  Mobo: HP model: 85B3 v: 91.47 serial: <superuser required> UEFI: AMI v: F.56 date: 07/13/2020
Battery:
  ID-1: BAT0 charge: 38.5 Wh (100.0%) condition: 38.5/38.5 Wh (100.0%) volts: 12.6 min: 11.6
    model: Hewlett-Packard Primary type: Li-ion serial: <filter> status: full
CPU:
  Info: model: AMD Ryzen 3 3200U with Radeon Vega Mobile Gfx bits: 64 type: MT MCP arch: Zen/Zen+
    note: check gen: 1 level: v3 note: check built: 2019 process: GF 12nm family: 0x17 (23)
    model-id: 0x18 (24) stepping: 1 microcode: 0x8108109
  Topology: cpus: 1x cores: 2 tpc: 2 threads: 4 smt: enabled cache: L1: 192 KiB
    desc: d-2x32 KiB; i-2x64 KiB L2: 1024 KiB desc: 2x512 KiB L3: 4 MiB desc: 1x4 MiB
  Speed (MHz): avg: 1389 high: 1400 min/max: 1400/2600 boost: enabled scaling:
    driver: acpi-cpufreq governor: schedutil cores: 1: 1397 2: 1397 3: 1363 4: 1400 bogomips: 20761
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: reg_file_data_sampling status: Not affected
  Type: retbleed mitigation: untrained return thunk; SMT vulnerable
  Type: spec_rstack_overflow mitigation: Safe RET
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Retpolines; IBPB: conditional; STIBP: disabled; RSB filling;
    PBRSB-eIBRS: Not affected; BHI: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: AMD Picasso/Raven 2 [Radeon Vega Series / Radeon Mobile Series] vendor: Hewlett-Packard
    driver: amdgpu v: kernel arch: GCN-5 code: Vega process: GF 14nm built: 2017-20 pcie: gen: 3
    speed: 8 GT/s lanes: 16 ports: active: eDP-1 empty: HDMI-A-1 bus-ID: 03:00.0 chip-ID: 1002:15d8
    class-ID: 0300 temp: 49.0 C
  Device-2: Chicony HP TrueVision HD Camera type: USB driver: uvcvideo bus-ID: 1-6.1:5
    chip-ID: 04f2:b67f class-ID: 0e02 serial: <filter>
  Display: x11 server: X.Org v: 1.21.1.7 compositor: xfwm v: 4.20.0 driver: X: loaded: amdgpu
    unloaded: fbdev,modesetting,vesa dri: radeonsi gpu: amdgpu display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 1600x900 s-dpi: 96 s-size: 424x239mm (16.69x9.41") s-diag: 487mm (19.16")
  Monitor-1: eDP-1 mapped: eDP model: BOE Display 0x069b built: 2015 res: 1600x900 hz: 60
    dpi: 106 gamma: 1.2 size: 382x215mm (15.04x8.46") diag: 438mm (17.3") ratio: 16:9 modes:
    max: 1600x900 min: 640x480
  API: OpenGL v: 4.6 Mesa 24.2.2-1~mx23ahs renderer: AMD Radeon Vega 3 Graphics (radeonsi raven2
    LLVM 15.0.6 DRM 3.59 6.12.11-amd64) direct-render: Yes
Audio:
  Device-1: AMD Raven/Raven2/Fenghuang HDMI/DP Audio vendor: Hewlett-Packard driver: snd_hda_intel
    v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 03:00.1 chip-ID: 1002:15de class-ID: 0403
  Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: Hewlett-Packard driver: snd_pci_acp3x
    v: kernel alternate: snd_rn_pci_acp3x, snd_pci_acp5x, snd_pci_acp6x, snd_rpl_pci_acp6x,
    snd_pci_ps, snd_sof_amd_rembrandt pcie: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 03:00.5
    chip-ID: 1022:15e2 class-ID: 0480
  Device-3: AMD Family 17h/19h HD Audio vendor: Hewlett-Packard driver: snd_hda_intel v: kernel
    pcie: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 03:00.6 chip-ID: 1022:15e3 class-ID: 0403
  API: ALSA v: k6.12.11-amd64 status: kernel-api tools: alsamixer,amixer
  Server-1: PipeWire v: 1.0.0 status: active with: 1: pipewire-pulse status: active
    2: wireplumber status: active 3: pipewire-alsa type: plugin 4: pw-jack type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Hewlett-Packard
    driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: f000 bus-ID: 01:00.0
    chip-ID: 10ec:8168 class-ID: 0200
  IF: eth0 state: down mac: <filter>
  Device-2: Realtek RTL8821CE 802.11ac PCIe Wireless Network Adapter vendor: Hewlett-Packard
    driver: rtw_8821ce v: N/A modules: rtw88_8821ce,wl,rtl8821ce pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 port: e000 bus-ID: 02:00.0 chip-ID: 10ec:c821 class-ID: 0280
  IF: wlan0 state: up mac: <filter>
Bluetooth:
  Device-1: Realtek Bluetooth 4.2 Adapter type: USB driver: btusb v: 0.8 bus-ID: 1-6.2:6
    chip-ID: 0bda:b00a class-ID: e001 serial: <filter>
  Report: hciconfig ID: hci0 rfk-id: 1 state: up address: <filter> bt-v: 2.1 lmp-v: 4.2
    sub-v: f098 hci-v: 4.2 rev: 75b8
  Info: acl-mtu: 1021:8 sco-mtu: 255:12 link-policy: rswitch hold sniff park
    link-mode: peripheral accept service-classes: rendering, capturing, object transfer, audio,
    telephony
Drives:
  Local Storage: total: 476.94 GiB used: 35.82 GiB (7.5%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 vendor: Lexar model: SSD NS100 512GB size: 476.94 GiB block-size:
    physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: 200 scheme: GPT
Partition:
  ID-1: / raw-size: 476.69 GiB size: 468.13 GiB (98.21%) used: 35.82 GiB (7.7%) fs: ext4
    dev: /dev/sda2 maj-min: 8:2
  ID-2: /boot/efi raw-size: 256 MiB size: 252 MiB (98.46%) used: 274 KiB (0.1%) fs: vfat
    dev: /dev/sda1 maj-min: 8:1
Swap:
  Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: file size: 3 GiB used: 0 KiB (0.0%) priority: -2 file: /swap/swap
Sensors:
  System Temperatures: cpu: 48.6 C mobo: N/A gpu: amdgpu temp: 48.0 C
  Fan Speeds (RPM): N/A
Repos:
  Packages: pm: dpkg pkgs: 2251 libs: 1146 tools: apt,apt-get,aptitude,nala,synaptic pm: rpm
    pkgs: 0 pm: flatpak pkgs: 0
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
    1: deb http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/debian.list
    1: deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
    2: deb http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/google-chrome.list
    1: deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main
  No active apt repos in: /etc/apt/sources.list.d/librewolf.list
  Active apt repos in: /etc/apt/sources.list.d/microsoft-edge.list
    1: deb [arch=amd64] https://packages.microsoft.com/repos/edge/ stable main
  Active apt repos in: /etc/apt/sources.list.d/mx.list
    1: deb https://mxrepo.com/mx/repo/ bookworm main non-free
    2: deb https://mxrepo.com/mx/repo/ bookworm ahs
Info:
  Processes: 259 Uptime: 7m wakeups: 2 Memory: 9.63 GiB used: 1.45 GiB (15.1%) Init: SysVinit
  v: 3.06 runlevel: 5 default: graphical tool: systemctl Compilers: gcc: 12.2.0 alt: 12
  Client: shell wrapper v: 5.2.15-release inxi: 3.3.26
Boot Mode: UEFI

Re: No WiFi on Surface Pro7 Mx23.5 - Solved

Posted: Wed Feb 19, 2025 5:29 pm
by zandoval
j2mcgreg wrote: Wed Feb 19, 2025 1:39 pm For what it's worth, my HP 17 has that WiFi card, it's fully updated and working fine.
I tried the update and rats the wifi went out again. So I just went back to the older driver and its working. It appears this is an issue with the Surface Pro7. I will just make sure to keep the older driver at the next update.

All is working on the live MxLinux except the Surface Pro7 camera, touch screen, and pen. That's OK with me. If I needed those other items I would consider the Surface Pro project kernel exchange.

Re: No WiFi on Surface Pro7 Mx23.5 - Solved

Posted: Wed Feb 19, 2025 5:40 pm
by j2mcgreg
zandoval wrote: Wed Feb 19, 2025 5:29 pm
j2mcgreg wrote: Wed Feb 19, 2025 1:39 pm For what it's worth, my HP 17 has that WiFi card, it's fully updated and working fine.
I tried the update and rats the wifi went out again. So I just went back to the older driver and its working. It appears this is an issue with the Surface Pro7. I will just make sure to keep the older driver at the next update.

All is working on the live MxLinux except the Surface Pro7 camera, touch screen, and pen. That's OK with me. If I needed those other items I would consider the Surface Pro project kernel exchange.
I think that you should update your kernel but without seeing your own QSI, it's hard to advise you further.

Re: No WiFi on Surface Pro7 Mx23.5 - Solved

Posted: Wed Feb 19, 2025 8:06 pm
by Stevo
You can pin a package version using the terminal, but also in the Synaptic GUI. Then it won't appear as upgradable.