If you are rooted, CyanogenMod 6.x has this functionality built in.