Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
acpi/powermgmt issues [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
ForMar
n00b
n00b


Joined: 06 Dec 2008
Posts: 57
Location: Cali

PostPosted: Fri Nov 06, 2009 8:13 am    Post subject: acpi/powermgmt issues [SOLVED] Reply with quote

SOLUTION:
Read below for problem...

So it seems that "/sbin/rc argument " runs a ...run level which would make sence given the command. Anyhow the program switches between the two run level but when switching it turns off + on anything in that run level which causes problems seeing as how the log is in that run level and that is whats needed to switch back and forth along with wlan0 and others. So reading up on run levels is a must to get this working right. Good Luck!

QUESTION:
Hi,

My experience as a user is moderate and as an admin is "fresh"

I am attempting to setup acpi as a power management tool in KDE I have followed the steps outlined in the doc :http://www.gentoo.org/doc/en/power-management-guide.xml. After setting up acpi to interpret the event whenever i unplug the or plug in the power cable it says Switching to the (blabla) runlevel.

Then the log posts "Termination requested via signal, terminating;" and then the wlan0 goes haywire and stops working for no good reason. The only other log created is in the daemon log which says "supervise/syslog-ng[PID]: Daemon exited gracefully, not restarting; exitcode='0'"

No idea why this is happening also it might be worth mentioning that when the event does happen the log reads as "ACPI event unhandled:" but from reading on google that does not really seem to matter as long as it still switchs runlevel.


Thanks for any help, if you need any more info plz ask, and thanks for your time!!


EDIT:

Ok i have found the error but I dont know enough about linux to figure what its trying to do, so in the script provided by the doc after it posts to the logger "Switching to $(RUNLEVEL_blabla) runlevel" it then runs the command /sbin/rc which in my system just starts trying to stop everything but fails b/c it cant stop wlan0 but still brings it down. I have no idea what/why its running /sbin/rc thanks for any help!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum