LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-11-2006, 03:02 AM   #1
MasterOfTheWind
Member
 
Registered: Jul 2004
Distribution: Arch, Debian sid, Kubuntu, Slackware 11
Posts: 324

Rep: Reputation: 30
powersave cannot be run by user


Hi!

I'm having trouble with powersave on my laptop. When I start KDE, I'm being told by KPowersave that powersaved is not running. So I took a look and found out that it is running (both acpid and powersaved are on the process list). I tried then to use the console to tweak the settings with powersave. The problem was that that was OK when I was root, but when I tried to do the same stuff as a user, powersave failed with error like: "An error occured. Make sure that the powersave daemon is running and use -v to increase verbose level and have a look into syslog."

So I looked at the syslog. I found the following: "[powersave]: ERROR (dbusSendMessageGeneric:209) Error: A security policy in place prevents this sender from sending this message to this recipient, see message bus configuration file (rejected message had interface "com.novell.powersave.request" member "SchemesGet" error name "(unset)" destination "com.novell.powersave")".

What does this all mean? Should I change permissions or something?

Thanks
 
Old 04-12-2006, 01:15 AM   #2
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
I have just recently recompiled my kernel and remember seeing an option to allow users to engage power saver mode while doing my config. I don't remember where it was exactly so you will need to look around for it. Enabling it in the kernel should fix the problem.

let me know how it goes,
...drkstr
 
Old 04-12-2006, 12:15 PM   #3
MasterOfTheWind
Member
 
Registered: Jul 2004
Distribution: Arch, Debian sid, Kubuntu, Slackware 11
Posts: 324

Original Poster
Rep: Reputation: 30
Hmmm.... OK, thanks a lot for the advice. Have only stock 2.6.16 kernel. I'll try to compile a kernel from source as soon as I come home this afternoon.

But as far as the error messages go, it's the dbus configuration that is not allowing inter-process communication? Is this somehow bound by kernel too then? Because I tried to edit dbus config file. I even tried to allow all communication (which of course can be potentially dangerous). But with no luck The same message in syslog and the same error on KDE startup...

Now the funny thing is that I am able to query info about battery, fans and such (eg. powersave -F or -T or -B) without any problems. Though when I'm trying to list schemes with powersave -x I get the usual "An error occured. Make sure that the powersave daemon is
running and use -v to increase verbose level and have a look into syslog."

Increasing verbosity doesn't help either...

So I just hope that your suggestion works. Anyway thank you very much for the help
 
Old 04-12-2006, 01:48 PM   #4
MasterOfTheWind
Member
 
Registered: Jul 2004
Distribution: Arch, Debian sid, Kubuntu, Slackware 11
Posts: 324

Original Poster
Rep: Reputation: 30
Ehmm.... Sorry if this sounds stupid, but cannot find that option in the kernel configuration. Do you remember where you saw it? Cause I've been through the menuconfig a couple of times now and I can't find any trace of it. But then again it's rather late already and it's been long since my last coffee
 
Old 04-12-2006, 02:14 PM   #5
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
I am running 2.4 kernel so I'm not sure if it's in the exact same place, but I found it here:

General Setup->Power Management Support->Advanced Power Management BIOS support

There are a few kernel option in this last category that might be useful to your problem. Ignore User suspend being one of them. I am not an expert on BIOS stuff so you might want to read up a little bit about your BIOS and figure out which options are right for your hardware.

I don't know for sure that this is what's causing your problem, but it seemed like it might be important to configure you kernel to correctly use your BIOS.

regards,
...drkstr
 
Old 04-12-2006, 02:27 PM   #6
MasterOfTheWind
Member
 
Registered: Jul 2004
Distribution: Arch, Debian sid, Kubuntu, Slackware 11
Posts: 324

Original Poster
Rep: Reputation: 30
Thanks a lot for taking time to look at the kernel config again

Yeah, I saw that option but I thought it wasn't the right one since it was disabled by default (I guess the same configuration is used for the pre-kernel in Debian too?) So now I'm compiling the newly-configured kernel. Will come back and tell how it goes
 
Old 04-14-2006, 11:27 AM   #7
MasterOfTheWind
Member
 
Registered: Jul 2004
Distribution: Arch, Debian sid, Kubuntu, Slackware 11
Posts: 324

Original Poster
Rep: Reputation: 30
Well, I have now recompiled my kernel several times with no success. Upgraded powersave. No results. The same dbus problem. Some other advice, anyone?

On the positive side I've got hibernating to work after recompiling the kernel, so that's at least something. Though suspend and standby still don't work.
 
Old 04-14-2006, 01:19 PM   #8
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
Hopefully this could be of some use to you.

http://www.gentoo.org/doc/en/power-management-guide.xml

regards,
...drkstr
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
powersave error Zech SUSE / openSUSE 9 04-01-2006 03:37 PM
powersave edemark SUSE / openSUSE 8 11-15-2004 07:56 AM
how do I make sure that the user that is going to run the script is a root user??? nikold01 Linux - General 3 09-10-2004 07:54 AM
Powersave on SUSE 9.1 sk2400 Linux - Laptop and Netbook 1 06-23-2004 06:48 AM
Powersave Mode sacsjohn Linux - Newbie 1 03-07-2003 10:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration