Author Topic: Mb-applet-powerctrl  (Read 32301 times)

ecc_hy

  • Full Member
  • ***
  • Posts: 125
    • View Profile
Mb-applet-powerctrl
« Reply #30 on: July 02, 2007, 08:27:32 am »
Finished:
code cleaning.
Display config.

Next:
Overclock protected.
« Last Edit: July 02, 2007, 10:41:10 am by ecc_hy »
SL-C1000, Roku wifi, pdaxii13v2/Debian dual booting

zi99y

  • Sr. Member
  • ****
  • Posts: 282
    • View Profile
Mb-applet-powerctrl
« Reply #31 on: July 03, 2007, 03:57:19 pm »
I still cannot get this to work, using the latest ipk I get the following ouput when running from a terminal:

[code]
~$ mb-applet-powerctrl
DEBUG: Read config [/home/gez/Choices/powerctrl.cfg]
DEBUG: /home/gez/Choices/powerctrl.cfg . PowerCtrl
DEBUG: PowerCtrl . PathModel0 . /proc/deviceinfo/product
DEBUG: PowerCtrl . PathModel1 . /etc/hardware
DEBUG: PowerCtrl . MenuFont . Verdana-14
DEBUG: Product [SL-C3200]
DEBUG: /home/gez/Choices/powerctrl.cfg . PowerCtrl
DEBUG: PowerCtrl . SL-C3200 . PXA270
DEBUG: CPU [PXA270]
DEBUG: /home/gez/Choices/powerctrl.cfg . PXA270
DEBUG: PXA270 . PathCCCR . /proc/zaurus/CCCR
DEBUG: PXA270 . PathVCORE . /proc/zaurus/VCORE
DEBUG: PXA270 . MaxFreq . 5
DEBUG: PXA270 . DefaultFreq . 3
DEBUG: /home/gez/Choices/powerctrl.cfg . PXA270
DEBUG: PXA270 . backlight . 10000,10001,10007,10101,10107,10111
DEBUG: PXA270 . freq0 . 104,2000204,4
DEBUG: PXA270 . freq1 . 208,2000206,6
DEBUG: PXA270 . freq2 . 312,2000208,8
DEBUG: PXA270 . freq3 . 416,2000210,a
DEBUG: PXA270 . freq4 . 502,2000290,c
DEBUG: PXA270 . freq5 . 624,2000310,e
DEBUG: Read backlight 0 - 0x10000
DEBUG: Read backlight 1 - 0x10001
DEBUG: Read backlight 2 - 0x10007
DEBUG: Read backlight 3 - 0x10101
DEBUG: Read backlight 4 - 0x10107
DEBUG: Read backlight 5 - 0x10111
DEBUG: Read Freq 0 - 104, 0x2000204, 0x4
DEBUG: Read Freq 1 - 208, 0x2000206, 0x6
DEBUG: Read Freq 2 - 312, 0x2000208, 0x8
DEBUG: Read Freq 3 - 416, 0x2000210, 0xa
DEBUG: Read Freq 4 - 502, 0x2000290, 0xc
DEBUG: Read Freq 5 - 624, 0x2000310, 0xe
DEBUG: /home/gez/Choices/powerctrl.cfg . PXA270
DEBUG: PXA270 . BatteryWarn . 15
DEBUG: PXA270 . bSpeedStep . False
DEBUG: PXA270 . StepDelay . 3
DEBUG: PXA270 . acUsageHigher . 80
DEBUG: PXA270 . acUsageLower . 20
DEBUG: PXA270 . acMaxFreq . 5
DEBUG: PXA270 . acMinFreq . 3
DEBUG: PXA270 . baUsageHigher . 80
DEBUG: PXA270 . baUsageLower . 20
DEBUG: PXA270 . baMaxFreq . 5
DEBUG: PXA270 . baMinFreq . 1
mbmenu: no _MB_THEME set on root window
DEBUG: lnp AC Power 4 1200 0
DEBUG: lnp battery 1 300 3000
DEBUG: CCCR val 0x2000210
DEBUG: Backlight string 0x00010111

DEBUG: Backlight val 0x10111
Segmentation fault
[/quote]

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Mb-applet-powerctrl
« Reply #32 on: July 03, 2007, 07:43:56 pm »
Quote from: zi99y,Jul 4 2007, 05:57 AM
I still cannot get this to work, using the latest ipk I get the following ouput when running from a terminal:

[code]
~$ mb-applet-powerctrl
DEBUG: Read config [/home/gez/Choices/powerctrl.cfg]
DEBUG: /home/gez/Choices/powerctrl.cfg . PowerCtrl
DEBUG: PowerCtrl . PathModel0 . /proc/deviceinfo/product
DEBUG: PowerCtrl . PathModel1 . /etc/hardware
DEBUG: PowerCtrl . MenuFont . Verdana-14
DEBUG: Product [SL-C3200]
DEBUG: /home/gez/Choices/powerctrl.cfg . PowerCtrl
DEBUG: PowerCtrl . SL-C3200 . PXA270
DEBUG: CPU [PXA270]
DEBUG: /home/gez/Choices/powerctrl.cfg . PXA270
DEBUG: PXA270 . PathCCCR . /proc/zaurus/CCCR
DEBUG: PXA270 . PathVCORE . /proc/zaurus/VCORE
DEBUG: PXA270 . MaxFreq . 5
DEBUG: PXA270 . DefaultFreq . 3
DEBUG: /home/gez/Choices/powerctrl.cfg . PXA270
DEBUG: PXA270 . backlight . 10000,10001,10007,10101,10107,10111
DEBUG: PXA270 . freq0 . 104,2000204,4
DEBUG: PXA270 . freq1 . 208,2000206,6
DEBUG: PXA270 . freq2 . 312,2000208,8
DEBUG: PXA270 . freq3 . 416,2000210,a
DEBUG: PXA270 . freq4 . 502,2000290,c
DEBUG: PXA270 . freq5 . 624,2000310,e
DEBUG: Read backlight 0 - 0x10000
DEBUG: Read backlight 1 - 0x10001
DEBUG: Read backlight 2 - 0x10007
DEBUG: Read backlight 3 - 0x10101
DEBUG: Read backlight 4 - 0x10107
DEBUG: Read backlight 5 - 0x10111
DEBUG: Read Freq 0 - 104, 0x2000204, 0x4
DEBUG: Read Freq 1 - 208, 0x2000206, 0x6
DEBUG: Read Freq 2 - 312, 0x2000208, 0x8
DEBUG: Read Freq 3 - 416, 0x2000210, 0xa
DEBUG: Read Freq 4 - 502, 0x2000290, 0xc
DEBUG: Read Freq 5 - 624, 0x2000310, 0xe
DEBUG: /home/gez/Choices/powerctrl.cfg . PXA270
DEBUG: PXA270 . BatteryWarn . 15
DEBUG: PXA270 . bSpeedStep . False
DEBUG: PXA270 . StepDelay . 3
DEBUG: PXA270 . acUsageHigher . 80
DEBUG: PXA270 . acUsageLower . 20
DEBUG: PXA270 . acMaxFreq . 5
DEBUG: PXA270 . acMinFreq . 3
DEBUG: PXA270 . baUsageHigher . 80
DEBUG: PXA270 . baUsageLower . 20
DEBUG: PXA270 . baMaxFreq . 5
DEBUG: PXA270 . baMinFreq . 1
mbmenu: no _MB_THEME set on root window
DEBUG: lnp AC Power 4 1200 0
DEBUG: lnp battery 1 300 3000
DEBUG: CCCR val 0x2000210
DEBUG: Backlight string 0x00010111

DEBUG: Backlight val 0x10111
Segmentation fault
[div align=\"right\"][a href=\"index.php?act=findpost&pid=164236\"][{POST_SNAPBACK}][/a][/div]
[/quote]

sudo it
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

ecc_hy

  • Full Member
  • ***
  • Posts: 125
    • View Profile
Mb-applet-powerctrl
« Reply #33 on: July 04, 2007, 04:41:43 am »
add "overclock protected" to powerctrl.cfg
add volume control
try swap on/off, but system hang when exec "swapoff -a"

clean the paint code
add paint config to powerctrl.cfg
SL-C1000, Roku wifi, pdaxii13v2/Debian dual booting

zi99y

  • Sr. Member
  • ****
  • Posts: 282
    • View Profile
Mb-applet-powerctrl
« Reply #34 on: July 04, 2007, 05:51:40 pm »
Tried with sudo - same result

which section to I add these lines to, and do they ned a value?
i.e.

overclock=protected

ecc_hy

  • Full Member
  • ***
  • Posts: 125
    • View Profile
Mb-applet-powerctrl
« Reply #35 on: July 04, 2007, 10:45:32 pm »
I can not upload file to oesf now.
But I have send the new test to Meanie's yahoo mail, Please check it.
SL-C1000, Roku wifi, pdaxii13v2/Debian dual booting

zodttd

  • Full Member
  • ***
  • Posts: 188
    • View Profile
Mb-applet-powerctrl
« Reply #36 on: July 05, 2007, 02:40:42 am »
ecc_hy, thank you for this great tool! Much appreciated!
http://www.zodttd.com for all your psx4all needs (as in downloads and support). :)

CLICK HERE TO DONATE ANY AMOUNT VIA PAYPAL

Thanks for the support! I can hardly wait to get back into Zaurus development again. :)

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Mb-applet-powerctrl
« Reply #37 on: July 05, 2007, 03:24:20 am »
here's the source file and ipk for further testing.

can the volume control be made optional, ie volume_ctrl=true|false for those who want to use a separate volume applet.
« Last Edit: July 05, 2007, 09:49:13 am by Meanie »
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

kkazakov13

  • Sr. Member
  • ****
  • Posts: 408
    • View Profile
Mb-applet-powerctrl
« Reply #38 on: July 05, 2007, 07:03:45 am »
That's the most useful applet ever! Keep the good job!
SL-C3200 ** FOR SALE :( **
https://www.oesf.org/forum/index.php?showtopic=25969

Canon K30225 CF wireless card
Taxan iTax-LAN10 wired card
My packages for customized pdaXrom beta 3

ecc_hy

  • Full Member
  • ***
  • Posts: 125
    • View Profile
Mb-applet-powerctrl
« Reply #39 on: July 06, 2007, 02:44:44 am »
minor display buf fixed
   add option "bVolumeCtrl" to powerctrl.cfg

New source has been sent to meanie, pls check.
SL-C1000, Roku wifi, pdaxii13v2/Debian dual booting

climber

  • Full Member
  • ***
  • Posts: 189
    • View Profile
Mb-applet-powerctrl
« Reply #40 on: July 06, 2007, 03:42:29 am »
That look pretty good.

How can I activate this applet permanent because after reboot it's not loaded. It would be also interesting how to deactivate other.

As I see in Meanies screen-thumbnail he has got a row for 'Swap' and nice thumbnails for Battery and Mem.


SL-C3100 & pdaXii13 v5.4.7

ecc_hy

  • Full Member
  • ***
  • Posts: 125
    • View Profile
Mb-applet-powerctrl
« Reply #41 on: July 06, 2007, 05:31:13 am »
Use ipk to install. Click the applet space and hold until "add/remove" menu displayed. Add powerctrl by menu.
SL-C1000, Roku wifi, pdaxii13v2/Debian dual booting

climber

  • Full Member
  • ***
  • Posts: 189
    • View Profile
Mb-applet-powerctrl
« Reply #42 on: July 06, 2007, 05:54:44 am »
I use Meanies pdaxii13 v5.4.7 wiht icewm as windows maker. This don't work but under Cacko I know this doing to add or remove an applet.

climber

ecc_hy

  • Full Member
  • ***
  • Posts: 125
    • View Profile
Mb-applet-powerctrl
« Reply #43 on: July 06, 2007, 05:56:22 am »
Meanie know how to add applet in icewm. I always use matchbox, so can not help you, sorry.
SL-C1000, Roku wifi, pdaxii13v2/Debian dual booting

zedkatuf2

  • Full Member
  • ***
  • Posts: 153
    • View Profile
    • http://www.projectgalileo.org.uk
Mb-applet-powerctrl
« Reply #44 on: July 06, 2007, 08:00:10 am »
Quote
here's the source file and ipk for further testing.

can the volume control be made optional, ie volume_ctrl=true|false for those who want to use a separate volume applet.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=164343\"][{POST_SNAPBACK}][/a][/div]

Segfaults, even when run using sudo.  I'm using 5.4.7 pdaxii13 on a 3200
Zaurus SLC3200 (Terrier) [SOLD]
Hardware extras: 2Gb Viking SD card 4Gb Transcode MMC card 2Gb Kingston 50x CF card Symbol Socket Spectrum & Ambicom 1100C  WLAN cards Shirtpocket Bluetooth CF  & Sitecom USB cards Running Pdaxii13 using Meanie's Atika ROM & full-hd apps.