debian启动时提示acpi错误

如图片所示,系统启动前会提示两个acpi错误。

我的系统必须设置不允许进入节能模式(长时间不用自动关闭屏幕),如果允许自动关闭屏幕,会无法唤醒,只能强制关闭电源。

我怀疑与这两个acpi错误有关,但不知道怎么解决; 以前按关键字做过一些搜索,按搜索结果装一些包,但好像没啥效果,有没有什么比较可靠的解决方案?

buster 10.9+kde
buster 10.9+gnome

Arch Wiki 的 ACPI 页面:
https://wiki.archlinux.org/index.php/ACPI_modules

sudo dmesg | grep -i error 具体看看是什么问题,

sudo dmesg | grep -i error
提示了四个错误:

有一个地方我没太看明白:

(## 如何选择正确的模块

你只能自己来测试哪个模块在你机器上面能正常工作:

modprobe yourmodule )

这个命令的意思是,用ls -l /usr/lib/modules/$(uname -r)/kernel/drivers/acpi输出的模块替换yourmodule?

我的输出是这样的:
-rw-r–r-- 1 root root 16699 3月 19 22:29 ac.ko
-rw-r–r-- 1 root root 22011 3月 19 22:29 acpi_ipmi.ko
-rw-r–r-- 1 root root 27747 3月 19 22:29 acpi_pad.ko
-rw-r–r-- 1 root root 21315 3月 19 22:29 acpi_tad.ko
-rw-r–r-- 1 root root 40067 3月 19 22:29 battery.ko
-rw-r–r-- 1 root root 29579 3月 19 22:29 button.ko
drwxr-xr-x 2 root root 4096 4月 30 14:49 dptf
-rw-r–r-- 1 root root 18195 3月 19 22:29 fan.ko
drwxr-xr-x 2 root root 4096 4月 30 14:49 nfit
-rw-r–r-- 1 root root 17435 3月 19 22:29 sbshc.ko
-rw-r–r-- 1 root root 23819 3月 19 22:29 sbs.ko
-rw-r–r-- 1 root root 36827 3月 19 22:29 thermal.ko
-rw-r–r-- 1 root root 77595 3月 19 22:29 video.ko

我随便试了两个,都是类似下面的提示:
modprobe: FATAL: Module acpi_pad.ko not found in directory /lib/modules/4.19.0-16-amd64

按照 Arch Wiki 上的说法,命令ls -l /usr/lib/modules/$(uname -r)/kernel/drivers/acpi会输出当前正在使用的内核支持的 acpi 模块列表,然后使用命令modprobe 模块名加载模块,然后使用命令dmesg | grep -i acpi检查模块是否可用。最后,把需要的模块按照man 5 modules-load.d中的说明加入配置文件/etc/modules-load.d
总结:你必须尝试每个模块是否可用。
注释:你需要使用模块名,因此你应当使用类似于modprobe acpi_pad形式的命令,而不是modprobe acpi_pad.ko

peter@debian:~$ sudo modprobe acpi_pad
peter@debian:~$ sudo dmesg | grep acpi
[ 0.202211] ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
[ 0.202211] ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
[ 0.582689] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[ 0.605765] acpi LNXIOBAY:00: ACPI dock station (docks/bays count: 1)
[ 0.611268] acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI]
[ 0.611367] acpi PNP0A08:00: _OSC: platform does not support [PCIeHotplug SHPCHotplug AER PCIeCapability LTR]
[ 0.611409] acpi PNP0A08:00: _OSC: not requesting control; platform does not support [PCIeCapability]
[ 0.611410] acpi PNP0A08:00: _OSC: OS requested [PCIeHotplug SHPCHotplug PME AER PCIeCapability LTR]
[ 0.611411] acpi PNP0A08:00: _OSC: platform willing to grant [PME]
[ 0.611412] acpi PNP0A08:00: _OSC failed (AE_SUPPORT); disabling ASPM
[ 0.628223] acpiphp: Slot [1] registered
[ 0.628301] acpiphp: Slot [1-1] registered
[ 0.653318] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns
[ 1.687563] acpi PNP0C14:01: duplicate WMI GUID 05901221-D566-11D1-B2F0-00A0C9062910 (first instance was on PNP0C14:00)
[ 1.687791] acpi PNP0C14:02: duplicate WMI GUID 05901221-D566-11D1-B2F0-00A0C9062910 (first instance was on PNP0C14:00)
[ 6.075789] thinkpad_acpi: ThinkPad ACPI Extras v0.26
[ 6.075790] thinkpad_acpi: http://ibm-acpi.sf.net/
[ 6.075791] thinkpad_acpi: ThinkPad BIOS GNET79WW (2.27 ), EC unknown
[ 6.075791] thinkpad_acpi: Lenovo ThinkPad *, model 20BGF00F00
[ 6.076549] thinkpad_acpi: radio switch found; radios are enabled
[ 6.076565] thinkpad_acpi: This ThinkPad has standard ACPI backlight brightness control, supported by the ACPI video driver
[ 6.076566] thinkpad_acpi: Disabling thinkpad-acpi brightness events by default…
[ 6.078403] thinkpad_acpi: rfkill switch tpacpi_bluetooth_sw: radio is unblocked
[ 6.087575] input: ThinkPad Extra Buttons as /devices/platform/thinkpad_acpi/input/input15

从这个输出里,怎么确认哪个模块是否可用,以及哪个是需要的模块?

首先考虑驱动程序是否支持。命令grep "" /sys/class/dmi/id/[bpc]*的输出是什么?

看起来你的电脑启用了thinkpad_acpi内核模块,但是并不能很好地工作。我建议执行命令

sudo modprobe thinkpad_acpi
sudo dmesg | grep -i acpi

查看输出以找出问题。

peter@debian:/home $ sudo grep “” /sys/class/dmi/id/[bpc]*
[sudo] peter 的密码:
/sys/class/dmi/id/bios_date:03/16/2016
/sys/class/dmi/id/bios_vendor:LENOVO
/sys/class/dmi/id/bios_version:GNET79WW (2.27 )
/sys/class/dmi/id/board_asset_tag:Not Available
/sys/class/dmi/id/board_name:20BGA00W00
/sys/class/dmi/id/board_serial:W1KS44W11EL
/sys/class/dmi/id/board_vendor:LENOVO
/sys/class/dmi/id/board_version:Not Defined
/sys/class/dmi/id/chassis_asset_tag:No Asset Information
/sys/class/dmi/id/chassis_serial:R901V16D
/sys/class/dmi/id/chassis_type:10
/sys/class/dmi/id/chassis_vendor:LENOVO
/sys/class/dmi/id/chassis_version:Not Available
grep: /sys/class/dmi/id/power: 是一个目录
/sys/class/dmi/id/product_family:ThinkPad W540
/sys/class/dmi/id/product_name:20BGA00W00
/sys/class/dmi/id/product_serial:R901V16D
/sys/class/dmi/id/product_sku:LENOVO_MT_20BG
/sys/class/dmi/id/product_uuid:ef3b9a01-5379-11cb-9995-e06eb3e340e1
/sys/class/dmi/id/product_version:ThinkPad W540

sudo dmesg | grep -i acpi

