云网牛站
所在位置:首页 > Linux新闻 > Deepin 20.2中笔记本电脑开合屏幕导致wifi被禁用的临时处理

Deepin 20.2中笔记本电脑开合屏幕导致wifi被禁用的临时处理

2021-04-28 16:31:41作者:duanyao稿源:深度站

在Deepin 20.2系统中笔记本电脑开合屏幕(即开启或合上笔记本电脑屏幕)都可能导致wifi被禁用,这时只能重新手工启用来临时解决,这可能是系统的BUG或者笔记本电脑相关硬件的问题,需要相应的补丁才行。

 

问题由来

1、在“电源管理”中将“使用电源-笔记本盒盖时”设定为“无任何操作”,如下图所示:

Deepin 20.2中笔记本电脑开合屏幕导致wifi被禁用的临时处理

2、确保wifi处于启用状态,连接电源的状态下,合上笔记本电脑屏幕,稍后打开。

以上两个步骤发生的结果是:wifi处于禁用状态。

 

更进一步说明

这里是设置成合盖不待机,wifi才会被禁用,设置成合盖待机就没问题了。

 

临时处理方法

可以重新手工启用。

相关参考:在Deepin 20.2系统中WiFi无法正常工作,WiFi经常断流的处理

 

附:以上过程中的系统日志如下

duanyao-laptop-c com.deepin.daemon.Power[8692]: touchpad.go:365: remove error: remove /tmp/syndaemon.pid: no such file or directory

duanyao-laptop-c daemon/inputdevices[8433]: touchpad.go:361: [stopSyndaemon] failed: syndaemon: 未找到进程  exit status 1

duanyao-laptop-c daemon/inputdevices[8433]: touchpad.go:365: remove error: remove /tmp/syndaemon.pid: no such file or directory

duanyao-laptop-c bluetoothd[7292]: Unable to get Headset Voice gateway SDP record: Host is down

duanyao-laptop-c daemon/bluetooth[8433]: device.go:591: device [00:11:C2:08:F6:79] G18 connect failed: Host is down

duanyao-laptop-c com.deepin.daemon.Power[8692]: device.go:591: device [00:11:C2:08:F6:79] G18 connect failed: Host is down

duanyao-laptop-c earlyoom[761]: mem avail: 13783 of 15901 MiB (86 %), swap free: 2399 of 2399 MiB (100 %)

duanyao-laptop-c systemd[1]: systemd-timedated.service: Succeeded.

duanyao-laptop-c sudo[10908]:  duanyao : TTY=pts/0 ; PWD=/home/duanyao ; USER=root ; COMMAND=/usr/bin/journalctl -f

duanyao-laptop-c sudo[10908]: pam_unix(sudo:session): session opened for user root by (uid=0)

duanyao-laptop-c wpa_supplicant[810]: wlo1: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-51 noise=9999 txrate=72200

duanyao-laptop-c kernel: atkbd serio0: Unknown key pressed (translated set 2, code 0xd8 on isa0060/serio0).

duanyao-laptop-c kernel: atkbd serio0: Use 'setkeycodes e058 ' to make it known.

duanyao-laptop-c kernel: atkbd serio0: Unknown key released (translated set 2, code 0xd8 on isa0060/serio0).

duanyao-laptop-c kernel: atkbd serio0: Use 'setkeycodes e058 ' to make it known.

duanyao-laptop-c dde-system-daemon[791]: lid_switch.go:37: Lid Closed

duanyao-laptop-c daemon/system/power[791]: lid_switch.go:37: Lid Closed

duanyao-laptop-c systemd-logind[849]: Lid closed.

duanyao-laptop-c com.deepin.daemon.Power[8692]: lid_switch.go:64: Lid closed

duanyao-laptop-c daemon/session/power[8433]: lid_switch.go:64: Lid closed

duanyao-laptop-c systemd[1]: Starting Laptop Mode Tools - Battery Polling Service...

duanyao-laptop-c systemd[1]: Reloading Laptop Mode Tools.

