that's wrong, they don't have the same hardware. the 580 has a fm radio and a sensor both for shake control and the fitness application. i guess, modifying the S500 hardware to w580 is not reasonable, just buy a w580 :)
the 580 soft is running on the 500, just search for the tut in this marvellous forum...