OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Angstrom & OpenZaurus => Topic started by: richie on January 10, 2006, 03:40:47 pm

Title: Turn Off Lcd With Gpe Possible?
Post by: richie on January 10, 2006, 03:40:47 pm
Hi

Is it possible to switch off the LCD whilst listening to music using OZ/GPE? There was an applet thing for the Sharp roms using Qtopia, but I can't find anything for GPE, does anything exist?

thanks
Rich
Title: Turn Off Lcd With Gpe Possible?
Post by: lardman on January 11, 2006, 07:46:47 am
What machine are you using (and if it's a clamshell, what version of the kernel?)?


Si
Title: Turn Off Lcd With Gpe Possible?
Post by: richie on January 11, 2006, 08:50:36 am
Quote
What machine are you using (and if it's a clamshell, what version of the kernel?)?


Si
[div align=\"right\"][a href=\"index.php?act=findpost&pid=110419\"][{POST_SNAPBACK}][/a][/div]

Zaurus 5500 collie

thanks
Rich
Title: Turn Off Lcd With Gpe Possible?
Post by: lardman on January 11, 2006, 09:18:49 am
FYI the applets should work with the compat libs.

GPE has a screen off timeout afaik, but you need my version of bl from http://people.bath.ac.uk/enpsgp/Zaurus/bl/ (http://people.bath.ac.uk/enpsgp/Zaurus/bl/)

Download the ipk file and extract the bl binary from it (as ipkg won't accept the arm5 arch) and stick that binary in /usr/bin.

You can then issue 'bl off', 'bl on', 'bl x' where x is from 0-255.

This will also allow the ipaq-sleep daemon to control the backlight settings.


Si
Title: Turn Off Lcd With Gpe Possible?
Post by: darmou on January 12, 2006, 10:32:17 am
Quote
You can then issue 'bl off', 'bl on', 'bl x' where x is from 0-255.

This will also allow the ipaq-sleep daemon to control the backlight settings.


Si
[div align=\"right\"][a href=\"index.php?act=findpost&pid=110432\"][{POST_SNAPBACK}][/a][/div]

Lardman your binary does not work on a collie.  You need to use the slbl program instead.

Basic usage:
 slbl 0 (off) through to slbl 4 (very bright)

It is part of the slutils console package for openzaurus.

darmou
Title: Turn Off Lcd With Gpe Possible?
Post by: lardman on January 12, 2006, 11:53:48 am
My binary should work on the collie, it's been tested.

What was the error message?


Si
Title: Turn Off Lcd With Gpe Possible?
Post by: darmou on January 13, 2006, 01:32:56 am
Quote
My binary should work on the collie, it's been tested.

What was the error message?


Si
[div align=\"right\"][a href=\"index.php?act=findpost&pid=110656\"][{POST_SNAPBACK}][/a][/div]

collie:/media/card/home/root> # ./bl
on 25
Illegal instruction

using 1 as a parameter:

collie:/media/card/home/root> # ./bl 1
Illegal instruction

Hope this helps,

darmou
Title: Turn Off Lcd With Gpe Possible?
Post by: Hrw on January 13, 2006, 03:53:39 am
someone built it for armv5 probably...

lardman: qtopia applets/inputmethods will not work even with sharp-compat-libs.
Title: Turn Off Lcd With Gpe Possible?
Post by: lardman on January 13, 2006, 06:44:51 am
Quote
someone built it for armv5 probably...

Indeed I did, but I'd heard that it ran okay on the collies.

I'll build a new version for arm4 (or if you have OE you can do it yourself - build bl-0.0 (not cvs))


Si