KDE4 "When lid closed" event problem

Hi,
i'm using updated Arch Linux system with KDE4. My problem is, that KDE Power Manager does not hear on lid close event. I can choose everything from menu (suspend, lock screen, ...) but it does nothing. After closing the lid, system follows "Do nothing" option.
Few weeks ago, everything was fine - closing the lid raised sleep action.
Last week i set up "Do nothing" option for lid close event and today i'm not capable to return sleep option back.
I can sleep computer from menu or with 'systemd sleep' command. I have everything commented out in /etc/systemd/logind.conf.
Thank you for help.
j.
EDIT: I have another problem. When I turn off AC adapter, status icon of batery does not change. My notebook thiks, that is still on-line on AC. Something is wrong and i'm afraid that is HW issue.
EDIT: I have found some warnings in dmesg. What does it mean?
[ 8.891349] ACPI: Battery Slot [BAT1] (battery present)
[ 8.896149] ACPI Warning: 0x0000000000000428-0x000000000000042f SystemIO conflicts with Region \PMIO 1 (20130725/utaddress-251)
[ 8.896157] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[ 8.896161] ACPI Warning: 0x0000000000000530-0x000000000000053f SystemIO conflicts with Region \GPIO 1 (20130725/utaddress-251)
[ 8.896165] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[ 8.896166] ACPI Warning: 0x0000000000000500-0x000000000000052f SystemIO conflicts with Region \GPIO 1 (20130725/utaddress-251)
[ 8.896169] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
Last edited by juray (2014-01-31 09:16:05)

OK, I am victim of this BUG
https://bugzilla.kernel.org/show_bug.cgi?id=44161
Don't buy Samsung ultrabooks. They seems to be only Win8 compatible

Similar Messages

  • Fan still going when lid closed.

    I bought the MacBook Pro about 3 years ago. Never had problems with the fan until now.
    Normally, I never do anything major on the MacBook, just browsing and editing photos. So the fan hardly gets used during me using it. But the weirdest thing happened lately when the fan start going when the lid is closed in sleep mode, and it really heats up hot at the bottom. This is with just Photoshop open and Internet. Nothing else running, plus the lid is closed. How is that possible? It don't even do that when I am using the MacBook, so how can it be when I am not.
    I also hear notification sounds when lid closed, which means it is not fully in sleep. I have rest PRM but still no good. Any ideas please? thanks guys!

    thanks, but it stopped for about a week, and it's doing it again. Today I left it for about an hour lid closed, came back to it, it was burning hot, couldn't even put my hands on the bottom why is it doing this?

  • Computer not going to sleep when lid closed

    My wife's new MacBook Air has a couple of problems we can't figure out.  First sometimes the computer is not going to sleep when lid is closed and when we lift the lid everything is frozen.
    Second, the user Library folder is not seeable in her user account.  I know it's there because on the side bar there's a short cut to Preferences folder which we can open.
    Strange behavior.
    Thanks,
    Ron

    Ron,
    The user library folder (~/Library/) is hidden by default in Lion. I assume Apple doesn't want people mucking around with the sensitive files in there. So this is normal behavior.
    As for the freezing issue, I would suggest you reset your power management and perform a safe boot to clear out caches. You should also see if the issue persists after disconnecting USB perhipherals.
    Here's how:
    Power Management:
    Shut down the computer.
    Plug in the MagSafe power adapter to a power source, connecting it to the Mac if its not already connected.
    On the built-in keyboard, press the (left side) Shift-Control-Option keys and the power button at the same time.
    Release all the keys and the power button at the same time.
    Press the power button to turn on the computer. 
    Note: The LED on the MagSafe power adapter may change states or temporarily turn off when you reset the SMC.
    Safe Boot:
    Be sure your Mac is shut down.
    Press the power button.
    Immediately after you hear the startup tone, hold the Shift key. The Shift key should be held as soon as possible after the startup tone, but not before the tone.
    Release the Shift key when you see the gray Apple icon and the progress indicator (looks like a spinning gear).

  • Frozen when lid closed

    My laptop is Win8.1, I have set it to do nothing when lid is closed and power options are set to stay alive.
    I close the laptop lid and go to work. At work I TeamViewer onto my laptop but I cannot control Firefox (I can control the rest of the OS).
    Today I left my laptop open and now at work I have full control of Firefox, as well as everything else.
    Its like Firefox freezes with the lid closed switch

    Ok, if it works ok in Safe Mode, then an add on is causing this issue. [[Configuration Options for Add-ons]]
    The Reset Firefox feature can fix many issues by restoring Firefox to its factory default state while saving your essential information. <br>
    '''Note''': ''This will cause you to lose any Extensions and some Preferences.''
    *Open websites will not be saved in Firefox versions lower than 25.
    To Reset Firefox do the following:
    #Go to Firefox > Help > Troubleshooting Information.
    #Click the "Reset Firefox" button.
    #Firefox will close and reset. After Firefox is done, it will show a window with the information that is imported. Click Finish.
    #Firefox will open with all factory defaults applied.
    Further information can be found in the [[Reset Firefox – easily fix most problems]] article.
    Did this fix your problems? Please report back to us!
    Thank you.

  • Suspends only every second time when lid closed

    Hello everybody, my problem is as the  subject: to suspend I have to close usually the laptop lid twice.
    I'm using kde, but I have also used years ago fluxbox, tweaking scripts and using laptop-mode (which is not running now). Thanks in advance for every idea where to look.
    /etc/acpi$ cat handler.sh
    #!/bin/sh
    # Default acpi script that takes an entry for all actions
    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)
    case "$2" in
    PBTN|PWRF)
    logger "PowerButton pressed: $2"
    poweroff
    logger "ACPI action undefined: $2"
    esac
    button/sleep)
    case "$2" in
    SLPB|SBTN)
    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)
    logger 'Battery online'
    00000001)
    logger 'Battery offline'
    esac
    CPU0)
    *) logger "ACPI action undefined: $2" ;;
    esac
    button/lid)
    case "$3" in
    close)
    logger 'LID closed'
    open)
    logger 'LID opened'
    logger "ACPI action undefined: $3"
    esac
    logger "ACPI group/action undefined: $1 / $2"
    esac
    # vim:set ts=4 sw=4 ft=sh et:

    I actually do not understand who comands at the end - this handler.sh or the settings in Kde-powermanaging, I guess it's the second, I did remove the actions for suspend on lid close time ago. I made a test now, when I change handler.sh and check "do nothing when lid close" in kde powersettings happens exact the same: performs suspend every second time only.
    button/lid)
    case "$3" in
    close)
    logger 'LID closed'
    /usr/sbin/pm-suspend
    open)
    logger 'LID opened'
    logger "ACPI action undefined: $3"
    esac
    Last edited by steff (2012-07-21 17:08:46)

  • MB pro not sleeping when lid closed

    Hi, I came to work today, opened my backpack and found my laptop extremely hot in its sleeve. It appears it had not gone to sleep when I closed the lid. It then failed to run properly for about 20 minutes until it cooled down. Now it is ok, except that it will not run in lid-closed mode. I plug in my external display, put it to sleep, and wake it back up with the lid closed in order to use the external display. The display fires up for a few seconds and then turns off again. I've tried this over and over again, the computer simply won't stay on for more than a few seconds. However, when the lid is opened, it will run the external display in mirrored mode just fine. I think something is toast. Coincidentally, I had just downloaded the keyboard update 1.0 a day earlier... Anybody know why my computer is not sleeping when I close the lid and why it won't work in closed-lid mode anymore?

    I've had a similar problem since I first got this a year ago. Sometimes when I shut the lid, the display does not go to sleep, and sometimes it restarts automatically when I shut the lid! I've also found it very hot at times when it should have been sleeping. So far, it's only been a minor annoyance.

  • MacBook Pro does not sleep when lid closed

    Hi there. I recently upgraded my MacBook Pro from Snow Leopard to Mountain Lion. Before the upgrade my mac would sleep automatically when the lid closed. However, ever since I've upgraded, when I close the lid, my mac doesn't go to sleep. However, if my mac isn't plugged in (running off the built in battery) it goes to sleep. I looked through system preferences and I can't seem to find any settings relating to this, does anyone have any suggestion on what's happening and how I can fix it? Many thanks in advanced.

    Test after each of the following steps that you haven’t already tried: Step 1 Apple menu > System Preferences > Print & Scan > Open Print QueueCheck all printers for unfinished jobs. Deal with any you find. Step 2 Apple menu > System Preferences > Energy Saver > Power Adapter > Wake for network access: uncheck. You may need to unlock the preference pane by clicking the lock icon in the lower left corner and entering your administrator password. Step 3 Apple menu > System Preferences > Energy Saver > Schedule > Start up or wake: uncheck.    Step 4   Apple menu > System Preferences > Sharing: uncheck all boxes. Step 5 Disconnect all wired peripherals except keyboard, mouse or trackball, and monitor, if applicable. Step 6 Launch the Activity Monitor application. Select All Processes from the menu in the toolbar of the Activity Monitor window, if not already selected. Enter “powerd” (without the quotes) in the "Filter" text field. Select the powerd process and click the Quit Process button in the toobar (stop-sign icon.) In the sheet that opens, click Force Quit. You’ll be prompted for your administrator password. The process will be relaunched immediately. Step 7 Reset the SMC. Step 8 Boot in safe mode and log in. The instructions provided by Apple are as follows: 
    Shut down your computer, wait 30 seconds, and then hold down the shift key while pressing the power button.
    When you see the gray Apple logo, release the shift key.
    If you are prompted to log in, type your password, and then hold down the shift key again as you clickLog in.
     The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin. Note: If FileVault is enabled under OS X 10.7 or later, or if a firmware password is set, or if the boot volume is a software RAID, you can’t boot in safe mode. Safe mode is much slower to boot and run than normal. Don’t launch any applicationsat first. If sleep still doesn’t work properly, back up all data and reinstall the OS. After that, if you still have the issue, make a “Genius” appointment at an Apple Store to have the machine tested. If sleep now works as expected, go on to the next step. Step 9 Still in safe mode, launch the usual set of applications that are running when you have the problem, including your login items, one at a time, testing after each one. Some applications may not work; skip them. You might be able to identify the cause of the problem this way. Step 10 If sleep is still working after you’ve launched all the usual applications, reboot as usual (not in safe mode) and test again. If sleep still works, you’re done, at least for the moment. If you still have the sleep issue after booting out of safe mode, post again.

  • Wake on wireless possible?  Disable sleep when lid closed?

    I just bought my first Mac & am still trying to figure some things out.
    Is there a way to have it wake on wifi? I like to be able to connect to my machines when I'm at the office. My Macbook goes to sleep & then I can't remotely access it. Wake on LAN works fine, but I don't want to keep an ethernet cable plugged in.
    Another thing I can't seem to get is how to disable the Macbook sleeping when I close the lid. On my old Windows laptop, I'd often put on a podcast & listen while falling asleep & have one start as an alarm clock in the morning. I like to keep the lid closed to keep out dust, etc.
    I found a 3rd party app InsomniaX, but would rather find a supported way of doing this.

    Insomniax is your best bet. The only other way would be have an external monitor, keyboard, and mouse hooked up.

  • Any way to prevent macbook air from sleeping when lid closed?

    I believe there is no way to keep your macbook/air running when you shut the lid.
    I am running a background job where I am downloading a huge amount of data from the internet, which is coming through slowly (other applications could be where I am running a web server....). I want the machine to be running, but not keep the lid open - since I might want to move the laptop, not leave the screen/keyboard exposed.
    Where can I request Apple to add support for this behavior? Or did they anticipate this request in Mountain Lion already?
    Any suggestions? Others who would like the same feature?

    NoSleep makes closing of your MacBook lid possible without going into sleep mode. Now you shouldn't plug your mouse and monitor to stay computer awake - just check a tick in the System Preferences and continue downloading of huge files and watching favorite movies over the network with lid closed.
    here you go : http://lifehacker.com/5934158/nosleep-for-mac-prevents-your-macbook-from-sleepin g-when-you-close-the-lid

  • Lock button on.  iPad won't lock when lid closed

    Lock button is on but iPad will not shut off and lock when lid closes

    Maybe the magnets on the lid are askew?
    This read may provide insight: http://www.ifixit.com/Teardown/iPad+2+Smart+Cover+Teardown/5089

  • Macbook Pro not sleeping when lid closed

    Since upgrading my late 2011 13-inch Macbook Pro to Yosemite, I've noticed that it does not go to sleep properly when I close the lid. While the screen does turn off, the white LED remains on at full brightness and the fans spin up to maximum speed. When I open the lid again, the fans slow down but the screen doesn't turn back on until I press a key. This suggests it wasn't sleeping at all and the display saver simply activated.
    If I use the Apple menu (top left) to enter Sleep mode, wait for it to go to sleep then close the lid, it sleeps properly with the white LED glowing slowly.
    I have checked the Energy Saver preferences, and there is no Sharing set up so I doubt that's the problem. Is anyone else having this issue? Any ideas how to fix it?

    Similar issue after upgrade w my MBP (early 2011). 
    Close the screen with apps open... climb into bed... the laptop appears to enter sleep BUT several times thruout the night I hear the optical drive spin up along with the hard drive and screen glow (visible w screen closed as a glow)... then... it goes back to sleep (must detect closed screen). 
    Weird. 
    Did not do so with prior OS installs (not hardware issue... related to Yosie install).  

  • IBook won't sleep when lid closed

    Hi -
    My iBook refuses to go to sleep when the lid is closed. It will sleep if I put it to sleep from the Apple menu, but never just from being closed. (And sometimes when I put it to sleep and then close the lid, it keeps waking up and making crunching noises.) I've tried everything I can think of to fix the problem, including: resetting the PMU, deleting a bunch of background programs, and reinstalling the OS. It's been doing this for about 6 months, and it's driving me crazy. Any ideas? Please help!

    Hi skywriter,
    Welcome to the Discussions.
    Has the iBook's case ever been opened? There's a magnet on the bottom side of the top case that activates the sleep switch. Hold a small magnet on the right side of the screen and see if it will sleep. If it does, the magnet isn't where it's supposed to be and will need to be replaced.
    John

  • MB: Won't sleep when lid closed and power connected.

    Upgraded to Lion a few days ago and everything seems to be working great besides one thing:
    When I close the lid on my Macbook (mid 2009) and the power is connected, the light remains on and the computer won't sleep. When i lift the lid everything is how I left it with no blink of the screen as it fires back up. However, when the power is disconnected, the computer sleeps fine when the lid is closed.
    How can this be solved?
    Thanks!!

    OK, think I found my problem.
    I had to send my laptop in for repair due to a faulty screen.  When I got it back it all looked OK so the first thing I did was install Lion.  Then I noticed the sleep issue so assumed it was Lion causing it.  I tried the pram, SMC other settings but nothing helped.  In the end I reinstalled Snow Leopard, same problem!  I tried from bootcamp and same problem, wouldn't sleep when closing the lid.
    Doing some googling I found a post where someone has the magnet in the display fail, which is what contacts a switch in the laptop when you close the screen.  To test they suggest placing a paper clip on your screen bezel until it sticks to find the magnet, then finding where it locates when closing the screen on the laptop.  Then run a small magnet (i used a small fridge one) over this location on the laptop with the screen up.  I did this and instantly went to sleep!!!  WOOHOO!  remove magnet it wakes up, repeat and OK.  Close screen without magnet and nothing.
    So its gone back in for repair to have the screen replaced again.

  • Optical Drive makes noise when lid closed

    Hello all.
    When ever my wife closes her MacBook the optical drive makes the noise as if it is being awken from sleep. The problem is that it does this over and over. The only way to stop it is to power down the computer. It does not do this when the computer is active, only when the lid is closed. Has this happened to anyone or does anyone know what the problem is and/or how to fix it?
    Thanks
    rx

    rx,
    I am having this exact same problem with my Macbook as well. I am very frustrated. My computer will be 2 yrs old in August. Within the last few months, I have had the battery replaced for burning up the computer (June '07), the optical drive replaced (Nov 07), and the hard drive replaced (Feb '08). It appears I am going to have to take it back to the mac store to get this fixed. This has been going on for a month and I have tried everything including Disk First Aid to try to get it stop! Please post if you find something else! Meanwhile, I will say the apple care warranty was a better investment then the computer itself. I have been VERY DISAPPOINTED with the product and I have had Mac products for years (Mac Performa, iMac, eMac, iPodmini).
    Heather

  • Macbook Pro won't go to sleep when lid closed

    Hello,
    I'm sorry if this issue has been raised elsewhere, but despite numerous searches all I can find is people who want to stop their MacBook from going to sleep when the lid is closed. I have the opposite problem, I want my machine to go to sleep when the lid is closed, but it won't. I have a 2011 model MacBook Pro, with Yosemite installed. A couple of months ago the logic board failed and had to be fixed. I installed Yosemite before the failure, and the problem with the machine not going to sleep occurred then as well, so I don't think the problem is related to the hardware repair. Does anyone have any idea how I can make this machine go to sleep when I close the lid?
    Thanks,
    David.

    I had the same issue on a Macbook Pro mid-2012. In my case when the display would go to sleep it would turn itself back on, display the login screen, go back to sleep and then repeat.
    Reading through multiple posts I ended up with following observations/actions:
    I ran pmset -g assertions and saw that the only thing that was set to keep my laptop awake was UserIsActive.
    I checked my logs and noticed multiple entries for WindowServer: handle_will_sleep_auth_and_shield_windows: Deferring.
    None of those gave me much information about what I can do. After that I read the post that fixed the problem:
    I booted the laptop into safe mode. Waited for the display to sleep, woke it up and then restarted in normal mode. This seems to have fixed the problem for me so far.
    Hope that might help someone else in the future.

Maybe you are looking for

  • IStudio hanging while trying to open a project

    Hi, iStudio throws application( DB adapetr) error at the startup, when OK is clicked on the messages, it hangs showing the status as "Loading deploy view". Actually iStudio got closed during creating an event in B2BApp (DB adapter).When opened for th

  • Can I sync my iphone calendar to 2 outlook calendars?

    I have a pc at work and Laptop at home. My iphone is synced to my laptop with my itunes account. I use my iphone primarily for work so my calendar and contacts are the most important to me. So it is necessary to have my calendar up to date on both my

  • Polling in CVI

    I am trying to understand how to poll in LabWindows? My application does not require user interface, it will be separate application. If the application had user interface I was creating a new thread and use timer control. Timer control callback woul

  • Getting error 51 saying 'IDoc included in IDoc packet containing an error'

    When I am processing idoc in LSMW, getting error saying 'IDoc included in IDoc packet containing an error'. Can any one tell me how to resolve this.

  • Error: The largest virtual memory that can be allocated is 0 MB

    Hi ! When I try to create virtual machine in my VM Manager I get this error when I supply corresponding memory size. How can I soilve this? Thanks...