I'm running 12.04 on a Dell XPS 1340. When I toggle the brightness on the backlit keyboard using the Fn-right arrow keys my keyboard will lock but the trackpad and BlueTooth mouse continue to work,

I thought it may have been a DE issue but to date I've had this problem on gnome3 (both classic and new), XFCE, Unity, and KDE.

The only way I found to fix it is a reboot, restarting the shell or logging off/on will not bring the keyboard back.

Any help on solving this is welcomed.