Re: X not starting from time to time

2008-06-30 Thread bici
# dpkg-reconfigure xserver-xorg
and Pablo: driver "vesa"

On Sun, Jun 29, 2008 at 3:09 PM, Paolo <[EMAIL PROTECTED]> wrote:

> On Sun, Jun 29, 2008 at 02:32:52PM +0200, Frank Zimmermann wrote:
> > I'm running sid on an Asus M6N with latest kernel selfcompiled kernel
> > based on 2.6.25-g sources, proprietary fglrx 8.50.3 and xorg-server
>
> try Xorg's ATI or VESA drivers, if they work reliably, bugger is that
> fglrx -> then  bug ATI for that.
>
> HTH
> --
> paolo
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact
> [EMAIL PROTECTED]
>
>


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 script, use option -c to make it
> yield on 1 event, eg
>
> ! while true;do
> !   e=`acpi_listen -c 1`
> !   logger -t acpi-event "=== $e (`hwclock`) ==="
> !#  or simply write on terminal:
> !   echo "=== $e (`hwclock`) ==="
> ! done
>
> likewise, another similar script in another terminal, running as simple
> timestamper:
>
> ! while true;do
> !   logger -t timestamp "=== MARKER (`hwclock`) ==="
> !#  or simply write on terminal:
> !   echo "=== `date +%s` MARKER (`hwclock`) ==="
> !   sleep 5
> ! done
>
> again, add `hwclock` if you suspect system-time skew.
>
> HTH


Thanks, Paolo. I have a little bash to learn before I am able to
implement that, but I will get on it.

Dotan Cohen

http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?


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 /tmp/a and /tmp/b -
removing the leading '!'. Then (as root if you want to run hwclock as well)
run them in separate terminals with eg 'sh /tmp/a'.

-- 
paolo


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



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 copy the programs into a couple of files - say /tmp/a and /tmp/b -
> removing the leading '!'. Then (as root if you want to run hwclock as well)
> run them in separate terminals with eg 'sh /tmp/a'.
>

Thanks. I have the scripts running, as well as acpi_listen. Tomorrow I
will hopefully find out where the problem starts.

Dotan Cohen

http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?


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 :)

Dotan Cohen

http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?


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 on RAM space (tmpfs).
Should be safe on resume, though.

> Actually, I put them in ~/.bin/paulo_listener_acpi and

better, anyway.

-- 
paolo


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]