/srv/irclogs.ubuntu.com/2010/04/11/#ubuntu-testing.txt

=== yofel_ is now known as yofel
rwi'm having a problem here and am just wondering if it's worth to write a bug report:23:16
rwif i press my "hibernate-shortcut" - gnome tells me: "cannot hibernate"23:17
colorlessprismprobably check to see if it exists first23:17
colorlessprismhibernate bugs are common23:17
rwcolorlessprism: nope, didn't find it23:17
colorlessprismcheck wiki to see if your model has fix23:17
rwbut if i check "/sys/power/state":23:17
rw# cat /sys/power/state23:17
rwmem disk23:17
rwupower on the other hand:23:18
rw# upower -d | grep hibernate23:18
rwcan-hibernate    no23:18
colorlessprismhmm, what computer your using?23:18
rwThinkpad T4223:19
colorlessprismand version of ubuntu?23:19
rwLucid Beta 223:19
colorlessprismUNE?Desktop?23:19
rwUNE? gnome23:20
colorlessprismis it a netbook  or standard desktop install?23:20
rwstandard desktop23:20
rw(installed using PXE, but that shouldn't matter *g*)23:21
colorlessprismlet me check somthing then, brb23:21
rwk23:21
rwbtw.: hibernate using "s2disk" seems to work just fine23:23
colorlessprismhave you tried hibernating another way (i.e power mangement)23:23
colorlessprismit may be your "function" key not working properly23:23
rwwell, i get a "message" from gdm i guess:23:23
rw"Cannot hibernate" - which, i guess, just checks the "can-hibernate"-key of devkit23:24
colorlessprismby setting your powerbutton to hibernate will it hibernate correctly that way?23:24
rwi'll give it a shot - moment please23:25
rwi cannot event choose "hibernate" there23:26
colorlessprismDo you have S3 suspend set to "On" in your BIOS settings?23:26
rwbrb :)23:26
rwlooks like it's enabled23:31
colorlessprismok i only have 2 more ideas...23:32
rwthe question i ask myself: why does the kernel say that "suspend2disk" is available and devkit says it's not?23:32
colorlessprismcheck /etc/default/acpi-support and make sure "ACPI_SLEEP=true" is uncommented and true23:32
colorlessprismand then run the hibernate script "/etc/acpi/hibernate.sh"23:34
rwyou probably mean: "ACPI_HIBERNATE"23:35
rwbut both are true anyway23:35
colorlessprismdid you call the hibernate script?23:36
rwthe script works..23:37
colorlessprismyou hibernated?23:38
rwyepp23:40
colorlessprismhmm so lets do23:41
colorlessprism/etc/acpi/events/ibm-hibernatebtn23:41
colorlessprism   event=ibm/hotkey HKEY 00000080 0000100423:41
colorlessprism   action=/etc/acpi/hibernate.sh23:41
colorlessprismand for sleep you can23:42
colorlessprism/etc/acpi/events/ibm-sleepbtn23:42
colorlessprism   event=ibm/hotkey HKEY 00000080 0000100423:42
colorlessprism   action=/etc/acpi/sleep.sh force23:42
colorlessprismthis is a script someone on launchpad used in their autostart to get your keys going again http://launchpadlibrarian.net/24484539/softkeys.py23:46
colorlessprismIt should not be limited to thinkpads but support all laptops that generate the corresponding key press events. Most functionality is accessed via dbus either using HAL or KDE services.It depends on python2.6 (could be easily backported to 2.5),23:46
colorlessprismpython-dbus and python-xlib.23:46
colorlessprismdid any of that get you going...lol, i should say sleeping?23:48
rwthe keys are working just fine all the time23:49
colorlessprismok so you can hibernate from keypresses now?23:50
rwthe hibernate-keys starts an action, it just fails without doing hibernation23:50
rwi don't want a crappy workaround, i want devkit and stuff working as it should23:50
rw*shrug*23:50
colorlessprismim out of ideas then23:51
colorlessprismsorry man23:51
colorlessprismi would hate for my help to be crappy ;)23:51
rwthe help is not - the workaround just is :)23:51
rwif i JUST wanted to hibernate i would call "s2disk" from terminal - but that's not what a GUI is for, IMHO23:52
colorlessprismwell, i was checking a few things and thought id help, i gtg good luck oohh btw: https://wiki.ubuntu.com/DebuggingKernelSuspend, http://ubuntuforums.org/showthread.php?t=69093323:52
colorlessprismwho needs a gui23:52
colorlessprismgood luck23:52
rwright...23:53

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!