Clevo P150SM Laptop with WOL and Suspend issues. Possibly DSDT related

I’ve been experiencing persistent issues with my Clevo P150SM Laptop, which runs Manjaro in a dual boot configuration with Windows 10. I have the PremaMod BIOS installed and both operating systems are encrypted at boot. The bootloader I use is Grub, and I have also set up Dracut and Tang/Clevis for remote authentication through my OpenWRT router.

In Windows 10, I can use Wake-on-LAN (WOL) for both shutdown and suspend functions. I have disabled fast boot and hibernation, and since then, I haven’t used Windows or made any updates that would have changed these settings.

Here are the specifications of my laptop:

  • Clevo P150SM
  • Intel i7 4700QM processor
  • 16GB RAM
  • Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0a)
  • Nvidia GTX770M Graphics with Optimus, managed by Optimus Manager

At present, I am running kernel version 6.2 and have experimented with all available kernels. In the Grub command line, I appended “acpi_osi=! acpi_osi='Windows 2009,” which has caused additional issues such as intermittent suspension during the loading screen prior to login, resuming only upon mouse movement, as well as slow boot and shutdown times.

Recently, I became aware of the impact of DSDT tables on my system and suspect they may be the root cause of the problem. Removing the “acpi osi” parameter from the command line resulted in varying boot outcomes, yet WOL functionality remained elusive.

To address the situation, I attempted to switch the suspend mode from “deep” to “s2idle,” which enabled WOL but caused the fans to continue operating, making it difficult to sleep.

The challenge lies in determining the necessary changes for the DSDT tables and selecting the appropriate “acpi osi” option in the bootloader. While I attempted to compile the latest 6.4 kernel using someone else’s DSDT table, I realized that this approach is not advisable due to differences in manufacturing batches, BIOS settings, and hardware configurations.

I hope I have provided sufficient information and articulated my concerns effectively. If needed, I am available to provide additional details and test any potential solutions. Thank you for your time and assistance.

inxi -zav7                                                                                                                                                                                                                   ✔ 
System:
  Kernel: 6.2.16-2-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 13.1.1
    parameters: BOOT_IMAGE=/vmlinuz-linux62
    root=UUID=e8131bc6-5971-4205-acac-63930670eda2 rw rootflags=subvol=@
    acpi_osi=! "acpi_osi=Windows 2009"
    cryptdevice=UUID=1568d190-2e8d-452a-a121-45423f97dd01:luks-1568d190-2e8d-452a-a121-45423f97dd01
    root=/dev/mapper/luks-1568d190-2e8d-452a-a121-45423f97dd01 splash
    udev.log_priority=3 rd.neednet=1 rd.info
  Desktop: KDE Plasma v: 5.27.5 tk: Qt v: 5.15.9 wm: kwin_x11 vt: 1 dm: SDDM
    Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: Notebook product: P15SM v: N/A
    serial: <superuser required> Chassis: type: 9 serial: <superuser required>
  Mobo: Notebook model: P15SM serial: <superuser required> UEFI: Prema Mod
    v: 1.03.04PM v2 date: 03/12/2014
Battery:
  Device-1: hidpp_battery_0 model: Logitech Wireless Keyboard K360
    serial: <filter> charge: 100% (should be ignored) rechargeable: yes
    status: discharging
  Device-2: hidpp_battery_1 model: Logitech Anywhere MX serial: <filter>
    charge: 80% rechargeable: yes status: discharging
Memory:
  System RAM: available: 15.54 GiB used: 7.86 GiB (50.6%)
  RAM Report: permissions: Unable to run dmidecode. Root privileges
    required.
