Bug 7196 - Issues with power saving mode on Belkin Pre-N router
: Issues with power saving mode on Belkin Pre-N router
Status: CLOSED FIXED
Product: SB Controller
Classification: Unclassified
Component: Power Management
: unspecified
: Macintosh Other
: P3 normal (vote)
: 7.0.1
Assigned To: Blackketter Dean
http://forums.slimdevices.com/showthr...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-02-17 11:49 UTC by Blackketter Dean
Modified: 2009-09-08 09:26 UTC (History)
2 users (show)

See Also:
Category: ---


Attachments
sniffy capture (985.90 KB, application/octet-stream)
2008-02-25 17:37 UTC, Ross Levine
Details
a sniffy capture from my house. (484.11 KB, application/octet-stream)
2008-02-26 21:48 UTC, Blackketter Dean
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Blackketter Dean 2008-02-17 11:49:38 UTC
The device should remain accessible via the network and wake instantly when in the charging dock.
Comment 1 Richard Titmuss 2008-02-18 00:54:04 UTC
This is the current behavior, and it has always worked like this for me. If this is repeatable please reopen this bug and attach a log file to this bug.
Comment 2 Blackketter Dean 2008-02-18 07:23:55 UTC
To be specific, the issue is that I see is that without player-triggered wireless traffic, the SSH connection I have becomes unresponsive.  If I pick up the remote and navigate into the music library (or do something else that triggers traffic), the queued requests start going through.

There is nothing added to the logs at this point. Originally, I thought that this was the CPU speed, but I do see the CPU speed go down/up at other points, and unless there is some CPU speed controls at other points that aren't logged, this isn't the CPU speed.


Comment 3 Richard Titmuss 2008-02-18 07:58:08 UTC
CPU is always logged. I have to say that ssh onto Jive, while it's been docked after several minutes is another Works for Me. Does the arp request from your computer find Jive?
Comment 4 Blackketter Dean 2008-02-18 08:07:06 UTC
Arp is acting a little wiggy on my macbook, but ping shows some strange behavior:

64 bytes from 192.168.1.81: icmp_seq=112 ttl=64 time=2.417 ms
64 bytes from 192.168.1.81: icmp_seq=114 ttl=64 time=15.958 ms
64 bytes from 192.168.1.81: icmp_seq=115 ttl=64 time=35.797 ms
64 bytes from 192.168.1.81: icmp_seq=116 ttl=64 time=5.736 ms
64 bytes from 192.168.1.81: icmp_seq=117 ttl=64 time=5.532 ms
64 bytes from 192.168.1.81: icmp_seq=118 ttl=64 time=5.995 ms
64 bytes from 192.168.1.81: icmp_seq=119 ttl=64 time=13141.592 ms
64 bytes from 192.168.1.81: icmp_seq=120 ttl=64 time=12146.323 ms
64 bytes from 192.168.1.81: icmp_seq=121 ttl=64 time=11146.583 ms
64 bytes from 192.168.1.81: icmp_seq=122 ttl=64 time=10146.693 ms
64 bytes from 192.168.1.81: icmp_seq=123 ttl=64 time=9147.011 ms
64 bytes from 192.168.1.81: icmp_seq=124 ttl=64 time=8148.343 ms
64 bytes from 192.168.1.81: icmp_seq=125 ttl=64 time=7148.513 ms
64 bytes from 192.168.1.81: icmp_seq=126 ttl=64 time=6149.166 ms

