ForMar n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 06 Dec 2008 Posts: 57 Location: Cali
|
Posted: Fri Nov 06, 2009 8:13 am Post subject: acpi/powermgmt issues [SOLVED] |
|
|
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! |
|