LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-01-2023, 10:41 AM   #1
annoyingnoob
LQ Newbie
 
Registered: Aug 2023
Posts: 3

Rep: Reputation: 0
Fn-Keys on Keyboard are causing Issues


I have a SGK3 Keyboard. Which is working just fine under Windows (and generic drivers) However when using the Keyboard under Linux certain, (internal) Macros, related to Keyboard-RGB will lead to Linux not receiving any more inputs from the Keyboard. Only thing i then can do is reconnect the keyboard by pulling it from usb and reconnecting it.

Sometimes i can press such a combo once or twice without any issues. But i always can reproduce it. However it doesn't happen on Windows no matter how hard i try or spam these Keys. So my guess is this is a linux exclusive issue.
I also tried a Linux-Live-USB to get sure it's wasn't just my distru. And it happens there as well.
Only the RGB-Hotkeys are affected, other Hotkeys like increasing Volume or opening Email don't have this issue. When pressing these RGB-Macros the Keyboard might "flicker" for a split second (Which is considered normal based on the Manual) so my guess is that there is some kind of fast disconnect/reconnect happening? Though dmesg doesn't report any disconnect.

I already tried disabling these hotkeys by modifying and disabling the scancode for these combos (all the RGB-Combos share the same Scancode for some reason) using a a90-custom-keyboard.hwdb though that didn't solve the issue. The USB Driver in use is xhci_hcd.
I already asked in some other forums yet it seems like nobody really knows a solution or how i could track down this issue. So i thought of asking here as well

Mainboard is a MSI b550 a Pro (lastest Uefi).
 
Old 08-03-2023, 05:13 AM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,291

Rep: Reputation: 1323Reputation: 1323Reputation: 1323Reputation: 1323Reputation: 1323Reputation: 1323Reputation: 1323Reputation: 1323Reputation: 1323Reputation: 1323
The keyboard depends on proprietary software on Windows to do programming and high-speed polling. It is quite likely using keycodes for communication that have no special meaning on Windows but are used by bash or X-Windows. Ctrl-S would be a good bet. You can use the showkey program on Linux to track down what codes are being sent by the keyboard, and maybe you can make a custom keyboard profile using xmodmap/XKeyCaps to mitigate any harmful effects. Probably simpler to just use a generic keyboard when using Linux.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Keyboard keys messed up on Logitech Illuminated Keyboard MikeyCarter Linux - Hardware 2 03-16-2010 08:25 AM
[SOLVED] Evdev Causing Dead Keys? Daga Slackware 6 09-17-2009 12:36 PM
USB keyboard function keys/numeric keys on boot raypen Linux - Hardware 4 04-17-2008 03:07 PM
Assigning keyboard shortcuts to keyboard keys the who Linux - Hardware 3 02-20-2004 09:36 PM
Configuring SSH to accept only keys (already have keys) fr0st Linux - Security 3 11-04-2003 03:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration