lights: fix all of the things

Thanks to shendu and CM and D2 or wherever this HAL actually came from.