Bug 9918 - can't setup a factory reset player with controller
: can't setup a factory reset player with controller
Status: CLOSED FIXED
Product: SB Controller
Classification: Unclassified
Component: Setup
: unspecified
: PC Other
: -- blocker (vote)
: 7.3
Assigned To: Richard Titmuss
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-11-06 13:04 UTC by Ben Klaas
Modified: 2008-12-15 12:40 UTC (History)
5 users (show)

See Also:
Category: ---


Attachments
messages file during failed receiver setup (101.92 KB, text/plain)
2008-11-06 13:04 UTC, Ben Klaas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Klaas 2008-11-06 13:04:56 UTC
Created attachment 4211 [details]
messages file during failed receiver setup

can't setup a player with the controller any more, 7.3 SC and firmware r3280 (James has seen same problem with r3253)

backing off to 7.2 SC and r3191 player setup without incident

the attached messages file with applets.setup logging set to debug appears to me that the controller is failing to connect to the receiver's adhoc network.
Comment 1 Ben Klaas 2008-11-10 12:03:02 UTC
I just tried configuring two factory reset receivers from an already configured 7.3 controller (r3308)
	
first one worked (!), although I thought the amount of time it was in the "connecting to network" spinny was a lot longer than I would expect. Est. 30-45 seconds.

second one did not work...eventually controller timed out and gave me a failure window to try again/cancel. The receiver did transition through all the way to the blue LED, where it currently sits.

Comment 2 Felix Mueller 2008-11-10 13:32:18 UTC
Ok, I found where it's broken and I guess that would match with your last comment, Ben. I bet the player that worked had a digit only mac address, i.e. no characters in it.

The issue is upper and lower case mac addresses. The change that broke it is in Player.lua, line 226:

playerId = string.lower(playerId)

added by Richard in rev3137. Unfortunately the SSID a not setup player uses for the ad hoc network uses all uppercase for the mac address part. That is the reason it would not find it.

Richard: Did you mean to normalize all to upper case?

Comment 3 Richard Titmuss 2008-11-11 11:13:53 UTC
Fixed in r3324. The jive/ray setup needs plenty of QA to ensure all code paths still work.
Comment 4 James Richardson 2008-12-11 13:23:37 UTC
Verified fixed in

SqueezeCenter 7.3.0 24282
Controller 7.3 r3476
Receiver r55
SB2/3 r120
Transporter r70
Boom r40
Comment 5 James Richardson 2008-12-15 12:40:51 UTC
This bug has been fixed in the 7.3.0 release version of SqueezeCenter!

Please download the new version from http://www.slimdevices.com/su_downloads.html if you haven't already.  

If you are still experiencing this problem, feel free to reopen the bug with your new comments and we'll have another look.