您尚未登录。

#1 2023-05-16 20:27:11

cybird
会员
注册时间: 2023-02-14
帖子: 16

[已解决]笔记本外接屏幕(是无线鼠标的USB接收器问题)时无法正常挂起

# 系统环境
- CPU: Intel i7-9750H
- GPU: NVIDIA 1660 Ti
- Memory: 16G
- NVIDIA驱动: 530.41.03-11
- 一块外置屏幕,通过HDMI独显直连笔记本

# 发生了什么?
当我插上外置屏幕时,无法通过 `systemctl suspend` 挂起系统。
具体表现为:屏幕熄灭后,能听到风扇停转,同时电源指示灯从常亮变为闪烁,但2-3秒后,系统被唤醒,重新进入桌面环境。
(但似乎长时间不管它,它也会自动挂起,这时是成功的,没有观察到具体现象,因为基本上它自动挂起时我已经睡了.......)

# 我做了什么?
我最先怀疑是驱动问题,因为之前使用 nvidia-open 开源驱动也会出现无法挂起的情况,换成闭源驱动就能够正常挂起。所以我重装了驱动,但没有解决。
然后怀疑是 Swap 的问题,但又得知 suspend 与 swap 无关。
我从tty进入系统,执行 `systemctl suspend` 发现能正常挂起。
拔掉 HDMI,重新进入KDE ,发现也能正常挂起。

我在系统被唤醒后获取了日志:
https://pastebin.com/1QGxtrcH

但我缺乏分析它的能力,所以只能来论坛求助各位聚聚

最近编辑记录 cybird (2023-05-18 01:59:25)

离线

#2 2023-05-16 21:20:17

cybird
会员
注册时间: 2023-02-14
帖子: 16

Re: [已解决]笔记本外接屏幕(是无线鼠标的USB接收器问题)时无法正常挂起

或许再贴一遍日志比较好:

