OESF Portables Forum
Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: patsch on June 29, 2006, 11:27:06 am
-
has anybody an idea how to handel the backlight in the console (without x11)???
i need a lightfull screen for my video "installation" : )
-
What kernel version and machine?
You could compile my version OpenZaurus bl for pdaX and it would probably work for the 2.4.18 kernel c7x0 machines (depending on the kernel interfaces, and will certainly work for all 2.6.x machines as it uses /sys).
http://people.bath.ac.uk/enpsgp/Zaurus/bl/ (http://people.bath.ac.uk/enpsgp/Zaurus/bl/)
http://people.bath.ac.uk/enpsgp/Zaurus/bl/bl-0.1.tar.gz (http://people.bath.ac.uk/enpsgp/Zaurus/bl/bl-0.1.tar.gz) is the source
and
http://people.bath.ac.uk/enpsgp/Zaurus/bl/bl_0.1.bb (http://people.bath.ac.uk/enpsgp/Zaurus/bl/bl_0.1.bb)
will give you a clue as to how to compile it (one liner, make sure you link in glib-2.0 or similar).
Other than that, I don't know.
Si
-
if you are python savvy... you could prolly open the lightandpower python file up and look for what commands are used... if i had my Z on me... I would tell you...
Late
-
thanx lardman
but i have a lot of problems to slove first... so i think your solution with compiling is in this time to much for me.
i looked i the python thing... but i dont't understand much : ( so, Late when you have time.... it would be suuuuper, when you could post it here : )
thack.
pat.
-
For me (2.4 kernel pdaXrom on SL6000):
/sbin/setfl X
where X is an integer setting for brightness.
-
yep....
There you go patsch....
karlto knows his stuff...
setfl then the # (brightness) you would like
from 0-10... I would suggest not to use 0... it will blank you screen...
Late... (Shortened version of Later)... Late is defiently not my name.. LOL
-
karlto knows his stuff...
setfl then the # (brightness) you would like
Whew, I agree! This is a very handy piece of knowledge. Are there any other
console mode tricks, like perhaps how to suspend (other than just apm -s) which
in the past has given me trouble(s)? And/or maybe how to change the background
and foreground text colors? Many thanks in advance for any such tidbits! John
-
karlto knows his stuff...
setfl then the # (brightness) you would like
Whew, I agree! This is a very handy piece of knowledge. Are there any other
console mode tricks, like perhaps how to suspend (other than just apm -s) which
in the past has given me trouble(s)? And/or maybe how to change the background
and foreground text colors? Many thanks in advance for any such tidbits! John
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]
(http://index.php?act=findpost&pid=133436\")
I cheated on that one - just looked in the python script like InSearchOf suggested...
If you want automatic suspend, I guess you'd need a daemon like apmd. Even laptops/desktops tend to use X/KDE/Gnome applets or daemons to handle this stuff rather than running the console mode daemons. Haven't seen anything like this on pdaXrom.
I think console text colours can be changed by editing /etc/profile - I use Bundabrg's patchlist ipk as described/linked in [a href=\"https://www.oesf.org/forums/index.php?showtopic=14032&hl=patchlist&st=15]this post[/url].
-
setfl
from 0-10... I would suggest not to use 0... it will blank you screen...
jau, great : )
thanx alot.
i have two corgis and so i saw that the setfl 10 isn't so light itensitive as the other.
30 is the upper limit : )
Late... (Shortened version of Later)... Late is defiently not my name.. LOL
[div align=\"right\"][a href=\"index.php?act=findpost&pid=133415\"][{POST_SNAPBACK}][/a][/div]
well, lol i now : )
i'm learning somehow ; )
hejdo.