Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 28/06/2015, à 13:42

zeurt

cofiguration batterie pour configuration secteur.

Hello,
Voila mon problème, j'ai un ordinateur portable "samsung ativ book 4 np470r5e-x01fr".

Le ventilo me prends sérieusement la tête.

Si l'ordi n'est pas branché sur le secteur (donc sur batterie) le bruit de ce p***** de ventilo est supportable, mais sur secteur là... ce n'est plus possible.

Ma question est :

Est-il possible de configurer l'ordinateur pour faire en sorte d'avoir les mêmes réglages  sur secteur que sur batterie?

Ou si vous avez d'autres idées je suis preneur.

Hors ligne

#2 Le 28/06/2015, à 15:09

nam1962

Re : cofiguration batterie pour configuration secteur.

as tu installé tlp ?


[ Modéré ]

Hors ligne

#3 Le 28/06/2015, à 15:14

zeurt

Re : cofiguration batterie pour configuration secteur.

C'est quoi tip?

Hors ligne

#4 Le 28/06/2015, à 15:14

nam1962

Re : cofiguration batterie pour configuration secteur.


[ Modéré ]

Hors ligne

#5 Le 28/06/2015, à 15:38

zeurt

Re : cofiguration batterie pour configuration secteur.

Voilà c'est installé,
mais toujours pareil.

Hors ligne

#6 Le 28/06/2015, à 15:47

zeurt

Re : cofiguration batterie pour configuration secteur.

j'ai édité " tlp (/ect/default) " mais je ne sais pas trop quoi changer... j'ai peur de faire une bourde.

Pour mon prob, un petit conseil?

Hors ligne

#7 Le 28/06/2015, à 16:35

nam1962

Re : cofiguration batterie pour configuration secteur.

Quelle version/variante de *buntu es tu ? Combien de RAM ?
As-tu pensé à nettoyer la poussière du ventilo ?


[ Modéré ]

Hors ligne

#8 Le 28/06/2015, à 16:50

zeurt

Re : cofiguration batterie pour configuration secteur.

A oui désolé, j'ai la version 14.04  LTS de ubuntu.

8gG de ram.

Pour la poussière :

Démonté/nettoyer/remonté.

Si l'ordi  n'est pas branché au secteur ca peut aller sinon...

Dernière modification par zeurt (Le 28/06/2015, à 16:51)

Hors ligne

#9 Le 28/06/2015, à 18:10

nam1962

Re : cofiguration batterie pour configuration secteur.

Quel pilote graphique as tu ?


[ Modéré ]

Hors ligne

#10 Le 28/06/2015, à 18:56

zeurt

Re : cofiguration batterie pour configuration secteur.

Niveau carte graphique, c'est une :
AMD Radeon HD 8750M Graphics

pour les pilotes :
Utilisation de Server XX.Org-adaptateur du pilote d'affichage AMD/ATI depuis xserver-xorg-video-ati (libre, testé)

Hors ligne

#11 Le 28/06/2015, à 19:03

nam1962

Re : cofiguration batterie pour configuration secteur.

Regarde si avec le pilote propriétaire tu as la même ventilation (sionon, il y a aussi la possibilité de tester les pilotes libres du PPA Oibaf)


[ Modéré ]

Hors ligne

#12 Le 28/06/2015, à 19:46

zeurt

Re : cofiguration batterie pour configuration secteur.

J'ai installé le pilote propriétaire, avec AMD Catalyst Control j'ai coupé la carte graphique et toujours pareil, même pire.
Ca me casse les c****** ce p***** de ventilo.

J'ai remarqué aussi que je ne pouvais plus régler la luminosité d'écran. j’appuie sur "FN"   et touche plus/moins, en haut à droite de l'écran l’icône de luminosité  apparaît et bouge mais l'ecran ne  baisse /monte pas en luminosité.

Dernière modification par zeurt (Le 28/06/2015, à 19:51)

Hors ligne

#13 Le 28/06/2015, à 20:02

nam1962

Re : cofiguration batterie pour configuration secteur.

Donne le retour de

sudo apt update

[ Modéré ]

Hors ligne

#14 Le 28/06/2015, à 20:17

zeurt

Re : cofiguration batterie pour configuration secteur.

Ign http://ppa.launchpad.net trusty InRelease
Ign http://extras.ubuntu.com trusty InRelease                                 
Atteint http://ppa.launchpad.net trusty Release.gpg                           
Atteint http://extras.ubuntu.com trusty Release.gpg                           
Atteint http://ppa.launchpad.net trusty Release                               
Ign http://fr.archive.ubuntu.com trusty InRelease                             
Ign http://security.ubuntu.com trusty-security InRelease                       
Atteint http://extras.ubuntu.com trusty Release                               
Atteint http://ppa.launchpad.net trusty/main amd64 Packages                   
Ign http://fr.archive.ubuntu.com trusty-updates InRelease                     
Atteint http://security.ubuntu.com trusty-security Release.gpg                 
Atteint http://extras.ubuntu.com trusty/main Sources                           
Atteint http://ppa.launchpad.net trusty/main i386 Packages                     
Ign http://fr.archive.ubuntu.com trusty-backports InRelease                   
Atteint http://extras.ubuntu.com trusty/main amd64 Packages                   
Atteint http://security.ubuntu.com trusty-security Release                     
Atteint http://ppa.launchpad.net trusty/main Translation-en                   
Atteint http://extras.ubuntu.com trusty/main i386 Packages                     
Atteint http://fr.archive.ubuntu.com trusty Release.gpg                       
Atteint http://security.ubuntu.com trusty-security/main Sources               
Atteint http://fr.archive.ubuntu.com trusty-updates Release.gpg               
Atteint http://security.ubuntu.com trusty-security/restricted Sources         
Atteint http://security.ubuntu.com trusty-security/universe Sources           
Atteint http://fr.archive.ubuntu.com trusty-backports Release.gpg             
Atteint http://fr.archive.ubuntu.com trusty Release                           
Atteint http://security.ubuntu.com trusty-security/multiverse Sources         
Atteint http://security.ubuntu.com trusty-security/main amd64 Packages         
Atteint http://fr.archive.ubuntu.com trusty-updates Release                   
Atteint http://fr.archive.ubuntu.com trusty-backports Release                 
Atteint http://security.ubuntu.com trusty-security/restricted amd64 Packages   
Ign http://extras.ubuntu.com trusty/main Translation-fr_FR                     
Atteint http://security.ubuntu.com trusty-security/universe amd64 Packages     
Atteint http://fr.archive.ubuntu.com trusty/main Sources                       
Ign http://extras.ubuntu.com trusty/main Translation-fr                       
Ign http://extras.ubuntu.com trusty/main Translation-en                       
Atteint http://security.ubuntu.com trusty-security/multiverse amd64 Packages   
Atteint http://fr.archive.ubuntu.com trusty/restricted Sources                 
Atteint http://security.ubuntu.com trusty-security/main i386 Packages         
Atteint http://fr.archive.ubuntu.com trusty/universe Sources                   
Atteint http://security.ubuntu.com trusty-security/restricted i386 Packages   
Atteint http://fr.archive.ubuntu.com trusty/multiverse Sources                 
Atteint http://security.ubuntu.com trusty-security/universe i386 Packages
Atteint http://fr.archive.ubuntu.com trusty/main amd64 Packages
Atteint http://security.ubuntu.com trusty-security/multiverse i386 Packages
Atteint http://fr.archive.ubuntu.com trusty/restricted amd64 Packages
Atteint http://security.ubuntu.com trusty-security/main Translation-en         
Atteint http://fr.archive.ubuntu.com trusty/universe amd64 Packages           
Atteint http://security.ubuntu.com trusty-security/multiverse Translation-en   
Atteint http://fr.archive.ubuntu.com trusty/multiverse amd64 Packages         
Atteint http://security.ubuntu.com trusty-security/restricted Translation-en   
Atteint http://fr.archive.ubuntu.com trusty/main i386 Packages                 
Atteint http://fr.archive.ubuntu.com trusty/restricted i386 Packages
Atteint http://security.ubuntu.com trusty-security/universe Translation-en
Atteint http://fr.archive.ubuntu.com trusty/universe i386 Packages
Atteint http://fr.archive.ubuntu.com trusty/multiverse i386 Packages
Atteint http://fr.archive.ubuntu.com trusty/main Translation-fr
Atteint http://fr.archive.ubuntu.com trusty/main Translation-en
Atteint http://fr.archive.ubuntu.com trusty/multiverse Translation-fr
Atteint http://fr.archive.ubuntu.com trusty/multiverse Translation-en
Atteint http://fr.archive.ubuntu.com trusty/restricted Translation-fr
Atteint http://fr.archive.ubuntu.com trusty/restricted Translation-en
Atteint http://fr.archive.ubuntu.com trusty/universe Translation-fr
Atteint http://fr.archive.ubuntu.com trusty/universe Translation-en
Atteint http://fr.archive.ubuntu.com trusty-updates/main Sources
Atteint http://fr.archive.ubuntu.com trusty-updates/restricted Sources
Atteint http://fr.archive.ubuntu.com trusty-updates/universe Sources
Atteint http://fr.archive.ubuntu.com trusty-updates/multiverse Sources
Atteint http://fr.archive.ubuntu.com trusty-updates/main amd64 Packages
Atteint http://fr.archive.ubuntu.com trusty-updates/restricted amd64 Packages
Atteint http://fr.archive.ubuntu.com trusty-updates/universe amd64 Packages
Atteint http://fr.archive.ubuntu.com trusty-updates/multiverse amd64 Packages
Atteint http://fr.archive.ubuntu.com trusty-updates/main i386 Packages
Atteint http://fr.archive.ubuntu.com trusty-updates/restricted i386 Packages
Atteint http://fr.archive.ubuntu.com trusty-updates/universe i386 Packages     
Atteint http://fr.archive.ubuntu.com trusty-updates/multiverse i386 Packages   
Atteint http://fr.archive.ubuntu.com trusty-updates/main Translation-en       
Atteint http://fr.archive.ubuntu.com trusty-updates/multiverse Translation-en 
Atteint http://fr.archive.ubuntu.com trusty-updates/restricted Translation-en 
Atteint http://fr.archive.ubuntu.com trusty-updates/universe Translation-en   
Atteint http://fr.archive.ubuntu.com trusty-backports/main Sources             
Atteint http://fr.archive.ubuntu.com trusty-backports/restricted Sources       
Atteint http://fr.archive.ubuntu.com trusty-backports/universe Sources         
Atteint http://fr.archive.ubuntu.com trusty-backports/multiverse Sources       
Atteint http://fr.archive.ubuntu.com trusty-backports/main amd64 Packages     
Atteint http://fr.archive.ubuntu.com trusty-backports/restricted amd64 Packages
Atteint http://fr.archive.ubuntu.com trusty-backports/universe amd64 Packages 
Atteint http://fr.archive.ubuntu.com trusty-backports/multiverse amd64 Packages
Atteint http://fr.archive.ubuntu.com trusty-backports/main i386 Packages       
Atteint http://fr.archive.ubuntu.com trusty-backports/restricted i386 Packages
Atteint http://fr.archive.ubuntu.com trusty-backports/universe i386 Packages   
Atteint http://fr.archive.ubuntu.com trusty-backports/multiverse i386 Packages
Atteint http://fr.archive.ubuntu.com trusty-backports/main Translation-en     
Atteint http://fr.archive.ubuntu.com trusty-backports/multiverse Translation-en
Atteint http://fr.archive.ubuntu.com trusty-backports/restricted Translation-en
Atteint http://fr.archive.ubuntu.com trusty-backports/universe Translation-en 
Ign http://fr.archive.ubuntu.com trusty/main Translation-fr_FR                 
Ign http://fr.archive.ubuntu.com trusty/multiverse Translation-fr_FR           
Ign http://fr.archive.ubuntu.com trusty/restricted Translation-fr_FR           
Ign http://fr.archive.ubuntu.com trusty/universe Translation-fr_FR             
Lecture des listes de paquets... Fait

Hors ligne

#15 Le 28/06/2015, à 20:43

nam1962

Re : cofiguration batterie pour configuration secteur.

Uhh, peux-tu mettre les résultats entre balises code :
1391632069.png
Ce sera plus lisible !
Fais un

software-properties-gtk

et là coches tout (suaf proposed qui est dangereux et ce qui se réfererait au CD)
Puis passes un

sudo apt-get install linux-firmware-nonfree
sudo apt update
sudo apt full-upgrade

pour avoir les petits pilotes de ton matériel et tout à jour.
Dis-nous ensuite si ça souffle toujours.


[ Modéré ]

Hors ligne

#16 Le 28/06/2015, à 21:00

zeurt

Re : cofiguration batterie pour configuration secteur.

Non c'est toujours pareil, quelle galère.

Il n'y  a pas moyen d'avoir les réglages batterie avec  le câble secteur?

Dernière modification par zeurt (Le 28/06/2015, à 21:02)

Hors ligne

#17 Le 28/06/2015, à 21:25

nam1962

Re : cofiguration batterie pour configuration secteur.


[ Modéré ]

Hors ligne

#18 Le 28/06/2015, à 21:50

zeurt

Re : cofiguration batterie pour configuration secteur.

j'ai édité " tlp (/ect/default) " mais je ne sais pas trop quoi changer... j'ai peur de faire une bourde.

Pour mon prob, un petit conseil?

Hors ligne

#19 Le 29/06/2015, à 12:27

zeurt

Re : cofiguration batterie pour configuration secteur.

Quand je modifie le fichier  /etc/default/tlp  dans le terminal il y a ca qui s’affiche :

(gedit:3915): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files

Les modifications que j'ai faites ont-elles été pris en comptes?

pour accéder à ce dossier dans le terminal j'ai tapé ca :

 

sudo gedit /etc/default/tlp

Hors ligne

#20 Le 29/06/2015, à 12:49

nam1962

Re : cofiguration batterie pour configuration secteur.

Il faut taper

gksudo gedit /etc/default/tlp

si ça ne veut rien faire il faut installer gksu :

sudo apt-get install gksu

(Les erreurs dans le terminal sont bénignes)


[ Modéré ]

Hors ligne

#21 Le 07/07/2015, à 11:30

zeurt

Re : cofiguration batterie pour configuration secteur.

Hello,
Ca ne fonctionne pas.J'ai refait une install complète, et depuis la dernière mise a jour c'est encore pire : Le simple fait d'aller sur google me fait monter la température de l'ordi à 67° ( usage cpu à trois  pour cent).

Je n'ai pas envie de revenir sous windows , que faire...

Hors ligne

#22 Le 07/07/2015, à 12:35

nam1962

Re : cofiguration batterie pour configuration secteur.

Quelle variante as tu installée ?
As-tu installé tlp sur ta fresh install ?
Quels pilotes graphiques utilises tu ? (as tu une carte hybride : me souviens plus)

Dernière modification par nam1962 (Le 07/07/2015, à 12:38)


[ Modéré ]

Hors ligne

#23 Le 07/07/2015, à 13:49

MrKebi

Re : cofiguration batterie pour configuration secteur.

Salut smile


Que donne le retour de sudo apt search intel-microcode ?
J'ai lu plus haut que tu avais tenté d'installer les pilotes proprio et que ça n'avait rien donné ...
Ton ordinateur est-il destiné à jouer, monter des vidéos ou à toute autre activité gourmande graphiquement ?

@nam1962 : système hybride d'après Google, i3-3230m couplé à une R8750M.

Ce que j'ai du mal à saisir c'est ça :

Si l'ordi n'est pas branché sur le secteur (donc sur batterie) le bruit de ce p***** de ventilo est supportable, mais sur secteur là... ce n'est plus possible.

Je serais tenté de vérifier et comparer les governor sur batterie et secteur ...

Donne également les retours suivants :

cat /etc/default/grub
cat /etc/default/tlp

Dernière modification par MrKebi (Le 07/07/2015, à 14:04)


PC : i7-4770k 24Go RX 580 120Go SSD + 1Tox2 HDD: Archlinux/Plasma
Laptop 1 : ThinkPad p50 i7-6820HQ 32Go 256Gox2 SSD + 500Go HDD : Archlinux/Plasma, optimus-manager
Laptop 2 : Xiaomi Mi Notebook Pro i5-8250u 8Go 240Go msata : Archlinux/XFCE, optimus-manager
Laptop 3 : HP Pavillion g6 1354ef i5-2450m 4Go 120Go SSD : Archlinux/Plasma

Hors ligne

#24 Le 07/07/2015, à 23:07

zeurt

Re : cofiguration batterie pour configuration secteur.

Hello Blabladodo smile,

le retour de sudo apt search intel-microcode :

Sorting... Fait
Full Text Search... Fait
intel-microcode/trusty-updates 2.20140624-t-1ubuntu2 amd64
  Microprogramme du microcode processeur pour les processeurs Intel

iucode-tool/trusty 1.0.1-1 amd64
  Outil du microcode pour les processeurs Intel

microcode.ctl/trusty 1.18~0+nmu2 amd64
  Utilitaire du microcode pour les processeurs Intel IA32/IA64  (paquet de transition)

J' utilise  l'ordi (disque dur) exclusivement pour de la programmation (en C avec bibliothèque SDL  pour des programmes qui ne demande que trés peu de ressources graphiques), consultation de mail et surf sur le net.
Si je veux  jouer je change le disque dur avec une install de windows.

Retour de cat /etc/default/grub :

# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"

Retour de cat /etc/default/tlp :

# ------------------------------------------------------------------------------
# tlp - Parameters for power save

# Hint: some features are disabled by default, remove the leading # to enable
# them.

# Set to 0 to disable, 1 to enable TLP.
TLP_ENABLE=1

# Seconds laptop mode has to wait after the disk goes idle before doing a sync.
# Non-zero value enables, zero disables laptop mode.
DISK_IDLE_SECS_ON_AC=0
DISK_IDLE_SECS_ON_BAT=2

# Dirty page values (timeouts in secs).
MAX_LOST_WORK_SECS_ON_AC=15
MAX_LOST_WORK_SECS_ON_BAT=60

# Hint: CPU parameters below are disabled by default, remove the leading #
# to enable them, otherwise kernel default values are used.

# Select a CPU frequency scaling governor:
#   ondemand, powersave, performance, conservative
# Intel Core i processor with intel_pstate driver:
#   powersave, performance
# Important:
#   You *must* disable your distribution's governor settings or conflicts will
#   occur. ondemand is sufficient for *almost all* workloads, you should know
#   what you're doing!
#CPU_SCALING_GOVERNOR_ON_AC=ondemand
#CPU_SCALING_GOVERNOR_ON_BAT=ondemand

# Set the min/max frequency available for the scaling governor.
# Possible values strongly depend on your CPU. For available frequencies see
# tlp-stat output, Section "+++ Processor".
#CPU_SCALING_MIN_FREQ_ON_AC=0
#CPU_SCALING_MAX_FREQ_ON_AC=0
#CPU_SCALING_MIN_FREQ_ON_BAT=0
#CPU_SCALING_MAX_FREQ_ON_BAT=0

# Set Intel P-state performance: 0..100 (%)
# Limit the max/min P-state to control the power dissipation of the CPU.
# Values are stated as a percentage of the available performance.
# Requires an Intel Core i processor with intel_pstate driver.
#CPU_MIN_PERF_ON_AC=0
#CPU_MAX_PERF_ON_AC=100
#CPU_MIN_PERF_ON_BAT=0
#CPU_MAX_PERF_ON_BAT=30

# Set the CPU "turbo boost" feature: 0=disable, 1=allow
# Requires an Intel Core i processor.
# Important:
# - This may conflict with your distribution's governor settings
# - A value of 1 does *not* activate boosting, it just allows it
#CPU_BOOST_ON_AC=1
#CPU_BOOST_ON_BAT=0

# Minimize number of used CPU cores/hyper-threads under light load conditions
SCHED_POWERSAVE_ON_AC=0
SCHED_POWERSAVE_ON_BAT=1

# Kernel NMI Watchdog:
#   0=disable (default, saves power), 1=enable (for kernel debugging only)
NMI_WATCHDOG=0

# Change CPU voltages aka "undervolting" - Kernel with PHC patch required
# Frequency voltage pairs are written to:
#   /sys/devices/system/cpu/cpu0/cpufreq/phc_controls
# CAUTION: only use this, if you thoroughly understand what you are doing!
#PHC_CONTROLS="F:V F:V F:V F:V"

# Set CPU performance versus energy savings policy:
#   performance, normal, powersave
# Requires kernel module msr and x86_energy_perf_policy from linux-tools
ENERGY_PERF_POLICY_ON_AC=performance
ENERGY_PERF_POLICY_ON_BAT=powersave

# Hard disk devices; separate multiple devices with spaces (default: sda).
# Devices can be specified by disk ID also (lookup with: tlp diskid).
DISK_DEVICES="sda sdb"

# Hard disk advanced power management level: 1..254, 255 (max saving, min, off)
# Levels 1..127 may spin down the disk; 255 allowable on most drives.
# Separate values for multiple devices with spaces.
DISK_APM_LEVEL_ON_AC="254 254"
DISK_APM_LEVEL_ON_BAT="128 128"

# Hard disk spin down timeout:
#   0:        spin down disabled
#   1..240:   timeouts from 5s to 20min (in units of 5s)
#   241..251: timeouts from 30min to 5.5 hours (in units of 30min)
# See 'man hdparm' for details.
#DISK_SPINDOWN_TIMEOUT_ON_AC="0 0"
#DISK_SPINDOWN_TIMEOUT_ON_BAT="0 0"

# Select IO scheduler for the disk devices: noop, deadline, cfq (Default: cfq);
# Separate values for multiple devices with spaces.
#DISK_IOSCHED="cfq cfq"

# SATA aggressive link power management (ALPM):
#   min_power, medium_power, max_performance
SATA_LINKPWR_ON_AC=max_performance
SATA_LINKPWR_ON_BAT=min_power

# PCI Express Active State Power Management (PCIe ASPM):
#   default, performance, powersave
PCIE_ASPM_ON_AC=performance
PCIE_ASPM_ON_BAT=powersave

# Radeon graphics clock speed (profile method): low, mid, high, auto, default;
# auto = mid on BAT, high on AC; default = use hardware defaults.
# (Kernel >= 2.6.35 only, open-source radeon driver explicitly)
RADEON_POWER_PROFILE_ON_AC=high
RADEON_POWER_PROFILE_ON_BAT=low

# Radeon dynamic power management method (DPM): battery, performance
# (Kernel >= 3.11 only, requires boot option radeon.dpm=1)
RADEON_DPM_STATE_ON_AC=performance
RADEON_DPM_STATE_ON_BAT=battery

# Radeon DPM performance level: auto, low, high; auto is recommended.
RADEON_DPM_PERF_LEVEL_ON_AC=auto
RADEON_DPM_PERF_LEVEL_ON_BAT=auto

# WiFi power saving mode: 1=disable, 5=enable; not supported by all adapters.
WIFI_PWR_ON_AC=1
WIFI_PWR_ON_BAT=5

# Disable wake on LAN: Y/N
WOL_DISABLE=Y

# Enable audio power saving for Intel HDA, AC97 devices (timeout in secs).
# A value of 0 disables, >=1 enables power save.
SOUND_POWER_SAVE_ON_AC=0
SOUND_POWER_SAVE_ON_BAT=1

# Disable controller too (HDA only): Y/N
SOUND_POWER_SAVE_CONTROLLER=Y

# Set to 1 to power off optical drive in UltraBay/MediaBay when running on
# battery. A value of 0 disables this feature (Default).
# Drive can be powered on again by releasing (and reinserting) the eject lever
# or by pressing the disc eject button on newer models.
# Note: an UltraBay/MediaBay hard disk is never powered off.
BAY_POWEROFF_ON_BAT=0
# Optical drive device to power off (default sr0).
BAY_DEVICE="sr0"

# Runtime Power Management for PCI(e) bus devices: on=disable, auto=enable
RUNTIME_PM_ON_AC=on
RUNTIME_PM_ON_BAT=auto

# Runtime PM for *all* PCI(e) bus devices, except blacklisted ones:
#   0=disable, 1=enable
RUNTIME_PM_ALL=1

# Exclude PCI(e) device adresses the following list from Runtime PM
# (separate with spaces). Use lspci to get the adresses (1st column).
#RUNTIME_PM_BLACKLIST="bb:dd.f 11:22.3 44:55.6"

# Exclude PCI(e) devices assigned to the listed drivers from Runtime PM
# (should prevent accidential power on of hybrid graphics' discrete part).
# Default is "radeon nouveau"; use "" to disable the feature completely.
# Separate multiple drivers with spaces.
RUNTIME_PM_DRIVER_BLACKLIST="radeon nouveau"

# Set to 0 to disable, 1 to enable USB autosuspend feature.
USB_AUTOSUSPEND=1

# Exclude listed devices from USB autosuspend (separate with spaces).
# Use lsusb to get the ids.
# Note: input devices (usbhid) are excluded automatically (see below)
#USB_BLACKLIST="1111:2222 3333:4444"

# Exclude devices assigned to the listed drivers from USB autosuspend.
# Default is "usbhid" (input devices); use "" to disable the feature
# completely. Separate multiple drivers with spaces.
USB_DRIVER_BLACKLIST="usbhid"

# WWAN devices are excluded from USB autosuspend:
# 0=do not exclude / 1=exclude
USB_BLACKLIST_WWAN=1

# Include listed devices into USB autosuspend even if already excluded
# by the driver or WWAN blacklists above (separate with spaces).
# Use lsusb to get the ids.
#USB_WHITELIST="1111:2222 3333:4444"

# Set to 1 to disable autosuspend before shutdown, 0 to do nothing
# (workaround for USB devices that cause shutdown problems).
#USB_AUTOSUSPEND_DISABLE_ON_SHUTDOWN=1

# Restore radio device state (Bluetooth, WiFi, WWAN) from previous shutdown
# on system startup: 0=disable, 1=enable.
# Hint: the parameters DEVICES_TO_DISABLE/ENABLE_ON_STARTUP/SHUTDOWN below
#   are ignored when this is enabled!
RESTORE_DEVICE_STATE_ON_STARTUP=0

# Radio devices to disable on startup: bluetooth, wifi, wwan.
# Separate multiple devices with spaces.
#DEVICES_TO_DISABLE_ON_STARTUP="bluetooth wifi wwan"

# Radio devices to enable on startup: bluetooth, wifi, wwan.
# Separate multiple devices with spaces.
#DEVICES_TO_ENABLE_ON_STARTUP="wifi"

# Radio devices to disable on shutdown: bluetooth, wifi, wwan
# (workaround for devices that are blocking shutdown).
#DEVICES_TO_DISABLE_ON_SHUTDOWN="bluetooth wifi wwan"

# Radio devices to enable on shutdown: bluetooth, wifi, wwan
# (to prevent other operating systems from missing radios).
#DEVICES_TO_ENABLE_ON_SHUTDOWN="wwan"

# Radio devices to enable on AC: bluetooth, wifi, wwan
#DEVICES_TO_ENABLE_ON_AC="bluetooth wifi wwan"

# Radio devices to disable on battery: bluetooth, wifi, wwan
#DEVICES_TO_DISABLE_ON_BAT="bluetooth wifi wwan"

# Radio devices to disable on battery when not in use (not connected):
# bluetooth, wifi, wwan
#DEVICES_TO_DISABLE_ON_BAT_NOT_IN_USE="bluetooth wifi wwan"

# Battery charge thresholds (ThinkPad only, tp-smapi or acpi-call kernel module
# required). Charging starts when the remaining capacity falls below the
# START_CHARGE_TRESH value and stops when exceeding the STOP_CHARGE_TRESH value.
# Main / Internal battery (values in %)
#START_CHARGE_THRESH_BAT0=75
#STOP_CHARGE_THRESH_BAT0=80
# Ultrabay / Slice / Replaceable battery (values in %)
#START_CHARGE_THRESH_BAT1=75
#STOP_CHARGE_THRESH_BAT1=80

# ------------------------------------------------------------------------------
# tlp-rdw - Parameters for the radio device wizard
# Possible devices: bluetooth, wifi, wwan

# Hints:
# - Parameters are disabled by default, remove the leading # to enable them.
# - Separate multiple radio devices with spaces.

# Radio devices to disable on connect.
#DEVICES_TO_DISABLE_ON_LAN_CONNECT="wifi wwan"
#DEVICES_TO_DISABLE_ON_WIFI_CONNECT="wwan"
#DEVICES_TO_DISABLE_ON_WWAN_CONNECT="wifi"

# Radio devices to enable on disconnect.
#DEVICES_TO_ENABLE_ON_LAN_DISCONNECT="wifi wwan"
#DEVICES_TO_ENABLE_ON_WIFI_DISCONNECT=""
#DEVICES_TO_ENABLE_ON_WWAN_DISCONNECT=""

# Radio devices to enable/disable when docked.
#DEVICES_TO_ENABLE_ON_DOCK=""
#DEVICES_TO_DISABLE_ON_DOCK=""

# Radio devices to enable/disable when undocked.
#DEVICES_TO_ENABLE_ON_UNDOCK="wifi"
#DEVICES_TO_DISABLE_ON_UNDOCK=""

Hors ligne

#25 Le 08/07/2015, à 11:21

MrKebi

Re : cofiguration batterie pour configuration secteur.

Salut smile


Merci pour tes retours. Bon on va commencer par y aller progressivement :

sudo apt install intel-microcode
cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_driver

Donne les deux retours complets stp smile


On va tenter une série de manips pour tenter d'ajuster le governor du CPU, si ça suffit pas il faudra peut-être envisager de blacklister la carte graphique du portable vu que tu ne joues pas sous Linux. Mais on va se garder ça en dernier recours (plus compliqué et pas forcément de garantie qu'on y arrive).

Dernière modification par MrKebi (Le 08/07/2015, à 11:23)


PC : i7-4770k 24Go RX 580 120Go SSD + 1Tox2 HDD: Archlinux/Plasma
Laptop 1 : ThinkPad p50 i7-6820HQ 32Go 256Gox2 SSD + 500Go HDD : Archlinux/Plasma, optimus-manager
Laptop 2 : Xiaomi Mi Notebook Pro i5-8250u 8Go 240Go msata : Archlinux/XFCE, optimus-manager
Laptop 3 : HP Pavillion g6 1354ef i5-2450m 4Go 120Go SSD : Archlinux/Plasma

Hors ligne