这个命令输出的内容看不懂了:
[ 0.000000] BIOS-e820: [mem 0x000000007cd2f000-0x000000007ce7efff] ACPI NVS
[ 0.000000] BIOS-e820: [mem 0x000000007ce7f000-0x000000007cefefff] ACPI data
[ 0.000000] efi: ACPI=0x7cefe000 ACPI 2.0=0x7cefe014 SMBIOS=0x7cd2e000 ESRT=0x7ab6d000
[ 0.016513] ACPI: Early table checksum verification disabled
[ 0.016516] ACPI: RSDP 0x000000007CEFE014 000024 (v02 LENOVO)
[ 0.016520] ACPI: XSDT 0x000000007CEFE170 0000D4 (v01 LENOVO TP-GN 00002270 PTEC 00000002)
[ 0.016525] ACPI: FACP 0x000000007CEF9000 00010C (v05 LENOVO TP-GN 00002270 PTEC 00000002)
[ 0.016530] ACPI: DSDT 0x000000007CEE1000 012201 (v01 LENOVO TP-GN 00002270 INTL 20120711)
[ 0.016533] ACPI: FACS 0x000000007CE62000 000040
[ 0.016535] ACPI: DBGP 0x000000007CEFC000 000034 (v01 LENOVO TP-GN 00002270 PTEC 00000002)
[ 0.016537] ACPI: ECDT 0x000000007CEFB000 000052 (v01 LENOVO TP-GN 00002270 PTEC 00000002)
[ 0.016539] ACPI: HPET 0x000000007CEF8000 000038 (v01 LENOVO TP-GN 00002270 PTEC 00000002)
[ 0.016541] ACPI: APIC 0x000000007CEF7000 000098 (v01 LENOVO TP-GN 00002270 PTEC 00000002)
[ 0.016544] ACPI: MCFG 0x000000007CEF6000 00003C (v01 LENOVO TP-GN 00002270 PTEC 00000002)
[ 0.016546] ACPI: SSDT 0x000000007CEF5000 000033 (v01 LENOVO TP-SSDT1 00000100 INTL 20120711)
[ 0.016548] ACPI: SSDT 0x000000007CEF4000 000486 (v01 LENOVO TP-SSDT2 00000200 INTL 20120711)
[ 0.016551] ACPI: SSDT 0x000000007CEE0000 000B78 (v01 LENOVO SataAhci 00001000 INTL 20120711)
[ 0.016553] ACPI: SSDT 0x000000007CEDF000 0007E7 (v01 LENOVO Cpu0Ist 00003000 INTL 20120711)
[ 0.016555] ACPI: SSDT 0x000000007CEDE000 000AD8 (v01 LENOVO CpuPm 00003000 INTL 20120711)
[ 0.016558] ACPI: SSDT 0x000000007CEDC000 00125C (v01 LENOVO SaSsdt 00003000 INTL 20120711)
[ 0.016560] ACPI: SSDT 0x000000007CEDB000 000379 (v01 LENOVO CppcTabl 00001000 INTL 20120711)
[ 0.016563] ACPI: PCCT 0x000000007CEDA000 00006E (v05 LENOVO TP-GN 00002270 PTEC 00000002)
[ 0.016565] ACPI: SSDT 0x000000007CED9000 000AC4 (v01 LENOVO Cpc_Tabl 00001000 INTL 20120711)
[ 0.016567] ACPI: UEFI 0x000000007CED8000 000042 (v01 LENOVO TP-GN 00002270 PTEC 00000002)
[ 0.016569] ACPI: POAT 0x000000007CE3A000 000055 (v03 LENOVO TP-GN 00002270 PTEC 00000002)
[ 0.016572] ACPI: ASF! 0x000000007CEFD000 0000A5 (v32 LENOVO TP-GN 00002270 PTEC 00000002)
[ 0.016574] ACPI: BATB 0x000000007CED7000 000046 (v01 LENOVO TP-GN 00002270 PTEC 00000002)
[ 0.016576] ACPI: FPDT 0x000000007CED6000 000064 (v01 LENOVO TP-GN 00002270 PTEC 00000002)
[ 0.016579] ACPI: UEFI 0x000000007CED5000 0002CE (v01 LENOVO TP-GN 00002270 PTEC 00000002)
[ 0.016581] ACPI: BGRT 0x000000007CED4000 000038 (v01 LENOVO TP-GN 00002270 PTEC 00000002)
[ 0.016588] ACPI: Local APIC address 0xfee00000
[ 0.202238] ACPI: PM-Timer IO Port: 0x1808
[ 0.202240] ACPI: Local APIC address 0xfee00000
[ 0.202247] ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
[ 0.202247] ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
[ 0.202264] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[ 0.202265] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[ 0.202266] ACPI: IRQ0 used by override.
[ 0.202267] ACPI: IRQ9 used by override.
[ 0.202269] Using ACPI (MADT) for SMP configuration information
[ 0.202270] ACPI: HPET id: 0x8086a301 base: 0xfed00000
[ 0.421594] ACPI: Core revision 20180810
[ 0.482678] PM: Registering ACPI NVS region [mem 0x7cd2f000-0x7ce7efff] (1376256 bytes)
[ 0.482678] ACPI FADT declares the system doesn’t support PCIe ASPM, so disable it
[ 0.482678] ACPI: bus type PCI registered
[ 0.482678] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[ 0.482870] ACPI: Added _OSI(Module Device)
[ 0.482870] ACPI: Added _OSI(Processor Device)
[ 0.482870] ACPI: Added _OSI(3.0 _SCP Extensions)
[ 0.482870] ACPI: Added _OSI(Processor Aggregator Device)
[ 0.482870] ACPI: Added _OSI(Linux-Dell-Video)
[ 0.482870] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[ 0.482870] ACPI: EC: EC started
[ 0.482870] ACPI: EC: interrupt blocked
[ 0.482870] ACPI: : Used as first EC
[ 0.482870] ACPI: : GPE=0x11, EC_CMD/EC_SC=0x66, EC_DATA=0x62
[ 0.482870] ACPI: : Used as boot ECDT EC to handle transactions
[ 0.495441] ACPI: 9 ACPI AML tables successfully acquired and loaded
[ 0.496682] ACPI: [Firmware Bug]: BIOS OSI(Linux) query ignored
[ 0.501005] ACPI Error: Needed type [Reference], found [Integer] 0000000039262b5a (20180810/exresop-69)
[ 0.501013] ACPI Error: AE_AML_OPERAND_TYPE, While resolving operands for [OpcodeName unavailable] (20180810/dswexec-427)
[ 0.501017] ACPI Error: Method parse/execution failed _PR.CPU0.PDC, AE_AML_OPERAND_TYPE (20180810/psparse-516)
[ 0.501251] ACPI: Dynamic OEM Table Load:
[ 0.501258] ACPI: SSDT 0xFFFF9B429A196800 0005AA (v01 PmRef ApIst 00003000 INTL 20120711)
[ 0.501673] ACPI: Dynamic OEM Table Load:
[ 0.501678] ACPI: SSDT 0xFFFF9B429A18E200 000119 (v01 PmRef ApCst 00003000 INTL 20120711)
[ 0.503012] ACPI: Interpreter enabled
[ 0.503035] ACPI: (supports S0 S3 S4 S5)
[ 0.503036] ACPI: Using IOAPIC for interrupt routing
[ 0.503447] PCI: MMCONFIG at [mem 0xf8000000-0xfbffffff] reserved in ACPI motherboard resources
[ 0.503455] PCI: Using host bridge windows from ACPI; if necessary, use “pci=nocrs” and report a bug
[ 0.503718] ACPI: Enabled 7 GPEs in block 00 to 3F
[ 0.506641] ACPI: Power Resource [PUBS] (on)
[ 0.506842] ACPI: Power Resource [NVP3] (on)
[ 0.506862] ACPI: Power Resource [NVP2] (on)
[ 0.507786] acpi LNXIOBAY:00: ACPI dock station (docks/bays count: 1)
[ 0.510586] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 9 10 11) *0, disabled.
[ 0.510646] ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 9 10 11) *0, disabled.
[ 0.510709] ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 9 10 11) *0, disabled.
[ 0.510772] ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 9 10 11) *0, disabled.
[ 0.510833] ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 9 10 11) *0, disabled.
[ 0.510896] ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 9 10 11) *0, disabled.
[ 0.510958] ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 9 10 11) *0, disabled.
[ 0.511019] ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 9 10 11) *0, disabled.
[ 0.511102] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-3f])
[ 0.511106] acpi PNP0A08:00: OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI]
[ 0.511203] acpi PNP0A08:00: OSC: platform does not support [PCIeHotplug SHPCHotplug AER PCIeCapability LTR]
[ 0.511245] acpi PNP0A08:00: OSC: not requesting control; platform does not support [PCIeCapability]
[ 0.511247] acpi PNP0A08:00: OSC: OS requested [PCIeHotplug SHPCHotplug PME AER PCIeCapability LTR]
[ 0.511248] acpi PNP0A08:00: OSC: platform willing to grant [PME]
[ 0.511249] acpi PNP0A08:00: OSC failed (AE_SUPPORT); disabling ASPM
[ 0.528209] acpiphp: Slot [1] registered
[ 0.528287] acpiphp: Slot [1-1] registered
[ 0.529163] ACPI: EC: interrupt unblocked
[ 0.529175] ACPI: EC: event unblocked
[ 0.529198] ACPI: _SB
.PCI0.LPC
.EC
: GPE=0x11, EC_CMD/EC_SC=0x66, EC_DATA=0x62
[ 0.529199] ACPI: _SB
.PCI0.LPC
.EC
: Used as boot DSDT EC to handle transactions and events
[ 0.529961] PCI: Using ACPI for IRQ routing
[ 0.542797] pnp: PnP ACPI init
[ 0.543139] system 00:00: Plug and Play ACPI device, IDs PNP0c01 (active)
[ 0.543285] system 00:01: Plug and Play ACPI device, IDs PNP0c02 (active)
[ 0.543331] pnp 00:02: Plug and Play ACPI device, IDs PNP0b00 (active)
[ 0.543345] pnp 00:03: Plug and Play ACPI device, IDs LEN0071 PNP0303 (active)
[ 0.543361] pnp 00:04: Plug and Play ACPI device, IDs LEN0034 PNP0f13 (active)
[ 0.543692] pnp: PnP ACPI: found 5 devices
[ 0.549282] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns
[ 1.690241] ACPI: Lid Switch [LID]
[ 1.690302] ACPI: Sleep Button [SLPB]
[ 1.690378] ACPI: Power Button [PWRF]
[ 1.695692] acpi PNP0C14:01: duplicate WMI GUID 05901221-D566-11D1-B2F0-00A0C9062910 (first instance was on PNP0C14:00)
[ 1.695778] acpi PNP0C14:02: duplicate WMI GUID 05901221-D566-11D1-B2F0-00A0C9062910 (first instance was on PNP0C14:00)
[ 1.696475] ACPI: Thermal Zone [THM0] (31 C)
[ 1.701423] ACPI Warning: SystemIO range 0x0000000000001828-0x000000000000182F conflicts with OpRegion 0x0000000000001800-0x000000000000187F (_SB.PCI0.LPC.PMIO) (20180810/utaddress-213)
[ 1.701429] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[ 1.701436] ACPI Warning: SystemIO range 0x0000000000000840-0x000000000000084F conflicts with OpRegion 0x0000000000000800-0x000000000000087F (_SB.PCI0.LPC.LPIO) (20180810/utaddress-213)
[ 1.701439] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[ 1.701440] ACPI Warning: SystemIO range 0x0000000000000830-0x000000000000083F conflicts with OpRegion 0x0000000000000800-0x000000000000087F (_SB.PCI0.LPC.LPIO) (20180810/utaddress-213)
[ 1.701443] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[ 1.701444] ACPI Warning: SystemIO range 0x0000000000000800-0x000000000000082F conflicts with OpRegion 0x0000000000000800-0x000000000000087F (_SB.PCI0.LPC.LPIO) (20180810/utaddress-213)
[ 1.701446] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[ 1.709324] ACPI: bus type USB registered
[ 1.831198] ACPI Warning: _SB.PCI0.PEG.VID._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20180810/nsarguments-66)
[ 2.104936] ata6.00: ACPI cmd ef/02:00:00:00:00:a0 (SET FEATURES) succeeded
[ 2.104938] ata6.00: ACPI cmd f5/00:00:00:00:00:a0 (SECURITY FREEZE LOCK) filtered out
[ 2.104940] ata6.00: ACPI cmd ef/10:03:00:00:00:a0 (SET FEATURES) filtered out
[ 2.104951] ata5.00: ACPI cmd ef/02:00:00:00:00:a0 (SET FEATURES) succeeded
[ 2.104953] ata5.00: ACPI cmd f5/00:00:00:00:00:a0 (SECURITY FREEZE LOCK) filtered out
[ 2.105078] ata1.00: ACPI cmd ef/02:00:00:00:00:a0 (SET FEATURES) succeeded
[ 2.105079] ata1.00: ACPI cmd f5/00:00:00:00:00:a0 (SECURITY FREEZE LOCK) filtered out
[ 2.105081] ata1.00: ACPI cmd ef/10:03:00:00:00:a0 (SET FEATURES) filtered out
[ 2.105245] ata5.00: ACPI cmd ef/02:00:00:00:00:a0 (SET FEATURES) succeeded
[ 2.105246] ata5.00: ACPI cmd f5/00:00:00:00:00:a0 (SECURITY FREEZE LOCK) filtered out
[ 2.106294] ata6.00: ACPI cmd ef/02:00:00:00:00:a0 (SET FEATURES) succeeded
[ 2.106296] ata6.00: ACPI cmd f5/00:00:00:00:00:a0 (SECURITY FREEZE LOCK) filtered out
[ 2.106297] ata6.00: ACPI cmd ef/10:03:00:00:00:a0 (SET FEATURES) filtered out
[ 2.106956] ata1.00: ACPI cmd ef/02:00:00:00:00:a0 (SET FEATURES) succeeded
[ 2.106958] ata1.00: ACPI cmd f5/00:00:00:00:00:a0 (SECURITY FREEZE LOCK) filtered out
[ 2.106959] ata1.00: ACPI cmd ef/10:03:00:00:00:a0 (SET FEATURES) filtered out
[ 2.185457] ACPI: Video Device [VID] (multi-head: yes rom: no post: no)
[ 2.185806] ACPI: Video Device [VID1] (multi-head: yes rom: yes post: no)
[ 4.613241] battery: ACPI: Battery Slot [BAT0] (battery absent)
[ 4.616721] ACPI: AC Adapter [AC] (on-line)
[ 4.743439] thinkpad_acpi: ThinkPad ACPI Extras v0.26
[ 4.743441] thinkpad_acpi: http://ibm-acpi.sf.net/
[ 4.743442] thinkpad_acpi: ThinkPad BIOS GNET79WW (2.27 ), EC unknown
[ 4.743443] thinkpad_acpi: Lenovo ThinkPad W540, model 20BGA00W00
[ 4.745190] thinkpad_acpi: radio switch found; radios are enabled
[ 4.745205] thinkpad_acpi: This ThinkPad has standard ACPI backlight brightness control, supported by the ACPI video driver
[ 4.745206] thinkpad_acpi: Disabling thinkpad-acpi brightness events by default…
[ 4.747047] thinkpad_acpi: rfkill switch tpacpi_bluetooth_sw: radio is unblocked
[ 4.752963] input: ThinkPad Extra Buttons as /devices/platform/thinkpad_acpi/input/input16

