Problèmes et questions concernant les éditions Gnome, Deepin et Budgie.
Répondre

[Deepin] Wifi qui se coupe à la fermeture du capot

#1Messageil y a 5 ans

Bonjour,

Après plusieurs années avec Xfce, j'ai basculé sur Deepin.
J'avais déjà des complications avec Xfce sur la mise en veille.
Avec Deepin, quand je ferme le capot de mon PC portable, la session se verrouille (OK) sauf que que ça me coupe le wifi.

Voilà mes paramètres pour la section de gestion d'énergie : https://framapic.org/4nn23dnXsHTP/YxrnxXy05TQH.png

Si besoin :
systemctl status upower.service

● upower.service - Daemon for power management
   Loaded: loaded (/usr/lib/systemd/system/upower.service; disabled; vendor prese>
   Active: active (running) since Tue 2018-07-31 10:08:17 CEST; 3h 25min ago
     Docs: man:upowerd(8)
 Main PID: 4069 (upowerd)
    Tasks: 3 (limit: 4602)
   Memory: 5.0M
   CGroup: /system.slice/upower.service
           └─4069 /usr/lib/upower/upowerd

juil. 31 10:08:17 arnaud-pc upowerd[4069]: energy_full (41,970000) is greater tha>
juil. 31 10:08:17 arnaud-pc systemd[1]: Started Daemon for power management.
juil. 31 13:29:14 arnaud-pc upowerd[4069]: unhandled action 'unbind' on /sys/devi>
juil. 31 13:29:14 arnaud-pc upowerd[4069]: unhandled action 'bind' on /sys/device>
juil. 31 13:29:14 arnaud-pc upowerd[4069]: unhandled action 'unbind' on /sys/devi>
juil. 31 13:29:14 arnaud-pc upowerd[4069]: unhandled action 'bind' on /sys/device>
juil. 31 13:31:09 arnaud-pc upowerd[4069]: unhandled action 'unbind' on /sys/devi>
juil. 31 13:31:09 arnaud-pc upowerd[4069]: unhandled action 'bind' on /sys/device>
lines 1-18
systemctl status tlp.service

● tlp.service - TLP system startup/shutdown
   Loaded: loaded (/usr/lib/systemd/system/tlp.service; enabled; vendor preset: d>
   Active: active (exited) since Tue 2018-07-31 10:04:46 CEST; 3h 30min ago
     Docs: http://linrunner.de/tlp
  Process: 578 ExecStart=/usr/bin/tlp init start (code=exited, status=0/SUCCESS)
 Main PID: 578 (code=exited, status=0/SUCCESS)

juil. 31 10:04:45 arnaud-pc systemd[1]: Starting TLP system startup/shutdown...
juil. 31 10:04:46 arnaud-pc tlp[578]: Applying power save settings...done.
juil. 31 10:04:46 arnaud-pc tlp[578]: Setting battery charge thresholds...done.
juil. 31 10:04:46 arnaud-pc systemd[1]: Started TLP system startup/shutdown.
lines 1-11/11 (END)
Merci d'avance pour votre aide.
Bonne journée.

[Deepin] Wifi qui se coupe à la fermeture du capot

#2Messageil y a 5 ans

tu as vérifié le fichier de config tlp ?
que donne

sudo tlp-stat
il y a plusieurs écrans

[Deepin] Wifi qui se coupe à la fermeture du capot

#3Messageil y a 5 ans

C'est quoi ce fichier de config ?

Voilà ce que donne la commande :

--- TLP 1.1 --------------------------------------------

+++ Configured Settings: /etc/default/tlp
TLP_ENABLE=1
TLP_DEFAULT_MODE=AC
TLP_PERSISTENT_DEFAULT=0
DISK_IDLE_SECS_ON_AC=0
DISK_IDLE_SECS_ON_BAT=2
MAX_LOST_WORK_SECS_ON_AC=15
MAX_LOST_WORK_SECS_ON_BAT=60
CPU_HWP_ON_AC=balance_performance
CPU_HWP_ON_BAT=balance_power
SCHED_POWERSAVE_ON_AC=0
SCHED_POWERSAVE_ON_BAT=1
NMI_WATCHDOG=0
ENERGY_PERF_POLICY_ON_AC=performance
ENERGY_PERF_POLICY_ON_BAT=power
DISK_DEVICES="sda sdb"
DISK_APM_LEVEL_ON_AC="254 254"
DISK_APM_LEVEL_ON_BAT="128 128"
SATA_LINKPWR_ON_AC="med_power_with_dipm max_performance"
SATA_LINKPWR_ON_BAT="med_power_with_dipm max_performance"
AHCI_RUNTIME_PM_TIMEOUT=15
PCIE_ASPM_ON_AC=performance
PCIE_ASPM_ON_BAT=powersave
RADEON_POWER_PROFILE_ON_AC=default
RADEON_POWER_PROFILE_ON_BAT=low
RADEON_DPM_STATE_ON_AC=performance
RADEON_DPM_STATE_ON_BAT=battery
RADEON_DPM_PERF_LEVEL_ON_AC=auto
RADEON_DPM_PERF_LEVEL_ON_BAT=auto
WIFI_PWR_ON_AC=off
WIFI_PWR_ON_BAT=on
WOL_DISABLE=Y
SOUND_POWER_SAVE_ON_AC=0
SOUND_POWER_SAVE_ON_BAT=1
SOUND_POWER_SAVE_CONTROLLER=Y
BAY_POWEROFF_ON_AC=0
BAY_POWEROFF_ON_BAT=0
BAY_DEVICE="sr0"
RUNTIME_PM_ON_AC=on
RUNTIME_PM_ON_BAT=auto
RUNTIME_PM_DRIVER_BLACKLIST="amdgpu nouveau nvidia radeon pcieport"
USB_AUTOSUSPEND=0
USB_BLACKLIST_BTUSB=0
USB_BLACKLIST_PHONE=0
USB_BLACKLIST_PRINTER=1
USB_BLACKLIST_WWAN=1
RESTORE_DEVICE_STATE_ON_STARTUP=0

+++ System Info
System         = LENOVO Lenovo G500 20236
BIOS           = 78CN22WW(V2.00)
Release        = "Manjaro Linux"
Kernel         = 4.14.57-1-MANJARO #1 SMP PREEMPT Sun Jul 22 19:25:51 UTC 2018 x86_64
/proc/cmdline  = BOOT_IMAGE=/boot/vmlinuz-4.14-x86_64 root=UUID=57a04c80-d973-429b-9749-45203c4c8517 rw quiet resume=UUID=37af5791-6160-4c7c-9b94-ab84d14c1579
Init system    = systemd 
Boot mode      = BIOS (CSM, Legacy)

+++ TLP Status
State          = enabled
Last run       = 19:14:41,     99 sec(s) ago
Mode           = battery
Power source   = battery

Notice: systemd-rfkill.service is not masked -- invoke "systemctl mask systemd-rfkill.service" to correct this!

+++ Processor
CPU model      = Intel(R) Core(TM) i3-3110M CPU @ 2.40GHz

/sys/devices/system/cpu/cpu0/cpufreq/scaling_driver    = intel_pstate
/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor  = powersave
/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq  =  1200000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq  =  2400000 [kHz]

/sys/devices/system/cpu/cpu1/cpufreq/scaling_driver    = intel_pstate
/sys/devices/system/cpu/cpu1/cpufreq/scaling_governor  = powersave
/sys/devices/system/cpu/cpu1/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq  =  1200000 [kHz]
/sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq  =  2400000 [kHz]

/sys/devices/system/cpu/cpu2/cpufreq/scaling_driver    = intel_pstate
/sys/devices/system/cpu/cpu2/cpufreq/scaling_governor  = powersave
/sys/devices/system/cpu/cpu2/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq  =  1200000 [kHz]
/sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq  =  2400000 [kHz]

/sys/devices/system/cpu/cpu3/cpufreq/scaling_driver    = intel_pstate
/sys/devices/system/cpu/cpu3/cpufreq/scaling_governor  = powersave
/sys/devices/system/cpu/cpu3/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq  =  1200000 [kHz]
/sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq  =  2400000 [kHz]

/sys/devices/system/cpu/intel_pstate/min_perf_pct      =  50 [%]
/sys/devices/system/cpu/intel_pstate/max_perf_pct      = 100 [%]
/sys/devices/system/cpu/intel_pstate/no_turbo          =   1
/sys/devices/system/cpu/intel_pstate/turbo_pct         =   0 [%]
/sys/devices/system/cpu/intel_pstate/num_pstates       =  13

x86_energy_perf_policy: program not installed.

/sys/module/workqueue/parameters/power_efficient       = Y
/proc/sys/kernel/nmi_watchdog                          = 0

+++ Undervolting
PHC kernel not available.

+++ Temperatures
CPU temp               =    57 [°C]
Fan speed              = (not available)

+++ File System
/proc/sys/vm/laptop_mode               =     2
/proc/sys/vm/dirty_writeback_centisecs =  6000
/proc/sys/vm/dirty_expire_centisecs    =  6000
/proc/sys/vm/dirty_ratio               =    20
/proc/sys/vm/dirty_background_ratio    =    10

+++ Storage Devices
/dev/sda:
  Model     = WDC WD5000LPVT-24G33T1                  
  Firmware  = 02.01A02
  APM Level = 128
  Status    = active/idle
  Scheduler = bfq-sq

  Runtime PM: control = on, autosuspend_delay =   -1


+++ AHCI Link Power Management (ALPM)
/sys/class/scsi_host/host0/link_power_management_policy  = max_performance
/sys/class/scsi_host/host1/link_power_management_policy  = max_performance
/sys/class/scsi_host/host2/link_power_management_policy  = max_performance
/sys/class/scsi_host/host3/link_power_management_policy  = max_performance
/sys/class/scsi_host/host4/link_power_management_policy  = max_performance
/sys/class/scsi_host/host5/link_power_management_policy  = max_performance

+++ AHCI Host Controller Runtime Power Management
/sys/bus/pci/devices/0000:00:1f.2/ata1/power/control = on
/sys/bus/pci/devices/0000:00:1f.2/ata2/power/control = on
/sys/bus/pci/devices/0000:00:1f.2/ata3/power/control = on
/sys/bus/pci/devices/0000:00:1f.2/ata4/power/control = on
/sys/bus/pci/devices/0000:00:1f.2/ata5/power/control = on
/sys/bus/pci/devices/0000:00:1f.2/ata6/power/control = on

+++ PCIe Active State Power Management
/sys/module/pcie_aspm/parameters/policy = default (using bios preferences)

+++ Intel Graphics
/sys/module/i915/parameters/enable_rc6       =  3 (enabled + deep)
/sys/module/i915/parameters/enable_dc        = -1 (use per-chip default)
/sys/module/i915/parameters/enable_fbc       =  0 (disabled)
/sys/module/i915/parameters/enable_psr       =  0 (disabled)
/sys/module/i915/parameters/modeset          = -1 (use per-chip default)
/sys/module/i915/parameters/semaphores       =  1 (enabled)

+++ Wireless
bluetooth = on
wifi      = on
wwan      = none (no device)

hci0(btusb)                   : bluetooth, not connected
wlp2s0(iwlwifi)               : wifi, connected, power management = on

+++ Audio
/sys/module/snd_hda_intel/parameters/power_save            = 1
/sys/module/snd_hda_intel/parameters/power_save_controller = Y

+++ Runtime Power Management
Device blacklist = (not configured)
Driver blacklist = amdgpu nouveau nvidia radeon pcieport

/sys/bus/pci/devices/0000:00:00.0/power/control = auto (0x060000, Host bridge, ivb_uncore)
/sys/bus/pci/devices/0000:00:02.0/power/control = auto (0x030000, VGA compatible controller, i915)
/sys/bus/pci/devices/0000:00:14.0/power/control = auto (0x0c0330, USB controller, xhci_hcd)
/sys/bus/pci/devices/0000:00:16.0/power/control = auto (0x078000, Communication controller, mei_me)
/sys/bus/pci/devices/0000:00:1a.0/power/control = auto (0x0c0320, USB controller, ehci-pci)
/sys/bus/pci/devices/0000:00:1b.0/power/control = auto (0x040300, Audio device, snd_hda_intel)
/sys/bus/pci/devices/0000:00:1c.0/power/control = on   (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:1c.1/power/control = on   (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:1d.0/power/control = auto (0x0c0320, USB controller, ehci-pci)
/sys/bus/pci/devices/0000:00:1f.0/power/control = auto (0x060100, ISA bridge, lpc_ich)
/sys/bus/pci/devices/0000:00:1f.2/power/control = auto (0x010601, SATA controller, ahci)
/sys/bus/pci/devices/0000:00:1f.3/power/control = auto (0x0c0500, SMBus, i801_smbus)
/sys/bus/pci/devices/0000:01:00.0/power/control = auto (0x020000, Ethernet controller, alx)
/sys/bus/pci/devices/0000:02:00.0/power/control = auto (0x028000, Network controller, iwlwifi)

+++ USB
Autosuspend         = disabled
Device whitelist    = (not configured)
Device blacklist    = (not configured)
Bluetooth blacklist = disabled
Phone blacklist     = disabled
WWAN blacklist      = enabled

Bus 004 Device 002 ID 8087:0024 control = auto, autosuspend_delay_ms =     0 -- Intel Corp. Integrated Rate Matching Hub (hub)
Bus 004 Device 001 ID 1d6b:0002 control = auto, autosuspend_delay_ms =     0 -- Linux Foundation 2.0 root hub (hub)
Bus 003 Device 004 ID 0bda:0129 control = auto, autosuspend_delay_ms =  2000 -- Realtek Semiconductor Corp. RTS5129 Card Reader Controller (rtsx_usb)
Bus 003 Device 003 ID 8087:07da control = on,   autosuspend_delay_ms =  2000 -- Intel Corp.  (btusb)
Bus 003 Device 002 ID 8087:0024 control = auto, autosuspend_delay_ms =     0 -- Intel Corp. Integrated Rate Matching Hub (hub)
Bus 003 Device 001 ID 1d6b:0002 control = auto, autosuspend_delay_ms =     0 -- Linux Foundation 2.0 root hub (hub)
Bus 002 Device 001 ID 1d6b:0003 control = auto, autosuspend_delay_ms =     0 -- Linux Foundation 3.0 root hub (hub)
Bus 001 Device 002 ID 174f:147b control = auto, autosuspend_delay_ms =  2000 -- Syntek  (uvcvideo)
Bus 001 Device 001 ID 1d6b:0002 control = auto, autosuspend_delay_ms =     0 -- Linux Foundation 2.0 root hub (hub)

+++ Battery Status
/sys/class/power_supply/BAT1/manufacturer                   = LENOVO 
/sys/class/power_supply/BAT1/model_name                     = PABAS0241231
/sys/class/power_supply/BAT1/cycle_count                    = (not supported)
/sys/class/power_supply/BAT1/energy_full_design             =  40400 [mWh]
/sys/class/power_supply/BAT1/energy_full                    =  41970 [mWh]
/sys/class/power_supply/BAT1/energy_now                     =  35760 [mWh]
/sys/class/power_supply/BAT1/power_now                      =  13360 [mW]
/sys/class/power_supply/BAT1/status                         = Discharging

Charge                                                      =   85.2 [%]
Capacity                                                    =  103.9 [%]

+++ Suggestions
* Install ethtool to disable Wake On LAN (WOL)
* Install smartmontools for disk drive health info

Actuellement, j'ai mis HandleLidSwitch=ignore pour enlever la veille et je verrouille manuellement avec Win + L.

[Deepin] Wifi qui se coupe à la fermeture du capot

#4Messageil y a 5 ans

[Deepin] Wifi qui se coupe à la fermeture du capot

#5Messageil y a 5 ans

Oui j'étais sur batterie.

Je ne vais pas t'embêter davantage. L'environnement de bureau Deepin est un peu trop gourmand pour mon PC.
Je vais retourner sur Xfce voir LXDE.

Merci en tout cas pour ton aide.
Bonne soirée.
Répondre