Power Management Systemd & ACPI

Hi,
I am having a lot of trouble configuring my power management. I basically want my monitor to go off  when I close my lid and disable suspend completely.
Since the time I have switched over to systemd, this has become a nuisance.
Following are my configuration files:
/etc/acpi/handler.sh
#!/bin/sh
# Default acpi script that takes an entry for all actions
# NOTE: This is a 2.6-centric script. If you use 2.4.x, you'll have to
# modify it to not use /sys
#minspeed=`cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq`
#maxspeed=`cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq`
#setspeed="/sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed"
#set $*
case "$1" in
button/power)
#echo "PowerButton pressed!">/dev/tty5
case "$2" in
PBTN|PWRF) logger "PowerButton pressed: $2" ; poweroff ;;
*) logger "ACPI action undefined: $2" ;;
esac
button/suspend)
# sudo pm-suspend
button/sleep)
case "$2" in
SLPB) echo -n mem >/sys/power/state ;;
*) logger "ACPI action undefined: $2" ;;
esac
ac_adapter)
case "$2" in
AC|ACAD|ADP0)
case "$4" in
00000000)
echo -n $minspeed >$setspeed
#/etc/laptop-mode/laptop-mode start
00000001)
echo -n $maxspeed >$setspeed
#/etc/laptop-mode/laptop-mode stop
esac
*) logger "ACPI action undefined: $2" ;;
esac
battery)
case "$2" in
BAT0)
case "$4" in
00000000) #echo "offline" >/dev/tty5
00000001) #echo "online" >/dev/tty5
esac
CPU0)
*) logger "ACPI action undefined: $2" ;;
esac
button/lid)
case $(cat /proc/acpi/button/lid/LID/state | awk '{print $2}') in
closed) xset dpms force off ;;
open) xset dpms force on ;;
esac
#echo "LID switched!">/dev/tty5
#logger "ACPI group/action undefined: $1 / $2"
esac
/etc/systemd/logind.conf:
[Login]
#NAutoVTs=6
#ReserveVT=6
#KillUserProcesses=no
#KillOnlyUsers=
#KillExcludeUsers=root
#Controllers=
#ResetControllers=cpu
#InhibitDelayMaxSec=5
HandlePowerKey=ignore
HandleSuspendKey=ignore
HandleHibernateKey=ignore
HandleLidSwitch=ignore
#PowerKeyIgnoreInhibited=no
#SuspendKeyIgnoreInhibited=no
#HibernateKeyIgnoreInhibited=no
#LidSwitchIgnoreInhibited=no
The following is very puzzling as it is a dmesg output after uninstalling pm-utils and disabling systemd-logind service, and systemd-suspend service. My system still wants to go to sleep when the sleep button is pressed and the log show messages from "PM:*" , whatever that is. I initially thought this was a pm-util message, but this persists even after uninstalling pm-utils. Please shed some light on this.
[ 59.777378] hid-generic 0003:0A5C:4502.0004: input,hidraw1: USB HID v1.11 Keyboard [Broadcom Corp] on usb-0000:00:1a.0-2.2/input0
[ 59.843893] usb 3-2.3: new full-speed USB device number 9 using uhci_hcd
[ 59.975457] input: Broadcom Corp as /devices/pci0000:00/0000:00:1a.0/usb3/3-2/3-2.3/3-2.3:1.0/input/input17
[ 59.975706] hid-generic 0003:0A5C:4503.0005: input,hidraw2: USB HID v1.11 Mouse [Broadcom Corp] on usb-0000:00:1a.0-2.3/input0
[ 243.521043] PM: Syncing filesystems ... done.
[ 243.934712] PM: Preparing system for mem sleep
[ 245.898047] Freezing user space processes ... (elapsed 0.01 seconds) done.
[ 245.910239] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.
[ 245.923674] PM: Entering mem sleep
[ 245.923700] Suspending console(s) (use no_console_suspend to debug)
[ 245.927021] sd 2:0:0:0: [sda] Synchronizing SCSI cache
[ 245.927282] sd 2:0:0:0: [sda] Stopping disk
[ 245.965636] ACPI handle has no context!
[ 246.390201] PM: suspend of devices complete after 465.500 msecs
[ 246.391048] PM: late suspend of devices complete after 0.839 msecs
[ 246.433291] ehci_hcd 0000:00:1d.7: wake-up capability enabled by ACPI
[ 246.446362] uhci_hcd 0000:00:1d.2: wake-up capability enabled by ACPI
[ 246.449432] uhci_hcd 0000:00:1d.1: wake-up capability enabled by ACPI
[ 246.452498] uhci_hcd 0000:00:1d.0: wake-up capability enabled by ACPI
[ 246.455804] ehci_hcd 0000:00:1a.7: wake-up capability enabled by ACPI
[ 246.469627] uhci_hcd 0000:00:1a.1: wake-up capability enabled by ACPI
[ 246.472608] uhci_hcd 0000:00:1a.0: wake-up capability enabled by ACPI

This is my new handler.sh:
#!/bin/sh
# Default acpi script that takes an entry for all actions
# NOTE: This is a 2.6-centric script. If you use 2.4.x, you'll have to
# modify it to not use /sys
#minspeed=`cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq`
#maxspeed=`cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq`
#setspeed="/sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed"
#set $*
case "$1" in
button/power)
#echo "PowerButton pressed!">/dev/tty5
case "$2" in
PBTN|PWRF) logger "PowerButton pressed: $2" ; poweroff ;;
*) logger "ACPI action undefined: $2" ;;
esac
# button/suspend)
## sudo pm-suspend
# button/sleep)
# case "$2" in
## SLPB) echo -n mem >/sys/power/state ;;
# *) logger "ACPI action undefined: $2" ;;
# esac
ac_adapter)
case "$2" in
AC|ACAD|ADP0)
case "$4" in
00000000)
echo -n $minspeed >$setspeed
#/etc/laptop-mode/laptop-mode start
00000001)
echo -n $maxspeed >$setspeed
#/etc/laptop-mode/laptop-mode stop
esac
*) logger "ACPI action undefined: $2" ;;
esac
battery)
case "$2" in
BAT0)
case "$4" in
00000000) #echo "offline" >/dev/tty5
00000001) #echo "online" >/dev/tty5
esac
CPU0)
*) logger "ACPI action undefined: $2" ;;
esac
button/lid)
case $(cat /proc/acpi/button/lid/LID/state | awk '{print $2}') in
closed) xset dpms force off ;;
open) xset dpms force on ;;
esac
#echo "LID switched!">/dev/tty5
logger "ACPI group/action undefined: $1 / $2"
esac
Even with the relevant lines commented out and a system restart, my system still wants to suspend
Its become a mystery now. According to me I don't have anything other thatn systemd and acpid which cause automatic standby, but somehow there's some 3rd party involved.
With regards to the lid switch, I will try to put what acpi_listen gives as the acpi call.
And I already tried toggling the LidSwitchIgnoreInhibited option. Not working.
PS: I just temporarily disabled and stopped the logind service to check what is causing this mysterious suspend.
Edit:
This is my acpid log(tail part):
Feb 3 21:02:40 localhost acpid: client connected from 492[0:0]
Feb 3 21:02:40 localhost acpid: 1 client rule loaded
Feb 3 21:02:55 localhost acpid: client 492[0:0] has disconnected
Feb 3 21:02:55 localhost acpid: client 492[0:0] has disconnected
Feb 3 21:02:59 localhost acpid: client connected from 492[0:0]
Feb 3 21:02:59 localhost acpid: 1 client rule loaded
Feb 3 21:03:01 localhost acpid: client connected from 492[0:0]
Feb 3 21:03:01 localhost acpid: 1 client rule loaded
Feb 3 21:03:18 localhost acpid: client 492[0:0] has disconnected
Feb 3 21:03:18 localhost acpid: client 492[0:0] has disconnected
Feb 3 21:03:19 localhost acpid: client connected from 492[0:0]
Feb 3 21:03:19 localhost acpid: 1 client rule loaded
Feb 3 21:03:20 localhost acpid: client connected from 492[0:0]
Feb 3 21:03:20 localhost acpid: 1 client rule loaded
I dunno if this behaviour is correct. It seems like it is just connecting and disconnecting. No events like lid close, suspend are being logged.
Last edited by theta (2013-02-03 15:35:41)

Similar Messages

  • [SOLVED] Lid doesn't suspend anymore with xfce power manager

    The options "When laptop lid is closed" are set to suspend (and used to work), but still, when I close my lid, nothing happens. Using the logout dialog or the suspend button my keyboard works. Is it a problem with xfce-power-manager, or ACPI not registering the lid event anymore? Any idea how to fix that?
    [edit]
    I solved that problem by removing ~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml, killing the power manager and reloging in my session to flush the settings. Then I reconfigured the lid closed action to suspend (and everything else to my liking).
    Last edited by benob (2009-07-08 17:36:47)

    Sorry to bother you again, but for some reason it doesn't work anymore...
    Somehow it can't lock the GNOME session, because when I enter the above line from /etc/acpi/handler.sh manually as root in TTY1, I get this error:
    ** Message: Failed to get session bus: Befehlszeile »dbus-launch --autolaunch=c9375f4ea0008d92177b28db000009ae --binary-syntax --close-stderr« brach mit von Null verschiedenem Beenden-Status 1 ab: No protocol specified\nAutolaunch error: X11 initialization failed.\n
    If I enter this command inside GNOME, everything works just fine, it locks the screen and suspends.
    EDIT:
    Setting the XAUTHORITY environment variable properly did the trick. Therefore, I borrowed some lines from here: https://wiki.archlinux.org/index.php/Su … losing_lid
    Thread marked as SOLVED again.
    Last edited by perpetrator (2011-10-17 14:25:11)

  • How does power management work under Arch?

    So, my Arch install doesn't have Suspend to RAM working. While trying to fix it, I was trying to understand the application chain that deals with power events such as lid close. I have read
    https://wiki.archlinux.org/index.php/Acpid
    https://wiki.archlinux.org/index.php/Laptop_Mode_Tools
    https://wiki.archlinux.org/index.php/Po … CPI_events
    Now, I have XFCE4 with its default power manager installed. I'm quite confused as to what it is that I need along with that to get things to work.
    In short, which of the following configurations is *correct*, in the sense that it will work without manual configuration out of the box, or with minimal configuration, and has a graphical front-end controllable from XFCE?
    - xfce4-power-manager
    - systemd -> xfce4-power-manager
    - systemd -> acpid
    - systemd -> acpid -> xfce4-power-manager
    Also, if I want to use laptop-tools, then does this change?
    Lastly, how do I diagnose the suspend to RAM issue? How do I check whether suspend or resume from suspend is failing?

    ashrj wrote:So, my Arch install doesn't have Suspend to RAM working. While trying to fix it, I was trying to understand the application chain that deals with power events such as lid close. I have read
    Lastly, how do I diagnose the suspend to RAM issue? How do I check whether suspend or resume from suspend is failing?
    If you are using Xfce you don't need acpid and instead of laptop-tools try TLP which enabled successful suspend to ram on an older laptop I had, with Xfce on it.

  • Power-management: a systemd-aware pm-utils replacement (TLP NIH)

    I'm not a big fan of complicated power management systems like TLP or laptop-mode-tools. IMO, they tend to override too many things at once (like TLP's rfkill state auto-save) and require careful reading and introspection to determine what exactly do you need. Or you may just say that I've got a NIH syndrome.
    As a result, I've been using pm-powersave (part of pm-utils) with custom hooks to manage various kernel tunables. With systemd advent, pm-suspend / pm-hibernate turned useless, and I've felt that it would be good to split pm-powersave into a separate entity and rewrite it to make use of systemd.
    Release early, release often... So here it is, on github and AUR.
    It consists of:
    a bunch of shell-written hooks, ran on battery events via udev rule -> systemd target -> systemd templated unit -> shell-written wrapper
    a bunch of other udev rules, configuring per-device things like PCI runtime power management
    Current hooks include:
    HDD standby timeout and APM via hdparm
    filesystem readahead via blockdev
    cpufreq governor via sysfs interface (works with intel_pstate as well as acpi_cpufreq: tries conservative/ondemand, then falls back to powersave/performance)
    x86 performance bias via cpupower
    journal commit time on ext2/3/4 filesystems via mount -o remount,commit=%d
    module remove/insert (by default, uvcvideo is removed, override this if you use webcam while on battery)
    WLAN power saving via iw dev %s set power_save
    PCI Express ASPM via sysfs interface (make sure to pass pcie_aspm=force to your kernel cmdline if you have a broken ACPI implementation (you probably do))
    SATA ALPM via sysfs interface
    sysctl tunables (by default, vm.laptop_mode and xfs tunables are touched)
    Current udev rules include:
    PCI and USB runtime power management via /sys/bus/{pci,usb}/devices/**/power/control
    USB autosuspend via /sys/bus/usb/devices/**/power/autosuspend, the default timeout is 150 seconds
    Wake-on-LAN via ethtool (for now, WOL is unconditionally disabled, you may want to override this). I'm planning to make this "disable when on battery" at some point.
    The default settings are rather prototypish, so I'm ready for suggestions.
    Last edited by intelfx (2014-06-07 14:17:08)

    mordoc, what exactly is the problem your having?
    Since I made the original post I have actually succeeded in creating the setup I described, i.e. I have removed laptop-mode-tools and have pm-utils do all suspend, hibernate and power management functions using acpid.  This required adding a very simple custom hook to pm-powersave to deal with all the power-saving functions of laptop-mode-tools that pm-powersave does not (yet) replace OOTB.

  • [Solved] Systemd - Overrides settings of Gnome-Power-Manager?

    Hello!
    I've always used the following to lines to tell Gnome-Power-Manager not to suspend my laptop, when the lid is closed:
    org.gnome.settings-daemon.plugins.power lid-close-ac-action 'blank'
    org.gnome.settings-daemon.plugins.power lid-close-battery-action 'blank'
    I remember a huge (and regular...) discussion around Gnome 3, because the developers resisted to re-implemented a button for this in the UI of Gnome3. Well, the two lines above done their job all the time. Since the last update of Systemd this seems to be ignored:
    Oct 09 01:19:58 cupcake systemd-logind[273]: Lid closed.
    Oct 09 01:19:58 cupcake systemd-logind[273]: Suspending...
    Oct 09 01:19:58 cupcake systemd[1]: Starting Sleep.
    Oct 09 01:19:58 cupcake systemd[1]: Reached target Sleep.
    Oct 09 01:19:58 cupcake systemd[1]: Starting Suspend...
    Is anyone other affected? Looks like a real problem for me. If I close the lid I want to close my lid, nothing more an especially not suspend
    /var/log/pacman.log
    [2012-10-08 21:59] upgraded systemd (193-1 -> 194-1)
    [2012-10-08 21:59] upgraded systemd-sysvcompat (193-1 -> 194-1)
    Last edited by hoschi (2012-10-08 23:53:06)

    pablox wrote:
    hoschi wrote:
    Nope. Found it five minutes ago. My shame! Thank you
    https://wiki.archlinux.org/index.php/Sy … th_systemd
    This is driving me crazy. I've read the article, but I still don't understand what I'm supposed to do. I have tried changing values from logind.conf *IgnoreInhibited to yes to no, but the laptop still suspend when the lid is closed .
    All you need to do is set HandleLidSwitch=ignore in logind.conf, this will make systemd ignore the lid switch completely, and leave gnome to handle it. Its pretty self explanatory... You can also set the other similar options to ignore, like HandlePowerKey, HandleSuspendKey, HandleHibernateKey if you want only gnome to handle them.
    Last edited by bwat47 (2012-10-10 22:02:54)

  • Xfce4-power-manager and laptop-mode-tools + backlight problems.

    Cross posted from here: https://bbs.archlinux.org/viewtopic.php?id=127992
    I don't know which forum it belongs to, so maybe a mod can close the one in the wrong forum.
    Out of curiosity, do these two tools conflict with each other? There seems to be some features that do the same thing, ie harddrive spin down time, but I'm not sure if these two will try to kill each other trying to configure the same power settings. If they do conflict, how could I go about disabling the conflicting parts (on either)? laptop-mode-tools claims it needs acpid "for ACPI support", however, acpid seems to be grabbing the standby event and throwing the laptop in standby despite the standby button bound to do nothing in xfce-power-manager. If I take out acpid, does that mean laptop-mode will no longer detect acpi events such as connecting/disconnecting AC power and thus not change modes when its plugged in?
    Another problem I've had after installing xfce4-power-manager is that when I use the brightness hotkeys the backlight gets stuck and starts flashing, locking up the system until I force shutdown. However, I can use the brightness plugin without trouble at all. What's causing the power manager to screw up setting the brightness since it clearly seems to work otherwise.

    It is easier to close this one and move the other thread over here. Just continue there.
    BTW better use the Report button when you want to have a thread of yours moved to another forum. That way it is guaranteed a mod will see this in time. And you never need to cross post.

  • Where can I find XP x64 drivers for Portege R500 - hotkey / power management?

    Where can I find downloads that will enable power management or hotkey support for my Portege R500?
    I have already installed drivers for everything except fingerprint reader (don't want), tpm (really don't want), and hdd motion sensor (tos620a) (not bothered about right now). Most drivers are latest from original vendor websites, or, failing those, from Toshiba's Vista 64-bit download areas.
    Everything else generally works: wifi, graphics & chipset, sound, lan, bluetooth stack, cardbus, card reader, etc.
    However, having done this, the following issues remain:
    FN hotkeys don't work for suspend to ram, suspend to disk, *screen* *brightness* - essential to extending lifetime; FN hotkeys for numeric/direction pad, external monitor toggle *do* work
    Dedicated backlight toggle button doesn't do anything
    However, in order to get battery lifetime beyond ~2.5 hours and closer to the rated 7.1 hours, I'll need to turn some things down / off occasionally. What software can help and where can I get it, such that it works on Windows XP x64 edition?
    Note:
    I have tried the xp 32-bit packages that Toshiba supplies, they don't appear to work on x64. The 'ctrls' package requires 'cmod', but 'cmod' gives this error:
    TOSHIBA Common Modules Setup
    Not an ACPI machine. Cannot install TOSHIBA ACPI Logical Device.
    OK
    I have tried the xp 32-bit package called 'pwrsav'; it installs a bad help link to my start menu, and adds a couple of exes, tpsmain and tpsoddctl, to my auto-runs. These 32-bit executables quit immediately after execution.
    I would have tried to install Toshiba's Vista 64-bit packages for hotkeys / common modules / power management, but the only one of the three I can find via toshiba.co.uk are common modules, and unfortunately that zip file only contains .inf, .cat and .sys files, no installer.
    Motivation:
    I'm using a fresh install both because the default Vista install is unusable (900MB memory used on a fresh boot desktop, drive split into multiple partitions, trial, adware and broken software installed left and right)
    I'm using x64 because I'm a software engineer whose next product needs to work on x64, and this new laptop was a likely first candidate

    You didn't link to the tool you found. If you meant this tool then, you should be aware it doesn't work on x64 on R500:
    Display Tuner
    Cannot detect monitor!
    Your monitor does not support DDC control or your videocard is not supported by Display Tuner.
    You cannot use Display Tuner in this configuration.
    OK
    It would be unlikely to work in any case, as display driver brightness isn't normally the same as the screen's brightness (hence power usage).
    Maybe it's a communication issue, but I *have* found +original+ drivers for all essential components, just not for things like screen brightness - something that, to be honest, I more expect to be handled in firmware / bios, as that's been my experience on previous laptops, and is more reliable in any case, considering I could be running an oddball Linux or a completely different OS, or a CPU-intensive high-priority task.
    The R500 series seem to be scrimping on the firmware and expecting OS utilities and dedicate yet another system tray icon to take over that job.
    It does look like x64 is a no-go for mobile use on this machine, due to lack of firmware power management, which is a great pity as the point of such a light machine is mobility. I'll wipe it and install XP 32-bit and see how that goes.

  • How do I TURN OFF power management???

    My computer still keeps going to sleep and the only way to wake it up is to hit the reset button.  I tried enabling the keyboard-wake-up to wake it up, but then it started rebooting itself spontaneously every 15 minutes -- without any warning from Windows.  It doesn't matter whether I select S1/POS or S3/STR mode -- it does the same thing every time.  I don't want S1 or S3 power management.  I want to TURN OFF POWER MANAGEMENT COMPLETELY!  I only want Windows to turn off the monitor.  The BIOS should do nothing!
    How do I accomplish this??????????
    BIOS v1.3
    NEO2-LS
    Quickboot - disabled
    IDE Busmaster - disabled
    ATA mode - native
    ATA config - P-ATA only
    Performance mode - slow
    dynamic overclocking - disabled
    S.M.A.R.T. for hd enabled
    Power Supply - @Power EP43057 (430W)
    HD Western Digital UATA WD800JB
    video card - MSI FX5600TD128
    512MB Elixir 400 MHz DDR Ram
    Lite-On DVDROM
    Pentium 4 2.6GHz HT 800MHz

    Quote
    My computer still keeps going to sleep and the only way to wake it up is to hit the reset button
    This is strange - my understanding is you would usually use the Power button to wake the suspended PC...
    Could what you are experiencing be more of a shutdown or instability?
    Is it due to BIOS setting or Windows? Here are some possibilities
    1. What is your selected Power Scheme? Are your options for Turn off hard disks, System standby & System hibernates set to Never?
    2. These BIOS settings work fine for me ...
    ACPI Standby State : Auto
    Power Management/APM : Enabled
    Suspend Time Out : Disabled
    Set Monitor Events
    FDC/LPT/COM Ports : Monitor
    Primary Master IDE : Monitor
    Primary Slave IDE : Ignore
    Secondary Master IDE : Ignore
    Secondary Slave IDE : Ignore
    Set WakeUp Events
    Resume on PME : Disabled
    Resume on RTC Alarm : Disabled
    Keyboard PowerOn Function : Disabled
    Mouse PowerOn Function : Disabled
    3. Does your keyboard have any of those quick buttons for Power / Sleep / Wake ? Could any of them be stuck? (Mine has these in a most inconvenient place - between Delete/End/PgDn and arrow keys, so I sometimes accidentally pressed them)

  • Power Management

    OK, So I dont really know anything about Power Management, as ive never really cared.
    But now that ive been keeping my system on all the time, id like some help getting Standby (sleep) mode working.
    If I understand it, this either uses APM or ACPI, its a desktop system, a year old. Which would it use? When I was recompiling my kernel, I noticed APM was enabled, but not ACPI.
    Anyway, When pressing the Power button in Windows, it puts the computer into Standby mode. How would I do set this up in Arch?
    Also, when powering down, my computer doesnt actually turn itself off. I tried "apm=power-off" in Lilo, from another thread, but it didn't work (just didn't turn off). Actually, I may not have set it up right.
    I already have: append="hdd=ide-scsi" , in LILO, so im not sure if I add the line after "hdd=ide-scsi", thats what I did though.
    Any help would be appreciated. If its not possible to have it standby on pressing the power button, I could set it up using the Xscreensaver Daemon. That seems to have an option for automatic standby.

    sud_crow wrote:
    Hi,
    just a thought:
    # CONFIG_ACPI is not set
    CONFIG_APM=y
    # CONFIG_APM_IGNORE_USER_SUSPEND is not set
    # CONFIG_APM_DO_ENABLE is not set
    # CONFIG_APM_CPU_IDLE is not set
    # CONFIG_APM_DISPLAY_BLANK is not set
    # CONFIG_APM_RTC_IS_GMT is not set
    # CONFIG_APM_ALLOW_INTS is not set
    # CONFIG_APM_REAL_MODE_POWER_OFF is not set
    the "is not set" thing, means (at least is what i think) you didnt compiled the kernel with that niether with a module,
    right! if you look at .config by hand ... better use
    make menuconfig
    #or
    make xconfig
    to configure your kernel, because then you dont have to wonder for funny "is not set" behind out-commented lines
    sud_crow wrote: for what i know, to turn your PC off with an ATX and a ACPI motherboard you need to have the "CONFIG_ACPI" ...
    Kernel-docs: ACPI wrote:
    CONFIG_ACPI:
    ACPI/OSPM support for Linux is currently under development. As such,
    this support is preliminary and EXPERIMENTAL.  Configuring ACPI
    support enables kernel interfaces that allow higher level software
    (OSPM) to manipulate ACPI defined hardware and software interfaces,
    including the evaluation of ACPI control methods.  If unsure, choose
    N here.  Note, this option will enlarge your kernel by about 120K.
    This support requires an ACPI compliant platform (hardware/firmware).
    If both ACPI and Advanced Power Management (APM) support are
    configured, whichever is loaded first shall be used.
    -> it is generally a bad idea to include ACPI and APM both in the kernel, because you then cannot decide whichone is used and which not ...
    sud_crow wrote:... and the "CONFIG_APM_REAL_MODE_POWER_OFF" compiled in the kernel or as a module, also i set the CPU_IDLE (powersaving) and the DISPLAY_BLANK, they are both usufull, i think you should read the ´help´ to see  if you need the others.
    ==> here the docs for these "additionals" for APM :
    Kernel-docs wrote:
    CONFIG_APM_REAL_MODE_POWER_OFF:
    Use real mode APM BIOS calls to switch off the computer. This is
    a work-around for a number of buggy BIOSes. Switch this option on if
    your computer crashes instead of powering off properly.
    Kernel-docs wrote:
    CONFIG_APM_CPU_IDLE:
    Enable calls to APM CPU Idle/CPU Busy inside the kernel's idle loop.
    On some machines, this can activate improved power savings, such as
    a slowed CPU clock rate, when the machine is idle. These idle calls
    are made after the idle loop has run for some length of time (e.g.,
    333 mS). On some machines, this will cause a hang at boot time or
    whenever the CPU becomes idle. (On machines with more than one CPU,
    this option does nothing.)
    Kernel-docs wrote:
    CONFIG_APM_DISPLAY_BLANK:
    Enable console blanking using the APM. Some laptops can use this to
    turn off the LCD backlight when the screen blanker of the Linux
    virtual console blanks the screen. Note that this is only used by
    the virtual console screen blanker, and won't turn off the backlight
    when using the X Window system. This also doesn't have anything to
    do with your VESA-compliant power-saving monitor. Further, this
    option doesn't work for all laptops -- it might not turn off your
    backlight at all, or it might print a lot of errors to the console,
    especially if you are using gpm.
    actually APM should work without --- except you are a special case with a funny bios or something else funny ... then you should consider activating them, but gernerally you dont need them

  • Xfce4-power-manager does not start, but after relogin - works

    Hi all.
    When I login after system start, xfce4-power-manager does not start and systemtray icon doesn't appear. But after relogin (not restart), the systemtray icon of xfce4-power-manager appears and power manager itself works correctly (if I don't relogin, notebook will shutdown after 10 minutes of downtime - that rule doesn't exist in xfce4-power-manager settings).
    Diff between two logs (before relogin and after, xfce4-power-manager --debug command)
    diff log_1 log_2
    35c35,36
    < TRACE[xfpm-battery.c:286] xfpm_battery_refresh_icon(): Battery state 0
    > TRACE[xfpm-battery.c:150] xfpm_battery_refresh_visible(): visible=TRUE: ((XfpmShowIcon) SHOW_ICON_WHEN_BATTERY_PRESENT)
    > TRACE[xfpm-battery.c:286] xfpm_battery_refresh_icon(): Battery state 4
    51d51
    < TRACE[xfpm-polkit.c:238] xfpm_polkit_free_data(): Destroying Polkit data
    System
    Linux gready 3.14.1-1-ARCH #1 SMP PREEMPT Mon Apr 14 20:40:47 CEST 2014 x86_64 GNU/Linux
    systemd 212-3
    xfce4-power-manager 1.2.0-6
    That bug start happening after one of last week updates. I don't have a package cache.
    Can anyone help me?
    p.s. sorry for a bad English.

    Yes, i'm actually running xfce4 (all other things from xfce4 group are installed).
    It starts from a login manager named LightDM.
    AcpiD installed as a dependency.
    logind.conf
    # This file is part of systemd.
    # systemd is free software; you can redistribute it and/or modify it
    # under the terms of the GNU Lesser General Public License as published by
    # the Free Software Foundation; either version 2.1 of the License, or
    # (at your option) any later version.
    # See logind.conf(5) for details
    [Login]
    #NAutoVTs=6
    #ReserveVT=6
    #KillUserProcesses=no
    #KillOnlyUsers=
    #KillExcludeUsers=root
    #InhibitDelayMaxSec=5
    HandlePowerKey=ignore
    HandleSuspendKey=ignore
    HandleHibernateKey=ignore
    HandleLidSwitch=ignore
    #PowerKeyIgnoreInhibited=no
    #SuspendKeyIgnoreInhibited=no
    #HibernateKeyIgnoreInhibited=no
    #LidSwitchIgnoreInhibited=yes
    #IdleAction=ignore
    #IdleActionSec=30min
    I turned off key handlers because I truly HATE when I press power button and a notebook doing shutdown after that.
    Last edited by theperfectblance (2014-04-17 06:57:32)

  • Power managament / Graphical Login Manager / ...

    Hi all,
    I'm new to arch, coming from ubuntu (which is a noob distro compared to this ).
    I have several questions:
    I'm running arch (with fluxbox)  on a laptop and I wanted to place a wmpower  thingy in my slit.
    Install was succesfull but when I ran the program, I got a message:
    Cpu frequency scaling is not available
    No power management subsystem detected
    wmpower: No power management support...
    I searched forums, installed acpi (pacman -s acpi ), put acpid in my daemon list but when I ran wmpower again cpu frequency is available but I still get this error.
    No power management subsystem detected
    wmpower: No power management support...
    What else should I install?
    Other question:
    How can I install a graphical login manager, and when I'm logged in,  fluxbox must start ( startx has to be executed automatically).
    Last question: Which file manager should I use, I find rox a bit simple imo, and konqueror is to much for me
    Thx in advance
    Greetz Daan

    Hi Daan,
    Please see the wiki page regarding SpeedStep: http://wiki.archlinux.org/index.php/SpeedStep
    There are links for AMD based systems on this page as well, but only the necessary modules differ from this explanation.
    Briefly: Load the correct modules (add them to the modules array in /etc/rc.conf) for your CPU and install (and add it to the daemon section in /etc/rc.conf) cpufreq/another daemon to administer frequency scaling.
    nice regards

  • Satellite A135-SP4088: Need XP drivers for power management and Hotkey utility

    Hello
    I couldn't find drivers for the toshiba A135-SP4088, we bought 3 of them for the office and it's almost impossible to use with vista, so we go to XP SP2, and manage to get almost all of the drivers from other models, but i cannot find 2 utilities that work with this machine, they are:
    Toshiba Power Management (the bulb in the task bar, remember?) :D
    Hotkey Utility (so I can change Screen brightness, and go to hibernation (Fn+F4)
    I have al the rest working, quite nicely but these two are a real problem, none of the ones I tested worked, some even crash the XP and have to go back to a previous restore point.
    also, I didn't install any ACPI drivers, are they required?, which ones show I look for? since the model doesn't exist in csd.toshiba.com site.
    Now, How one of the greatest notebooks manufacturers in the world can build such a nice computer without making drivers for the most widely used operating system?, can anyone explain me this because i sincerely don't understand it.
    thanks a lot!.
    Indkt.

    Hi
    The Satellite A135-SP4088 seems to be designed for the US market so you should use the Toshiba US driver page for the driver download!!!!
    But why you need the Toshiba power saver for XP? The XP supports an own power options and also the hibernation option. This option must be enabled in the control panel -> power options -> hibernate tab
    > didn't install any ACPI drivers, are they required
    Toshiba page does not provide any special ACPI drivers. The OS uses own Microsoft drivers and the installation of any 3rd applications is not necessary!!!!
    regards

  • How do I install a patch? (xfce4-power-manager tray icon patch)

    Sorry if this is a stupid question or if the answer can be found elsewhere, but I googled and searched the forums and couldn't find any answers.
    xfce4-power-manager had for the longest time had a tray icon showing battery status, and they recently decided to remove it in favor of a xfce-panel only icon. Bringing it back was requested on bugzilla and a patch was released.
    But I really have no idea what to do with it. Can someone shine some light on this for me?
    Last edited by ralph_13 (2015-03-13 00:17:15)

    Putting prepare before the other functions didn't seem to work. Below is the full makepkg log:
    [ralph@AnarchBox xfce4-power-manager-p]$ makepkg
    ==> Making package: xfce4-power-manager 1.4.3-1 (Mon Mar 16 15:36:12 BRT 2015)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> Retrieving sources...
    -> Downloading xfce4-power-manager-1.4.3.tar.bz2...
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    100 368 100 368 0 0 559 0 --:--:-- --:--:-- --:--:-- 560
    100 366 100 366 0 0 361 0 0:00:01 0:00:01 --:--:-- 98000
    100 1112k 100 1112k 0 0 31763 0 0:00:35 0:00:35 --:--:-- 23720
    -> Downloading attachment.cgi?id=5979...
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    100 24765 100 24765 0 0 14505 0 0:00:01 0:00:01 --:--:-- 14499
    ==> Validating source files with sha256sums...
    xfce4-power-manager-1.4.3.tar.bz2 ... Passed
    attachment.cgi?id=5979 ... Passed
    ==> Extracting sources...
    -> Extracting xfce4-power-manager-1.4.3.tar.bz2 with bsdtar
    ==> Starting prepare()...
    patching file data/interfaces/xfpm-settings.ui
    patching file panel-plugins/power-manager-plugin/power-manager-button.c
    patching file panel-plugins/power-manager-plugin/power-manager-button.h
    patching file settings/xfpm-settings.c
    patching file src/Makefile.am
    patching file src/xfpm-manager.c
    Hunk #6 succeeded at 707 (offset 3 lines).
    Hunk #7 succeeded at 928 (offset 3 lines).
    patching file src/xfpm-power.c
    ==> Starting build()...
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking whether make supports nested variables... yes
    checking whether UID '1000' is supported by ustar format... yes
    checking whether GID '1000' is supported by ustar format... yes
    checking how to create a ustar tar archive... gnutar
    checking whether to enable maintainer-specific portions of Makefiles... no
    checking whether make supports nested variables... (cached) yes
    checking for style of include used by make... GNU
    checking for gcc... gcc
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables...
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking whether gcc understands -c and -o together... yes
    checking dependency style of gcc... gcc3
    checking how to run the C preprocessor... gcc -E
    checking for grep that handles long lines and -e... /usr/bin/grep
    checking for egrep... /usr/bin/grep -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking minix/config.h usability... no
    checking minix/config.h presence... no
    checking for minix/config.h... no
    checking whether it is safe to define __EXTENSIONS__... yes
    checking for gcc... (cached) gcc
    checking whether we are using the GNU C compiler... (cached) yes
    checking whether gcc accepts -g... (cached) yes
    checking for gcc option to accept ISO C89... (cached) none needed
    checking whether gcc understands -c and -o together... (cached) yes
    checking dependency style of gcc... (cached) gcc3
    checking build system type... x86_64-unknown-linux-gnu
    checking host system type... x86_64-unknown-linux-gnu
    checking for a sed that does not truncate output... /usr/bin/sed
    checking for fgrep... /usr/bin/grep -F
    checking how to print strings... printf
    checking for ld used by gcc... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking whether NLS is requested... yes
    checking for intltool >= 0.31... 0.50.2 found
    checking for intltool-update... /usr/bin/intltool-update
    checking for intltool-merge... /usr/bin/intltool-merge
    checking for intltool-extract... /usr/bin/intltool-extract
    checking for xgettext... /usr/bin/xgettext
    checking for msgmerge... /usr/bin/msgmerge
    checking for msgfmt... /usr/bin/msgfmt
    checking for gmsgfmt... /usr/bin/msgfmt
    checking for perl... /usr/bin/perl
    checking for perl >= 5.8.1... 5.20.2
    checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
    checking the name lister (/usr/bin/nm -B) interface... BSD nm
    checking whether ln -s works... yes
    checking the maximum length of command line arguments... 1572864
    checking whether the shell understands some XSI constructs... yes
    checking whether the shell understands "+="... yes
    checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
    checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
    checking for /usr/bin/ld option to reload object files... -r
    checking for objdump... objdump
    checking how to recognize dependent libraries... pass_all
    checking for dlltool... no
    checking how to associate runtime and link libraries... printf %s\n
    checking for ar... ar
    checking for archiver @FILE support... @
    checking for strip... strip
    checking for ranlib... ranlib
    checking command to parse /usr/bin/nm -B output from gcc object... ok
    checking for sysroot... no
    checking for mt... no
    checking if : is a manifest tool... no
    checking for dlfcn.h... yes
    checking for objdir... .libs
    checking if gcc supports -fno-rtti -fno-exceptions... no
    checking for gcc option to produce PIC... -fPIC -DPIC
    checking if gcc PIC flag -fPIC -DPIC works... yes
    checking if gcc static flag -static works... yes
    checking if gcc supports -c -o file.o... yes
    checking if gcc supports -c -o file.o... (cached) yes
    checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking whether -lc should be explicitly linked in... no
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... no
    checking for ANSI C header files... (cached) yes
    checking errno.h usability... yes
    checking errno.h presence... yes
    checking for errno.h... yes
    checking signal.h usability... yes
    checking signal.h presence... yes
    checking for signal.h... yes
    checking stddef.h usability... yes
    checking stddef.h presence... yes
    checking for stddef.h... yes
    checking for sys/types.h... (cached) yes
    checking for memory.h... (cached) yes
    checking for stdlib.h... (cached) yes
    checking for string.h... (cached) yes
    checking for sys/stat.h... (cached) yes
    checking sys/user.h usability... yes
    checking sys/user.h presence... yes
    checking for sys/user.h... yes
    checking sys/wait.h usability... yes
    checking sys/wait.h presence... yes
    checking for sys/wait.h... yes
    checking time.h usability... yes
    checking time.h presence... yes
    checking for time.h... yes
    checking math.h usability... yes
    checking math.h presence... yes
    checking for math.h... yes
    checking for unistd.h... (cached) yes
    checking sys/resource.h usability... yes
    checking sys/resource.h presence... yes
    checking for sys/resource.h... yes
    checking sys/socket.h usability... yes
    checking sys/socket.h presence... yes
    checking for sys/socket.h... yes
    checking sys/sysctl.h usability... yes
    checking sys/sysctl.h presence... yes
    checking for sys/sysctl.h... yes
    checking fcntl.h usability... yes
    checking fcntl.h presence... yes
    checking for fcntl.h... yes
    checking sys/param.h usability... yes
    checking sys/param.h presence... yes
    checking for sys/param.h... yes
    checking procfs.h usability... no
    checking procfs.h presence... no
    checking for procfs.h... no
    checking for getpwuid... yes
    checking for setsid... yes
    checking for sigaction... yes
    checking for round in -lm... yes
    checking locale.h usability... yes
    checking locale.h presence... yes
    checking for locale.h... yes
    checking for LC_MESSAGES... yes
    checking libintl.h usability... yes
    checking libintl.h presence... yes
    checking for libintl.h... yes
    checking for ngettext in libc... yes
    checking for dgettext in libc... yes
    checking for bind_textdomain_codeset... yes
    checking for msgfmt... (cached) /usr/bin/msgfmt
    checking for dcgettext... yes
    checking if msgfmt accepts -c... yes
    checking for gmsgfmt... (cached) /usr/bin/msgfmt
    checking for xgettext... (cached) /usr/bin/xgettext
    checking for catalogs to be installed... ar ast bg ca cs da de el en_AU en_GB es et eu fi fr gl he hr hu id is it ja kk ko lt ms nb nl nn oc pa pl pt_BR pt ro ru si sk sl sr sv te th tr ug uk ur_PK ur vi zh_CN zh_HK zh_TW
    checking for bind_textdomain_codeset... (cached) yes
    checking for locales directory... ${datarootdir}/locale
    checking for additional xgettext flags... --keyword=Q_ --from-code=UTF-8
    checking for pkg-config... /usr/bin/pkg-config
    checking pkg-config is at least version 0.9.0... yes
    checking for gtk+-2.0 >= 2.24.0... 2.24.27
    checking GTK_CFLAGS... -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz
    checking GTK_LIBS... -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype
    checking for pkg-config... (cached) /usr/bin/pkg-config
    checking pkg-config is at least version 0.9.0... yes
    checking for glib-2.0 >= 2.30.0... 2.42.2
    checking GLIB_CFLAGS... -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
    checking GLIB_LIBS... -lglib-2.0
    checking for pkg-config... (cached) /usr/bin/pkg-config
    checking pkg-config is at least version 0.9.0... yes
    checking for gobject-2.0 >= 2.30.0... 2.42.2
    checking GOBJECT_CFLAGS... -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
    checking GOBJECT_LIBS... -lgobject-2.0 -lglib-2.0
    checking for pkg-config... (cached) /usr/bin/pkg-config
    checking pkg-config is at least version 0.9.0... yes
    checking for gthread-2.0 >= 2.30.0... 2.42.2
    checking GTHREAD_CFLAGS... -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
    checking GTHREAD_LIBS... -lgthread-2.0 -pthread -lglib-2.0
    checking for pkg-config... (cached) /usr/bin/pkg-config
    checking pkg-config is at least version 0.9.0... yes
    checking for gmodule-2.0 >= 2.30.0... 2.42.2
    checking GMODULE_CFLAGS... -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
    checking GMODULE_LIBS... -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0
    checking for pkg-config... (cached) /usr/bin/pkg-config
    checking pkg-config is at least version 0.9.0... yes
    checking for dbus-1 >= 1.1... 1.8.16
    checking DBUS_CFLAGS... -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include
    checking DBUS_LIBS... -ldbus-1
    checking for pkg-config... (cached) /usr/bin/pkg-config
    checking pkg-config is at least version 0.9.0... yes
    checking for dbus-glib-1 >= 0.84... 0.102
    checking DBUS_GLIB_CFLAGS... -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
    checking DBUS_GLIB_LIBS... -ldbus-glib-1 -ldbus-1 -lgobject-2.0 -lglib-2.0
    checking for pkg-config... (cached) /usr/bin/pkg-config
    checking pkg-config is at least version 0.9.0... yes
    checking for libxfconf-0 >= 4.10.0... 4.12.0
    checking XFCONF_CFLAGS... -I/usr/include/xfce4/xfconf-0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
    checking XFCONF_LIBS... -lxfconf-0 -ldbus-glib-1 -ldbus-1 -lgobject-2.0 -lglib-2.0
    checking for pkg-config... (cached) /usr/bin/pkg-config
    checking pkg-config is at least version 0.9.0... yes
    checking for libxfce4ui-1 >= 4.10.0... 4.12.0
    checking LIBXFCE4UI_CFLAGS... -pthread -I/usr/include/xfce4/libxfce4ui-1 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/xfce4 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
    checking LIBXFCE4UI_LIBS... -lxfce4ui-1 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lfontconfig -lfreetype -lxfce4util -lglib-2.0
    checking for pkg-config... (cached) /usr/bin/pkg-config
    checking pkg-config is at least version 0.9.0... yes
    checking for libxfce4util-1.0 >= 4.10.0... 4.12.1
    checking LIBXFCE4UTIL_CFLAGS... -I/usr/include/xfce4 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
    checking LIBXFCE4UTIL_LIBS... -lxfce4util -lglib-2.0
    checking for pkg-config... (cached) /usr/bin/pkg-config
    checking pkg-config is at least version 0.9.0... yes
    checking for libnotify >= 0.4.1... 0.7.6
    checking LIBNOTIFY_CFLAGS... -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
    checking LIBNOTIFY_LIBS... -lnotify -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0
    checking for pkg-config... (cached) /usr/bin/pkg-config
    checking pkg-config is at least version 0.9.0... yes
    checking for upower-glib >= 0.9.7... 0.99.2
    checking UPOWER_CFLAGS... -pthread -I/usr/include/libupower-glib -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
    checking UPOWER_LIBS... -lupower-glib -lgobject-2.0 -lglib-2.0
    checking for pkg-config... (cached) /usr/bin/pkg-config
    checking pkg-config is at least version 0.9.0... yes
    checking for xrandr >= 1.2.0... 1.4.2
    checking XRANDR_CFLAGS...
    checking XRANDR_LIBS... -lXrandr
    checking for pkg-config... (cached) /usr/bin/pkg-config
    checking pkg-config is at least version 0.9.0... yes
    checking for x11 >= 1.0.0... 1.6.2
    checking X11_CFLAGS...
    checking X11_LIBS... -lX11
    checking whether to build with polkit support... yes
    checking for DPMSQueryExtension in -lXext... yes
    checking whether XF86XK_Suspend is declared... yes
    checking whether XF86XK_Hibernate is declared... yes
    checking whether to build with network manager support.... no
    checking for pkg-config... (cached) /usr/bin/pkg-config
    checking pkg-config is at least version 0.9.0... yes
    checking for libxfce4panel-1.0 >= 4.10.0... 4.12.0
    checking LIBXFCE4PANEL_CFLAGS... -pthread -I/usr/include/xfce4/libxfce4panel-1.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/xfce4 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
    checking LIBXFCE4PANEL_LIBS... -lxfce4panel-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lfontconfig -lfreetype -Wl,--export-dynamic -lgmodule-2.0 -pthread -lxfce4util -lglib-2.0
    checking for pkg-config... (cached) /usr/bin/pkg-config
    checking pkg-config is at least version 0.9.0... yes
    checking for lxpanel >= 0.7.0... 0.8.0
    checking LXDEPANEL_NEW_CFLAGS... -pthread -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
    checking LXDEPANEL_NEW_LIBS... -L/usr/lib/lxpanel -llxpanel -lfm -lgthread-2.0 -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0
    checking for pkg-config... (cached) /usr/bin/pkg-config
    checking pkg-config is at least version 0.9.0... yes
    checking for lxpanel >= 0.5.6... 0.8.0
    checking LXDEPANEL_CFLAGS... -pthread -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
    checking LXDEPANEL_LIBS... -L/usr/lib/lxpanel -llxpanel -lfm -lgthread-2.0 -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0
    checking whether to build with debugging support... no
    checking PLATFORM_CPPFLAGS...
    checking PLATFORM_CFLAGS...
    checking PLATFORM_LDFLAGS...
    checking that generated files are newer than configure... done
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating libdbus/Makefile
    config.status: creating common/Makefile
    config.status: creating src/Makefile
    config.status: creating settings/Makefile
    config.status: creating panel-plugins/Makefile
    config.status: creating panel-plugins/power-manager-plugin/Makefile
    config.status: creating panel-plugins/power-manager-plugin/lxde-0.7/Makefile
    config.status: creating panel-plugins/power-manager-plugin/lxde/Makefile
    config.status: creating panel-plugins/power-manager-plugin/xfce/Makefile
    config.status: creating data/Makefile
    config.status: creating data/icons/Makefile
    config.status: creating data/icons/16x16/Makefile
    config.status: creating data/icons/22x22/Makefile
    config.status: creating data/icons/24x24/Makefile
    config.status: creating data/icons/32x32/Makefile
    config.status: creating data/icons/48x48/Makefile
    config.status: creating data/icons/scalable/Makefile
    config.status: creating data/interfaces/Makefile
    config.status: creating data/appdata/Makefile
    config.status: creating po/Makefile.in
    config.status: creating config.h
    config.status: executing depfiles commands
    config.status: executing libtool commands
    config.status: executing default-1 commands
    config.status: executing po/stamp-it commands
    prefix: /usr
    xdg autostart: /etc/xdg/autostart
    POLKIT: yes
    Network manager: no
    Build panel plugins: yes
    Xfce plugins: yes
    LXDE plugins: yes
    Backend: linux
    Debug: no
    Configuration finished, type make to compile
    make all-recursive
    make[1]: Entering directory '/home/ralph/.abs/xfce4-power-manager-p/src/xfce4-power-manager-1.4.3'
    Making all in data
    make[2]: Entering directory '/home/ralph/.abs/xfce4-power-manager-p/src/xfce4-power-manager-1.4.3/data'
    Making all in icons
    make[3]: Entering directory '/home/ralph/.abs/xfce4-power-manager-p/src/xfce4-power-manager-1.4.3/data/icons'
    Making all in 16x16
    make[4]: Entering directory '/home/ralph/.abs/xfce4-power-manager-p/src/xfce4-power-manager-1.4.3/data/icons/16x16'
    make[4]: Nothing to be done for 'all'.
    make[4]: Leaving directory '/home/ralph/.abs/xfce4-power-manager-p/src/xfce4-power-manager-1.4.3/data/icons/16x16'
    Making all in 22x22
    make[4]: Entering directory '/home/ralph/.abs/xfce4-power-manager-p/src/xfce4-power-manager-1.4.3/data/icons/22x22'
    make[4]: Nothing to be done for 'all'.
    make[4]: Leaving directory '/home/ralph/.abs/xfce4-power-manager-p/src/xfce4-power-manager-1.4.3/data/icons/22x22'
    Making all in 24x24
    make[4]: Entering directory '/home/ralph/.abs/xfce4-power-manager-p/src/xfce4-power-manager-1.4.3/data/icons/24x24'
    make[4]: Nothing to be done for 'all'.
    make[4]: Leaving directory '/home/ralph/.abs/xfce4-power-manager-p/src/xfce4-power-manager-1.4.3/data/icons/24x24'
    Making all in 32x32
    make[4]: Entering directory '/home/ralph/.abs/xfce4-power-manager-p/src/xfce4-power-manager-1.4.3/data/icons/32x32'
    make[4]: Nothing to be done for 'all'.
    make[4]: Leaving directory '/home/ralph/.abs/xfce4-power-manager-p/src/xfce4-power-manager-1.4.3/data/icons/32x32'
    Making all in 48x48
    make[4]: Entering directory '/home/ralph/.abs/xfce4-power-manager-p/src/xfce4-power-manager-1.4.3/data/icons/48x48'
    make[4]: Nothing to be done for 'all'.
    make[4]: Leaving directory '/home/ralph/.abs/xfce4-power-manager-p/src/xfce4-power-manager-1.4.3/data/icons/48x48'
    Making all in scalable
    make[4]: Entering directory '/home/ralph/.abs/xfce4-power-manager-p/src/xfce4-power-manager-1.4.3/data/icons/scalable'
    make[4]: Nothing to be done for 'all'.
    make[4]: Leaving directory '/home/ralph/.abs/xfce4-power-manager-p/src/xfce4-power-manager-1.4.3/data/icons/scalable'
    make[4]: Entering directory '/home/ralph/.abs/xfce4-power-manager-p/src/xfce4-power-manager-1.4.3/data/icons'
    make[4]: Nothing to be done for 'all-am'.
    make[4]: Leaving directory '/home/ralph/.abs/xfce4-power-manager-p/src/xfce4-power-manager-1.4.3/data/icons'
    make[3]: Leaving directory '/home/ralph/.abs/xfce4-power-manager-p/src/xfce4-power-manager-1.4.3/data/icons'
    Making all in interfaces
    make[3]: Entering directory '/home/ralph/.abs/xfce4-power-manager-p/src/xfce4-power-manager-1.4.3/data/interfaces'
    make all-am
    make[4]: Entering directory '/home/ralph/.abs/xfce4-power-manager-p/src/xfce4-power-manager-1.4.3/data/interfaces'
    make[4]: Nothing to be done for 'all-am'.
    make[4]: Leaving directory '/home/ralph/.abs/xfce4-power-manager-p/src/xfce4-power-manager-1.4.3/data/interfaces'
    make[3]: Leaving directory '/home/ralph/.abs/xfce4-power-manager-p/src/xfce4-power-manager-1.4.3/data/interfaces'
    Making all in appdata
    make[3]: Entering directory '/home/ralph/.abs/xfce4-power-manager-p/src/xfce4-power-manager-1.4.3/data/appdata'
    ITMRG xfce4-power-manager.appdata.xml
    make[3]: Leaving directory '/home/ralph/.abs/xfce4-power-manager-p/src/xfce4-power-manager-1.4.3/data/appdata'
    make[3]: Entering directory '/home/ralph/.abs/xfce4-power-manager-p/src/xfce4-power-manager-1.4.3/data'
    make[3]: Nothing to be done for 'all-am'.
    make[3]: Leaving directory '/home/ralph/.abs/xfce4-power-manager-p/src/xfce4-power-manager-1.4.3/data'
    make[2]: Leaving directory '/home/ralph/.abs/xfce4-power-manager-p/src/xfce4-power-manager-1.4.3/data'
    Making all in libdbus
    make[2]: Entering directory '/home/ralph/.abs/xfce4-power-manager-p/src/xfce4-power-manager-1.4.3/libdbus'
    make all-am
    make[3]: Entering directory '/home/ralph/.abs/xfce4-power-manager-p/src/xfce4-power-manager-1.4.3/libdbus'
    CC libxfpmdbus_la-xfpm-dbus.lo
    CC libxfpmdbus_la-xfpm-dbus-monitor.lo
    CC libxfpmdbus_la-xfpm-unique.lo
    CC libxfpmdbus_la-xfpm-dbus-marshal.lo
    CCLD libxfpmdbus.la
    make[3]: Leaving directory '/home/ralph/.abs/xfce4-power-manager-p/src/xfce4-power-manager-1.4.3/libdbus'
    make[2]: Leaving directory '/home/ralph/.abs/xfce4-power-manager-p/src/xfce4-power-manager-1.4.3/libdbus'
    Making all in common
    make[2]: Entering directory '/home/ralph/.abs/xfce4-power-manager-p/src/xfce4-power-manager-1.4.3/common'
    make all-am
    make[3]: Entering directory '/home/ralph/.abs/xfce4-power-manager-p/src/xfce4-power-manager-1.4.3/common'
    CC libxfpmcommon_la-xfpm-enum-types.lo
    CC libxfpmcommon_la-xfpm-common.lo
    CC libxfpmcommon_la-xfpm-brightness.lo
    CC libxfpmcommon_la-xfpm-debug.lo
    CC libxfpmcommon_la-xfpm-power-common.lo
    CCLD libxfpmcommon.la
    make[3]: Leaving directory '/home/ralph/.abs/xfce4-power-manager-p/src/xfce4-power-manager-1.4.3/common'
    make[2]: Leaving directory '/home/ralph/.abs/xfce4-power-manager-p/src/xfce4-power-manager-1.4.3/common'
    Making all in src
    make[2]: Entering directory '/home/ralph/.abs/xfce4-power-manager-p/src/xfce4-power-manager-1.4.3/src'
    make all-am
    make[3]: Entering directory '/home/ralph/.abs/xfce4-power-manager-p/src/xfce4-power-manager-1.4.3/src'
    CC xfce4_power_manager-xfpm-marshal.o
    CC xfce4_power_manager-xfpm-main.o
    CC xfce4_power_manager-xfpm-manager.o
    xfpm-manager.c: In function ‘xfpm_manager_show_tray_icon’:
    xfpm-manager.c:751:33: warning: assignment makes pointer from integer without a cast
    manager->priv->power_button = power_manager_button_new ();
    ^
    CC xfce4_power_manager-xfpm-power.o
    CC xfce4_power_manager-xfpm-battery.o
    CC xfce4_power_manager-xfpm-xfconf.o
    CC xfce4_power_manager-xfpm-console-kit.o
    CC xfce4_power_manager-xfpm-systemd.o
    CC xfce4_power_manager-egg-idletime.o
    CC xfce4_power_manager-xfpm-backlight.o
    CC xfce4_power_manager-xfpm-kbd-backlight.o
    CC xfce4_power_manager-xfpm-dpms.o
    CC xfce4_power_manager-xfpm-button.o
    CC xfce4_power_manager-xfpm-network-manager.o
    CC xfce4_power_manager-xfpm-inhibit.o
    CC xfce4_power_manager-xfpm-notify.o
    CC xfce4_power_manager-xfpm-polkit.o
    CC xfce4_power_manager-xfpm-errors.o
    CC xfce4_power_manager-xfpm-suspend.o
    CCLD xfce4-power-manager
    xfce4_power_manager-xfpm-manager.o: In function `xfpm_manager_tray_update_icon':
    xfpm-manager.c:(.text+0x11c9): undefined reference to `power_manager_button_get_type'
    xfpm-manager.c:(.text+0x1224): undefined reference to `power_manager_button_get_icon_name'
    xfce4_power_manager-xfpm-manager.o: In function `xfpm_manager_tray_update_tooltip':
    xfpm-manager.c:(.text+0x128d): undefined reference to `power_manager_button_get_type'
    xfpm-manager.c:(.text+0x1324): undefined reference to `power_manager_button_get_tooltip'
    xfpm-manager.c:(.text+0x1336): undefined reference to `power_manager_button_get_tooltip'
    xfce4_power_manager-xfpm-manager.o: In function `xfpm_manager_set_property':
    xfpm-manager.c:(.text+0x14e0): undefined reference to `power_manager_button_new'
    xfpm-manager.c:(.text+0x150e): undefined reference to `power_manager_button_show'
    xfce4_power_manager-xfpm-manager.o: In function `xfpm_manager_show_tray_menu':
    xfpm-manager.c:(.text+0xa9): undefined reference to `power_manager_button_show_menu'
    collect2: error: ld returned 1 exit status
    Makefile:742: recipe for target 'xfce4-power-manager' failed
    make[3]: *** [xfce4-power-manager] Error 1
    make[3]: Leaving directory '/home/ralph/.abs/xfce4-power-manager-p/src/xfce4-power-manager-1.4.3/src'
    Makefile:604: recipe for target 'all' failed
    make[2]: *** [all] Error 2
    make[2]: Leaving directory '/home/ralph/.abs/xfce4-power-manager-p/src/xfce4-power-manager-1.4.3/src'
    Makefile:510: recipe for target 'all-recursive' failed
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory '/home/ralph/.abs/xfce4-power-manager-p/src/xfce4-power-manager-1.4.3'
    Makefile:441: recipe for target 'all' failed
    make: *** [all] Error 2
    ==> ERROR: A failure occurred in build().
    Aborting...

  • Can't turn off WiFi Power Management with iwconfig

    I had an issue with my WiFi connection dropping occasionally, and I found that my situation was the same as described in this part of the Wicd wiki article: <https://wiki.archlinux.org/index.php/Wi … connecting>, so I used iwconfig to turn power management off, like it said. But, the disconnecting issue is still there. I think power management is still on, because of this:
    [<...>]$ cat "/sys/devices/pci0000:00/0000:00:1c.1/0000:02:00.0/net/wlan0/power/control"
    auto
    [<...>]$ cat "/sys/devices/pci0000:00/0000:00:1c.1/0000:02:00.0/net/wlan0/device/power/control"
    on
    Yet, iwconfig still shows that power management is off:
    [<...>]$ iwconfig wlan0
    wlan0 IEEE 802.11bgn ESSID:"<...>"
    Mode:Managed Frequency:2.437 GHz Access Point: 00:21:A0:F9:FD:C3
    Bit Rate=54 Mb/s Tx-Power=15 dBm
    Retry long limit:7 RTS thr:off Fragment thr:off
    Power Management:off
    Link Quality=48/70 Signal level=-62 dBm
    Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
    Tx excessive retries:2 Invalid misc:239 Missed beacon:0
    Info
    Using Wicd for network management
    Wireless card: Atheros Communications Inc. AR9485 Wireless Network Adapter (rev 01)
    Using systemd
    [<...>]$ systemctl | grep net
    sys-devices-pci0000:00-0000:00:1c.1-0000:02:00.0-net-wlan0.device loaded active plugged AR9485 Wireless Network Adapter
    sys-subsystem-net-devices-wlan0.device loaded active plugged AR9485 Wireless Network Adapter
    wicd.service loaded active running Wicd a wireless and wired network manager for Linux
    network.target loaded active active Network
    Last edited by thorion (2012-11-02 19:42:57)

    Haven't had this problem since I switched to NetworkManager, even with power management on...

  • X240 power management driver for Windows 8.1

    Installed the power management driver for Win 8.1   I am using the registry to START and STOP my charging process with the following reg keys ( I am doing it this way since there is no Power Manager software):
    ChargeStartControl
    ChargeStartPercentage
    ChargeStopControl
    ChargeStopPercentage
    Been using it for a while, I dont allow the battery to charge unless it is under 35% and I was stoping at 85%.
    I tried changing the stop back to 100% and it will not change past 85%.   I have rebooted, unistalled the driver, removed microsoft ACPI, replaced ACPI .. Nothing works.   This was working about a month ago.
    For the record, for whatever reason, removing the power management driver does not remove the reg keys ...  I dont know why ... 
    Am I missing something or do I have a bad battery?

    I will . Hope that Lenovo will do as needed. Anyone know a better way to be heard by Lenovo and get an answer for this issue?

Maybe you are looking for

  • Built in speakers not working, no red light, 2011 MacBook Pro 15''.

    I have been having audio issues with my computer ever since I upgraded to Mountian lion, internal speakers are not an option in sound settings. the volume indicator appears grey not black and sound is not adjustable. I am guessing Software issue beca

  • My phone is locked and I got the activation code but I canot insert it ?

    i follow this instructions 1. Turn off all of the wireless connections (manage connections - turn all connections off) 2. Go to the Options icon on the device 3. Select Advanced Options 4. Select SIM Card 5. Hit the Menu key to select Show Keyboard 6

  • Canon XF 100HD or Canon EOS 7D ?

    Good friends I had a JVC HDY U100 Camcorder and I used it to shoot some music videos , to make long story short, I sold it, I was not very happy with the quality of it, I used several ways and settings to shoot 5 mins songs , but I ended up not very

  • Questions about the Academic 2.0?

    I have the Academic version of Aperture. I gather from reading posts that if I order the $99 upgrade to v.2.0 it will not be accepted on my computer which has v.1.5.2. My question is: If I buy the Academic 2.0 ($179), what happens when I install it?

  • Can not get wireless to work on my Compaq R3000 anybody have any ideas

    Just installed wireless card in my compaq preasrio system says its working fine but I cant connect to internet any suggestions this has got me p    d