ThinkPad W540?检查 Category:W540 - ThinkWikiHow to make ACPI work - ThinkWiki

这一错误应当是以下错误导致的:

驱动程序的亮度调节功能不再可用。

我综合了以下来源:
Thinkpad T440, T450, T460 Bios ACPI Errors-English Community (lenovo.com)
ACPI errors on boot after update to kernel 4.11.2-1 / Kernel & Hardware / Arch Linux Forums
Bug #1083984 “10de:0def [Lenovo Thinkpad T530] With discrete gra…” : Bugs : linux package : Ubuntu (launchpad.net)
Re: Thinkpad ACPI Unsupported (Linux IBM ACPI) (spinics.net)
51231 – Backlight keys stopped working, unless acpi_osi="!Windows 2012" - Thinkpad t430s - BISECTED (kernel.org)
综合来看,这个问题应当是固件问题。部分报告声称内核选项acpi_osi='!Windows 2012'可以工作,也有报告声称更新版本的内核和固件解决了这个问题。

信息量有点大,我看一看~

在/det/default/grub中修改
GRUB_CMDLINE_LINUX_DEFAULT=“panic=5 quiet splash acpi_osi=linux”
sudo update-grub
然后再试试看

我先把节能设置改回去,重现一下无法唤醒;重现后再改grub设置,然后看效果~

