Froga
(Froga)
1
请注意一定要按照模版填写以下信息,否则社区人员将无法了解你所遇到的问题。
问题描述
在社区中是否已进行相关问题搜索?
请详细描述您所遇到的问题:
设置中打开了合盖或空闲时进入休眠。在登录状态下,合盖或空闲时间到了之后,屏幕会熄灭但电源灯还亮着,2-3分钟后电源灯熄灭,而且关机了。电源灯还亮着的时候打开盖子大概率可以唤醒,但电源灯熄灭之后再开盖不会有任何反应,此时按电源键则是完整开机流程。
如果在登录界面合盖,会直接关机,时间很短。
按说明书尝试过切换休眠模式,但Deep和S2Idle都是一模一样的问题,合盖2-3分钟直接关机了。全新安装17.1非iris版本,也是一样的问题。但非iris-17.0-sp2和iris-17.0-sp1并没有以上问题,只是唤醒之后会发现Linux子系统被关闭了。
系统与设备信息
-
硬件与系统配置:
- 处理器:i5-7200U
- 显卡:(如有独立显卡,请标明)UHD620
- RAM(运行内存):16GB
- 存储容量:180GB
- FydeOS版本:17.1,amd64_iris
-
相关系统日志:
- 访问 Chromium 浏览器并输入
/var/log/messages
以获取日志。
- 日志内容:
messages.zip (11.3 KB)
hacker
(Mayday)
2
登录界面合盖本来就会关机的,登录界面一段时间不动也会自动关机的。休眠不好修,你只能先关掉休眠了。
Froga
(Froga)
3
那太遗憾了。我是关了休眠用的,上个版本17.0休眠并没有问题。
hacker
(Mayday)
4
休眠难修主要是因为很难拿日志,出问题了,关机了,日志没了
所以官方就算拿你的日志也没啥用
Froga
(Froga)
7
我注意到合盖之后过两三分钟才关机,在这之前开盖还是能恢复的,所以我试着合盖之后等几秒,然后打开,拿到了一点日志
2024-01-06T04_02_34 (67.9 KB)
Froga
(Froga)
8
DeepSleep模式也复现了一遍,看起来是有些设备不能suspend,然后resume,接着又尝试休眠,一直反复。
看起来有用的部分如下:
2024-01-06T04:20:05.387765Z INFO kernel: [ 67.206046] ahci 0000:00:17.0: PM: calling pci_pm_suspend+0x0/0x1da @ 105, parent: pci0000:00
2024-01-06T04:20:05.387770Z INFO kernel: [ 67.206053] i801_smbus 0000:00:1f.4: PM: pci_pm_suspend+0x0/0x1da returned 0 after 513 usecs
2024-01-06T04:20:05.387777Z ERR kernel: [ 67.206058] ahci 0000:00:17.0: BIOS update required for suspend/resume
2024-01-06T04:20:05.387784Z INFO kernel: [ 67.206068] pci 0000:00:16.0: PM: calling pci_pm_suspend+0x0/0x1da @ 36, parent: pci0000:00
2024-01-06T04:20:05.387790Z ERR kernel: [ 67.206067] PM: pci_pm_suspend(): ahci_pci_device_suspend+0x0/0x4f returns -5
2024-01-06T04:20:05.387797Z ERR kernel: [ 67.206077] PM: dpm_run_callback(): pci_pm_suspend+0x0/0x1da returns -5
2024-01-06T04:20:05.387803Z INFO kernel: [ 67.206077] pcieport 0000:00:1c.0: PM: pci_pm_suspend+0x0/0x1da returned 0 after 25 usecs
2024-01-06T04:20:05.387810Z INFO kernel: [ 67.206081] pci 0000:00:16.0: PM: pci_pm_suspend+0x0/0x1da returned 0 after 0 usecs
2024-01-06T04:20:05.387816Z INFO kernel: [ 67.206089] ahci 0000:00:17.0: PM: pci_pm_suspend+0x0/0x1da returned -5 after 31 usecs
2024-01-06T04:20:05.387823Z INFO kernel: [ 67.206091] intel-lpss 0000:00:15.1: PM: calling pci_pm_suspend+0x0/0x1da @ 4711, parent: pci0000:00
2024-01-06T04:20:05.387830Z INFO kernel: [ 67.206095] intel-lpss 0000:00:15.0: PM: calling pci_pm_suspend+0x0/0x1da @ 36, parent: pci0000:00
2024-01-06T04:20:05.387839Z ERR kernel: [ 67.206103] ahci 0000:00:17.0: PM: failed to suspend async: error -5
2024-01-06T04:20:05.387845Z INFO kernel: [ 67.206107] intel-lpss 0000:00:15.0: PM: pci_pm_suspend+0x0/0x1da returned 0 after 0 usecs
2024-01-06T04:20:05.387852Z INFO kernel: [ 67.206109] intel-lpss 0000:00:15.1: PM: pci_pm_suspend+0x0/0x1da returned 0 after 6 usecs
2024-01-06T04:20:05.387860Z INFO kernel: [ 67.213943] r8169 0000:02:00.0: PM: pci_pm_suspend+0x0/0x1da returned 0 after 8409 usecs
2024-01-06T04:20:05.387866Z INFO kernel: [ 67.214949] usb usb1: PM: usb_dev_suspend+0x0/0x14 returned 0 after 10306 usecs
2024-01-06T04:20:05.387873Z INFO kernel: [ 67.226021] usb usb2: PM: usb_dev_suspend+0x0/0x14 returned 0 after 21413 usecs
2024-01-06T04:20:05.387881Z DEBUG kernel: [ 67.226117] PM: suspend of devices aborted after 1029.208 msecs
2024-01-06T04:20:05.387886Z DEBUG kernel: [ 67.226129] PM: start suspend of devices aborted after 1029.336 msecs
2024-01-06T04:20:05.387892Z ERR kernel: [ 67.226134] PM: Some devices failed to suspend, or early wake event detected
202401061220.txt (175.2 KB)
Froga
(Froga)
9
17.0的DeepSleep模式休眠无问题,BIOS也没更改过
Su12
(Su)
10
dmesg | grep 'returned -5'
lspci -tvvnn
Froga
(Froga)
11
localhost ~ # lspci -tvvnn
-[0000:00]-+-00.0 Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers [8086:5904]
+-02.0 Intel Corporation HD Graphics 620 [8086:5916]
+-04.0 Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem [8086:1903]
+-14.0 Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller [8086:9d2f]
+-14.2 Intel Corporation Sunrise Point-LP Thermal subsystem [8086:9d31]
+-15.0 Intel Corporation Sunrise Point-LP Serial IO I2C Controller #0 [8086:9d60]
+-15.1 Intel Corporation Sunrise Point-LP Serial IO I2C Controller #1 [8086:9d61]
+-16.0 Intel Corporation Sunrise Point-LP CSME HECI #1 [8086:9d3a]
+-17.0 Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode] [8086:9d03]
+-1c.0-[01]----00.0 Realtek Semiconductor Co., Ltd. Device [10ec:b852]
+-1c.5-[02]----00.0 Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168]
+-1f.0 Intel Corporation Sunrise Point-LP LPC Controller [8086:9d58]
+-1f.2 Intel Corporation Sunrise Point-LP PMC [8086:9d21]
+-1f.3 Intel Corporation Sunrise Point-LP HD Audio [8086:9d71]
\-1f.4 Intel Corporation Sunrise Point-LP SMBus [8086:9d23]
localhost ~ # dmesg | grep 'returned -5'
[ 225.919922] ahci 0000:00:17.0: PM: pci_pm_suspend+0x0/0x1da returned -5 after 23 usecs
[ 226.314352] Abort: Callback failed on 0000:00:17.0 in pci_pm_suspend+0x0/0x1da returned -5
[ 236.533572] ahci 0000:00:17.0: PM: pci_pm_suspend+0x0/0x1da returned -5 after 16 usecs
[ 236.902956] Abort: Callback failed on 0000:00:17.0 in pci_pm_suspend+0x0/0x1da returned -5
Su12
(Su)
13
Froga
(Froga)
14
怪不得,17.0-iris就没问题,内核版本6.1.25的openFyde-iris分支也没问题