CachyOS / CachyOS/linux-cachyos
[Bug]: linux-cachyos: USB-C PD charging not working on Slimbook Excalibur 16 AMD (Phoenix1) — works on linux-zen
- Dominant language
- Shell
- Stars
- 4.5k
- Forks
- 160
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 1
Description
### Package name
linux-cachyos
### Package version
7.2.2-1
### Issue type
Packaging error (wrong deps, missing files, etc.)
### Description
On the Slimbook Excalibur 16 AMD (Phoenix1 APU), USB-C Power Delivery charging does not work while the system is running under linux-cachyos. The battery remains at Not charging regardless of charger connection. The same hardware charges correctly under linux-zen with no configuration changes.
Root cause isolated via DSDT analysis and direct EC register inspection:
EC path: \_SB_.PCI0.SBRG.EC0_, GPE 0x0B, I/O ports 0x62/0x66
PSTA (ERAM offset 0x98) fluctuates between 0x9F and 0xA1 under linux-cachyos, never stabilizing with bit 0 set
BST0 (ERAM offset 0x90) remains 0x0000 — charging bit (bit 1) never gets set
AC0/online correctly reports 1 when charger is connected
No UCSI device in DSDT, no WMI interface, no platform module (tuxedo_nb04_wmi_ab fails with No such device)
Under linux-zen: BST0 sets bit 1 correctly and BAT0/status reports Charging
### Steps to reproduce
Boot Slimbook Excalibur 16 AMD with linux-cachyos 7.2.2-1
Connect USB-C PD charger
Run cat /sys/class/power_supply/BAT0/status → returns Not charging
Run sudo cat /sys/kernel/debug/ec/ec0/io | xxd | grep "^00000090:" → BST0 = 0x0000
Boot same hardware with linux-zen → BAT0/status returns Charging
### Relevant logs or error output
```shell
# uname -r
7.2.2-1-cachyos
# /proc/cmdline
BOOT_IMAGE=/@/boot/vmlinuz-linux-cachyos root=UUID=470f151f-6b9c-4ace-88f4-0aa98db1d1fb rw rootflags=subvol=@ quiet loglevel=3 amdgpu.dcdebugmask=0x10 acpi_ec_no_wakeup=1 ec_no_interrupts=0 pcie_aspm=off
# dmesg | grep "ACPI: EC"
[ 0.274980] ACPI: EC: EC started
[ 0.274982] ACPI: EC: interrupt blocked
[ 0.275746] ACPI: EC: EC_CMD/EC_SC=0x66, EC_DATA=0x62
[ 0.337040] ACPI: EC: interrupt unblocked
[ 0.337042] ACPI: EC: event unblocked
[ 0.337047] ACPI: EC: EC_CMD/EC_SC=0x66, EC_DATA=0x62
[ 0.337048] ACPI: EC: GPE=0xb
# EC ERAM offset 0x90 (BST0–PSTA) under linux-cachyos:
00000090: 0000 e010 0000 ad09 9f2d 8f00 00ff ffff
# lspci relevant:
00:14.0 SMBus [0c05]: AMD FCH SMBus Controller [1022:790b] (rev 71)
03:00.0 VGA [0300]: AMD/ATI Phoenix1 [1002:15bf] (rev c2) — subsystem [1b50:1018]
03:00.3 USB [0c03]: AMD [1022:15b9]
03:00.4 USB [0c03]: AMD [1022:15ba]
05:00.3 USB [0c03]: AMD [1022:15c0]
05:00.4 USB [0c03]: AMD [1022:15c1]
```
### CachyOS bug report
cachyos-bugreport.sh not available on this installation. System info provided above.
### Additional context
Charging works correctly when system is powered off (EC handles PD autonomously)
DSDT disassembled and analyzed: battery controlled via _BST/_BIF methods reading EC ERAM fields directly, no software charge threshold exposed in sysfs
ACPI: EC: interrupt blocked appears repeatedly in dmesg at runtime under linux-cachyos (timestamps 9636s, 16023s, 52553s in a long session), suggesting CachyOS EC patches interfere with GPE handling
Workaround: boot with linux-zen
[dsdt_raw.txt](https://github.com/user-attachments/files/31620966/dsdt_raw.txt)
Contributor guide
Assessment
This issue has not been assessed yet.