Page 9 of 19 FirstFirst ... 7891011 ... LastLast
Results 81 to 90 of 188

Thread: Power Management gui

  1. #81
    Join Date
    Nov 2007
    Location
    Singapore
    Beans
    43
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: Power Management gui

    typed cat /etc/wattospm/config
    got this

    <<<<<<< .mine
    [iwl_wifi]
    dirs = iwlagn/0000:03:00.0
    saving_setting = 5
    performance_setting = 6
    enabled = True
    detected = True
    =======
    [config]
    first_run = True
    mode =
    root_drive =
    root_partition =
    cdrom =
    activation =
    smp = False
    username =
    interfaces =
    notifications = True
    >>>>>>> .r29

    [dirty_background_ratio]
    performance_setting = 5
    detected = True
    enabled = False
    saving_setting = 1

    [dirty_writeback]
    performance_setting = 90
    detected = True
    enabled = False
    saving_setting = 60000

    [bluetooth]
    detected = False
    enabled = False
    modules = rfcomm,bnep,sco,l2cap,uhci_hcd, btusb,bluetooth
    devices = sh

    [readahead]
    performance_setting = 256
    detected = True
    enabled = False
    saving_setting = 1280

    [dirty_ratio]
    performance_setting = 10
    detected = True
    enabled = False
    saving_setting = 90

    [usb]
    detected = True
    enabled = False
    modules = usbhid,uhci_hcd,ehci_hcd

    [firewire]
    detected = False
    enabled = False
    modules = sbp2,ohci1394,ieee1394

    [intel_sound]
    performance_setting = 0
    detected = True
    enabled = True
    saving_setting = 10

    [sata]
    saving_setting = min_power
    performance_setting = max_performance
    enabled = True
    detected = False
    hosts =

    [tracker]
    detected = True
    enabled = False

    [journal_commit]
    performance_setting = 60
    detected = True
    enabled = False
    saving_setting = 600

    [config]
    username = junhong
    first_run = False
    root_drive = /dev/sda
    activation = auto
    smp = True
    cdrom = /dev/scd0
    mode = advanced
    interface =
    root_partition = /dev/sda8
    notifications = True

    [acpi_therm]
    dirs = THRM
    saving_setting = 0
    performance_setting = 2
    enabled = True
    detected = True

    [sched_mc]
    performance_setting = 0
    detected = True
    enabled = True
    saving_setting = 1

    [window_manager]
    performance_setting = compiz
    detected = True
    enabled = False
    saving_setting = metacity

    [ac97_sound]
    performance_setting = 0
    detected = False
    enabled = True
    saving_setting = 1

    [hdparm]
    performance_setting = -B 200 -S 240 -M 254 -W 1
    detected = True
    enabled = True
    saving_setting = -B 1 -S 4 -M 128 -W 0

    [xbacklight]
    performance_setting = 100
    detected = False
    enabled = False
    saving_setting = 50

    [ipw_wifi]
    performance_setting = 6
    detected = False
    enabled = False
    saving_setting = 5
    interface =

    [webcam]
    detected = False
    enabled = False
    modules = uvcvideo

    [pcie_aspm]
    performance_setting = default
    detected = False
    enabled = False
    saving_setting = powersave

    [ati]
    performance_setting = 2
    detected = False
    enabled = False
    saving_setting = 1

    [nmi_watchdog]
    performance_setting = 1
    detected = True
    enabled = False
    saving_setting = 0

    [nvidia]
    performance_setting = 1,.3
    detected = True
    enabled = False
    saving_setting = 0,.1

    [hal_polling]
    detected = True
    enabled = False

  2. #82
    Join Date
    Jun 2006
    Beans
    267

    Re: Power Management gui

    Ok your config file is correct, I'm working on some changes now. Once I get done with this you can try the new version and see if that fixes it. Hopefully I'll be done in a day or two.

    edit: also I will probably go with making a group for permissions to the config file for now, I will go to the "unlock" button eventually. The unlock button is policykit which from looking it up seems a little complicated, I'm having enough trouble daemonizing the app now without extra confusion
    Last edited by iggykoopa; December 10th, 2008 at 06:10 AM.

  3. #83
    Join Date
    Jun 2007
    Location
    Columbus, OH
    Beans
    172
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: Power Management gui

    Cheaptrick: I had the same issue actually, just uninstall and install it again and re-setup your values. Worked for me.

  4. #84
    Join Date
    Nov 2007
    Location
    Singapore
    Beans
    43
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: Power Management gui

    yes i've tried uninstalling and installing, still did not work for me

  5. #85
    Join Date
    Jun 2007
    Location
    Columbus, OH
    Beans
    172
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: Power Management gui

    I also removed my config file and replaced it with the config.default file:

    rm config
    cp config.default config

    Try that and then do the uninstall
    sudo python installer.py uninstall
    sudo python installer.py install

  6. #86
    Join Date
    Jun 2006
    Beans
    267

    Re: Power Management gui

    you shouldn't have to do all that, the installer removes the old files and copies the new when you install. I did find a bug in it that may be causing your problem but it'll be another day or two before I post the new version, went snowboarding today so I'm exhausted.

  7. #87
    Join Date
    Jun 2007
    Location
    Columbus, OH
    Beans
    172
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: Power Management gui

    I realize you probably shouldnt have to, but i counldnt find any other way to make it work. Anyway, that is what i did to get it working again. Thanks for your hard work on this Iggy.

  8. #88
    Join Date
    Jun 2006
    Beans
    267

    Re: Power Management gui

    no problem, I'm enjoying writing this. It's a good way to learn python, and I appreciate the help you guys are giving in getting all the bugs ironned out and giving me new stuff to work on .

  9. #89
    Join Date
    Jun 2007
    Location
    Columbus, OH
    Beans
    172
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: Power Management gui

    The drive spin up and down is really starting to worry me .. its pretty much constantly parking and spinning back up. I think for the time being I am going to disable the disk features until I am sure this is safe.

  10. #90
    Join Date
    Jun 2006
    Beans
    267

    Re: Power Management gui

    ok that sounds fine, all you have to do is set the -B setting in powersaving mode to 254 and it will keep your drive spun up all the time. Are you using firefox while it's doing this? It's a known bug in firefox that it keeps the disks spun up, if thats the problem you can either use dillo2 when your off battery or you can try the firefox launcher I'm attaching. It loads your firefox into a ramdisk and backs it up using rsync every ten minutes(make sure you have rsync installed first) the only problem so far with the script is make sure you shut down firefox before you shut the computer down(it'll restore from the backup on the next launch but you may lose a couple minutes of work). Also if your concerned about the load cycle count here http://ubuntuforums.org/showthread.p...ad+cycle+count is a guide on how to check it.

    edit: I'm not sure how yours will be but I've had my laptop for about a year and my load cycle count is around 82,000 on the guide it says most drives last around 600,000 so I'm not too concerned on mine.

    edit again: make sure before you run the script that you have enough free memory, run:
    Code:
    du -sh ~/.mozilla/firefox
    free -m
    and make sure the first number is not bigger than the amount free reported by free -m.
    Attached Files Attached Files
    Last edited by iggykoopa; December 12th, 2008 at 05:14 AM.

Page 9 of 19 FirstFirst ... 7891011 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •