maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   Power saving on/off ? (https://talk.maemo.org/showthread.php?t=45600)

Piosio 2010-02-23 19:42

Power saving on/off ?
 
Hi!

There is some desktop plugin to simple switch on/off power saving on WiFii ?

Or maby exist some terminal command to avoid this steps:

Step 1: Go to Menu > Settings > Internet Connections
Step 2: Click on Connections
Step 3: Select your Wi-Fi network
Step 4: Click on Edit
Step 5: Press Next twice (until it is idsabled)
Step 6: Click on Advanced
Step 7: Go to the 'Other' tab
Step 8: Click on 'Power Saving' and select Off.

some ideas... ?

rewt 2010-02-23 19:55

Re: Power saving on/off ?
 
As root:

iwconfig wlan0 power off

will disable power management temporarily. You will need the wireless-tools package (from Nokia Apps repo) installed to get this command (IIRC, it isn't by default).

From my testing, it appears the change made using iwconfig will remain until you switch wireless networks or until your device is idle for ~30 seconds.

Andre Klapper 2010-02-23 20:05

Re: Power saving on/off ?
 
Also see https://bugs.maemo.org/show_bug.cgi?id=6378 (and feel free to vote for it - no "I want this too" comments please as they create bugmail)...

rewt 2010-02-23 20:09

Re: Power saving on/off ?
 
@Andre: I don't think this is a case of wanting to disable the 802.11 radio, but rather temporarily changing the power management setting to increase 802.11 performance.

Piosio 2010-02-23 20:41

Re: Power saving on/off ?
 
Quote:

Originally Posted by rewt (Post 543178)
As root:

iwconfig wlan0 power off

will disable power management temporarily. You will need the wireless-tools package (from Nokia Apps repo) installed to get this command (IIRC, it isn't by default).

From my testing, it appears the change made using iwconfig will remain until you switch wireless networks or until your device is idle for ~30 seconds.

Thanks for help...
But it's looks like not working...
when i switch off power saving by UI
i get:

Code:

PING n900 (192...) 56(84) bytes of data.
64 bytes from n900 (192...): icmp_seq=153 ttl=64 time=2.54 ms
64 bytes from n900 (192...): icmp_seq=154 ttl=64 time=2.23 ms
64 bytes from n900 (192...): icmp_seq=155 ttl=64 time=2.51 ms

When I switch on power saving by UI i get:
Code:

PING n900 (192...) 56(84) bytes of data.
64 bytes from n900 (192...): icmp_seq=1 ttl=64 time=2339 ms
64 bytes from n900 (192...): icmp_seq=3 ttl=64 time=1340 ms
64 bytes from n900 (192...): icmp_seq=4 ttl=64 time=1582 ms

When I use "iwconfig wlan0 power off"
iwconfig say that Power managment is OFF on wlan0 but:

Code:

PING n900 (192...) 56(84) bytes of data.
64 bytes from n900 (192...): icmp_seq=18 ttl=64 time=958 ms
64 bytes from n900 (192...): icmp_seq=19 ttl=64 time=1985 ms
64 bytes from n900 (192...): icmp_seq=20 ttl=64 time=2069 ms
64 bytes from n900 (192...): icmp_seq=21 ttl=64 time=1070 ms

Any idea... ?


Quote:

Edit: It's work when you use this command in Xterminal in device not via ssh as i have done it before...

rewt 2010-02-23 21:04

Re: Power saving on/off ?
 
Works here...

50 pings with PM on and off:

RTT...min......avg.......max.......
[on ] 6.570....128.856...253.957 ms
[off] 2.203......3.133.....4.783 ms


I only tried disabling power management using iwconfig, but it is clear that there was a decrease in jitter/latency once I did so.

Piosio 2010-02-23 21:28

Re: Power saving on/off ?
 
I was close to install "n900fly" and do some record... ;)

But you was right it's work...
but only when I use this command in xterminal not via ssh.

Think it's about that 30sec idle what you wrote...

Sorry and Thanks! ;)
It's what I was looking for ;)
Thanks again...

ndi 2010-02-24 01:03

Re: Power saving on/off ?
 
Wifiinfo has some buttons - don't they do just that?


All times are GMT. The time now is 08:23.

vBulletin® Version 3.8.8