编辑:Ubuntu 上一切正常,但在 Arch 上,它不会更新,无论是通过重新启动守护进程、acpi -V 还是使用 inxi。此外,交流电源适配器不会执行任何操作(至少在 Arch 中),因此没有状态更新等。
您好,我在新笔记本电脑上安装了 Arch,但是电池百分比/百分比更新似乎坏了,我以前从未见过这种情况,并且真的找不到任何可能有帮助的有用的东西。
我安装ACPI
并尝试降级,也在KDE 设置以及内部快速启动中upower
禁用。session restore
UEFI
我从 USB 启动到 ubuntu,电池在那里工作,我曾经lspci -nnk
查看过模块/组件以及它们使用的驱动程序,只有两件事与 arch 的lspci -nnk
输出不匹配。
信号处理控制器的驱动程序(和使用的内核模块)位于intel-pmt
Ubuntu 和intel_vsec
arch 上。串行总线控制器的驱动程序在 Ubuntu 下似乎没有任何模块或驱动程序,但在 Arch 上它用作intel-spi
驱动程序和spi_intel_pci
内核模块。
有问题的笔记本电脑是富士通 Lifebook A3511(i3-11 代)
Ubuntu Upower 版本:0.99.17 | 原始 Arch Upower 版本:0.99.20
将 Arch 的版本降级到 0.99.19、.18、.17 和 .10(没有任何作用)。
额外信息
Vanilla Arch(5.19.6-arch1-1)、加密 NVME 驱动器(Luks)、Grub 引导加载程序,几乎所有其他东西都可以正常工作,就是那个愚蠢的电池无法更新摇头。
完整lspci -nnk
输出(Ubuntu)
00:00.0 Host bridge [0600]: Intel Corporation Device [8086:9a04] (rev 01)
Subsystem: Fujitsu Client Computing Limited Device [1e26:0057]
00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:9a78] (rev 01)
Subsystem: Fujitsu Client Computing Limited Device [1e26:004f]
Kernel driver in use: i915
Kernel modules: i915
00:04.0 Signal processing controller [1180]: Intel Corporation TigerLake-LP Dynamic Tuning Processor Participant [8086:9a03] (rev 01)
Subsystem: Fujitsu Client Computing Limited TigerLake-LP Dynamic Tuning Processor Participant [1e26:0057]
Kernel driver in use: proc_thermal
Kernel modules: processor_thermal_device_pci_legacy
00:08.0 System peripheral [0880]: Intel Corporation GNA Scoring Accelerator module [8086:9a11] (rev 01)
Subsystem: Fujitsu Client Computing Limited GNA Scoring Accelerator module [1e26:0057]
00:0a.0 Signal processing controller [1180]: Intel Corporation Tigerlake Telemetry Aggregator Driver [8086:9a0d] (rev 01)
Subsystem: Fujitsu Client Computing Limited Tigerlake Telemetry Aggregator Driver [1e26:0057]
Kernel driver in use: intel-pmt
Kernel modules: intel_pmt
00:0d.0 USB controller [0c03]: Intel Corporation Tiger Lake-LP Thunderbolt 4 USB Controller [8086:9a13] (rev 01)
Subsystem: Fujitsu Client Computing Limited Tiger Lake-LP Thunderbolt 4 USB Controller [1e26:0057]
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci
00:14.0 USB controller [0c03]: Intel Corporation Tiger Lake-LP USB 3.2 Gen 2x1 xHCI Host Controller [8086:a0ed] (rev 20)
Subsystem: Fujitsu Client Computing Limited Tiger Lake-LP USB 3.2 Gen 2x1 xHCI Host Controller [1e26:0057]
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci
00:14.2 RAM memory [0500]: Intel Corporation Tiger Lake-LP Shared SRAM [8086:a0ef] (rev 20)
Subsystem: Fujitsu Client Computing Limited Tiger Lake-LP Shared SRAM [1e26:0057]
00:14.3 Network controller [0280]: Intel Corporation Wi-Fi 6 AX201 [8086:a0f0] (rev 20)
Subsystem: Intel Corporation Wi-Fi 6 AX201 [8086:0074]
Kernel driver in use: iwlwifi
Kernel modules: iwlwifi
00:15.0 Serial bus controller [0c80]: Intel Corporation Tiger Lake-LP Serial IO I2C Controller #0 [8086:a0e8] (rev 20)
Subsystem: Fujitsu Client Computing Limited Tiger Lake-LP Serial IO I2C Controller [1e26:0057]
Kernel driver in use: intel-lpss
Kernel modules: intel_lpss_pci
00:16.0 Communication controller [0780]: Intel Corporation Tiger Lake-LP Management Engine Interface [8086:a0e0] (rev 20)
Subsystem: Fujitsu Client Computing Limited Tiger Lake-LP Management Engine Interface [1e26:0057]
Kernel driver in use: mei_me
Kernel modules: mei_me
00:17.0 SATA controller [0106]: Intel Corporation Device [8086:a0d3] (rev 20)
Subsystem: Fujitsu Client Computing Limited Device [1e26:0057]
Kernel driver in use: ahci
Kernel modules: ahci
00:1c.0 PCI bridge [0604]: Intel Corporation Device [8086:a0b8] (rev 20)
Kernel driver in use: pcieport
00:1c.4 PCI bridge [0604]: Intel Corporation Device [8086:a0bc] (rev 20)
Kernel driver in use: pcieport
00:1d.0 PCI bridge [0604]: Intel Corporation Tiger Lake-LP PCI Express Root Port #9 [8086:a0b0] (rev 20)
Kernel driver in use: pcieport
00:1d.1 PCI bridge [0604]: Intel Corporation Device [8086:a0b1] (rev 20)
Kernel driver in use: pcieport
00:1f.0 ISA bridge [0601]: Intel Corporation Tiger Lake-LP LPC Controller [8086:a082] (rev 20)
Subsystem: Fujitsu Client Computing Limited Tiger Lake-LP LPC Controller [1e26:0057]
00:1f.3 Multimedia audio controller [0401]: Intel Corporation Tiger Lake-LP Smart Sound Technology Audio Controller [8086:a0c8] (rev 20)
Subsystem: Fujitsu Client Computing Limited Tiger Lake-LP Smart Sound Technology Audio Controller [1e26:0040]
Kernel driver in use: sof-audio-pci-intel-tgl
Kernel modules: snd_hda_intel, snd_sof_pci_intel_tgl
00:1f.4 SMBus [0c05]: Intel Corporation Tiger Lake-LP SMBus Controller [8086:a0a3] (rev 20)
Subsystem: Fujitsu Client Computing Limited Tiger Lake-LP SMBus Controller [1e26:0057]
Kernel driver in use: i801_smbus
Kernel modules: i2c_i801
00:1f.5 Serial bus controller [0c80]: Intel Corporation Tiger Lake-LP SPI Controller [8086:a0a4] (rev 20)
Subsystem: Fujitsu Client Computing Limited Tiger Lake-LP SPI Controller [1e26:0057]
06:00.0 Non-Volatile memory controller [0108]: Samsung Electronics Co Ltd NVMe SSD Controller 980 [144d:a809]
Subsystem: Samsung Electronics Co Ltd Device [144d:a801]
Kernel driver in use: nvme
Kernel modules: nvme
07:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
Subsystem: Fujitsu Client Computing Limited RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [1e26:0017]
Kernel driver in use: r8169
Kernel modules: r8169
08:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS522A PCI Express Card Reader [10ec:522a] (rev 01)
Subsystem: Fujitsu Client Computing Limited RTS522A PCI Express Card Reader [1e26:0019]
Kernel driver in use: rtsx_pci
Kernel modules: rtsx_pci
全力lspci -nnk
输出(拱门)
00:00.0 Host bridge [0600]: Intel Corporation Device [8086:9a04] (rev 01)
Subsystem: Fujitsu Client Computing Limited Device [1e26:0057]
00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:9a78] (rev 01)
Subsystem: Fujitsu Client Computing Limited Device [1e26:004f]
Kernel driver in use: i915
Kernel modules: i915
00:04.0 Signal processing controller [1180]: Intel Corporation TigerLake-LP Dynamic Tuning Processor Participant [8086:9a03] (rev 01)
Subsystem: Fujitsu Client Computing Limited Device [1e26:0057]
Kernel driver in use: proc_thermal
Kernel modules: processor_thermal_device_pci_legacy
00:08.0 System peripheral [0880]: Intel Corporation GNA Scoring Accelerator module [8086:9a11] (rev 01)
Subsystem: Fujitsu Client Computing Limited Device [1e26:0057]
00:0a.0 Signal processing controller [1180]: Intel Corporation Tigerlake Telemetry Aggregator Driver [8086:9a0d] (rev 01)
Subsystem: Fujitsu Client Computing Limited Device [1e26:0057]
Kernel driver in use: intel_vsec
Kernel modules: intel_vsec
00:0d.0 USB controller [0c03]: Intel Corporation Tiger Lake-LP Thunderbolt 4 USB Controller [8086:9a13] (rev 01)
Subsystem: Fujitsu Client Computing Limited Device [1e26:0057]
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci
00:14.0 USB controller [0c03]: Intel Corporation Tiger Lake-LP USB 3.2 Gen 2x1 xHCI Host Controller [8086:a0ed] (rev 20)
Subsystem: Fujitsu Client Computing Limited Device [1e26:0057]
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci
00:14.2 RAM memory [0500]: Intel Corporation Tiger Lake-LP Shared SRAM [8086:a0ef] (rev 20)
Subsystem: Fujitsu Client Computing Limited Device [1e26:0057]
00:14.3 Network controller [0280]: Intel Corporation Wi-Fi 6 AX201 [8086:a0f0] (rev 20)
Subsystem: Intel Corporation Device [8086:0074]
Kernel driver in use: iwlwifi
Kernel modules: iwlwifi
00:15.0 Serial bus controller [0c80]: Intel Corporation Tiger Lake-LP Serial IO I2C Controller #0 [8086:a0e8] (rev 20)
Subsystem: Fujitsu Client Computing Limited Device [1e26:0057]
Kernel driver in use: intel-lpss
Kernel modules: intel_lpss_pci
00:16.0 Communication controller [0780]: Intel Corporation Tiger Lake-LP Management Engine Interface [8086:a0e0] (rev 20)
Subsystem: Fujitsu Client Computing Limited Device [1e26:0057]
Kernel driver in use: mei_me
Kernel modules: mei_me
00:17.0 SATA controller [0106]: Intel Corporation Tiger Lake-LP SATA Controller [8086:a0d3] (rev 20)
Subsystem: Fujitsu Client Computing Limited Device [1e26:0057]
Kernel driver in use: ahci
00:1c.0 PCI bridge [0604]: Intel Corporation Device [8086:a0b8] (rev 20)
Subsystem: Fujitsu Client Computing Limited Device [1e26:0057]
Kernel driver in use: pcieport
00:1c.4 PCI bridge [0604]: Intel Corporation Device [8086:a0bc] (rev 20)
Subsystem: Fujitsu Client Computing Limited Device [1e26:0057]
Kernel driver in use: pcieport
00:1d.0 PCI bridge [0604]: Intel Corporation Tiger Lake-LP PCI Express Root Port #9 [8086:a0b0] (rev 20)
Subsystem: Fujitsu Client Computing Limited Device [1e26:0057]
Kernel driver in use: pcieport
00:1d.1 PCI bridge [0604]: Intel Corporation Device [8086:a0b1] (rev 20)
Subsystem: Fujitsu Client Computing Limited Device [1e26:0057]
Kernel driver in use: pcieport
00:1f.0 ISA bridge [0601]: Intel Corporation Tiger Lake-LP LPC Controller [8086:a082] (rev 20)
Subsystem: Fujitsu Client Computing Limited Device [1e26:0057]
00:1f.3 Multimedia audio controller [0401]: Intel Corporation Tiger Lake-LP Smart Sound Technology Audio Controller [8086:a0c8] (rev 20)
Subsystem: Fujitsu Client Computing Limited Device [1e26:0040]
Kernel driver in use: sof-audio-pci-intel-tgl
Kernel modules: snd_hda_intel, snd_sof_pci_intel_tgl
00:1f.4 SMBus [0c05]: Intel Corporation Tiger Lake-LP SMBus Controller [8086:a0a3] (rev 20)
Subsystem: Fujitsu Client Computing Limited Device [1e26:0057]
Kernel driver in use: i801_smbus
Kernel modules: i2c_i801
00:1f.5 Serial bus controller [0c80]: Intel Corporation Tiger Lake-LP SPI Controller [8086:a0a4] (rev 20)
Subsystem: Fujitsu Client Computing Limited Device [1e26:0057]
Kernel driver in use: intel-spi
Kernel modules: spi_intel_pci
06:00.0 Non-Volatile memory controller [0108]: Samsung Electronics Co Ltd NVMe SSD Controller 980 [144d:a809]
Subsystem: Samsung Electronics Co Ltd Device [144d:a801]
Kernel driver in use: nvme
Kernel modules: nvme
07:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
Subsystem: Fujitsu Client Computing Limited Device [1e26:0017]
Kernel driver in use: r8169
Kernel modules: r8169
08:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS522A PCI Express Card Reader [10ec:522a] (rev 01)
Subsystem: Fujitsu Client Computing Limited Device [1e26:0019]
Kernel driver in use: rtsx_pci
Kernel modules: rtsx_pci
答案1
因此,在 Arch 的 Discord 社区中发布同样的问题后,一位成员建议使用 LTS 内核。
这已经完全解决了问题,通过实时更新和状态纠正了电池百分比。
更改内核(在 arch 上)
- 通过 pacman 或其他方式获取 linux-lts 包(我使用 yay)
yay -S linux-lts
- 运行 mkinitcpio
sudo mkinitcpio -p linux-lts
- 删除标准 Linux 内核(可选)
如果 lts 没有帮助,我建议保留它以进行测试/回退。
yay -R linux
- 更新 grub
sudo grub-mkconfig -o /boot/grub/grub.cfg
- 重启
如果你没有删除标准内核,请选择 Arch 的高级选项,并选择使用 lts 内核启动 6. 验证内核(输出应该以 结尾
-lts
)
uname -r