OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

2 Pages V  < 1 2  
Reply to this topicStart new topic
> Closing Lid Setting
jpmatrix
post Dec 6 2007, 10:15 AM
Post #16





Group: Members
Posts: 1,019
Joined: 15-February 05
From: France
Member No.: 6,477



QUOTE(speculatrix @ Dec 6 2007, 05:34 PM) *
QUOTE(jpmatrix @ Dec 6 2007, 03:26 PM) *
what is the difference between

echo 1 > /sys/class/backlight/corgi-bl/power

and

apm -s

?

is it a low sleep instead of deep sleep ? smile.gif


the "echo" line turns off the power to the backlight.. this is separate to the brightness control which has the bug where setting backlight to minimum can cause it to go off - probably a hardware problem and a different setting again!

I put both backlight off and minimum brightness in my screen-close script so that you can leave the Z running in as low power mode as possible yet play mp3s etc.


ok
thanks for this great news! i try it right now!
Go to the top of the page
 
+Quote Post
jpmatrix
post Dec 6 2007, 11:36 AM
Post #17





Group: Members
Posts: 1,019
Joined: 15-February 05
From: France
Member No.: 6,477



QUOTE(speculatrix @ Dec 6 2007, 05:34 PM) *
echo 1 > /sys/class/backlight/corgi-bl/power


it seems this is in fact a directory with "wakeup" in it
i guess we should read :

echo 1 > /sys/class/backlight/corgi-bl/power/wakeup

i try!
Go to the top of the page
 
+Quote Post
jpmatrix
post Dec 6 2007, 11:44 AM
Post #18





Group: Members
Posts: 1,019
Joined: 15-February 05
From: France
Member No.: 6,477



QUOTE(jpmatrix @ Dec 6 2007, 08:36 PM) *
QUOTE(speculatrix @ Dec 6 2007, 05:34 PM) *
echo 1 > /sys/class/backlight/corgi-bl/power


it seems this is in fact a directory with "wakeup" in it
i guess we should read :

echo 1 > /sys/class/backlight/corgi-bl/power/wakeup

i try!


no luck.
there's also a /sys/class/backlight/corgi-bl/bl_power but i've permission denied trying to echo in it....
any help?
Go to the top of the page
 
+Quote Post
dlj0
post Dec 6 2007, 09:14 PM
Post #19





Group: Members
Posts: 219
Joined: 3-March 06
Member No.: 9,282



QUOTE(jpmatrix @ Dec 6 2007, 02:04 AM) *
QUOTE(dlj0 @ Dec 6 2007, 02:22 AM) *
-- well, using the machine with the "portrait mode" where the keys are hidden is kinda pointless without a virtual keyboard, anyway --


solution for that (virtual keyboard) is here :

http://www.oesf.org/forum/index.php?showtopic=24993


OK, I have it all set up and running correctly, though I did have to install a catalan config file (english was not available....). OK, since I will probably learn some Catalan next Spring anyway, I guess that is good. But weird.

However, every time I re-boot or login, I have to re-start /etc/init.d/zaurusd in order to straighten out the screen. There is some sort of error message on the screen if I kill the X server about Xlib. If I had to guess I would say that I need to run the zaurusd script after the X server starts, but that is not the way it happens.

I could straighten out the server by replacing the angle option on the call to the server --- currently it is exec /usr/bin/Xfbdev -screen 480x640 "$@" but was exec /usr/bin/Xfbdev -screen 480x640@270 "$@" before I re-instituted zaurusd. But this it not available for the xdm screen, and not when I first login, either. I have to start the daemon again, even though it is in /etc/rc2.d

Any clues? Where in the start order is your /etc/rc2.d/S**zaurusd (that is, what goes where the ** is)? Does this all work for someone? In order to get the shifted screen for the closed mode, I need to fix this.
Go to the top of the page
 
+Quote Post
jpmatrix
post Dec 7 2007, 03:00 AM
Post #20





Group: Members
Posts: 1,019
Joined: 15-February 05
From: France
Member No.: 6,477



QUOTE(dlj0 @ Dec 7 2007, 06:14 AM) *
However, every time I re-boot or login, I have to re-start /etc/init.d/zaurusd in order to straighten out the screen. There is some sort of error message on the screen if I kill the X server about Xlib. If I had to guess I would say that I need to run the zaurusd script after the X server starts, but that is not the way it happens.


yes, i've same problem and when i try to load it after X loads i've some permission problems, although login to X with root...
i'm thinking about replacing our whole /etc/zaurusd directory with the one from latest angstrom...as i run angstrom kernel...

Go to the top of the page
 
+Quote Post
citro
post Dec 8 2007, 04:17 PM
Post #21





Group: Members
Posts: 9
Joined: 29-September 07
Member No.: 20,767



QUOTE(jpmatrix @ Dec 6 2007, 02:44 PM) *
QUOTE(jpmatrix @ Dec 6 2007, 08:36 PM) *
QUOTE(speculatrix @ Dec 6 2007, 05:34 PM) *
echo 1 > /sys/class/backlight/corgi-bl/power


it seems this is in fact a directory with "wakeup" in it
i guess we should read :

echo 1 > /sys/class/backlight/corgi-bl/power/wakeup

i try!


no luck.
there's also a /sys/class/backlight/corgi-bl/bl_power but i've permission denied trying to echo in it....
any help?


the correct command is

echo 0 > /sys/class/backlight/corgi-bl/brightness

this will turn off the backlight... then when you open the lid again, simply press Fn+4 to increase the bright.
Go to the top of the page
 
+Quote Post
jpmatrix
post Dec 13 2007, 09:58 AM
Post #22





Group: Members
Posts: 1,019
Joined: 15-February 05
From: France
Member No.: 6,477



little problem : when you close the lid outside of X, the screens shut off. but when you open it again it remains dark smile.gif
any way to correct that ?
Go to the top of the page
 
+Quote Post
LinuxGadget
post Dec 18 2007, 09:53 AM
Post #23





Group: Members
Posts: 44
Joined: 21-October 07
From: Aschersleben, Germany
Member No.: 20,849



Strange blink.gif , it's working perfectly on my Z.

(using echo 31 >/sys/class/backlight/corgi-bl/brightness in /etc/zaurus.d/hinge-landscape/00-backlight-on and /etc/zaurus.d/hinge-portrait/00-backlight-on )

QUOTE(jpmatrix @ Dec 13 2007, 06:58 PM) *
little problem : when you close the lid outside of X, the screens shut off. but when you open it again it remains dark smile.gif
any way to correct that ?

Go to the top of the page
 
+Quote Post
scottlfa
post Dec 18 2007, 12:26 PM
Post #24





Group: Members
Posts: 283
Joined: 1-October 07
From: Blacksburg, SC, USA
Member No.: 20,773



Indeed, on mine too.
Go to the top of the page
 
+Quote Post
jpmatrix
post Dec 18 2007, 01:14 PM
Post #25





Group: Members
Posts: 1,019
Joined: 15-February 05
From: France
Member No.: 6,477



QUOTE(LinuxGadget @ Dec 18 2007, 06:53 PM) *
Strange blink.gif , it's working perfectly on my Z.

(using echo 31 >/sys/class/backlight/corgi-bl/brightness in /etc/zaurus.d/hinge-landscape/00-backlight-on and /etc/zaurus.d/hinge-portrait/00-backlight-on )

QUOTE(jpmatrix @ Dec 13 2007, 06:58 PM) *
little problem : when you close the lid outside of X, the screens shut off. but when you open it again it remains dark smile.gif
any way to correct that ?



yeah yeah, i took the zaurusd directory from angstrom and it apparently needs some tweaking wink.gif
i'm about to succeed in that wink.gif
Go to the top of the page
 
+Quote Post
LinuxGadget
post Dec 18 2007, 02:35 PM
Post #26





Group: Members
Posts: 44
Joined: 21-October 07
From: Aschersleben, Germany
Member No.: 20,849



In addition: zaurusd wasn't starting on my Z while booting, so i did ln -s /etc/init.d/zaurus.d /etc/rc2.d/S31zaurusd cool.gif


QUOTE(jpmatrix @ Dec 18 2007, 10:14 PM) *
QUOTE(LinuxGadget @ Dec 18 2007, 06:53 PM) *
Strange blink.gif , it's working perfectly on my Z.

(using echo 31 >/sys/class/backlight/corgi-bl/brightness in /etc/zaurus.d/hinge-landscape/00-backlight-on and /etc/zaurus.d/hinge-portrait/00-backlight-on )

QUOTE(jpmatrix @ Dec 13 2007, 06:58 PM) *
little problem : when you close the lid outside of X, the screens shut off. but when you open it again it remains dark smile.gif
any way to correct that ?



yeah yeah, i took the zaurusd directory from angstrom and it apparently needs some tweaking wink.gif
i'm about to succeed in that wink.gif


Go to the top of the page
 
+Quote Post
scottlfa
post Dec 18 2007, 05:19 PM
Post #27





Group: Members
Posts: 283
Joined: 1-October 07
From: Blacksburg, SC, USA
Member No.: 20,773



apt-get install rcconf

The app allows you to easily set what startup services will run, zaurusd is not usually set to start at boot. I think it runs when X is triggered and closed down when you exit it. I could be wrong though. The app though is very useful.
Go to the top of the page
 
+Quote Post
LinuxGadget
post Dec 19 2007, 11:48 AM
Post #28





Group: Members
Posts: 44
Joined: 21-October 07
From: Aschersleben, Germany
Member No.: 20,849



Great rolleyes.gif , been looking for sysv-rc-conf laugh.gif (i'm running sidux on my box)

QUOTE(scottlfa @ Dec 19 2007, 02:19 AM) *
apt-get install rcconf

The app allows you to easily set what startup services will run, zaurusd is not usually set to start at boot. I think it runs when X is triggered and closed down when you exit it. I could be wrong though. The app though is very useful.

Go to the top of the page
 
+Quote Post
gojira
post Feb 10 2009, 05:37 AM
Post #29





Group: Members
Posts: 124
Joined: 16-January 05
Member No.: 6,248



QUOTE(dlj0 @ Dec 4 2007, 01:24 AM) *
I have had numerous instances where, carrying the machine in my pocket, something will touch the button and it will wake up, and drain the battery.


yeah, me too. is there any way to poll the hinge switch to see if the lid is closed? then it'd be easy to test on resume and just suspend again
Go to the top of the page
 
+Quote Post

2 Pages V  < 1 2
Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 14th July 2014 - 08:18 AM