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

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Pdaxrom Beta4 "light And Power Settings" (patch), Easy patch for lightnpower.py - Rev 2
anunakin
post May 14 2006, 09:25 AM
Post #1





Group: Members
Posts: 340
Joined: 22-August 04
From: Belem, Brasil
Member No.: 4,358



CODE
$gunzip  /LOCATION TO/lightnpower.patch.gz
$ cd /usr/bin/
$ patch -p0 < /LOCATION TO/lightnpower-r2.patch
patching file /usr/bin/lightnpower.py


If you dont have patch command copy full lightnpower apps:
CODE
$ cd /LOCATION TO/lightnpower.py.gz/
$ gunzip lightnpower.py.gz
$ cp lightnpower.py /usr/bin/


This simple patch enable 1 to max_brightness levels on Light and Power settings!

-------------------
OBS¹: Autodetect max_brightness
OBS²: Who applied first patch must use lightnpower.py.gz, use gunzip for uncompress...

This post has been edited by anunakin: May 15 2006, 09:29 AM
Attached File(s)
Attached File  lightnpower_r2.patch.gz ( 587bytes ) Number of downloads: 24
Attached File  lightnpower.py.gz ( 2.71K ) Number of downloads: 31
 
Go to the top of the page
 
+Quote Post
urielka
post May 14 2006, 09:47 AM
Post #2





Group: Members
Posts: 178
Joined: 13-September 05
Member No.: 8,099



i have 47 levels on my C1000,i think u should check that out
Go to the top of the page
 
+Quote Post
MONVMENTVM
post May 14 2006, 10:18 AM
Post #3





Group: Members
Posts: 191
Joined: 4-July 05
Member No.: 7,526



QUOTE(urielka @ May 14 2006, 06:47 PM)
i have 47 levels on my C1000,i think u should check that out
*



Yeah but with this patch you have only 20 wink.gif


btw. Thanks it works fine... what we still need is to change backlight with fn+3 and fn+4.

Also the patch didnt work for me so I took the file itself and copied it to /usr/bin. It says command not found for "patch".
Go to the top of the page
 
+Quote Post
anunakin
post May 14 2006, 12:20 PM
Post #4





Group: Members
Posts: 340
Joined: 22-August 04
From: Belem, Brasil
Member No.: 4,358



Patch revised, read first post

QUOTE(MONVMENTVM @ May 14 2006, 06:18 PM)
QUOTE(urielka @ May 14 2006, 06:47 PM)
i have 47 levels on my C1000,i think u should check that out
*



Yeah but with this patch you have only 20 wink.gif


btw. Thanks it works fine... what we still need is to change backlight with fn+3 and fn+4.

Also the patch didnt work for me so I took the file itself and copied it to /usr/bin. It says command not found for "patch".
*



Read R2 comments on first post
Go to the top of the page
 
+Quote Post
MONVMENTVM
post May 14 2006, 12:49 PM
Post #5





Group: Members
Posts: 191
Joined: 4-July 05
Member No.: 7,526



Is that another version?

What do you mean with max_brightness levels?

Thanks for making this patch btw... its nice!
Go to the top of the page
 
+Quote Post
anunakin
post May 15 2006, 03:33 AM
Post #6





Group: Members
Posts: 340
Joined: 22-August 04
From: Belem, Brasil
Member No.: 4,358



QUOTE(MONVMENTVM @ May 14 2006, 08:49 PM)
Is that another version?

What do you mean with max_brightness levels?

Thanks for making this patch btw... its nice!
*


Yes! this is a new version max_brightness is a value from kernel this has diff values for each Z, now this script detects what is this value for you machine.... wink.gif
Go to the top of the page
 
+Quote Post

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

 



RSS Lo-Fi Version Time is now: 22nd May 2013 - 12:15 PM