duanyao-laptop-c systemd[1]: lmt-poll.service: Succeeded.

duanyao-laptop-c systemd[1]: Started Laptop Mode Tools - Battery Polling Service.

duanyao-laptop-c laptop_mode[12395]: Laptop mode

duanyao-laptop-c laptop_mode[12395]: disabled, not active [unchanged]

duanyao-laptop-c systemd[1]: Reloaded Laptop Mode Tools.

duanyao-laptop-c deepin-devicemanager-server[1002]: "[GRABPOINT] POINT-01 MainJob::updateAllDevice() time=1499ms"

duanyao-laptop-c earlyoom[761]: mem avail: 13777 of 15901 MiB (86 %), swap free: 2399 of 2399 MiB (100 %)

duanyao-laptop-c kernel: wlo1: deauthenticating from 06:69:6c:d6:cb:9b by local choice (Reason: 3=DEAUTH_LEAVING)

duanyao-laptop-c dde-system-daemon[791]: lid_switch.go:43: Lid Opened

duanyao-laptop-c daemon/system/power[791]: lid_switch.go:43: Lid Opened

duanyao-laptop-c systemd-logind[849]: Lid opened.

duanyao-laptop-c com.deepin.daemon.Power[8692]: lid_switch.go:94: Lid opened

duanyao-laptop-c daemon/session/power[8433]: lid_switch.go:94: Lid opened

duanyao-laptop-c com.deepin.daemon.Power[8692]: power_save_plan.go:668: HandleIdleOff

duanyao-laptop-c com.deepin.daemon.Power[8692]: utils.go:77: DPMS On

duanyao-laptop-c daemon/session/power[8433]: power_save_plan.go:668: HandleIdleOff

duanyao-laptop-c daemon/session/power[8433]: utils.go:77: DPMS On

duanyao-laptop-c wpa_supplicant[810]: wlo1: CTRL-EVENT-DISCONNECTED bssid=06:69:6c:d6:cb:9b reason=3 locally_generated=1

duanyao-laptop-c charon[6979]: 09[KNL] interface wlo1 deactivated

duanyao-laptop-c charon[6979]: 03[KNL] fe80::5e6c:9766:6d37:9b47 disappeared from wlo1

duanyao-laptop-c avahi-daemon[815]: Interface wlo1.IPv6 no longer relevant for mDNS.

duanyao-laptop-c avahi-daemon[815]: Leaving mDNS multicast group on interface wlo1.IPv6 with address fe80::5e6c:9766:6d37:9b47.

duanyao-laptop-c dhclient[30252]: receive_packet failed on wlo1: Network is down

duanyao-laptop-c wpa_supplicant[810]: dbus: wpa_dbus_property_changed: no property SessionLength in object /fi/w1/wpa_supplicant1/Interfaces/3

duanyao-laptop-c wpa_supplicant[810]: rfkill: WLAN soft blocked

duanyao-laptop-c wpa_supplicant[810]: rfkill: WLAN soft blocked

duanyao-laptop-c wpa_supplicant[810]: nl80211: Failed to open /proc/sys/net/ipv4/conf/p2p-dev-wlo1/drop_unicast_in_l2_multicast: No such file or directory

duanyao-laptop-c wpa_supplicant[810]: nl80211: Failed to set IPv4 unicast in multicast filter

duanyao-laptop-c avahi-daemon[815]: Interface wlo1.IPv4 no longer relevant for mDNS.

duanyao-laptop-c avahi-daemon[815]: Leaving mDNS multicast group on interface wlo1.IPv4 with address 192.168.30.213.

duanyao-laptop-c systemd[1]: Starting Load/Save RF Kill Switch Status...

duanyao-laptop-c avahi-daemon[815]: Withdrawing address record for fe80::5e6c:9766:6d37:9b47 on wlo1.

duanyao-laptop-c avahi-daemon[815]: Withdrawing address record for 192.168.30.213 on wlo1.

duanyao-laptop-c NetworkManager[803]:   [1619492387.5233] manager: rfkill: WiFi hardware radio set disabled

duanyao-laptop-c NetworkManager[803]:   [1619492387.5234] device (wlo1): state change: activated -> unavailable (reason 'none', sys-iface-state: 'managed')

duanyao-laptop-c systemd[1]: Started Load/Save RF Kill Switch Status.

duanyao-laptop-c NetworkManager[803]:   [1619492387.5562] dhcp4 (wlo1): canceled DHCP transaction, DHCP client pid 30252

duanyao-laptop-c NetworkManager[803]:   [1619492387.5562] dhcp4 (wlo1): state changed bound -> done

duanyao-laptop-c charon[6979]: 15[KNL] 192.168.30.213 disappeared from wlo1

duanyao-laptop-c NetworkManager[803]:   [1619492387.5637] audit: op="radio-control" arg="wireless-enabled" pid=791 uid=0 result="success"

duanyao-laptop-c NetworkManager[803]:   [1619492387.5640] manager: rfkill: WiFi now disabled by radio killswitch

duanyao-laptop-c wpa_supplicant[810]: nl80211: Failed to open /proc/sys/net/ipv4/conf/p2p-dev-wlo1/drop_unicast_in_l2_multicast: No such file or directory

duanyao-laptop-c wpa_supplicant[810]: nl80211: Failed to set IPv4 unicast in multicast filter

duanyao-laptop-c wpa_supplicant[810]: nl80211: Failed to open /proc/sys/net/ipv4/conf/p2p-dev-wlo1/drop_unicast_in_l2_multicast: No such file or directory

duanyao-laptop-c wpa_supplicant[810]: nl80211: Failed to set IPv4 unicast in multicast filter

duanyao-laptop-c wpa_supplicant[810]: nl80211: deinit ifname=p2p-dev-wlo1 disabled_11b_rates=0

duanyao-laptop-c NetworkManager[803]:   [1619492387.5811] audit: op="device-autoconnect" arg="autoconnect" pid=791 uid=0 result="success"

duanyao-laptop-c com.deepin.daemon.Power[8692]: state_handler.go:279: device disconnected, type wireless, 100 => 20, reason[0] 设备状态改变

duanyao-laptop-c daemon/network[8433]: state_handler.go:279: device disconnected, type wireless, 100 => 20, reason[0] 设备状态改变

duanyao-laptop-c org.freedesktop.Notifications[8692]: 2021-04-27, 10:59:47.603 [Warning] [      0] Length 2 runs past end of data

duanyao-laptop-c org.freedesktop.Notifications[8692]: 2021-04-27, 10:59:47.606 [Warning] [      0] Length 2 runs past end of data

duanyao-laptop-c org.freedesktop.Notifications[8692]: 2021-04-27, 10:59:47.607 [Warning] [      0] Length 2 runs past end of data

duanyao-laptop-c wpa_supplicant[810]: nl80211: deinit ifname=wlo1 disabled_11b_rates=0

duanyao-laptop-c deepin-devicemanager-server[1002]: "[GRABPOINT] POINT-01 MainJob::updateAllDevice() time=1104ms"

duanyao-laptop-c deepin-deepinid-daemon[9634]: [WAR] manager.go:218: skip doSync

duanyao-laptop-c systemd[1]: systemd-rfkill.service: Succeeded.

duanyao-laptop-c NetworkManager[803]:   [1619492398.7950] manager: NetworkManager state is now CONNECTED_LOCAL

 

网友反馈:其它的系统可能发生类似情况

在Windows 10系统中也有这个问题,合盖休眠再唤醒,会发生:

1、wifi断开,点击任务栏右下角wifi网络图标无任何反映。

2、点击音量图标无反应,重新休眠再唤醒又恢复正常,好象是Windows 10升级版本到20H2之后开始的,重新安装系统也不行,同时笔记本售后给我指点也不行,但是在Deepin 20系统中就没有这个问题。

 

相关主题

用户反馈称Deepin 20对某些WIFI的5G信号无法接收,附解决办法

精选文章
热门文章