Once in a while my Logitech G510 keyboard refuses to work. Even after a hard reset (by disconnecting the USB cable)
The solution is to reupload the firmware
The download can be found at http://www.logitech.com/pub/techsupport/keyboards/G510Updater.exe