Pages : 1
#1 Le 24/02/2016, à 21:13
- smokeh
laptop mode tools
hello
je voulais savoir j'ai installé : https://doc.ubuntu-fr.org/laptop-mode-tools
et configuré correctement mes différents fichiers ...
je souhaite savoir comment vérifier que laptop mode tools est bien en fonctionnement...
j'ai regardé les logs et je trouve 2 choses bizarre:
Feb 24 21:10:49 PC laptop-mode: Laptop mode
Feb 24 21:10:49 PC laptop-mode: enabled, not active [unchanged]
et
laptop-mode: The configured LCD brightness command of the lcd-brightness module failed.
mon fichier lcd brightness:
###############################################################################
# LCD brightness settings
# -----------------------
#
#__COMMENT Using these settings, you can make laptop mode tools automatically adjust
#__COMMENT your LCD's brightness settings. The settings are extremely simple -- they
#__COMMENT only allow for the execution of a command, nothing more. The reason for this
#__COMMENT is that LCD brightness settings are very different between laptop vendors.
#__COMMENT
#__COMMENT Suggestions for commands:
#__COMMENT
#__COMMENT * If your system has the file "/proc/acpi/video/VID/LCD/brightness" (VID may
#__COMMENT be VID1 or similar), use this file as BRIGHTNESS_OUTPUT, and use
#__COMMENT the command "echo <value>". The possible values can be listed using the
#__COMMENT command:
#__COMMENT
#__COMMENT cat /proc/acpi/video/VID/LCD/brightness
#__COMMENT
#__COMMENT * If you have a file /sys/class/backlight/.../brightness, then you can use
#__COMMENT that file as BRIGHTNESS_OUTPUT, and the command "echo <value>".
#__COMMENT
#__COMMENT As far as I understand it the values are between 0 and
#__COMMENT the value contained in the file /sys/class/backlight/.../max_brightness.
#__COMMENT
#__COMMENT * For Toshiba laptops, use the command "toshset" with the -lcd or -inten
#__COMMENT command. Read the toshset(1) manual page for more information on the
#__COMMENT parameters for this command. If you use this command, set
#__COMMENT BRIGHTNESS_OUTPUT to "/dev/null".
#
###############################################################################
###############################################################################
#
# IMPORTANT: In versions 1.36 and earlier, these settings were included in the
# main laptop-mode.conf configuration file. If they are still present, they
# overrule the settings in this file. To fix this, simply delete the settings
# from the main config file.
#
###############################################################################
# Enable debug mode for this module
# Set to 1 if you want to debug this module
DEBUG=0
#
# Should laptop mode tools control LCD brightness?
#
CONTROL_BRIGHTNESS=1
#
# Commands to execute to set the brightness on your LCD
#
BATT_BRIGHTNESS_COMMAND="echo [17]"
LM_AC_BRIGHTNESS_COMMAND="echo [937]"
NOLM_AC_BRIGHTNESS_COMMAND="echo [937]"
BRIGHTNESS_OUTPUT="/proc/acpi/video/VID/LCD/brightness"
quand je debranche mon alimentation je n'ai pas de changement de luminosité...
Dernière modification par smokeh (Le 24/02/2016, à 21:28)
Hors ligne
#2 Le 26/02/2016, à 12:01
- nam1962
Re : laptop mode tools
Perso, je n'ai jamais réussi à faire fonctionner laptop mode tools et j'utilise tlp.
(si tu le prends, il faut virer laptop : ils ne sont pas compatibles)
[ Modéré ]
Hors ligne
#3 Le 26/02/2016, à 15:00
- smokeh
Re : laptop mode tools
hello
ben j'ai l'impression que ça fonctionne quand mémé .c'est vraiment bizarre à par pour le réglage de la luminosité ...
Personne n'a une idée?
Hors ligne
#4 Le 28/02/2016, à 20:09
- smokeh
Re : laptop mode tools
up
Hors ligne
#5 Le 28/02/2016, à 20:37
- nam1962
Re : laptop mode tools
Re..
...vire laptop mode tools et installe tlp (qui d'ailleurs est désormais dans les dépôts officiels)
[ Modéré ]
Hors ligne
#6 Le 28/02/2016, à 20:45
- smokeh
Re : laptop mode tools
merci mais je vois rien avec TLP permettant de modifier automatiquement la luminosité...
Hors ligne
#7 Le 28/02/2016, à 20:57
- nam1962
Re : laptop mode tools
A priori ils s'en fichent pour la conso : Backlight brightness: this would conflict with existing desktop functionality such as the gnome power manager
http://linrunner.de/en/tlp/docs/tlp-faq.html
Tant mieux : c'est plus confort.
[ Modéré ]
Hors ligne
Pages : 1