Announcement

Collapse
No announcement yet.

KDE4.2: Power Management dead, shutdown dialog gone

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    KDE4.2: Power Management dead, shutdown dialog gone

    Hi! Recent Intrepid upgrader here...

    Problem 1:

    kpowersave with its KDE 3 interface seems redundant now given System Settings->Power Management. Which, however, doesn't do anything. I can't get it to lock the screen after resume, and I can't get it to do DPMS for me. It's probably not going to autosuspend, either.

    Problem 2:

    Also, when I press the power button, it immediately shuts down, without shutdown options. (Doesn't even go through the usual lengthy quitting-all-those-apps motions. And I have corrupt MySQL tables now, but I don't know if that's why. It never actually crashed, as far as I can tell.)

    Pressing the power button triggers /etc/acpi/powerbtn.sh, but the script falls through to its last alternative, a shutdown -h now. When I try the command it used to be using (I think):
    $ /usr/bin/dcop --all-sessions --all-users ksmserver ksmserver logout 1 2 0
    Object not accessible
    Whatever brought up the shutdown dialog earlier, it wasn't powerbtn.sh. I'm pretty sure of that because I had made it run an GUI text editor that I should have had to quit manually for the shutdown dialog to appear, and the shutdown dialog appeared anyway.



    What works:

    Suspend to RAM via the Kickoff->Leave menu.
    Resuming from Suspend to RAM (minus the locked screen I configured for it in System Settings->Power Management).
    DPMS via xorg.conf, or via System Settings->Display.
    KPowersave, I think. The one I thought I could ditch now.



    Some jumbled info:

    System Settings' Services applet says Powerdevil is running. I can't see a corresponding process, but I suppose it's something KDE-integrated. (This is KDE 4.2, the older powerdevil package isn't installed and has some serious dependency issues.)

    Not knowing where to start fixing this, I'm also running acpid right now, although I didn't, strictly speaking, need them before: With KDE 3.5.10 I used kpowersave, which took care of putting up a shutdown dialog when I pressed the power button even without acpid. (Also, powersaved's config files seemed to be necessary for some reason even though I didn't have to actually be running powersaved itself. powersaved conflicts with Powerdevil anyway.)

    (Powerdevil reports all Capabilities except "CPU can be turned Off" and "Scaling capability". It also says "Number of CPU 0". "No issues found with your configuration.")

    When I upgraded Hardy->Intrepid, I originally got apmd, but that one won't start ("No APM support in kernel").

    #2
    Re: KDE4.2: Power Management dead, shutdown dialog gone

    No closer to a solution.

    Could somebody please tell me what the default settings are?
    What power-management related packages are installed?
    What services are running?
    ...or whatever else comes to mind.

    Thank you.

    Comment


      #3
      Re: KDE4.2: Power Management dead, shutdown dialog gone

      I'm not running Intrepid. I started with JJ ALPHA5 and I'm now at KDE4.2.2 which, if you've been updating, I'll assume you are at too.

      Forget KDE3 stuff. This is KDE4 now. Uninstall the KDE3 power monitor stuff.

      Right mouse on the panel and navigate through the popup dialog to "Add Applets". Chose the "Power Monitor" applet and add it. It also gives access to "sleep" and "Hybernate" actions in its right mouse dialog.

      "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
      – John F. Kennedy, February 26, 1962.

      Comment


        #4
        Re: KDE4.2: Power Management dead, shutdown dialog gone

        Originally posted by GreyGeek
        I'm not running Intrepid. I started with JJ ALPHA5 and I'm now at KDE4.2.2 which, if you've been updating, I'll assume you are at too.

        Forget KDE3 stuff. This is KDE4 now. Uninstall the KDE3 power monitor stuff.

        Right mouse on the panel and navigate through the popup dialog to "Add Applets". Chose the "Power Monitor" applet and add it. It also gives access to "sleep" and "Hybernate" actions in its right mouse dialog.

        Yes, I'd like to forget KDE3 stuff, unless you're talking about Amarok or K3B (or ...).

        I'm not going to bother with alphas or even release candidates. I'll see how Jaunty fares, and what the Ubuntustudio folks have to say about it, especially regarding the realtime kernel, and then upgrade, eventually, or not.

        So no Power Monitor applet yet... but it's something to look forward to. Unless you mean Battery Monitor. I've got that. But it seems to be a bunch of shortcuts to what I can do in System Settings->Power Management. So its presence accomplishes nothing.

        And each widget I can do without is a plus in my book, whether it's a KDE 3 gizmo or (slower plasma.

        Comment


          #5
          Re: KDE4.2: Power Management dead, shutdown dialog gone

          Originally posted by abalone
          .....

          I'm not going to bother with alphas or even release candidates. I'll see how Jaunty fares, and what the Ubuntustudio folks have to say about it, especially regarding the realtime kernel, and then upgrade, eventually, or not.
          Well, how JJ 'fares' depends a lot on your hardware and you. Like I said, I have been running JJ since ALPHA5 right up to today's updates, and it has been golden for me on my Sony VAIO VGN-FW140E/H laptop. On my wife's Acer Aspire 3004 CLi I had to swap out the network-manager for wicd because the network-manager update no longer worked well with her Broadcom 4318 wireless chip. I may revert to it again just as a test to see if more recent updates have restored functionality.

          Unless you mean Battery Monitor. I've got that. But it seems to be a bunch of shortcuts to what I can do in System Settings->Power Management. So its presence accomplishes nothing.
          "Battery Monitor" is the name used in KDE4, and that is what I mean. It is an "widget" that can be installed on the panel and shows itself as an icon that looks like a battery with green stripes and a gold lightning bolt next to it.
          Right mouse on it to configure it.

          It works very well for me and even keeps my battery level at 80% to avoid the problems associated with keeping the battery at 100%.

          And each widget I can do without is a plus in my book, whether it's a KDE 3 gizmo or (slower plasma.
          Well, to each his own....
          "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
          – John F. Kennedy, February 26, 1962.

          Comment


            #6
            Re: KDE4.2: Power Management dead, shutdown dialog gone

            Originally posted by GreyGeek
            Originally posted by abalone
            .....

            I'm not going to bother with alphas or even release candidates. I'll see how Jaunty fares, and what the Ubuntustudio folks have to say about it, especially regarding the realtime kernel, and then upgrade, eventually, or not.
            Well, how JJ 'fares' depends a lot on your hardware and you. Like I said, I have been running JJ since ALPHA5 right up to today's updates, and it has been golden for me on my Sony VAIO VGN-FW140E/H laptop. On my wife's Acer Aspire 3004 CLi I had to swap out the network-manager for wicd because the network-manager update no longer worked well with her Broadcom 4318 wireless chip. I may revert to it again just as a test to see if more recent updates have restored functionality.
            I suppose the hardware can make all the difference... though it's sad that things should stop working after an upgrade.

            "Battery Monitor" is the name used in KDE4, and that is what I mean. It is an "widget" that can be installed on the panel and shows itself as an icon that looks like a battery with green stripes and a gold lightning bolt next to it.
            Right mouse on it to configure it.

            It works very well for me and even keeps my battery level at 80% to avoid the problems associated with keeping the battery at 100%.
            Well... I don't even have a laptop. I just want DPMS to work, and the power button to bring up a shutdown dialog, and the screen to be locked when I suspend to RAM. I have to have Battery Monitor running to make use of System Settings -> Power Management? Hmmmkay. Suspend locks screen. Power button is intercepted. Still no DPMS. Quitting battery monitor again: power button thing still works, lock screen doesn't. I don't get it.

            Comment


              #7
              Re: KDE4.2: Power Management dead, shutdown dialog gone

              Okay, went to Jaunty. This time I had to purge powersaved's residual config files and/or libpowersave11 something-or-other to get to the Power Mangement settings dialogue at all... before, it just complained about another power manager running (although none was).

              Power button brings up shutdown options, good.

              And it does lock the screen on resume, but only when using Battery Monitor to suspend, or when it autosuspends (that does work). The Kickoff "Leave" tab and the shutdown dialogue don't respect that setting.

              Seems it just plain won't do DPMS at the moment (but I can get DPMS through xorg.conf or xset).

              (Can't hibernate/suspend to disk, but that never worked in the first place in Linux)

              Comment

              Working...
              X