Apple doesn't provide a way, but I believe that it could be just a software issue. There were several times when my backlit keyboard would turn off completely (not just dimmed) under very dark conditions, after coming out from sleep mode. To turn it on again I'd just need to adjust the brightness of the keyboard light up or down. To turn it off, well....