我有一台双启动 Win10/Ubuntu 18.04 笔记本电脑,但一直无法解决为什么只要不插电它就会关机的问题。
一开始我以为我忘了,电池没电了。但每次启动时,我都无法从 grub 菜单直接启动到 Ubuntu。我必须运行恢复和 dpkg,然后必须完全关闭电源才能回到 Ubuntu。
如果我不这样做,kubuntu 闪光屏幕后会出现黑屏闪烁,并且屏幕左上角的光标不会闪烁。
在 dpkg 之后关闭并重试并再次关闭,黑屏显示闪烁的光标,然后出现箭头光标,这让我知道 Ubuntu 这次将加载到登录屏幕。
发生这种情况时,电池充电量为 100% 或更少,但永远不会耗尽。我已将所有电源管理设置设为永不超时等,但无法找出原因。
插入电源后,我可以关闭笔记本电脑,也可以保持打开状态等,而且几天内都不会发生这种情况。我不知道如何阅读日志来查看是否是某事导致了这种情况。
更新:不确定这有什么关系,但昨天我注意到电池电量为 83%,持续了一个多小时。重新启动后,电池电量为 83%,并在短时间内充满电。今天,已插入电源超过 3 小时,盖子关闭;打开笔记本电脑,电池电量仍为 86%(关闭前)。现在 30 分钟后,电池电量仍为 86%,已插入电源。由于这在 Win 10 中不会发生,我不确定为什么它不显示充电进度。
lspci -v:
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Host Bridge/DRAM Registers (rev 07)
Subsystem: CLEVO/KAPOK Computer Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Host Bridge/DRAM Registers
Flags: bus master, fast devsel, latency 0
Capabilities: <access denied>
Kernel driver in use: skl_uncore
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor PCIe Controller (x16) (rev 07) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 16
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: 0000e000-0000efff
Memory behind bridge: dc000000-dd0fffff
Prefetchable memory behind bridge: 00000000b0000000-00000000c1ffffff
Capabilities: <access denied>
Kernel driver in use: pcieport
Kernel modules: shpchp
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06) (prog-if 00 [VGA controller])
Subsystem: CLEVO/KAPOK Computer HD Graphics 530
Flags: bus master, fast devsel, latency 0, IRQ 126
Memory at db000000 (64-bit, non-prefetchable) [size=16M]
Memory at 60000000 (64-bit, prefetchable) [size=512M]
I/O ports at f000 [size=64]
[virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
Capabilities: <access denied>
Kernel driver in use: i915
Kernel modules: i915
00:14.0 USB controller: Intel Corporation 100 Series/C230 Series Chipset Family USB 3.0 xHCI Controller (rev 31) (prog-if 30 [XHCI])
Subsystem: CLEVO/KAPOK Computer Sunrise Point-H USB 3.0 xHCI Controller
Flags: bus master, medium devsel, latency 0, IRQ 122
Memory at dd310000 (64-bit, non-prefetchable) [size=64K]
Capabilities: <access denied>
Kernel driver in use: xhci_hcd
00:14.2 Signal processing controller: Intel Corporation 100 Series/C230 Series Chipset Family Thermal Subsystem (rev 31)
Subsystem: CLEVO/KAPOK Computer Sunrise Point-H Thermal subsystem
Flags: fast devsel, IRQ 18
Memory at dd32e000 (64-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
Kernel driver in use: intel_pch_thermal
Kernel modules: intel_pch_thermal
00:16.0 Communication controller: Intel Corporation 100 Series/C230 Series Chipset Family MEI Controller #1 (rev 31)
Subsystem: CLEVO/KAPOK Computer Sunrise Point-H CSME HECI
Flags: bus master, fast devsel, latency 0, IRQ 129
Memory at dd32d000 (64-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
Kernel driver in use: mei_me
Kernel modules: mei_me
00:17.0 SATA controller: Intel Corporation HM170/QM170 Chipset SATA Controller [AHCI Mode] (rev 31) (prog-if 01 [AHCI 1.0])
Subsystem: CLEVO/KAPOK Computer Sunrise Point-H SATA Controller [AHCI mode]
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 124
Memory at dd328000 (32-bit, non-prefetchable) [size=8K]
Memory at dd32c000 (32-bit, non-prefetchable) [size=256]
I/O ports at f090 [size=8]
I/O ports at f080 [size=4]
I/O ports at f060 [size=32]
Memory at dd32b000 (32-bit, non-prefetchable) [size=2K]
Capabilities: <access denied>
Kernel driver in use: ahci
Kernel modules: ahci
00:1c.0 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #1 (rev f1) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 16
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
Capabilities: <access denied>
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1c.2 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #3 (rev f1) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 18
Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
Memory behind bridge: dd200000-dd2fffff
Capabilities: <access denied>
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1c.3 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #4 (rev f1) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 19
Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
I/O behind bridge: 0000d000-0000dfff
Memory behind bridge: dd100000-dd1fffff
Capabilities: <access denied>
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1c.4 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #5 (rev f1) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 16
Bus: primary=00, secondary=05, subordinate=3d, sec-latency=0
I/O behind bridge: 00002000-00002fff
Memory behind bridge: c4000000-da0fffff
Prefetchable memory behind bridge: 0000000080000000-00000000a1ffffff
Capabilities: <access denied>
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1f.0 ISA bridge: Intel Corporation HM170 Chipset LPC/eSPI Controller (rev 31)
Subsystem: CLEVO/KAPOK Computer Sunrise Point-H LPC Controller
Flags: bus master, medium devsel, latency 0
00:1f.2 Memory controller: Intel Corporation 100 Series/C230 Series Chipset Family Power Management Controller (rev 31)
Subsystem: CLEVO/KAPOK Computer Sunrise Point-H PMC
Flags: fast devsel
Memory at dd324000 (32-bit, non-prefetchable) [disabled] [size=16K]
00:1f.3 Audio device: Intel Corporation 100 Series/C230 Series Chipset Family HD Audio Controller (rev 31)
Subsystem: CLEVO/KAPOK Computer Sunrise Point-H HD Audio
Flags: bus master, fast devsel, latency 32, IRQ 128
Memory at dd320000 (64-bit, non-prefetchable) [size=16K]
Memory at dd300000 (64-bit, non-prefetchable) [size=64K]
Capabilities: <access denied>
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
00:1f.4 SMBus: Intel Corporation 100 Series/C230 Series Chipset Family SMBus (rev 31)
Subsystem: CLEVO/KAPOK Computer Sunrise Point-H SMBus
Flags: medium devsel, IRQ 255
Memory at dd32a000 (64-bit, non-prefetchable) [size=256]
I/O ports at f040 [size=32]
Kernel modules: i2c_i801
01:00.0 VGA compatible controller: NVIDIA Corporation GM206M [GeForce GTX 965M] (rev a1) (prog-if 00 [VGA controller])
Subsystem: CLEVO/KAPOK Computer GM206M [GeForce GTX 965M]
Flags: bus master, fast devsel, latency 0, IRQ 130
Memory at dc000000 (32-bit, non-prefetchable) [size=16M]
Memory at b0000000 (64-bit, prefetchable) [size=256M]
Memory at c0000000 (64-bit, prefetchable) [size=32M]
I/O ports at e000 [size=128]
[virtual] Expansion ROM at dd000000 [disabled] [size=512K]
Capabilities: <access denied>
Kernel driver in use: nvidia
Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia
01:00.1 Audio device: NVIDIA Corporation Device 0fba (rev a1)
Subsystem: CLEVO/KAPOK Computer Device 1501
Flags: bus master, fast devsel, latency 0, IRQ 17
Memory at dd080000 (32-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
03:00.0 Network controller: Intel Corporation Wireless 3165 (rev 81)
Subsystem: Intel Corporation Dual Band Wireless AC 3165
Flags: bus master, fast devsel, latency 0, IRQ 127
Memory at dd200000 (64-bit, non-prefetchable) [size=8K]
Capabilities: <access denied>
Kernel driver in use: iwlwifi
Kernel modules: iwlwifi
04:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTL8411B PCI Express Card Reader (rev 01)
Subsystem: CLEVO/KAPOK Computer RTL8411B PCI Express Card Reader
Flags: bus master, fast devsel, latency 0, IRQ 123
Memory at dd115000 (32-bit, non-prefetchable) [size=4K]
Expansion ROM at dd100000 [disabled] [size=64K]
Capabilities: <access denied>
Kernel driver in use: rtsx_pci
Kernel modules: rtsx_pci
04:00.1 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 12)
Subsystem: CLEVO/KAPOK Computer RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
Flags: bus master, fast devsel, latency 0, IRQ 19
I/O ports at d000 [size=256]
Memory at dd114000 (64-bit, non-prefetchable) [size=4K]
Memory at dd110000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: r8169
Kernel modules: r8169
05:00.0 PCI bridge: Intel Corporation DSL6340 Thunderbolt 3 Bridge [Alpine Ridge 2C 2015] (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 18
Bus: primary=05, secondary=06, subordinate=3d, sec-latency=0
I/O behind bridge: 00002000-00002fff
Memory behind bridge: c4000000-da0fffff
Prefetchable memory behind bridge: 0000000080000000-00000000a1ffffff
Capabilities: <access denied>
Kernel driver in use: pcieport
Kernel modules: shpchp
06:00.0 PCI bridge: Intel Corporation DSL6340 Thunderbolt 3 Bridge [Alpine Ridge 2C 2015] (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 18
Bus: primary=06, secondary=07, subordinate=07, sec-latency=0
Memory behind bridge: da000000-da0fffff
Capabilities: <access denied>
Kernel driver in use: pcieport
Kernel modules: shpchp
06:01.0 PCI bridge: Intel Corporation DSL6340 Thunderbolt 3 Bridge [Alpine Ridge 2C 2015] (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 19
Bus: primary=06, secondary=08, subordinate=3c, sec-latency=0
I/O behind bridge: 00002000-00002fff
Memory behind bridge: c4000000-d9efffff
Prefetchable memory behind bridge: 0000000080000000-00000000a1ffffff
Capabilities: <access denied>
Kernel driver in use: pcieport
Kernel modules: shpchp
06:02.0 PCI bridge: Intel Corporation DSL6340 Thunderbolt 3 Bridge [Alpine Ridge 2C 2015] (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 16
Bus: primary=06, secondary=3d, subordinate=3d, sec-latency=0
Memory behind bridge: d9f00000-d9ffffff
Capabilities: <access denied>
Kernel driver in use: pcieport
Kernel modules: shpchp
3d:00.0 USB controller: Intel Corporation DSL6340 USB 3.1 Controller [Alpine Ridge] (prog-if 30 [XHCI])
Subsystem: Device 2222:1111
Flags: bus master, fast devsel, latency 0, IRQ 131
Memory at d9f00000 (32-bit, non-prefetchable) [size=64K]
Capabilities: <access denied>
Kernel driver in use: xhci_hcd