改了grub并update-grub后重启,再次进入节能后,能够唤醒了~

不过出了一个新问题,就是重启的话会在关机界面死机,必须要通过电源强制关机~

现在内核的启动选项(/etc/default/grubGRUB_CMDLINE_LINUX_DEFAULT 一行)是什么?

peter@debian:~$ cat /etc/default/grub
/# If you change this file, run ‘update-grub’ afterwards to update
/# /boot/grub/grub.cfg.
/# For full documentation of the options in this file, see:
/# info -f grub -n ‘Simple configuration’

GRUB_DEFAULT=0
GRUB_TIMEOUT=1
GRUB_DISTRIBUTOR=lsb_release -i -s 2> /dev/null || echo Debian
GRUB_CMDLINE_LINUX_DEFAULT=“panic=5 quiet splash acpi_osi+linux”
GRUB_CMDLINE_LINUX=""

很奇怪,我不知道是我输入错误还是系统自动做了修改,原来的=变成了+,上面的一行好像也与原来不一样~

我是不是要改成= ?

运行命令cat /proc/cmdline的输出是什么?


我建议进行如下修改:

GRUB_CMDLINE_LINUX_DEFAULT=“quiet splash acpi_osi=’!Windows 2012’”

然后执行命令sudo update-grub2

peter@debian:~$ cat /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-4.19.0-16-amd64 root=UUID=15f56853-8b3e-42f9-9bb9-37d3352eb5db ro panic=5 quiet splash acpi_osi=linux

我已经把+改成=了~

我刚才回想了一下,大概率是我输入有错误,把=输成了+号;

现在已经改回来了,我一会儿测试一下看看有什么问题~

(帖子被作者删除,如无标记将在 24 小时后自动删除)

我把kde plasma默认的节能时间改小后,进入节能不能唤醒;改回默认的时间后,可以唤醒;另外,目前可以正常重启,不会死机;

不确定是不是偶然事件,我需要观察几天看一下~