CPU:
  Info: model: Intel Core i7-4700MQ bits: 64 type: MT MCP arch: Haswell
    gen: core 4 level: v3 note: check built: 2013-15 process: Intel 22nm
    family: 6 model-id: 0x3C (60) stepping: 3 microcode: 0x28
  Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
    L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB
    L3: 6 MiB desc: 1x6 MiB
  Speed (MHz): avg: 2121 high: 3400 min/max: 800/3400 scaling:
    driver: intel_cpufreq governor: schedutil cores: 1: 3400 2: 800 3: 2395
    4: 800 5: 2395 6: 2395 7: 2394 8: 2395 bogomips: 38320
  Flags: abm acpi aes aperfmperf apic arat arch_perfmon avx avx2 bmi1 bmi2
    bts clflush cmov constant_tsc cpuid cpuid_fault cx16 cx8 de ds_cpl dtes64
    dtherm dts epb ept ept_ad erms est f16c flexpriority flush_l1d fma fpu
    fsgsbase fxsr ht ibpb ibrs ida invpcid invpcid_single lahf_lm lm mca mce
    md_clear mmx monitor movbe msr mtrr nonstop_tsc nopl nx pae pat pbe pcid
    pclmulqdq pdcm pdpe1gb pebs pge pln pni popcnt pse pse36 pti pts rdrand
    rdtscp rep_good sdbg sep smep ss ssbd sse sse2 sse4_1 sse4_2 ssse3 stibp
    syscall tm tm2 tpr_shadow tsc tsc_adjust tsc_deadline_timer vme vmx vnmi
    vpid xsave xsaveopt xtopology xtpr
  Vulnerabilities:
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT
    vulnerable
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable
  Type: meltdown mitigation: PTI
  Type: mmio_stale_data status: Unknown: No mitigations
  Type: retbleed status: Not affected
  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, IBRS_FW,
    STIBP: conditional, RSB filling, PBRSB-eIBRS: Not affected
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel 4th Gen Core Processor Integrated Graphics
    vendor: CLEVO/KAPOK driver: i915 v: kernel arch: Gen-7.5 process: Intel 22nm
    built: 2013 ports: active: HDMI-A-2 off: eDP-1 empty: DP-1, DP-2,
    HDMI-A-1, HDMI-A-3 bus-ID: 00:02.0 chip-ID: 8086:0416 class-ID: 0300
  Device-2: NVIDIA GK106M [GeForce GTX 770M] vendor: CLEVO/KAPOK
    driver: nvidia v: 390.157 alternate: nouveau,nvidia_drm non-free:
    series: 470.xx+ status: legacy-active (EOL~2023/24) arch: Kepler
    code: GKxxx process: TSMC 28nm built: 2012-18 pcie: gen: 3 speed: 8 GT/s
    lanes: 16 bus-ID: 01:00.0 chip-ID: 10de:11e0 class-ID: 0300
  Device-3: Realtek RTL2838 DVB-T driver: usbfs type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-6:5 chip-ID: 0bda:2838
    class-ID: 0000 serial: <filter>
  Display: x11 server: X.Org v: 21.1.8 compositor: kwin_x11 driver: X:
    loaded: modesetting,nvidia dri: crocus gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 507x285mm (19.96x11.22")
    s-diag: 582mm (22.9")
  Monitor-1: HDMI-A-2 mapped: HDMI-1-2 pos: primary
    model: Toshiba 75UHD_LCD_TV built: 2018 res: 1920x1080 dpi: 26 gamma: 1.2
    size: 1872x1053mm (73.7x41.46") diag: 1908mm (75.1") ratio: 16:9 modes:
    max: 4096x2160 min: 720x400
  Monitor-2: eDP-1 mapped: eDP-1-1 note: disabled model: LG Display 0x0259
    built: 2009 res: 1920x1080 dpi: 141 gamma: 1.2 size: 345x194mm (13.58x7.64")
    diag: 396mm (15.6") ratio: 16:9 modes: 1920x1080
  API: OpenGL v: 4.6.0 NVIDIA 390.157 renderer: GeForce GTX 770M/PCIe/SSE2
    direct-render: Yes
Audio:
  Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio
    vendor: CLEVO/KAPOK driver: snd_hda_intel v: kernel bus-ID: 00:03.0
    chip-ID: 8086:0c0c class-ID: 0403
  Device-2: Intel 8 Series/C220 Series High Definition Audio
    vendor: CLEVO/KAPOK 8 driver: snd_hda_intel v: kernel bus-ID: 00:1b.0
    chip-ID: 8086:8c20 class-ID: 0403
  Device-3: NVIDIA GK106 HDMI Audio driver: snd_hda_intel v: kernel pcie:
    gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 01:00.1 chip-ID: 10de:0e0b
    class-ID: 0403
  API: ALSA v: k6.2.16-2-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: sndiod v: N/A status: off tools: aucat,midicat,sndioctl
  Server-2: PipeWire v: 0.3.70 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: CLEVO/KAPOK driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 port: d000 bus-ID: 05:00.2 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp5s0f2 state: up speed: 1000 Mbps duplex: full mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: noprefixroute scope: link
  Device-2: Intel Wireless 7260 driver: iwlwifi v: kernel pcie: gen: 1
    speed: 2.5 GT/s lanes: 1 bus-ID: 06:00.0 chip-ID: 8086:08b1 class-ID: 0280
  IF: wlan0 state: down mac: <filter>
  IF-ID-1: docker0 state: down mac: <filter>
  WAN IP: <filter>
Bluetooth:
  Device-1: Intel Bluetooth wireless interface driver: btusb v: 0.8 type: USB
    rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 3-4:4 chip-ID: 8087:07dc
    class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 2 state: up address: see --recommends
Logical:
  Message: No logical block device data found.
  Device-1: luks-1568d190-2e8d-452a-a121-45423f97dd01 maj-min: 254:0
    type: LUKS dm: dm-0 size: 636.92 GiB
  Components:
  p-1: sda4 maj-min: 8:4 size: 636.92 GiB
RAID:
  Message: No RAID data found.
Argument "Cloud" isn't numeric in numeric eq (==) at /usr/bin/inxi line 20331.
Drives:
  Local Storage: total: 1.02 TiB used: 496.16 GiB (47.3%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 860 EVO 1TB
    size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    tech: SSD serial: <filter> fw-rev: 4B6Q scheme: GPT
  ID-2: /dev/sdb maj-min: 8:16 vendor: SanDisk model: SDSSDP128G
    size: 117.38 GiB block-size: physical: 512 B logical: 512 B speed: 3.0 Gb/s
    tech: SSD serial: <filter> scheme: MBR
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 636.92 GiB size: 636.92 GiB (100.00%)
    used: 495.32 GiB (77.8%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
    mapped: luks-1568d190-2e8d-452a-a121-45423f97dd01 label: N/A
    uuid: e8131bc6-5971-4205-acac-63930670eda2
  ID-2: /boot raw-size: 1024 MiB size: 1020 MiB (99.61%)
    used: 861.5 MiB (84.5%) fs: vfat dev: /dev/sda1 maj-min: 8:1 label: N/A
    uuid: 7075-C20A
  ID-3: /home raw-size: 636.92 GiB size: 636.92 GiB (100.00%)
    used: 495.32 GiB (77.8%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
    mapped: luks-1568d190-2e8d-452a-a121-45423f97dd01 label: N/A
    uuid: e8131bc6-5971-4205-acac-63930670eda2
  ID-4: /run/timeshift/23186/backup raw-size: 636.92 GiB
    size: 636.92 GiB (100.00%) used: 495.33 GiB (77.8%) fs: btrfs dev: /dev/dm-0
    maj-min: 254:0 mapped: luks-1568d190-2e8d-452a-a121-45423f97dd01
    label: N/A uuid: e8131bc6-5971-4205-acac-63930670eda2
  ID-5: /timeshift-btrfs raw-size: 636.92 GiB size: 636.92 GiB (100.00%)
    used: 495.32 GiB (77.8%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
    mapped: luks-1568d190-2e8d-452a-a121-45423f97dd01 label: N/A
    uuid: e8131bc6-5971-4205-acac-63930670eda2
  ID-6: /var/cache raw-size: 636.92 GiB size: 636.92 GiB (100.00%)
    used: 495.32 GiB (77.8%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
    mapped: luks-1568d190-2e8d-452a-a121-45423f97dd01 label: N/A
    uuid: e8131bc6-5971-4205-acac-63930670eda2
  ID-7: /var/log raw-size: 636.92 GiB size: 636.92 GiB (100.00%)
    used: 495.32 GiB (77.8%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
    mapped: luks-1568d190-2e8d-452a-a121-45423f97dd01 label: N/A
    uuid: e8131bc6-5971-4205-acac-63930670eda2
  ID-8: /var/tmp raw-size: 636.92 GiB size: 636.92 GiB (100.00%)
    used: 495.32 GiB (77.8%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
    mapped: luks-1568d190-2e8d-452a-a121-45423f97dd01 label: N/A
    uuid: e8131bc6-5971-4205-acac-63930670eda2
Swap:
  Kernel: swappiness: 10 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: zram size: 3.11 GiB used: 286.5 MiB (9.0%)
    priority: 100 dev: /dev/zram0
Unmounted:
  ID-1: /dev/sda2 maj-min: 8:2 size: 16 MiB fs: <superuser required>
    label: N/A uuid: N/A
  ID-2: /dev/sda3 maj-min: 8:3 size: 293.58 GiB fs: <superuser required>
    label: N/A uuid: N/A
USB:
  Hub-1: 1-0:1 info: full speed or root hub ports: 2 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-2: 1-1:2 info: Intel Integrated Rate Matching Hub ports: 6 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 8087:8008
    class-ID: 0900
  Hub-3: 2-0:1 info: full speed or root hub ports: 2 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-4: 2-1:2 info: Intel Integrated Rate Matching Hub ports: 8 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 8087:8000
    class-ID: 0900
  Hub-5: 3-0:1 info: hi-speed hub with single TT ports: 14 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Device-1: 3-2:2 info: Logitech Unifying Receiver type: keyboard,mouse,HID
    driver: logitech-djreceiver,usbhid interfaces: 3 rev: 2.0
    speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 power: 98mA
    chip-ID: 046d:c52b class-ID: 0300
  Device-2: 3-3:7 info: Upek Biometric Touchchip/Touchstrip Fingerprint
    Sensor type: <vendor specific> driver: N/A interfaces: 1 rev: 1.0
    speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 power: 100mA
    chip-ID: 147e:1002 class-ID: 0000
  Device-3: 3-4:4 info: Intel Bluetooth wireless interface type: bluetooth
    driver: btusb interfaces: 2 rev: 2.0 speed: 12 Mb/s (1.4 MiB/s) lanes: 1
    mode: 1.1 power: 100mA chip-ID: 8087:07dc class-ID: e001
  Device-4: 3-6:5 info: Realtek RTL2838 DVB-T type: Video driver: usbfs
    interfaces: 2 rev: 2.0 speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0
    power: 500mA chip-ID: 0bda:2838 class-ID: 0000 serial: <filter>
  Device-5: 3-9:6 info: Logitech F710 Wireless Gamepad [XInput Mode]
    type: <vendor specific> driver: xpad interfaces: 1 rev: 2.0
    speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 power: 98mA
    chip-ID: 046d:c21f class-ID: ff00 serial: <filter>
  Hub-6: 4-0:1 info: super-speed hub ports: 6 rev: 3.0
    speed: 5 Gb/s (596.0 MiB/s) lanes: 1 mode: 3.2 gen-1x1 chip-ID: 1d6b:0003
    class-ID: 0900
Sensors:
  System Temperatures: cpu: 68.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 335 Uptime: 2h 2m wakeups: 35 Init: systemd v: 253
  default: graphical tool: systemctl Compilers: gcc: 13.1.1 alt: 12
  clang: 15.0.7 Packages: 2148 pm: pacman pkgs: 2129 libs: 479
  tools: pamac,yay pm: flatpak pkgs: 19 Shell: Zsh v: 5.9 default: Bash
  v: 5.1.16 running-in: konsole inxi: 3.3.27

journalctl --boot=-1 --priority=3 --catalog --no-pager                                                                                                                                                                       ✔ 
Jul 07 13:50:39 laptop bluetoothd[2920]: src/plugin.c:plugin_init() Failed to init vcp plugin
Jul 07 13:50:39 laptop bluetoothd[2920]: src/plugin.c:plugin_init() Failed to init mcp plugin
Jul 07 13:50:39 laptop bluetoothd[2920]: src/plugin.c:plugin_init() Failed to init bap plugin
Jul 07 13:50:41 laptop rclone[3086]: ERROR : Veil/Veil: Failed to rmdir: remove /home/steven/.cache/rclone/vfs/Google Drive/[ Cloud ]/Veil/Veil: directory not empty
Jul 07 13:50:42 laptop rclone[3086]: ERROR : Local file system at /home/steven/.cache/rclone/vfs/Google Drive/[ Cloud ]: vfs cache: failed to remove empty directories from cache path "": remove /home/steven/.cache/rclone/vfs/Google Drive/[ Cloud ]/Veil/Veil: directory not empty
Jul 07 13:50:42 laptop rclone[3086]: ERROR : Veil/Veil: Failed to rmdir: remove /home/steven/.cache/rclone/vfsMeta/Google Drive/[ Cloud ]/Veil/Veil: directory not empty
Jul 07 13:50:42 laptop rclone[3086]: ERROR : Local file system at /home/steven/.cache/rclone/vfs/Google Drive/[ Cloud ]: vfs cache: failed to remove empty directories from metadata cache path "": remove /home/steven/.cache/rclone/vfsMeta/Google Drive/[ Cloud ]/Veil/Veil: directory not empty
Jul 07 13:50:48 laptop systemd[4104]: /run/user/1000/systemd/generator.late/app-Easy\x20Effects\x20Systray@autostart.service:18: WorkingDirectory= path is not absolute, ignoring: 
Jul 07 13:51:04 laptop konsole[4887]: kf.xmlgui: Shortcut for action  "" "Show Quick Commands" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
Jul 07 13:51:04 laptop konsole[4887]: kf.xmlgui: Shortcut for action  "" "Show SSH Manager" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
Jul 07 13:52:24 laptop kernel: Freezing user space processes failed after 20.004 seconds (1 tasks refusing to freeze, wq_busy=0):
Jul 07 13:52:47 laptop kernel: Freezing user space processes failed after 20.006 seconds (1 tasks refusing to freeze, wq_busy=0):
Jul 07 13:52:47 laptop pipewire[4444]: null-audio-sink 0x564c4330aee8: timerfd error: Resource temporarily unavailable
Jul 07 13:52:48 laptop systemd-sleep[5178]: Failed to put system to sleep. System resumed again: Device or resource busy
░░ Subject: System sleep state suspend left
░░ Defined-By: systemd
░░ Support: https://forum.manjaro.org/c/support
░░ 
░░ The system has now left the suspend sleep state.
Jul 07 13:52:48 laptop systemd[1]: Failed to start System Suspend.
░░ Subject: A start job for unit systemd-suspend.service has failed
░░ Defined-By: systemd
░░ Support: https://forum.manjaro.org/c/support
░░ 
░░ A start job for unit systemd-suspend.service has finished with a failure.
░░ 
░░ The job identifier is 2187 and the job result is failed.
Jul 07 13:52:50 laptop kernel: kernel tried to execute NX-protected page - exploit attempt? (uid: 0)
Jul 07 13:52:50 laptop kernel: BUG: unable to handle page fault for address: ffff8ccfd5590010
Jul 07 13:52:50 laptop kernel: #PF: supervisor instruction fetch in kernel mode
Jul 07 13:52:50 laptop kernel: #PF: error_code(0x0011) - permissions violation
Jul 07 13:52:50 laptop kernel: BUG: kernel NULL pointer dereference, address: 0000000000000033
Jul 07 13:52:50 laptop kernel: #PF: supervisor instruction fetch in kernel mode
Jul 07 13:52:50 laptop kernel: #PF: error_code(0x0010) - not-present page
Jul 07 13:52:50 laptop kernel: Fixing recursive fault but reboot is needed!
Jul 07 13:52:50 laptop kernel: BUG: scheduling while atomic: irq/38-nvidia/3727/0x00000000

Copy of extracted DSDT

https://0x0.st/H13N.dsl