You are not logged in.

#1 2014-03-19 12:10:48

cars10
Member
Registered: 2014-03-11
Posts: 25

[solved] cmstorm keyboard hotkeys (like console switching) not working

Hey Guys,

i am using the CMStorm Quickfire Ultimate USB Keyboard http://www.cmstorm.com/en/products/keyb … eUltimate/ .

(Of course) the media keys do not work, but this is not my problem, i don't use them anyway.

My problem is that i can't use systemwide hotkeys, like CTRL + ALT + F2 to switch consoles, or use REISUB to reboot if necessary.
I have another usbkeyboard here which works fine, so i don't think it is a generel problem with my system.

Any ideas on what could be the problem?


E: noticed something strange: while x is not running, i can change consoles, but reisub still not works. (working with the other keyboard!)

Last edited by cars10 (2014-08-01 15:18:56)

Offline

#2 2014-03-21 19:22:47

cars10
Member
Registered: 2014-03-11
Posts: 25

Re: [solved] cmstorm keyboard hotkeys (like console switching) not working

*push* hmm

Offline

#3 2014-03-21 19:31:03

2ManyDogs
Member
Registered: 2012-01-15
Posts: 1,634

Re: [solved] cmstorm keyboard hotkeys (like console switching) not working

Please don't do that.

Forum Etiquette wrote:

Bumping

Posting a single word or useless message (bumping) to attract attention to your thread is not allowed. Do your own research, continue to troubleshoot, post the results, and be patient with the community. If people are reading your thread without answering or offering help, you may try supplying more details, or ask to be pointed in the right direction. Often, the reason for posts remaining unanswered is due in large part to the sparse details in the original post itself, or, the obvious availability of solutions in the wiki, on the forum or on the web, and the community's unwillingness to point out the obvious.


https://wiki.archlinux.org/index.php/Fo … te#Bumping

Online

#4 2014-03-23 12:47:17

cars10
Member
Registered: 2014-03-11
Posts: 25

Re: [solved] cmstorm keyboard hotkeys (like console switching) not working

Sorry, didn't know this is forbidden here.

I started to notice another issue with this keyboard, the caps lock led does not work. (Works with windows, and led of another keyboard works in arch)
So there seem to be more issues with this model.

What i think is strange, ist that the key even has "S-ABF" written on it (german name for sysrq) - but it's not working.
Is there a way to test key input or something like that?

Offline

#5 2014-03-23 15:07:48

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 12,390

Re: [solved] cmstorm keyboard hotkeys (like console switching) not working

I would start at the very basics.  From a console, not within Xorg, use showkey --scancodes and see if they are recognized by the kernel.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Like you, I have no idea what you are doing, but I am pretty sure it is wrong...Jasonwryan
----
How to Ask Questions the Smart Way

Offline

#6 2014-04-03 11:10:12

cars10
Member
Registered: 2014-03-11
Posts: 25

Re: [solved] cmstorm keyboard hotkeys (like console switching) not working

Thank you, this is something i can work with. Here is the output:

For Print/S-ABF/Sysrq: (for a SINGLE press!)

0xe0 0x2a 0xe0 0x37 0xe0 0xaa 0xe0 0xb7

Isn't this wrong? I would expect only one output.

For ctrl:

0x1d 0x9d

alt:

0x38 0xb8

f1

0x3b 0xbb

f2

0x3c 0xbc

e: well i checked with the working keyboard, and i get exactly the same output. dang!

e2: no windowmanager issue either.  oldkeyboard works in fluxbox & awesome, new doesn't. (although normal input and awesome hotkeys work perfectly)

Last edited by cars10 (2014-04-03 12:54:05)

Offline

#7 2014-07-31 22:20:23

cars10
Member
Registered: 2014-03-11
Posts: 25

Re: [solved] cmstorm keyboard hotkeys (like console switching) not working

Hi, i got something new:

i just noticed that the CAPS led is working now. Can't tell since when, guess it's because of a kernel upgrade.
REISUB and console switching do still not work though sad

Offline

#8 2014-08-01 11:34:55

Commander
Member
Registered: 2011-02-12
Posts: 36

Re: [solved] cmstorm keyboard hotkeys (like console switching) not working

I did a post about this few months ago,
https://bbs.archlinux.org/viewtopic.php?id=170877

In all, you need to switch to 6key mode to get the rest of the keys working. If there is another solution then tell me, iwe been looking for it for a while now.

To switch keymode you force it into FN (lock it in) then press
6 + ESC to get it into 6key mode.
n + ESC to get it into nkro mode.

Offline

#9 2014-08-01 12:21:41

cars10
Member
Registered: 2014-03-11
Posts: 25

Re: [solved] cmstorm keyboard hotkeys (like console switching) not working

Sadly this does not work for me. Do you get a response somehow when you change the mode, for example in dmesg? Also i have not exactly the same model as you, so this might be the issue?
I locked fn, pressed and hold esc, and pressed 6 (tried normal number and num 6). but nothing happens and i still can not switch consoles..

E: also i can switch consoles now while i am not in x, but this worked before i tried your solution. In x it still not works though..

Last edited by cars10 (2014-08-01 12:24:08)

Offline

#10 2014-08-01 12:49:50

Commander
Member
Registered: 2011-02-12
Posts: 36

Re: [solved] cmstorm keyboard hotkeys (like console switching) not working

cars10 wrote:

Sadly this does not work for me. Do you get a response somehow when you change the mode, for example in dmesg? Also i have not exactly the same model as you, so this might be the issue?
I locked fn, pressed and hold esc, and pressed 6 (tried normal number and num 6). but nothing happens and i still can not switch consoles..

E: also i can switch consoles now while i am not in x, but this worked before i tried your solution. In x it still not works though..

Hm looks like your nkey/6key switch is at the ins/del key on your model,  look in the manual how you switch.
Because i'm pretty sure its in nkey mode, you can check in dmesg in what mode it is.

For me the keyboard is detected as: (notice the 6keys)

hid-generic 0003:2516:0011.0001: input,hidraw0: USB HID v1.10 Keyboard [CM Storm Quickfire TKL 6keys] on usb-0000:0c:00.0-1/input0  

In the picture of your keyboard the switch is at the insert / del key. When you switch mode the keyboard should disappear for a few seconds and then be detected again (like you would disconnect it from the USB). There is a controller on the keyboard emulating 2 keyboards and that is how they send more than 6 keys through USB. Though this is not heavily supported in other than Windows OS.  Probably possible in Linux though never looked tried to look at it more maybe trying to get some help from kernel mailing-list to see if this is possible.

Last edited by Commander (2014-08-01 12:54:33)

Offline

#11 2014-08-01 13:11:20

cars10
Member
Registered: 2014-03-11
Posts: 25

Re: [solved] cmstorm keyboard hotkeys (like console switching) not working

Wow, i love you. it freakin works!
I can switch consoles with my keyboard. Do you have to switch to 6key after every reboot?

ps: switched like that: fn+n+ins for 6Key (found in the user guide lol, did not know i had one..)

[solved] smile

Last edited by cars10 (2014-08-01 14:30:40)

Offline

#12 2014-08-01 15:16:17

Commander
Member
Registered: 2011-02-12
Posts: 36

Re: [solved] cmstorm keyboard hotkeys (like console switching) not working

cars10 wrote:

Wow, i love you. it freakin works!
I can switch consoles with my keyboard. Do you have to switch to 6key after every reboot?

ps: switched like that: fn+n+ins for 6Key (found in the user guide lol, did not know i had one..)

[solved] smile

The controller on the keyboard remembers what mode it is/was on so no you don't have to do that each boot.
Mark the thread/topic as solved also smile

Offline

Board footer

Powered by FluxBB