5月 16 19:51:01 FlyArch systemd-logind[440]: The system will suspend now!
5月 16 19:51:01 FlyArch NetworkManager[455]: <info>  [1684237861.3751] manager: sleep: sleep requested (sleeping: no  enabled: yes)
5月 16 19:51:01 FlyArch NetworkManager[455]: <info>  [1684237861.3752] device (eno1): state change: unavailable -> unmanaged (reason 'sleeping', sys-iface-state: 'managed')
5月 16 19:51:01 FlyArch polkitd[703]: Unregistered Authentication Agent for unix-process:1143:9890 (system bus name :1.65, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale zh_CN.UTF-8) (disconnected from bus)
5月 16 19:51:01 FlyArch NetworkManager[455]: <info>  [1684237861.3835] device (p2p-dev-wlan0): state change: disconnected -> unmanaged (reason 'sleeping', sys-iface-state: 'managed')
5月 16 19:51:01 FlyArch NetworkManager[455]: <info>  [1684237861.3838] manager: NetworkManager state is now ASLEEP
5月 16 19:51:01 FlyArch NetworkManager[455]: <info>  [1684237861.3840] device (wlan0): state change: activated -> deactivating (reason 'sleeping', sys-iface-state: 'managed')
5月 16 19:51:01 FlyArch kded5[720]: org.kde.plasma.nm.kded: Unhandled active connection state change:  3
5月 16 19:51:01 FlyArch dbus-daemon[438]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.3' (uid=0 pid=455 comm="/usr/bin/NetworkManager --no-daemon")
5月 16 19:51:01 FlyArch systemd[1]: Starting Network Manager Script Dispatcher Service...
5月 16 19:51:01 FlyArch dbus-daemon[438]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
5月 16 19:51:01 FlyArch systemd[1]: Started Network Manager Script Dispatcher Service.
5月 16 19:51:01 FlyArch kernel: wlan0: deauthenticating from 50:fa:84:a1:65:de by local choice (Reason: 3=DEAUTH_LEAVING)
5月 16 19:51:01 FlyArch kscreenlocker_greet[1154]: Qt: Session management error: networkIdsList argument is NULL
5月 16 19:51:01 FlyArch wpa_supplicant[522]: wlan0: CTRL-EVENT-DISCONNECTED bssid=50:fa:84:a1:65:de reason=3 locally_generated=1
5月 16 19:51:01 FlyArch wpa_supplicant[522]: wlan0: CTRL-EVENT-DSCP-POLICY clear_all
5月 16 19:51:01 FlyArch NetworkManager[455]: <info>  [1684237861.5948] device (wlan0): supplicant interface state: completed -> disconnected
5月 16 19:51:01 FlyArch NetworkManager[455]: <info>  [1684237861.5953] device (wlan0): state change: deactivating -> disconnected (reason 'sleeping', sys-iface-state: 'managed')
5月 16 19:51:01 FlyArch NetworkManager[455]: <info>  [1684237861.6294] dhcp4 (wlan0): canceled DHCP transaction
5月 16 19:51:01 FlyArch NetworkManager[455]: <info>  [1684237861.6295] dhcp4 (wlan0): activation: beginning transaction (timeout in 45 seconds)
5月 16 19:51:01 FlyArch NetworkManager[455]: <info>  [1684237861.6295] dhcp4 (wlan0): state changed no lease
5月 16 19:51:01 FlyArch NetworkManager[455]: <info>  [1684237861.6296] dhcp6 (wlan0): canceled DHCP transaction
5月 16 19:51:01 FlyArch NetworkManager[455]: <info>  [1684237861.6296] dhcp6 (wlan0): activation: beginning transaction (timeout in 45 seconds)
5月 16 19:51:01 FlyArch NetworkManager[455]: <info>  [1684237861.6296] dhcp6 (wlan0): state changed no lease
5月 16 19:51:01 FlyArch NetworkManager[455]: <info>  [1684237861.6618] device (wlan0): set-hw-addr: set MAC address to DA:C8:24:BC:4B:7B (scanning)
5月 16 19:51:01 FlyArch NetworkManager[455]: <info>  [1684237861.7620] device (wlan0): state change: disconnected -> unmanaged (reason 'sleeping', sys-iface-state: 'managed')
5月 16 19:51:01 FlyArch NetworkManager[455]: <info>  [1684237861.8924] device (wlan0): set-hw-addr: reset MAC address to 50:E0:85:EB:14:7D (unmanage)
5月 16 19:51:01 FlyArch wpa_supplicant[522]: p2p-dev-wlan0: CTRL-EVENT-DSCP-POLICY clear_all
5月 16 19:51:02 FlyArch wpa_supplicant[522]: p2p-dev-wlan0: CTRL-EVENT-DSCP-POLICY clear_all
5月 16 19:51:02 FlyArch wpa_supplicant[522]: nl80211: deinit ifname=p2p-dev-wlan0 disabled_11b_rates=0
5月 16 19:51:02 FlyArch wpa_supplicant[522]: wlan0: CTRL-EVENT-DSCP-POLICY clear_all
5月 16 19:51:02 FlyArch wpa_supplicant[522]: wlan0: CTRL-EVENT-DSCP-POLICY clear_all
5月 16 19:51:02 FlyArch wpa_supplicant[522]: nl80211: deinit ifname=wlan0 disabled_11b_rates=0
5月 16 19:51:02 FlyArch kscreenlocker_greet[1154]: kf.kirigami: Failed to find a Kirigami platform plugin
5月 16 19:51:03 FlyArch kscreenlocker_greet[1154]: file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/components/VirtualKeyboard.qml:8:1: module "QtQuick.VirtualKeyboard" is not installed
5月 16 19:51:03 FlyArch kscreenlocker_greet[1154]: file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/components/VirtualKeyboard.qml:8:1: module "QtQuick.VirtualKeyboard" is not installed
5月 16 19:51:03 FlyArch systemd[1]: Reached target Sleep.
5月 16 19:51:03 FlyArch systemd[1]: Starting System Suspend...
5月 16 19:51:03 FlyArch plasmashell[758]: qt.qpa.clipboard: QXcbClipboard::setMimeData: Cannot set X11 selection owner
5月 16 19:51:03 FlyArch plasmashell[758]: qt.qpa.clipboard: QXcbClipboard::setMimeData: Cannot set X11 selection owner
5月 16 19:51:03 FlyArch systemd-sleep[1192]: [11] INFO: # Pre-suspend hook
5月 16 19:51:03 FlyArch systemd-sleep[1192]: [11] INFO: Previous state was: {'type': 'done', 'switch_id': '20230516T194929', 'current_mode': 'nvidia'}
5月 16 19:51:03 FlyArch systemd-sleep[1192]: [13] INFO: Switching option: none
5月 16 19:51:03 FlyArch systemd-sleep[1192]: [13] INFO: Nothing to do
5月 16 19:51:03 FlyArch systemd-sleep[1192]: [13] INFO: Writing state {'type': 'pending_post_resume', 'switch_id': '20230516T194929', 'current_mode': 'nvidia'}
5月 16 19:51:03 FlyArch systemd-sleep[1192]: [13] INFO: Pre-suspend hook completed successfully.
5月 16 19:51:03 FlyArch systemd-sleep[1189]: Entering sleep state 'suspend'...
5月 16 19:51:03 FlyArch kernel: PM: suspend entry (deep)
5月 16 19:51:03 FlyArch kernel: Filesystems sync: 0.083 seconds
5月 16 19:51:03 FlyArch root[1203]: ACPI group/action undefined: jack/lineout / LINEOUT
5月 16 19:51:03 FlyArch root[1205]: ACPI group/action undefined: jack/videoout / VIDEOOUT
5月 16 19:51:09 FlyArch kernel: Freezing user space processes
5月 16 19:51:09 FlyArch kernel: Freezing user space processes completed (elapsed 0.001 seconds)
5月 16 19:51:09 FlyArch kernel: OOM killer disabled.
5月 16 19:51:09 FlyArch kernel: Freezing remaining freezable tasks
5月 16 19:51:09 FlyArch kernel: Freezing remaining freezable tasks completed (elapsed 0.001 seconds)
5月 16 19:51:09 FlyArch kernel: printk: Suspending console(s) (use no_console_suspend to debug)
5月 16 19:51:09 FlyArch kernel: sd 0:0:0:0: [sda] Synchronizing SCSI cache
5月 16 19:51:09 FlyArch kernel: sd 0:0:0:0: [sda] Stopping disk
5月 16 19:51:09 FlyArch kernel: ACPI: EC: interrupt blocked
5月 16 19:51:09 FlyArch kernel: ACPI: PM: Preparing to enter system sleep state S3
5月 16 19:51:09 FlyArch kernel: ACPI: EC: event blocked
5月 16 19:51:09 FlyArch kernel: ACPI: EC: EC stopped
5月 16 19:51:09 FlyArch kernel: ACPI: PM: Saving platform NVS memory
5月 16 19:51:09 FlyArch kernel: Disabling non-boot CPUs ...
5月 16 19:51:09 FlyArch kernel: smpboot: CPU 1 is now offline
5月 16 19:51:09 FlyArch kernel: smpboot: CPU 2 is now offline
5月 16 19:51:09 FlyArch kernel: smpboot: CPU 3 is now offline
5月 16 19:51:09 FlyArch kernel: smpboot: CPU 4 is now offline
5月 16 19:51:09 FlyArch kernel: smpboot: CPU 5 is now offline
5月 16 19:51:09 FlyArch kernel: smpboot: CPU 6 is now offline
5月 16 19:51:09 FlyArch kernel: smpboot: CPU 7 is now offline
5月 16 19:51:09 FlyArch kernel: smpboot: CPU 8 is now offline
5月 16 19:51:09 FlyArch kernel: smpboot: CPU 9 is now offline
5月 16 19:51:09 FlyArch kernel: smpboot: CPU 10 is now offline
5月 16 19:51:09 FlyArch kernel: smpboot: CPU 11 is now offline
5月 16 19:51:09 FlyArch kernel: ACPI: PM: Low-level resume complete
5月 16 19:51:09 FlyArch kernel: ACPI: EC: EC started
5月 16 19:51:09 FlyArch kernel: ACPI: PM: Restoring platform NVS memory
5月 16 19:51:09 FlyArch kernel: Enabling non-boot CPUs ...
5月 16 19:51:09 FlyArch kernel: x86: Booting SMP configuration:
5月 16 19:51:09 FlyArch kernel: smpboot: Booting Node 0 Processor 1 APIC 0x2
5月 16 19:51:09 FlyArch kernel: CPU1 is up
5月 16 19:51:09 FlyArch kernel: smpboot: Booting Node 0 Processor 2 APIC 0x4
5月 16 19:51:09 FlyArch kernel: CPU2 is up
5月 16 19:51:09 FlyArch kernel: smpboot: Booting Node 0 Processor 3 APIC 0x6
5月 16 19:51:09 FlyArch kernel: CPU3 is up
5月 16 19:51:09 FlyArch kernel: smpboot: Booting Node 0 Processor 4 APIC 0x8
5月 16 19:51:09 FlyArch kernel: CPU4 is up
5月 16 19:51:09 FlyArch kernel: smpboot: Booting Node 0 Processor 5 APIC 0xa
5月 16 19:51:09 FlyArch kernel: CPU5 is up
5月 16 19:51:09 FlyArch kernel: smpboot: Booting Node 0 Processor 6 APIC 0x1
5月 16 19:51:09 FlyArch kernel: CPU6 is up
5月 16 19:51:09 FlyArch kernel: smpboot: Booting Node 0 Processor 7 APIC 0x3
5月 16 19:51:09 FlyArch kernel: CPU7 is up
5月 16 19:51:09 FlyArch kernel: smpboot: Booting Node 0 Processor 8 APIC 0x5
5月 16 19:51:09 FlyArch kernel: CPU8 is up
5月 16 19:51:09 FlyArch kernel: smpboot: Booting Node 0 Processor 9 APIC 0x7
5月 16 19:51:09 FlyArch kernel: CPU9 is up
5月 16 19:51:09 FlyArch kernel: smpboot: Booting Node 0 Processor 10 APIC 0x9
5月 16 19:51:09 FlyArch kernel: CPU10 is up
5月 16 19:51:09 FlyArch kernel: smpboot: Booting Node 0 Processor 11 APIC 0xb
5月 16 19:51:09 FlyArch kernel: CPU11 is up
5月 16 19:51:09 FlyArch kernel: ACPI: PM: Waking up from system sleep state S3
5月 16 19:51:09 FlyArch kernel: ACPI: EC: interrupt unblocked
5月 16 19:51:09 FlyArch kernel: ACPI: EC: event unblocked
5月 16 19:51:09 FlyArch kernel: sd 0:0:0:0: [sda] Starting disk
5月 16 19:51:09 FlyArch kernel: i915 0000:00:02.0: [drm] [ENCODER:94:DDI A/PHY A] is disabled/in DSI mode with an ungated DDI clock, gate it
5月 16 19:51:09 FlyArch kernel: i915 0000:00:02.0: [drm] [ENCODER:102:DDI B/PHY B] is disabled/in DSI mode with an ungated DDI clock, gate it
5月 16 19:51:09 FlyArch kernel: nvme nvme0: Shutdown timeout set to 8 seconds
5月 16 19:51:09 FlyArch kernel: nvme nvme0: 12/0/0 default/read/poll queues
5月 16 19:51:09 FlyArch kernel: usb 1-5: reset high-speed USB device number 4 using xhci_hcd
5月 16 19:51:09 FlyArch kernel: ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
5月 16 19:51:09 FlyArch kernel: ata1.00: ACPI cmd f5/00:00:00:00:00:00(SECURITY FREEZE LOCK) filtered out
5月 16 19:51:09 FlyArch kernel: ata1.00: ACPI cmd f5/00:00:00:00:00:00(SECURITY FREEZE LOCK) filtered out
5月 16 19:51:09 FlyArch kernel: ata1.00: configured for UDMA/133
5月 16 19:51:09 FlyArch kernel: xhci_hcd 0000:01:00.2: xHC error in resume, USBSTS 0x401, Reinit
5月 16 19:51:09 FlyArch kernel: usb usb3: root hub lost power or was reset
5月 16 19:51:09 FlyArch kernel: usb usb4: root hub lost power or was reset
5月 16 19:51:09 FlyArch kernel: mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcp_component_ops [i915])
5月 16 19:51:09 FlyArch kernel: OOM killer enabled.
5月 16 19:51:09 FlyArch kernel: Restarting tasks ... done.
5月 16 19:51:09 FlyArch kernel: random: crng reseeded on system resumption
5月 16 19:51:09 FlyArch kernel: PM: suspend exit
5月 16 19:51:09 FlyArch systemd-sleep[1189]: System returned from sleep state.
5月 16 19:51:09 FlyArch acpid[436]: client 580[0:0] has disconnected
5月 16 19:51:09 FlyArch acpid[436]: client 580[0:0] has disconnected
5月 16 19:51:09 FlyArch acpid[436]: client connected from 580[0:0]
5月 16 19:51:09 FlyArch acpid[436]: 1 client rule loaded
5月 16 19:51:09 FlyArch systemd-sleep[1292]: [10] INFO: # Post-resume hook
5月 16 19:51:09 FlyArch systemd-sleep[1292]: [10] INFO: Previous state was: {'type': 'pending_post_resume', 'switch_id': '20230516T194929', 'current_mode': 'nvidia'}
5月 16 19:51:09 FlyArch systemd-sleep[1292]: [11] INFO: Nothing to do
5月 16 19:51:09 FlyArch systemd-sleep[1292]: [11] INFO: Writing state {'type': 'done', 'switch_id': '20230516T194929', 'current_mode': 'nvidia'}
5月 16 19:51:09 FlyArch systemd-sleep[1292]: [12] INFO: Post-resume hook completed successfully.
5月 16 19:51:09 FlyArch systemd[1]: systemd-suspend.service: Deactivated successfully.
5月 16 19:51:09 FlyArch systemd[1]: Finished System Suspend.
5月 16 19:51:09 FlyArch systemd[1]: Stopped target Sleep.
5月 16 19:51:09 FlyArch systemd[1]: Reached target Suspend.
5月 16 19:51:09 FlyArch systemd[1]: Stopped target Suspend.
5月 16 19:51:09 FlyArch systemd-logind[440]: Operation 'sleep' finished.
5月 16 19:51:09 FlyArch NetworkManager[455]: <info>  [1684237869.9739] manager: sleep: wake requested (sleeping: yes  enabled: yes)
5月 16 19:51:09 FlyArch NetworkManager[455]: <info>  [1684237869.9740] device (eno1): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
5月 16 19:51:10 FlyArch kernel: Generic FE-GE Realtek PHY r8169-0-300:00: attached PHY driver (mii_bus:phy_addr=r8169-0-300:00, irq=MAC)
5月 16 19:51:10 FlyArch acpid[436]: client connected from 580[0:0]
5月 16 19:51:10 FlyArch acpid[436]: 1 client rule loaded
5月 16 19:51:10 FlyArch root[1319]: ACPI group/action undefined: jack/lineout / LINEOUT
5月 16 19:51:10 FlyArch root[1321]: ACPI group/action undefined: jack/videoout / VIDEOOUT
5月 16 19:51:10 FlyArch NetworkManager[455]: <info>  [1684237870.1897] device (wlan0): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
5月 16 19:51:10 FlyArch NetworkManager[455]: <info>  [1684237870.1907] device (p2p-dev-wlan0): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
5月 16 19:51:10 FlyArch NetworkManager[455]: <info>  [1684237870.1909] manager: NetworkManager state is now DISCONNECTED
5月 16 19:51:10 FlyArch kernel: r8169 0000:03:00.0 eno1: Link is Down
5月 16 19:51:10 FlyArch NetworkManager[455]: <info>  [1684237870.2445] device (wlan0): supplicant interface state: internal-starting -> disconnected
5月 16 19:51:10 FlyArch NetworkManager[455]: <info>  [1684237870.2446] device (p2p-dev-wlan0): state change: unavailable -> unmanaged (reason 'removed', sys-iface-state: 'removed')
5月 16 19:51:10 FlyArch NetworkManager[455]: <info>  [1684237870.2456] Wi-Fi P2P device controlled by interface wlan0 created
5月 16 19:51:10 FlyArch NetworkManager[455]: <info>  [1684237870.2462] manager: (p2p-dev-wlan0): new 802.11 Wi-Fi P2P device (/org/freedesktop/NetworkManager/Devices/5)
5月 16 19:51:10 FlyArch NetworkManager[455]: <info>  [1684237870.2466] device (p2p-dev-wlan0): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
5月 16 19:51:10 FlyArch NetworkManager[455]: <info>  [1684237870.2479] device (wlan0): state change: unavailable -> disconnected (reason 'supplicant-available', sys-iface-state: 'managed')
5月 16 19:51:10 FlyArch NetworkManager[455]: <info>  [1684237870.2492] device (p2p-dev-wlan0): state change: unavailable -> disconnected (reason 'none', sys-iface-state: 'managed')
5月 16 19:51:10 FlyArch kwin_x11[725]: OpenGL vendor string:                   NVIDIA Corporation
5月 16 19:51:10 FlyArch kwin_x11[725]: OpenGL renderer string:                 NVIDIA GeForce GTX 1660 Ti with Max-Q Design/PCIe/SSE2
5月 16 19:51:10 FlyArch kwin_x11[725]: OpenGL version string:                  3.1.0 NVIDIA 530.41.03
5月 16 19:51:10 FlyArch kwin_x11[725]: OpenGL shading language version string: 1.40 NVIDIA via Cg compiler
5月 16 19:51:10 FlyArch kwin_x11[725]: Driver:                                 NVIDIA
5月 16 19:51:10 FlyArch kwin_x11[725]: Driver version:                         530.41.3
5月 16 19:51:10 FlyArch kwin_x11[725]: GPU class:                              Unknown
5月 16 19:51:10 FlyArch kwin_x11[725]: OpenGL version:                         3.1
5月 16 19:51:10 FlyArch kwin_x11[725]: GLSL version:                           1.40
5月 16 19:51:10 FlyArch kwin_x11[725]: X server version:                       1.21.1
5月 16 19:51:10 FlyArch kwin_x11[725]: Linux kernel version:                   6.3.2
5月 16 19:51:10 FlyArch kwin_x11[725]: Requires strict binding:                no
5月 16 19:51:10 FlyArch kwin_x11[725]: GLSL shaders:                           yes
5月 16 19:51:10 FlyArch kwin_x11[725]: Texture NPOT support:                   yes
5月 16 19:51:10 FlyArch kwin_x11[725]: Virtual Machine:                        no
5月 16 19:51:10 FlyArch kwin_x11[725]: ZoomConfig::instance called after the first use - ignoring
5月 16 19:51:10 FlyArch kwin_x11[725]: WindowViewConfig::instance called after the first use - ignoring
5月 16 19:51:10 FlyArch kwin_x11[725]: SlidingPopupsConfig::instance called after the first use - ignoring
5月 16 19:51:10 FlyArch kwin_x11[725]: SlideConfig::instance called after the first use - ignoring
5月 16 19:51:10 FlyArch kwin_x11[725]: OverviewConfig::instance called after the first use - ignoring
5月 16 19:51:10 FlyArch kwin_x11[725]: MagicLampConfig::instance called after the first use - ignoring
5月 16 19:51:10 FlyArch kwin_x11[725]: KscreenConfig::instance called after the first use - ignoring
5月 16 19:51:10 FlyArch kwin_x11[725]: DesktopGridConfig::instance called after the first use - ignoring