Where it catches up there, is when I spin the wheel.  But there is no CPU slow change in the log (however there is a CPU speed up in the log...

Feb 18 08:05:40 (none) user.info jive: (SqueezeboxJiveApplet.lua:540) - setPowerState=dimmed acpower=false
Feb 18 08:05:40 (none) user.info jive: (SqueezeboxJiveApplet.lua:907) - Set CPU speed 200000

sleeps in here....

Feb 18 08:06:13 (none) user.info jive: (SqueezeboxJiveApplet.lua:540) - setPowerState=active acpower=false
Feb 18 08:06:13 (none) user.info jive: (SqueezeboxJiveApplet.lua:907) - Set CPU speed 200000

Comment 5 Blackketter Dean 2008-02-18 09:53:31 UTC
iwconfig eth0 power off

seems to make the problem go away.

I propose that we turn off wlan power saving mode when docked.


Comment 6 Blackketter Dean 2008-02-18 09:55:09 UTC
Chris to try to reproduce with Belkin pre-n router.
Comment 7 Blackketter Dean 2008-02-18 12:59:03 UTC
Sorry, but this gets a little uglier for me.   

I've noticed that this Jive locks up for me occasionally, not able to navigate into items using the buttons/wheel.

I can't get this to happen when i use "iwconfig eth0 power off" to turn off power saving mode, but it's reproducible with "iwconfig eth0 power on" and correlates with the pings getting backed up.

This could be an issue for just this router, chris to reproduce and possibly sniff...
Comment 8 Chris Owens 2008-02-21 09:21:31 UTC
Dean to try it at his house.
Comment 9 Blackketter Dean 2008-02-22 14:47:34 UTC
I'll bring this into the office on monday to sniff.

Comment 10 Blackketter Dean 2008-02-25 11:29:00 UTC
Ross has this router on his chair...
Comment 11 Ross Levine 2008-02-25 17:37:08 UTC
Created attachment 2992 [details]
sniffy capture

Thanks Dean.
Comment 12 Blackketter Dean 2008-02-26 21:48:54 UTC
Created attachment 3001 [details]
a sniffy capture from my house. 

looks like it has the right packets, though some appear to be "malformed"
Comment 13 Blackketter Dean 2008-02-26 21:52:44 UTC
the attached sniff should show the funky ping times.  my laptop, 00:17:f2:c5:53:6b, was pinging the jive with mac address 00:04:20:1a:00:6d
Comment 14 Richard Titmuss 2008-02-27 03:21:31 UTC
Dean, you'll need to talk me through this on the phone. It would also be useful to know your wep key. This filter can be used for analyzing the trace 'wlan.bssid == 00:11:50:24:1d:92'. The Belkin router seems to be sending lots of null frames to jive, for example around 4.73 - 4.75. Not sure what those are for.
Comment 15 Blackketter Dean 2008-02-27 07:09:52 UTC
Sorry, the wep key is 5d4bf72344.

The only traffic I know about between the player and the jive are a few pings.  Supposedly at 1s intervals, but you can probably see that they are not working out that way.
Comment 16 Ross Levine 2008-02-27 17:29:27 UTC
See also bug 7153. 
Comment 17 Richard Titmuss 2008-03-27 15:44:26 UTC
In jive 7.0.1 r2149 the wlan power save mode is turned off while the device is active or docked. Does this help?
Comment 18 Richard Titmuss 2008-04-04 07:04:48 UTC
In 7.0.1 r2170 I have added an option to disable wlan power save in Settings >
Advanced Settings > Factory Test > Power Management. This can be used for
testing, and as in workaround while further investigations into this problem
are done. Please note that disabling wlan power save will reduce the battery
life.
Comment 19 Richard Titmuss 2008-04-09 06:05:30 UTC
Dean, please retest with the latest firmware. Thanks.
Comment 20 Blackketter Dean 2008-04-13 11:48:45 UTC
ok, the new reconnect improvements have fixed the issue with the blue wireless icon, and I can't reproduce the ssh/ping issues.

Calling it fixed!
Comment 21 James Richardson 2008-05-07 15:41:09 UTC
(In reply to comment #20)
> ok, the new reconnect improvements have fixed the issue with the blue wireless
> icon, and I can't reproduce the ssh/ping issues.
> 
> Calling it fixed!
> 

Marking bug as Verified, please reopen if you see issues again
Comment 22 James Richardson 2008-05-15 12:28:04 UTC
This bug has recently been fixed in the latest release of SqueezeCenter 7.0.1

Please try that version, if you still see the error, then reopen this bug.

To download this version, please navigate to: http://www.slimdevices.com/su_downloads.html