Здрасть всем.
Имеется то, что описал.
Подскажите, пожалуйста, как сделать, чтобы при подключённом питании dpms не работал, а при работе от аккумулятора срабатывал.
И как, где прописать отключение/включение дисплея по fn+F7.
Пробова ACPI hotkeys (ArchWiki), гуглил, но ни как, acpitool не находится, acpi_listen не работает!
ArchLinux Asus eeepc 1215B dpms
Подскажите, пожалуйста, как сделать, чтобы при подключённом питании dpms не работал, а при работе от аккумулятора срабатывал.
Установить и настроить Laptop Mode Tools.
Это да, но, вот только, в прошлый раз делал по Archwiki, но, почему-то ничерта не работало.
Я, честно, был очень внимателен!
Дайте ссылку на статью из WiKi, расскажите, что именно делали.
https://wiki.archlinux.org/index.php/Laptop_Mode_Tools_(Русский)
Делал практически всё, только, в основном питание hdd старался не цеплять, вычитал, что это к его износу быстрому ведёт, чтоли.
Ну вот взгляните, пожалуйста, и, если не трудно, укажите на ошибки.
laptop-mode.conf
Показать
#
# Configuration for Laptop Mode Tools
# -----------------------------------
#
# There is a "system" to the configuration setting names:
# CONTROL_something=0/1 Determines whether Laptop Mode Tools controls
# something
# LM_something=value Value of "something" when laptop mode is active
# NOLM_something=value Value of "something" when laptop mode is NOT
# active
# AC_something=value Value of "something" when the computer is running
# on AC power
# BATT_something=value Value of "something when the computer is running
# on battery power
#
# There can be combinations of LM_/NOLM_ and AC_/BATT_ prefixes, but the
# available prefixes are different for each setting. The available ones are
# documented in the manual page, laptop-mode.conf(8). If there is no LM_/
# NOLM_ in a setting name, then the value is used independently of laptop
# mode state, and similarly, if there is no AC_/BATT_, then the value is used
# independently of power state.
#
# Some options only work on ACPI systems. They are marked ACPI-ONLY.
#
# Note that this configuration file is a fragment of shell script: you
# can use all the features of the shell scripting language to achieve your
# desired configuration.
#
#
# Modules
# -------
#
# Laptop Mode Tools modules have separate configuration files, that can be
# found in /etc/laptop-mode/conf.d. Please look through these configuration
# files as well, there are many useful power saving tools in there!
#
###############################################################################
###############################################################################
# Enable/Disable laptop-mode-tools execution
# ------------------------------------------
# Set it to 0 to completely disable laptop-mode-tools from running
###############################################################################
#
ENABLE_LAPTOP_MODE_TOOLS=1
###############################################################################
# Configuration debugging
# -----------------------
###############################################################################
#
# Set this to 1 if you want to see a lot of information when you start/stop
# laptop_mode.
#
VERBOSE_OUTPUT=0
# Set this to 1 if you want to log messages to syslog
LOG_TO_SYSLOG=1
# Run in shell debug mode
# Enable this if you would like to execute the entire laptop-mode-tools program
# in shell debug mode. Warning: This will create a lot of text output
# If you are debugging an individual module, perhaps you would want to enable
# each module specific debug mode (available in module conf files)
DEBUG=0
###############################################################################
# When to enable laptop mode
# --------------------------
#
# "Laptop mode" is the mode in which laptop mode tools makes the computer
# consume less power. This includes the kernel "laptop_mode" feature, which
# allows your hard drives to spin down, as well as various other settings which
# can be tweaked by laptop mode tools. You can enable or disable all of these
# settings using the CONTROL_... options further down in this config file.
###############################################################################
#
# Enable laptop mode when on battery power.
#
ENABLE_LAPTOP_MODE_ON_BATTERY=1
#
# Enable laptop mode when on AC power.
#
ENABLE_LAPTOP_MODE_ON_AC=0
#
# Enable laptop mode when the laptop's lid is closed, even when we're on AC
# power? (ACPI-ONLY)
#
ENABLE_LAPTOP_MODE_WHEN_LID_CLOSED=0
#
# Enable all simple zero-configuration auto modules
# This option enables all simple modules (listed below) without requiring
# the user to enable each module individually
#
# List of modules which can be automatically enabled with this setting are:
#
# ac97-powersave
# cpufreq
# dpms-standby
# eee-superhe
# ethernet
# exec-commands
# hal-polling
# hdparm
# intel-hda-powersave
# intel-sata-powermgmt
# nmi-watchdog
# runtime-pm
# sched-mc-power-savings
# sched-smt-power-savings
# terminal-blanking
# usb-autosuspend
# wireless-ipw-power
# wireless-iwl-power
# wireless-power
#
# Set this to 1 to enable all simple zero-configuration auto modules listed above.
#
# NOTE: You can explicitly enable/disable any of the above modules by changing their
# values in the individual settings file
#
ENABLE_AUTO_MODULES=1
###############################################################################
# When to enable data loss sensitive features
# -------------------------------------------
#
# When data loss sensitive features are disabled, laptop mode tools acts as if
# laptop mode were disabled, for those features only.
#
# Data loss sensitive features include:
# - laptop_mode (i.e., delayed writes)
# - hard drive write cache
#
# All of the options that follow can be set to 0 in order to prevent laptop
# mode tools from using them to stop data loss sensitive features. Use this
# when you have a battery that reports the wrong information, that confuses
# laptop mode tools.
#
# Disabling data loss sensitive features is ACPI-ONLY, and it only works if
# your battery gives off frequent ACPI events to indicate a change in battery
# level.
#
# NOTE: If your battery does NOT give off battery events often enough, you can
# enable the battery-level-polling module to make this work. Look at the
# file /etc/laptop-mode/conf.d/battery-level-polling.conf for more information.
#
###############################################################################
#
# Disable all data loss sensitive features when the battery level (in % of the
# battery capacity) reaches this value.
#
MINIMUM_BATTERY_CHARGE_PERCENT=3
#
# Disable data loss sensitive features when the battery reports its state
# as "critical".
#
DISABLE_LAPTOP_MODE_ON_CRITICAL_BATTERY_LEVEL=1
###############################################################################
# Controlled hard drives and partitions
# -------------------------------------
#
# For spinning down your hard drives, laptop mode will remount file systems and
# adjust hard drive spindown timeouts. These parameters specify which
# devices and partitions are affected by laptop mode.
###############################################################################
#
# The drives that laptop mode controls.
# Separate them by a space, e.g. HD="/dev/hda /dev/hdb". The default is a
# wildcard, which will get you all your IDE and SCSI/SATA drives.
#
HD="/dev/[hs]d[abcdefgh]"
#
# The partitions (or mount points) that laptop mode controls.
# Separate the values by spaces. Use "auto" to indicate all partitions on drives
# listed in HD. You can add things to "auto", e.g. "auto /dev/hdc3". You can
# also specify mount points, e.g. "/mnt/data".
#
PARTITIONS="auto /dev/mapper/*"
#
# If this is enabled, laptop mode tools will assume that SCSI drives are
# really SATA drives that only _look_ like SCSI drives, and will use hdparm
# to control them. Set this to 0 if you have /dev/sd devices and you want
# laptop mode tools to use the "sdparm" command to control them.
#
ASSUME_SCSI_IS_SATA=0
###############################################################################
# Hard drive behaviour settings
# -----------------------------
#
# These settings specify how laptop mode tools will adjust the various
# parameters of your hard drives and file systems.
###############################################################################
#
# Maximum time, in seconds, of work that you are prepared to lose when your
# system crashes or power runs out. This is the maximum time that Laptop Mode
# will keep unsaved data waiting in memory before spinning up your hard drive.
#
LM_BATT_MAX_LOST_WORK_SECONDS=700
LM_AC_MAX_LOST_WORK_SECONDS=500
#
# Should laptop mode tools control readahead?
#
CONTROL_READAHEAD=0
#
# Read-ahead, in kilobytes. You can spin down the disk while playing MP3/OGG
# by setting the disk readahead to a reasonable size, e.g. 3072 (3 MB).
# Effectively, the disk will read a complete MP3 at once, and will then spin
# down while the MP3/OGG is playing. Don't set this too high, because the
# readahead is applied to _all_ files that are read from disk.
#
LM_READAHEAD=5120
NOLM_READAHEAD=320
#
# Should laptop mode tools add the "noatime" option to the mount options when
# laptop mode is enabled?
#
CONTROL_NOATIME=0
# Should laptop use relatime instead of noatime? The "relatime" mount option has
# more standards-compliant semantics, and allows more applications to work,
# while retaining a low level of atime updates (i.e., disk writes).
USE_RELATIME=1
#
# Should laptop mode tools control the hard drive idle timeout settings?
#
CONTROL_HD_IDLE_TIMEOUT=1
#
# Idle timeout values. (hdparm -S)
# Default is 2 hours on AC (NOLM_HD_IDLE_TIMEOUT_SECONDS=7200) and 20 seconds
# for battery and for AC with laptop mode on.
#
LM_AC_HD_IDLE_TIMEOUT_SECONDS=7200
LM_BATT_HD_IDLE_TIMEOUT_SECONDS=1500
NOLM_HD_IDLE_TIMEOUT_SECONDS=7200
#
# Should laptop mode tools control the hard drive power management settings?
#
# Set to 0 to disable
CONTROL_HD_POWERMGMT=0
#
# Power management for HD (hdparm -B values)
#
BATT_HD_POWERMGMT=128
LM_AC_HD_POWERMGMT=254
NOLM_AC_HD_POWERMGMT=254
#
# Should laptop mode tools control the hard drive write cache settings?
#
CONTROL_HD_WRITECACHE=0
#
# Write cache settings for HD (hdparm -W values)
#
NOLM_AC_HD_WRITECACHE=1
NOLM_BATT_HD_WRITECACHE=0
LM_HD_WRITECACHE=0
###############################################################################
# Settings you probably don't want to touch
# -----------------------------------------
#
# It is usually not necessary to change these parameters. They are included
# for completeness' sake.
###############################################################################
#
# Change mount options on partitions in PARTITIONS? You don't really want to
# disable this. If you do, then your hard drives will probably not spin down
# anymore.
#
CONTROL_MOUNT_OPTIONS=1
#
# Dirty synchronous ratio. At this percentage of dirty pages the process
# which calls write() does its own writeback.
#
LM_DIRTY_RATIO=60
NOLM_DIRTY_RATIO=40
#
# Allowed dirty background ratio, in percent. Once DIRTY_RATIO has been
# exceeded, the kernel will wake pdflush which will then reduce the amount
# of dirty memory to dirty_background_ratio. Set this nice and low, so once
# some writeout has commenced, we do a lot of it.
#
LM_DIRTY_BACKGROUND_RATIO=1
NOLM_DIRTY_BACKGROUND_RATIO=10
#
# kernel default settings -- don't touch these unless you know what you're
# doing.
#
DEF_UPDATE=5
DEF_XFS_AGE_BUFFER=15
DEF_XFS_SYNC_INTERVAL=30
DEF_XFS_BUFD_INTERVAL=1
DEF_MAX_AGE=30
#
# This must be adjusted manually to the value of HZ in the running kernel
# on 2.4, until the XFS people change their 2.4 external interfaces to work in
# centisecs. This can be automated, but it's a work in progress that still
# needs some fixes. On 2.6 kernels, XFS uses USER_HZ instead of HZ for
# external interfaces, and that is currently always set to 100. So you don't
# need to change this on 2.6.
#
XFS_HZ=100
#
# Seconds laptop mode has to to wait after the disk goes idle before doing
# a sync.
#
LM_SECONDS_BEFORE_SYNC=2
runtime-pm.conf
Показать
# Configuration file for Laptop Mode Tools module runtime-pm
#
# For more information, consult the laptop-mode.conf(8) manual page.
#
###############################################################################
# Linux Runtime Power Management
# -------------------------------
#
# If you enable this setting, laptop mode tools will automatically set the
# Runtime Power Management framework of the Linux Kernel.
# This setting does not hurt, so there are no AC vs. battery settings:
# if CONTROL_RUNTIME_PM is set to 1, the powersave mode is always enabled.
# Set to 0 to disable.
#
# Default is "auto"
#
###############################################################################
# Control Runtime Power Management ?
CONTROL_RUNTIME_PM="auto"
# Enable debug mode for this module
# Set to 1 if you want to debug this module
DEBUG=0
nmi-watchdog.conf
Показать
# Configuration file for Laptop Mode Tools module nmi-watchdog
#
# For more information, consult the laptop-mode.conf(8) manual page.
#
###############################################################################
# NMI Watchdog Timer enable/disable switch
# --------------------------------------------------------------------------
#
# If you enable this setting, laptop mode tools will automatically configure the
# NMI Watchdog timer to save power while running on battery mode.
#
# Enabling this module cut down one hw-pmu counter
#
###############################################################################
# Enable debug mode for this module
# Set to 1 if you want to debug this module
DEBUG=0
# Control multi-core power-saving tunables for the process scheduler?
# Set to 0 to disable
CONTROL_NMI_WATCHDOG="auto"
cpufreq.conf
Показать
# Configuration file for Laptop Mode Tools module cpufreq.
#
# For more information, consult the laptop-mode.conf(8) manual page.
#
###############################################################################
# CPU frequency scaling and throttling
# ------------------------------------
#
# Laptop mode tools can automatically adjust your kernel CPU frequency
# settings. This includes upper and lower limits and scaling governors.
# There is also support for CPU throttling, on systems that don't support
# frequency scaling.
#
# This feature only works on 2.6 kernels.
#
#
# 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 the CPU frequency settings?
#
# Set to 0 to disable
CONTROL_CPU_FREQUENCY="auto"
#
# Legal values are "slowest" for the slowest speed that your
# CPU is able to operate at, "fastest" for the fastest speed,
# "medium" for some value in the middle, or any value listed in
# /sys/devices/system/cpu/cpu*/cpufreq/scaling_available_frequencies.
# The "governor" can be any governor installed on your system, this usually
# includes "ondemand", "conservative", and "performance". The
# "IGNORE_NICE_LOAD" setting specifies that background programs that have
# a low priority ("nice level") should not cause the CPU frequency to
# be increased. (You generally want this to be enabled in battery mode.)
#
BATT_CPU_MAXFREQ=fastest
BATT_CPU_MINFREQ=slowest
BATT_CPU_GOVERNOR=ondemand
BATT_CPU_IGNORE_NICE_LOAD=1
LM_AC_CPU_MAXFREQ=fastest
LM_AC_CPU_MINFREQ=slowest
LM_AC_CPU_GOVERNOR=ondemand
LM_AC_CPU_IGNORE_NICE_LOAD=1
NOLM_AC_CPU_MAXFREQ=fastest
NOLM_AC_CPU_MINFREQ=slowest
NOLM_AC_CPU_GOVERNOR=ondemand
NOLM_AC_CPU_IGNORE_NICE_LOAD=1
#
# Should laptop mode tools control the CPU throttling? This is only useful
# on processors that don't have frequency scaling.
# (Only works when you have /proc/acpi/processor/CPU*/throttling.)
#
# This is only useful on older P4 processors that do not support frequency
# scaling. On such processors, this is the only way to reduce power consumption
# but at the cost of higher performance penalty.
#
# Enable this only if you have a processor that does not support frequency scaling
# On most new processors, you might want to disable it.
#
# Set to 0 to disable.
CONTROL_CPU_THROTTLING=0
#
# Legal values are "maximum" for the maximum (slowest) throttling level,
# "minimum" for minimum (fastest) throttling level, "medium" for a value
# somewhere in the middle (this is usually 50% for P4s), or any value listed
# in /proc/acpi/processor/CPU*/throttling. Be careful when using "maximum":
# this may be _very_ slow (in fact, with P4s it slows down the processor
# by a factor 8).
#
BATT_CPU_THROTTLING=medium
LM_AC_CPU_THROTTLING=medium
NOLM_AC_CPU_THROTTLING=minimum
sched-mc-power-savings.conf
Показать
# Configuration file for Laptop Mode Tools module sched-mc-power-savings
#
# For more information, consult the laptop-mode.conf(8) manual page.
#
###############################################################################
# Multi-core, multi-threaded power-saving tunables for the process scheduler
# --------------------------------------------------------------------------
#
# If you enable this setting, laptop mode tools will automatically configure the
# Linux scheduler to save power on multi-core processors while running on
# battery mode.
#
###############################################################################
# Enable debug mode for this module
# Set to 1 if you want to debug this module
DEBUG=0
# Control multi-core power-saving tunables for the process scheduler?
# Set to 0 to disable
CONTROL_SCHED_MC_POWER_SAVINGS="auto"
sched-smt-power-savings.conf
Показать
# Configuration file for Laptop Mode Tools module sched-smt-power-savings
#
# For more information, consult the laptop-mode.conf(8) manual page.
#
###############################################################################
# SMT multi-threaded power-saving tunables for the process scheduler
# --------------------------------------------------------------------------
#
# If you enable this setting, laptop mode tools will automatically configure the
# Linux scheduler to save power on SMT processors while running on
# battery mode.
#
###############################################################################
# Enable debug mode for this module
# Set to 1 if you want to debug this module
DEBUG=0
# Control multi-core power-saving tunables for the process scheduler?
# Set to 0 to disable
CONTROL_SCHED_SMT_POWER_SAVINGS="auto"
hal-polling.conf
Показать
# Configuration file for Laptop Mode Tools module hal-polling.
#
# For more information, consult the laptop-mode.conf(8) manual page.
#
###############################################################################
# HAL polling settings
# --------------------
#
# If you enable this module, laptop mode tools will control the polling of
# your CD/DVD drives by HAL. Disabling polling saves a considerable amount of
# power, but for some older CD/DVD drives it means that inserted CDs are no
# longer autodetected. In such cases, you must turn this option off.
# Alternatively, you can configure laptop mode tools to turn HAL polling on only
# when the laptop is running on AC power. This would mean that CDs are not
# autodetected while the laptop is running on battery power, but the power
# savings may be worth the extra manual labour when you insert a CD.
#
###############################################################################
# Enable debug mode for this module
# Set to 1 if you want to debug this module
DEBUG=0
# Control HAL polling?
# Set to 0 to disable.
CONTROL_HAL_POLLING="auto"
# Disable HAL polling on battery?
BATT_DISABLE_HAL_POLLING=1
# Disable HAL polling on AC?
AC_DISABLE_HAL_POLLING=0
# Drives to apply HAL polling settings to
HAL_POLLING_DEVICES="/dev/scd?"
eee-superhe.conf
Показать
# Configuration file for Laptop Mode Tools module eee-superhe
#
# For more information, consult the laptop-mode.conf(8) manual page.
#
# Enable debug mode for this module
# Set to 1 if you want to debug this module
DEBUG=0
# Control FSB speed. Requires eeepc_laptop kernel module loaded.
# Set to 0 to disable.
#
CONTROL_SUPERHE="1"
# 2 is powersave
# 1 is normal
# 0 is performance
BATT_SUPERHE=2
LM_AC_SUPERHE=0
NOLM_AC_SUPERHE=0
# If your system has the control file located at another point
# configure it here
# SUPERHE_CONTROL_FILE=
lcd-brightness.conf
Показать
# Configuration file for Laptop Mode Tools module lcd-brightness.
#
# For more information, consult the laptop-mode.conf(8) manual page.
#
###############################################################################
# LCD brightness settings
# -----------------------
#
# Using these settings, you can make laptop mode tools automatically adjust
# your LCD's brightness settings. The settings are extremely simple -- they
# only allow for the execution of a command, nothing more. The reason for this
# is that LCD brightness settings are very different between laptop vendors.
#
# Suggestions for commands:
#
# * If your system has the file "/proc/acpi/video/VID/LCD/brightness" (VID may
# be VID1 or similar), use this file as BRIGHTNESS_OUTPUT, and use
# the command "echo <value>". The possible values can be listed using the
# command:
#
# cat /proc/acpi/video/VID/LCD/brightness
#
# * If you have a file /sys/class/backlight/.../brightness, then you can use
# that file as BRIGHTNESS_OUTPUT, and the command "echo <value>".
#
# As far as I understand it the values are between 0 and
# the value contained in the file /sys/class/backlight/.../max_brightness.
#
# * For Toshiba laptops, use the command "toshset" with the -lcd or -inten
# command. Read the toshset(1) manual page for more information on the
# parameters for this command. If you use this command, set
# 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 [4]"
LM_AC_BRIGHTNESS_COMMAND="echo [10]"
NOLM_AC_BRIGHTNESS_COMMAND="echo [10]"
BRIGHTNESS_OUTPUT="/sys/class/backlight/acpi_video0/brightness"
dpms-standby.conf
Показать
# Configuration file for Laptop Mode Tools module dpms-standby.
#
# For more information, consult the laptop-mode.conf(8) manual page.
#
###############################################################################
# X display settings
# ------------------
#
# Using these settings, you can let laptop mode tools control the X display
# standby timeouts.
#
# This requires that you have installed the "xset" utility. It is part of the
# X.org server distribution and included in the package xorg-server-utils.
#
# The X settings are not automatically applied on login, and this is
# impossible fix for the user, since laptop mode tools must operate as root.
# The laptop-mode.conf(8) manual page section on the CONTROL_DPMS_STANDBY
# setting describes a workaround for this limitation.
#
#
# 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 DPMS standby settings for X displays?
#
# Set to 0 to disable
CONTROL_DPMS_STANDBY=1
#
# These settings specify the standby timeout for the X display,
# in seconds. The suspend and poweroff timeouts are somewhat
# larger values derived from these values.
#
BATT_DPMS_STANDBY=10
LM_AC_DPMS_STANDBY=3600
NOLM_AC_DPMS_STANDBY=1200
wireless-power.conf
Показать
# Configuration file for Laptop Mode Tools module wireless-power.
#
# For more information, consult the laptop-mode.conf(8) manual page.
#
###############################################################################
# Generic wireless power saving mode settings
# -------------------------------------------
#
# If you enable this setting, laptop mode tools will automatically set the
# power saving mode of wireless interfaces which support power saving using
# the iwconfig power on/off setting.
#
###############################################################################
# Enable debug mode for this module
# Set to 1 if you want to debug this module
DEBUG=0
# Control generic wireless interface power saving mode?
CONTROL_WIRELESS_POWER_SAVING="auto"
WIRELESS_AC_POWER_SAVING=0
WIRELESS_BATT_POWER_SAVING=1
bluetooth.conf
Показать
# Configuration file for Laptop Mode Tools module bluetooth.
#
# For more information, consult the laptop-mode.conf(8) manual page.
#
###############################################################################
# Bluetooth settings
# ------------------
#
# If you enable this module, laptop mode tools will enable/disable bluetooth
# depending on the power status of your laptop. Bluetooth uses a considerable
# amount of power (comparable to wireless networking), and disabling it is
# therefore a good idea when you are looking to improve your battery life.
#
###############################################################################
# Enable debug mode for this module
# Set to 1 if you want to debug this module
DEBUG=0
# Control bluetooth?
CONTROL_BLUETOOTH=1
# Enable bluetooth on battery
BATT_ENABLE_BLUETOOTH=0
# Enable bluetooth on AC
AC_ENABLE_BLUETOOTH=1
# Bluetooth interfaces to enable/disable
BLUETOOTH_INTERFACES="hci0"
ethernet.conf
Показать
# Configuration file for Laptop Mode Tools module ethernet.
#
# For more information, consult the laptop-mode.conf(8) manual page.
#
###############################################################################
# Ethernet power saving settings
# ------------------------------
#
# There are various ways to save power with ethernet. This section allows you
# to control the speed of your ethernet connection, and your wakeup-on-LAN
# settings. Both these things can have quite a power impact if you use Ethernet.
#
# Note: Changing ethernet device speed may require link up/down on some devices.
# This might lead to connection to be re-initialized
###############################################################################
# Enable debug mode for this module
# Set to 1 if you want to debug this module
DEBUG=0
# Control Ethernet settings?
CONTROL_ETHERNET="auto"
# Handle throttling of the ethernet deivce under specific circumstances
BATT_THROTTLE_ETHERNET=1
LM_AC_THROTTLE_ETHERNET=0
NOLM_AC_THROTTLE_ETHERNET=0
# Speed to throttle to when throttling is set
# Please use the desired throttle value as reported by ethtool and set it accordingly
# To get the speed capacity supported by your ethernet card, as user "root" run
# "ethtool eth0", where eth0 is your physical ethernet device.
# Example:
# Set speed to 100Mbps.
# THROTTLE_SPEED=100
#
# Throttle ethernet to the lowest available speed of the ethernet device
# THROTTLE_SPEED="slowest"
#
# Throttle ethernet to the fastest available speed of the ethernet device
# This can be helpful when you want to control the speed, even when on battery
# THROTTLE_SPEED="fastest"
#
# Note: If you don't know how to find the speed of your ethernet card, leave the
# following values as it is.
THROTTLE_SPEED="slowest"
# Disable wakeup-on-LAN? This will disable wakeup-on-LAN unconditionally,
# independent of battery power. It will save power while your laptop is turned
# off or in standby mode.
DISABLE_WAKEUP_ON_LAN=1
# A list of the ethernet devices that should be controlled.
ETHERNET_DEVICES="eth0"
# In practise, most of the times a user is on battery, she is using the wireless device
# Under such cases, you might want to disable your ethernet device completely, when
# on battery.
# If that is the case, set below setting to 1
DISABLE_ETHERNET_ON_BATTERY=0
battery-level-polling.conf
Показать
# Configuration file for Laptop Mode Tools module battery-level-polling.
#
# For more information, consult the laptop-mode.conf(8) manual page.
#
###############################################################################
# Battery level polling settings
# ------------------------------
#
# This module allows laptop mode to react to battery level changes, even if the
# battery does not send out frequent ACPI events for such battery level changes.
#
# Note that this does NOT make ACPI-only features work on non-ACPI hardware.
###############################################################################
# Enable debug mode for this module
# Set to 1 if you want to debug this module
DEBUG=0
#
# Enable this setting to enable battery level polling.
#
ENABLE_BATTERY_LEVEL_POLLING=0
# Blacklist this module's exectuion in flock
# This is a workaround to ensure that batter-polling-daemon does not acquire the lock
BLACKLIST_IN_FLOCK=1
lspci
Показать
00:01.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Wrestler [Radeon HD 6320]
00:01.1 Audio device: Advanced Micro Devices [AMD] nee ATI Wrestler HDMI Audio [Radeon HD 6250/6310]
00:04.0 PCI bridge: Advanced Micro Devices [AMD] Family 14h Processor Root Port
00:05.0 PCI bridge: Advanced Micro Devices [AMD] Family 14h Processor Root Port
00:11.0 SATA controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode]
00:12.0 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:12.2 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:13.0 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:13.2 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:14.0 SMBus: Advanced Micro Devices [AMD] nee ATI SBx00 SMBus Controller (rev 42)
00:14.2 Audio device: Advanced Micro Devices [AMD] nee ATI SBx00 Azalia (Intel HDA) (rev 40)
00:14.3 ISA bridge: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 LPC host controller (rev 40)
00:14.4 PCI bridge: Advanced Micro Devices [AMD] nee ATI SBx00 PCI to PCI Bridge (rev 40)
00:15.0 PCI bridge: Advanced Micro Devices [AMD] nee ATI SB700/SB800/SB900 PCI to PCI bridge (PCIE port 0)
00:15.2 PCI bridge: Advanced Micro Devices [AMD] nee ATI SB900 PCI to PCI bridge (PCIE port 2)
00:18.0 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 0 (rev 43)
00:18.1 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 1
00:18.2 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 2
00:18.3 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 3
00:18.4 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 4
00:18.5 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 6
00:18.6 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 5
00:18.7 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 7
01:00.0 Network controller: Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller (rev 01)
02:00.0 Ethernet controller: Atheros Communications Inc. AR8152 v2.0 Fast Ethernet (rev c1)
07:00.0 USB controller: ASMedia Technology Inc. ASM1042 SuperSpeed USB Host Controller
lsusb
Показать
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 002: ID 0458:003a KYE Systems Corp. (Mouse Systems) NetScroll+ Mini Traveler / Genius NetScroll 120
Bus 005 Device 003: ID 13d3:3315 IMC Networks Bluetooth module
Bus 004 Device 002: ID 04f2:b26f Chicony Electronics Co., Ltd
И, кстати!
# pacman -S acpi acpid acpitool
ошибка: цель не найдена: acpitool# modprobe eeepc_laptop
ERROR: could not insert 'eeepc_laptop': No such deviceЯ, впринципе, понял, что надо в ~/.xbindkeysrc прописать что-то типа
# Increase volume
"amixer set Master playback 1+"
m:0x0 + c:123
XF86AudioRaiseVolume
# Decrease volume
"amixer set Master playback 1-"
m:0x0 + c:122
XF86AudioLowerVolume
# Toggle mute
"amixer set Master toggle"
m:0x0 + c:121
XF86AudioMute
вот только у меня fn+F7 xev показывает
KeyRelease event, serial 46, synthetic NO, window 0x1a00001,
root 0x14e, subw 0x0, time 24845228, (258,502), root:(733,548),
state 0x0, keycode 252 (keysym 0x0, NoSymbol), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
и
# acpi_listen
PNP0C14:00 000000d2 00000000
video/brightnesszero BZRO 00000088 00000000 K
Как правильно dpms на fn+F7 прописать?
у меня asus eeepc 1215p fn+f7
#display off
"xset dpms force off"
m:0x0 + c:253
NoSymbol особо не заморачивался...