离线

#3 2023-05-17 02:22:11

cybird
会员
注册时间: 2023-02-14
帖子: 16

Re: [已解决]笔记本外接屏幕(是无线鼠标的USB接收器问题)时无法正常挂起

似乎是我无线鼠标的问题?不太确定

离线

#4 2023-05-17 10:42:59

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,919
个人网站

Re: [已解决]笔记本外接屏幕(是无线鼠标的USB接收器问题)时无法正常挂起

被唤醒了。拔了试试?

离线

#5 2023-05-17 23:45:17

cybird
会员
注册时间: 2023-02-14
帖子: 16

Re: [已解决]笔记本外接屏幕(是无线鼠标的USB接收器问题)时无法正常挂起

依云 说:

被唤醒了。拔了试试?

抱歉现在才回复,有点忙。
刚刚我把每个设备都单独拔下测试,发现HDMI偶尔会导致无法挂起,而主要是我的无线鼠标,无线鼠标的USB接收器插入电脑,就总会导致挂起失败。而拔下鼠标时,挂起一般都是成功的。或许我应该禁用它的唤醒触发器?

另外,还有一个新的问题,我在把电脑从挂起状态唤醒时,会导致screenlocker冻结,但似乎能正常接收我的键盘事件,虽然screenlocker停留在壁纸和时间的显示上,并没有弹出密码输入框,但如果我输入密码并回车,冻结结束后能够正常进入KDE桌面。

离线

#6 2023-05-18 00:31:47

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,919
个人网站

Re: [已解决]笔记本外接屏幕(是无线鼠标的USB接收器问题)时无法正常挂起

那你试试禁用 USB 唤醒,把 XHC 写入 /proc/acpi/wakeup 大概就可以了(我就是这样做的,不然太容易意外唤醒了)。
锁屏器那个,我最近也发现我的锁屏器(swaylock)在唤醒后不更新界面了,但是还是能解锁的。

离线

#7 2023-05-18 01:58:47

cybird
会员
注册时间: 2023-02-14
帖子: 16

Re: [已解决]笔记本外接屏幕(是无线鼠标的USB接收器问题)时无法正常挂起

依云 说:

那你试试禁用 USB 唤醒,把 XHC 写入 /proc/acpi/wakeup 大概就可以了(我就是这样做的,不然太容易意外唤醒了)。
锁屏器那个,我最近也发现我的锁屏器(swaylock)在唤醒后不更新界面了,但是还是能解锁的。

谢谢仙子~ 目前能正常挂起了
锁屏的问题我再研究吧

离线

页脚