![]() ![]() |
Dec 3 2007, 03:05 AM
Post
#1
|
|
![]() Group: Members Posts: 1,019 Joined: 15-February 05 From: France Member No.: 6,477 |
what is the defalut behaviour of closing the lid on debian zaurus ?
doest it suspend or does it just shut the screen off ? where could we set that behaviour ? |
|
|
|
Dec 3 2007, 06:24 AM
Post
#2
|
|
|
Group: Members Posts: 219 Joined: 3-March 06 Member No.: 9,282 |
what is the defalut behaviour of closing the lid on debian zaurus ? doest it suspend or does it just shut the screen off ? where could we set that behaviour ? Mine doesn't even seem to shut the screen off, and 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. I would definitely want a suspend-on-closed option. |
|
|
|
Dec 3 2007, 07:51 AM
Post
#3
|
|
![]() Group: Members Posts: 1,019 Joined: 15-February 05 From: France Member No.: 6,477 |
what is the defalut behaviour of closing the lid on debian zaurus ? doest it suspend or does it just shut the screen off ? where could we set that behaviour ? Mine doesn't even seem to shut the screen off, and 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. I would definitely want a suspend-on-closed option. definitely! and (like angstrom) a ask-code-on-resume would be great too |
|
|
|
Dec 3 2007, 11:15 AM
Post
#4
|
|
|
Group: Members Posts: 104 Joined: 14-August 06 Member No.: 10,798 |
unfortunatly, for the moment, the "key" for when you're closing the lid isn't mapped... (try xev, and press it, you'll see). it's an issue a friend of mine dealed some years ago with his new keyboard, which had keys that wasn't map either.
I'll check my irclog, and i'll post it there... if someone wants to try, he'll have a begin. Sorry, i don't have the time to do it now myself... If no ones does, maybe i'll check in some weeks. |
|
|
|
Dec 3 2007, 11:49 AM
Post
#5
|
|
|
Group: Members Posts: 217 Joined: 6-June 04 Member No.: 3,590 |
If you install zaurusd package, you can set the behaviour of closing the lid. It is very simple.
In /etc/zaurusd/hinge-close.d/00-backlight-off, replace "${ZD_BINDIR}/bl off" with "apm -s" to suspend Z when you close the lid. |
|
|
|
Dec 3 2007, 12:14 PM
Post
#6
|
|
![]() Group: Members Posts: 1,019 Joined: 15-February 05 From: France Member No.: 6,477 |
If you install zaurusd package, you can set the behaviour of closing the lid. It is very simple. In /etc/zaurusd/hinge-close.d/00-backlight-off, replace "${ZD_BINDIR}/bl off" with "apm -s" to suspend Z when you close the lid. many thanks to point out the direction! however i have no bl script in /usr/bin is it tied to display-brightness.sh ? |
|
|
|
Dec 3 2007, 12:25 PM
Post
#7
|
|
|
Group: Members Posts: 104 Joined: 14-August 06 Member No.: 10,798 |
ok... pb solved...
make an add in the wiki... then, i'll give it to you guys ! |
|
|
|
Dec 3 2007, 12:27 PM
Post
#8
|
|
|
Group: Members Posts: 217 Joined: 6-June 04 Member No.: 3,590 |
If you install zaurusd package, you can set the behaviour of closing the lid. It is very simple. In /etc/zaurusd/hinge-close.d/00-backlight-off, replace "${ZD_BINDIR}/bl off" with "apm -s" to suspend Z when you close the lid. many thanks to point out the direction! however i have no bl script in /usr/bin is it tied to display-brightness.sh ? The command "bl" is in gpe-conf package. You can turn on or off the screen with bl which is slightly different from display-brightness.sh. |
|
|
|
Dec 3 2007, 12:53 PM
Post
#9
|
|
![]() Group: Admin Posts: 3,277 Joined: 29-July 04 From: Cambridge, England Member No.: 4,149 |
not sure if this helps, but I hacked up some scripts to blank/dim and unblank/undim the display for Angstrom... some notes here:
http://lists.linuxtogo.org/pipermail/angst...une/000312.html |
|
|
|
Dec 3 2007, 01:00 PM
Post
#10
|
|
|
Group: Members Posts: 104 Joined: 14-August 06 Member No.: 10,798 |
|
|
|
|
Dec 5 2007, 10:48 AM
Post
#11
|
|
|
Group: Members Posts: 9 Joined: 29-September 07 Member No.: 20,767 |
Hi, any idea why zaurusd works on icewm but not on xfce4? Is there anything I have to change?
the screen rotates while using icewm as the window manager by swiveling the lid, but when I use xfce4 in the same system it doesn't. any ideas? I have both window managers (icewm and xfce4) installed in eabi in my C3200. I tried both my own from scratch installation as per Q17 on the wiki as well as using the rootfs from Zdevil and I get the same results. Thanks... |
|
|
|
Dec 5 2007, 05:22 PM
Post
#12
|
|
|
Group: Members Posts: 219 Joined: 3-March 06 Member No.: 9,282 |
Hi, any idea why zaurusd works on icewm but not on xfce4? Is there anything I have to change? the screen rotates while using icewm as the window manager by swiveling the lid, but when I use xfce4 in the same system it doesn't. any ideas? I had a slightly different reaction. I couldn't get the change in script to take effect, then I realized that zaurusd was not running. When I got it running, it rotated the screen (a second time, since I start the server with the angle set), but the size of windows in each screen seemed to presume the opposite orientation, so it was not usable. I have gotten rid of the screen-rotate settings -- well, using the machine with the "portrait mode" where the keys are hidden is kinda pointless without a virtual keyboard, anyway -- but kept the "closed" settings, so now it automatically suspends when I close the screen --- should help with accidental re-activation, but it doesn't. If you hit the suspend/resume key with the machine suspended, and the lid closed, it starts up and stays up, even with zaurusd running and apm -s the command for when the lid is closed. Close it again and it suspends. |
|
|
|
Dec 5 2007, 11:04 PM
Post
#13
|
|
![]() Group: Members Posts: 1,019 Joined: 15-February 05 From: France Member No.: 6,477 |
-- 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 |
|
|
|
Dec 6 2007, 07:26 AM
Post
#14
|
|
![]() Group: Members Posts: 1,019 Joined: 15-February 05 From: France Member No.: 6,477 |
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 ? |
|
|
|
Dec 6 2007, 08:34 AM
Post
#15
|
|
![]() Group: Admin Posts: 3,277 Joined: 29-July 04 From: Cambridge, England Member No.: 4,149 |
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 ? 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. |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 22nd May 2013 - 09:47 AM |