Re: debian/apm/apmd - experimenting

2008-09-05 Thread Timo Juhani Lindfors
Christian Adams [EMAIL PROTECTED] writes: i guess so .. first time it occured to me .. and hopefully never again .. If it only overwrites the first 512 bytes you can surely easily recover these back by just running only the partitioning stage of the installer?

Re: debian/apm/apmd - experimenting

2008-09-01 Thread Fox Mulder
Ok, my problem was, that i tried to suspend and resume without zhone running. After starting zhone and using the original kernel suspend and resume works without problems when pressing the power button. But isn't there a way to use suspend/resume with the power button without zhone? Because most

Re: debian/apm/apmd - experimenting

2008-09-01 Thread arne anka
But isn't there a way to use suspend/resume with the power button without zhone? probably not -- that's because of the development staus of fso and the nature of zhone. zhone is an app to test all the features of fso -- if you look into zhone.log you'll see that even the pwr presshold is

Re: debian/apm/apmd - experimenting

2008-09-01 Thread Cédric Berger
On Sun, Aug 31, 2008 at 13:41, Fox Mulder [EMAIL PROTECTED] wrote: I don't know which one is better, but after a short test with apm -s i found out that the script in the suspend.d dir is not executed at suspend. :/ These scripts worked well for me (tested on trolltech's qtopia), but it

Re: debian/apm/apmd - experimenting

2008-09-01 Thread Fox Mulder
Hehe you got me. Now i see that i forgot to chmod +x the scripts. :) I tried it again and the scripts are executed as expected. Only problem is that after one suspend/resume cycle it doesn't go into suspend (with zhone and power button) anymore until i reboot. But i think i read about this

Re: debian/apm/apmd - experimenting

2008-08-31 Thread Fox Mulder
Do you refer to the sd-card partition table corruption bug when suspending/resuming? Ciao, Rainer Christian Adams wrote: moinmoin i just did some experiments with apmd .. now i have to reinstall debian on my 8G because - some might already guess - i had no backup sofar .. darn!

Re: debian/apm/apmd - experimenting

2008-08-31 Thread Christian Adams
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 i guess so .. first time it occured to me .. and hopefully never again .. regards, morlac Am 31.08.2008 um 11:52 schrieb Fox Mulder: Do you refer to the sd-card partition table corruption bug when suspending/resuming? Ciao, Rainer

Re: debian/apm/apmd - experimenting

2008-08-31 Thread Fox Mulder
When playing with apm didn't you use the sd_idleclk workarounds floating in this mailinglist? I didn't try to suspend so far, but i already installed the custom scripts in /etc/apm/resume.d and /etc/apm/suspend.d which activates the sd-card clock before suspend and deactivates it after suspend.

Re: debian/apm/apmd - experimenting

2008-08-31 Thread Christian Adams
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 i already found a workaround - running at least for me - for suspend/ resume - - http://wiki.openmoko.org/wiki/Debian#Suspend - but i wanted to be sure disabling service apmd is really required regards, morlac Am 31.08.2008 um 12:14 schrieb Fox

Re: debian/apm/apmd - experimenting

2008-08-31 Thread Fox Mulder
I tried to use suspend/resume with debian and the sd_idleclk scripts for fixing the sd-card bug. I found two versions of the sd card bugfix. One with the apm.o version from Christian Adams (which is in the wiki page) and one with two scripts in /etc/apm/suspend.d and /etc/apm/resume.d (which i

Re: debian/apm/apmd - experimenting

2008-08-31 Thread Marcel
I didn't disable apmd but just used your fix noted on that page. And voilá - debian suspends and resumes like a charm. You just saved my day! :D -Marcel Am Sonntag 31 August 2008 12:26:40 schrieb Christian Adams: i already found a workaround - running at least for me - for suspend/ resume -

Re: debian/apm/apmd - experimenting

2008-08-31 Thread Marcel
Then suspending doesn't work properly for you. Normally, you push the power button once shortly and the neo should be back nearly immediately. The moment you remove the battery it boots normally since s2ram needs some energy to save the state. :) (is it s2ram what apm -s does?! s2disk would be

Re: debian/apm/apmd - experimenting

2008-08-31 Thread Flyin_bbb8
Try to update the kernel (don't forget the modules) take the modules tgz and uImage from there -- http://buildhost.openmoko.org/daily/freerunner/200808/20080830/ depmod and don't forget to add g_ether to your /etc/modules (for the usb0 to work) yea it is s2ram, s2disk would take much more time

Re: debian/apm/apmd - experimenting

2008-08-31 Thread Michael Zanetti
i have this problem quite often. I noticed that it is sufficient to re-create the partition table using fdisk. All your data should be still on your card. However, the partition sizes have to match. Just remember the values when creating and re-use them. On Sunday 31 August 2008 12:00:39

Re: debian/apm/apmd - experimenting

2008-08-31 Thread Fox Mulder
I already use the newest kernel with debian. Maybe i should try it with the default kernel instead. I have a little issue with all newer kernels than the original supplied one by debian install. With all new kernels the mouse cursor pops a few pixel below the position i touched the screen and

Re: debian/apm/apmd - experimenting

2008-08-31 Thread arne anka
I already use the newest kernel with debian. 2008-08-31 21:29:43,869 ERROR Exception in handler for D-Bus signal: Traceback (most recent call last): File /var/lib/python-support/python2.5/dbus/connection.py, line 214, in maybe_handle_message self._handler(*args, **kwargs) File