Another thing for Ubuntu 6.10 ist that i had to edit 
/usr/sbin/laptop-detect and put exit 0 at the beginning.
>>SNAP
#!/bin/sh -e

exit 0

# Are we a mac?
if test -d /proc/pmu; then
        batteries=$(grep Battery /proc/pmu/info| cut -f2 -d:)
        if test "$batteries" -ne 0; then
#                echo "We're a laptop" &>2;
                exit 0
        fi
        exit 1
fi
<<SNAP
This is necessary for come back from sleep with display enabled.

cu

Edgar (gimli) Hucek

Tobi schrieb:
> do you use a vanilla or the ubuntu kernel ?
> 
> tobi
> 
> 
> gimli wrote:
>> Hi,
>>
>> i run 2.6.19 and Ubuntu 6.10. Using the gnome-powermanager
>> sleep works fine here.
>>
>> cu
>>
>> Edgar (gimli) Hucek
>>
>> Tobi Gschwendtner schrieb:
>>   
>>> hi all,
>>>
>>> has anyone running kernel 2.6.19 on a macbook ?
>>> i tried today and sleep isnt working anymore.
>>> suspending stops after
>>>
>>> stopping tasks: =========|
>>> suspending console(s)
>>>
>>> after a while the fan start running but nothing else happens.
>>> atm i am using the current mactel patches vom svn but the
>>> behaviour is the same without them.
>>>
>>> tobi
>>>
>>>
>>> -------------------------------------------------------------------------
>>> Take Surveys. Earn Cash. Influence the Future of IT
>>> Join SourceForge.net's Techsay panel and you'll get the chance to share your
>>> opinions on IT & business topics through brief surveys - and earn cash
>>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>>> _______________________________________________
>>> Mactel-linux-users mailing list
>>> Mactel-linux-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/mactel-linux-users
>>>
>>>     
>>   
> 
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Mactel-linux-users mailing list
> Mactel-linux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mactel-linux-users
> 


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Mactel-linux-users mailing list
Mactel-linux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mactel-linux-users

Reply via email to