Issue with Cool Master Devestator Keyboard

Hi…

I really hope that somebody can help me.

I am having a really annoying problem. I am using opensuse 42.2. I have recently purchased a Cool Master Devastator keyboard. The keyboard is lit up by a backlight that is triggered on and off via the Scorll-Lock key

There are various solutiions to getting the backlight on.

ie

xset led 3

which simpley turns on the backlight

There are also solutions to make the scroll-lock be able to turn the backlight on and off using xbindkeys as outlined

http://community.coolermaster.com/topic/11526-is-cm-storm-devastator-led-gaming-keyboard-compatible-with-linux/?do=findComment&comment=111231

Both solutions work… However, after a random amount of time the backlight simply switches off making the characters on the keyboard difficult to see.

Is there some default behavior that I am unaware of? If so is there anyway to disable that behavior?

Can anyone think as to why I might be afflicted by this problem.

Does anybody know how I can fix this?

No solution from me here (I have no idea), but you posted an URL between HTML tags. This is however not HTML, but an URL. An URL is posted using the button with the blue Globe on it. Then you get:
http://community.coolermaster.com/topic/11526-is-cm-storm-devastator-led-gaming-keyboard-compatible-with-linux/?do=findComment&comment=111231
which can be used to click on:)

I’m not familiar with this hardware at all, but from a quick search online for the Cooler Master Devastator specs I now know that this is a USB-connected device. That may well be important here as it could be USB power management that causes the back-light to turn off after a given time perhaps. If this is the case then it may be able to be disabled for a given device using a suitable custom udev rule eg /etc/udev/rules.d/90-power-management.rules

ACTION=="add", SUBSYSTEM=="usb",  ATTR{idVendor}=="2516", ATTR{power/control}="on"

*Check that the vendor ID is correct using ‘lsusb’.

Once the rule is created/saved, it will take effect the next time the keyboard is plugged in.

More info here:
https://wiki.archlinux.org/index.php/Power_management#USB_autosuspend
https://www.kernel.org/doc/Documentation/usb/power-management.txt

sorry about not getting back to you guys sooner.

I have found the solution… A slight modification to the procedure that was outlined at

http://community.coolermaster.com/topic/11526-is-cm-storm-devastator-led-gaming-keyboard-compatible-with-linux/?do=findComment&comment=111231

There was mention of a script placed in root’s home folder.

I placed in in my home folder and everything is working as expected.