Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#3278 - Add Gnome Power Manager to Arch
Attached to Project:
Arch Linux
Opened by Eugenia Loli-Queru (Eugenia) - Monday, 03 October 2005, 18:02 GMT
Last edited by Jan de Groot (JGC) - Tuesday, 24 January 2006, 12:06 GMT
Opened by Eugenia Loli-Queru (Eugenia) - Monday, 03 October 2005, 18:02 GMT
Last edited by Jan de Groot (JGC) - Tuesday, 24 January 2006, 12:06 GMT
|
DetailsPlease add Gnome Power Manager to Arch, as it is close to impossible to get it working by simply compiling it ourselves or by using a third party pkg. ACPI stuff and Dbus/hal stuff need to be configured properly, and that's a bit mind-boggling atm. SuSE just added the app too, as Gnome Power Manager is the most popular third party utility today (according to gnomefiles).
I tried to compile it myself, but I couldn't get it compiled, because it tries to specifically find .la files to link with. I contacted the developer and told him about the lack of .la files on Arch, and he was at a loss, he doesn't know how to fix it. |
This task depends upon
Closed by arjan timmerman (blaasvis)
Sunday, 01 October 2006, 13:10 GMT
Reason for closing: Implemented
Sunday, 01 October 2006, 13:10 GMT
Reason for closing: Implemented
i used a PKGBUILD from the aur, try that.
libtool: link: cannot find the library `/usr/lib/libdbus-glib-1.la'
If I create that .la file it asks me, I still get the same errors for libdbus-la, libglib.la, libgobject.la and libopt.la. What is wrong here? Why is that app in particular asks me for .la files?
To find out which library is the one causing problems:
grep -l 'libdbus-glib-1.la' /usr/lib/*.la
grep -l 'libdbus-glib-1.la' /opt/gnome/lib/*.la
eugenia@lc2430:~> grep -l 'libdbus-glib-1.la' /usr/lib/*.la
/usr/lib/libnotify.la
I *think* I had to install manually libnotify a few months ago in order to get Beagle to work. Anyways, it's fixed now, thanks.
It's a miracle that gnome-applets actually compiles.
Edit: seems the system I tested had used my gnome 2.12 prerelease repository, the libnotify lib over there did contain .la files.
Suspend to ram and standby aren't too fool proof yet...
See http://bbs.archlinux.org/viewtopic.php?t=18179 for more info on it.
It still needs a lot of testing before i can say it is stable ;)
It works on my desktop just fine, but it probably will need some tinkering before the chance percentage will go up, i think it will be around 40% chance atm that it will work.
Even distro's like ubuntu still have issues with this, it will probably take a year or two before it is somewhat perfect
[root@lc2430 Downloads]# /etc/rc.d/powersaved start
:: Starting Powersave Daemon [DONE]
[root@lc2430 Downloads]# hal-system-power-suspend
Cannot connect to powersaved. Is the daemon running? (dbus error)
(dbus and hal are all running btw). Also, this is a bit inconvenient to try to suspend the laptop through a command. It should do it automatically when closing the lid of the laptop.
also i am not in favor of adding the suspend to ram, when closing the lid.
This is something the user himselft should configure, The main reason for this is far from every laptop works perfect with suspend to ram, it might crash your system and make you lose data. That's a bad bad thing.
Adding it to gdm and getting gnome-power-manager to work with this is probably a cleaner solution for now, until 99.9% of all systems do this right ;)
also i do not want my laptops to goto suspend to ram when i close them, i hate this in mac os X you can't turn this "feature" off :/
[root@lc2430 eugenia]# /etc/rc.d/powersaved start
:: Starting Powersave Daemon [DONE]
[root@lc2430 eugenia]# powersave -u
Cannot connect to powersaved. Is the daemon running? (dbus error)
HAL doesn't seem to load for some reason (i had to kill it). But the powersave deamon loads and then it says that the daemon doesn't run.
Regarding the lid thing: if you are not going to add it by default, at least please implement it and then create a /etc/acpi/acpi.conf file or something, where people easily can turn on/off things like this easily, maybe just by making a 0 to 1 or something.
i am not in charge of the acpi thing, i might look into it one day. It is far for high priority for me.
all other things in life also eat my time, school, work etc...
BTW, here is a script I used to use in the past, it might give you some clues how to turn on the screen back on and integrate it to your scripts:
#!/bin/sh
echo "Going to sleep at `date`"
##Let's go to Terminal 1 (Ctrl+Alt+1)
echo "* chvt 1"
/usr/bin/chvt 1
#Save Video State
echo "* save vbestate"
/usr/sbin/vbetool vbestate save > /etc/acpi/vbestate
echo "* writing to /sys"
hdparm -y /dev/hda
echo -n "mem" > /sys/power/state
sleep 4
hdparm -a1024 -c3 -d1 -m16 /dev/hda
echo "Back from sleep at `date`"
##Restore the state of the Video
echo "* restore vbestate"
/bin/cat /etc/acpi/vbestate | /usr/sbin/vbetool vbestate restore
##Lets restore the clock
echo "* restore clock"
/sbin/hwclock --hctosys
##Lets get back to Xorg (Ctrl+Alt+1)
echo "* chvt 7"
/usr/bin/chvt 7
So, at that older laptop, it works better than with the ATi card on the newer one, but still, something goes wrong during the wake up...
the networking thing, can you please send me your /var/log/suspend2ram.log ? probably the orinoco driver also needs unloading on suspend to ram and loading on resume.
I will send you the log tomorrow, I am on the powerbook atm. Thx.
ADDRCONF(NETDEV_UP): eth1: link is not ready
Additionally, adding the vbetool was a good and bad choice at the same time. Now this old laptop continues to come back successfully from suspend when in X11, but when in vga=773 framebuffer on the command line the screen DOES NOT come back anymore. Before you added vbetool, the screen would come back in command line on this 333 mhz laptop no matter if i was in x11 or in command line. Now it comes back only when in X11. If a try to shut off the machine with "halt", the screen does come back about 2 seconds before the machine turns off. So there is something in last few services that are closing that brings video back to life.
also vbetool does no longer always turn off monitors it needs to be configured.
Dead elco's so testing would unreliable, i hope to buy a new computer in a few weeks, if i get enough money ;)