Re: Laptop waking up in bag

2008-06-30 Thread Paolo
On Mon, Jun 30, 2008 at 09:52:00PM +0300, Dotan Cohen wrote: > 2008/6/30 Andrew Smith <[EMAIL PROTECTED]>: > > Hi > > Please be aware that some Linux distributions are configured to > > clean,remove, files in /tmp, on booting, so don't put anything in /tmp you yeah, on fresh boot. Or /tmp may be o

Re: Laptop waking up in bag

2008-06-30 Thread Dotan Cohen
2008/6/30 Andrew Smith <[EMAIL PROTECTED]>: > Hi > Please be aware that some Linux distributions are configured to > clean,remove, files in /tmp, on booting, so don't put anything in /tmp you > may want to keep. Actually, I put them in ~/.bin/paulo_listener_acpi and /.bin/paulo_timestamper :) Dot

Re: Laptop waking up in bag

2008-06-30 Thread Dotan Cohen
2008/6/30 Paolo <[EMAIL PROTECTED]>: > On Mon, Jun 30, 2008 at 01:09:03PM +0300, Dotan Cohen wrote: >> >> Thanks, Paolo. I have a little bash to learn before I am able to >> implement that, but I will get on it. > > you're welcome - but no need to learn much just to run these tiny tests: > simply c

Re: Laptop waking up in bag

2008-06-30 Thread Paolo
On Mon, Jun 30, 2008 at 01:09:03PM +0300, Dotan Cohen wrote: > > Thanks, Paolo. I have a little bash to learn before I am able to > implement that, but I will get on it. you're welcome - but no need to learn much just to run these tiny tests: simply copy the programs into a couple of files - say

Re: Laptop waking up in bag

2008-06-30 Thread Dotan Cohen
2008/6/30 Paolo <[EMAIL PROTECTED]>: > On Sun, Jun 29, 2008 at 05:30:16PM +0300, Dotan Cohen wrote: >> > >> >> Well, I'd rather avoid playing with system files. Is there a trigger >> that I can use to run a script when the laptop wakes? I could run a > > same as above then, wrap acpi_listen in a sc

Re: Laptop waking up in bag

2008-06-29 Thread Paolo
On Sun, Jun 29, 2008 at 05:30:16PM +0300, Dotan Cohen wrote: > > > > Well, I'd rather avoid playing with system files. Is there a trigger > that I can use to run a script when the laptop wakes? I could run a same as above then, wrap acpi_listen in a script, use option -c to make it yield on 1 eve

Re: Laptop waking up in bag

2008-06-29 Thread Dotan Cohen
2008/6/29 Heiner Markert <[EMAIL PROTECTED]>: > Maybe your laptop wakes up if the battery becomes empty, in order to take some > action to save your data? > > Regards > Heiner > Interesting thought, but no, it wakes on a full charge as well as on a partial charge. Dotan Cohen http://what-is-what

Re: Laptop waking up in bag

2008-06-29 Thread Heiner Markert
Maybe your laptop wakes up if the battery becomes empty, in order to take some action to save your data? Regards Heiner Am Sonntag, 29. Juni 2008 14:28:28 schrieb Dotan Cohen: > My Dell Inspiron laptop has a terrible habit of waking up from RAM > suspension inside my bag. I do not know if it is

Re: Laptop waking up in bag

2008-06-29 Thread Dotan Cohen
2008/6/29 Paolo <[EMAIL PROTECTED]>: > On Sun, Jun 29, 2008 at 03:28:28PM +0300, Dotan Cohen wrote: > >> 1) Find out what ACPI event (lid switch or power button) caused the >> system to wake? > > keep acpi_listen running in a terminal > Thanks. >> 2) Find out how much time the laptop has been run

Re: Laptop waking up in bag

2008-06-29 Thread Paolo
On Sun, Jun 29, 2008 at 03:28:28PM +0300, Dotan Cohen wrote: > 1) Find out what ACPI event (lid switch or power button) caused the > system to wake? keep acpi_listen running in a terminal > 2) Find out how much time the laptop has been running since wake (not > uptime, which is the time from boo

Laptop waking up in bag

2008-06-29 Thread Dotan Cohen
My Dell Inspiron laptop has a terrible habit of waking up from RAM suspension inside my bag. I do not know if it is detecting a signal from the lid switch or from the power button (these are the only two ways that I know of to wake the laptop from RAM suspension). How can I: 1) Find out what ACPI e