Author Topic: Enabling Wireless Card Power Managment  (Read 2301 times)

dvdrw

  • Newbie
  • *
  • Posts: 32
    • View Profile
    • http://
Enabling Wireless Card Power Managment
« on: February 03, 2005, 01:53:08 pm »
laze, have you thought about providing an option (or enabling by default) power management for the wireless card in the lan/network panel (wireless tab)?  I've played around with this, and it seems to help battery life noticeably with my DLink/SanDisk CF 802 cards (both are Prism-based cards.)  I am not sure about compatiblity with other cards though.

you can enable powersave mode at the command line by entering:

   iwconfig eth0 power on

to make powersave mode always enabled, I modified "/usr/bin/network.py", and searched for 'case "$ADDRESS" in' (should be around line 68), and inserted this string before the case statement:

   IWCONFIG="power on"

seems to work great, and it does seem to help improve battery life with the wireless card.

just a thought...!

conundrum

  • Full Member
  • ***
  • Posts: 102
    • View Profile
Enabling Wireless Card Power Managment
« Reply #1 on: February 03, 2005, 03:14:47 pm »
I already use the LP Socket Card, so maybe this will help even more.

Thanks for the tip.

Laze

  • Hero Member
  • *****
  • Posts: 704
    • View Profile
    • http://www.pdaXrom.org
Enabling Wireless Card Power Managment
« Reply #2 on: February 04, 2005, 03:12:11 am »
Ooopss will add it right away.. Next IPK feed update will included this.
C760 running pdaXrom lastest ;-)
SL5500 Running Cacko Qtopia
512 MB SD Card, 128 MB CF Card, Prism2 CF Wlan.

Always visit http://www.pdaXrom.org for latest news.

scoutme

  • Hero Member
  • *****
  • Posts: 579
    • View Profile
Enabling Wireless Card Power Managment
« Reply #3 on: February 06, 2005, 05:32:20 am »
I found that string two times in the pythin script. I put the power stuff right before each of the two repetition. Right?