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 04-07-2020, 12:27 AM   #1
linuxUser247
Member
 
Registered: Jan 2019
Posts: 80

Rep: Reputation: Disabled
testing my keyboard - some keys not working?


hello, my program does not receive function keys from F13 and above. Maybe some process is capturing the keys or something.

First I want to know if the key sent by the keyboard is actually recognized as F13.

I did this with `xinput test 12` and the result is:

key press 191


I cannot remember how to check which character it is...
 
Old 04-07-2020, 12:35 AM   #2
linuxUser247
Member
 
Registered: Jan 2019
Posts: 80

Original Poster
Rep: Reputation: Disabled
I used xev which is more helpful, here is the result:

Code:
KeyRelease event, serial 37, synthetic NO, window 0xb400001,
    root 0x168, subw 0x0, time 7929582, (224,720), root:(2145,772),
    state 0x10, keycode 70 (keysym 0xffc1, F4), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyPress event, serial 37, synthetic NO, window 0xb400001,
    root 0x168, subw 0x0, time 7938566, (224,720), root:(2145,772),
    state 0x10, keycode 191 (keysym 0x1008ff81, XF86Tools), same_screen YES,
    XKeysymToKeycode returns keycode: 179
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False
as you can see I pressed F4 in the first event.

in the second event instead of F13 it indicates XF86Tools
 
Old 04-07-2020, 12:47 AM   #3
linuxUser247
Member
 
Registered: Jan 2019
Posts: 80

Original Poster
Rep: Reputation: Disabled
so I checked with xmodmap and it turns out none of my function keys above F12 are defined.

The keycodes are in use, however, and I am not sure if I need them.

Can I simply add them without affecting the current bindings?

For example, changing

keycode 179 = XF86Tools NoSymbol XF86Tools

into

keycode 179 = F13 F13 F13 F13 F13 F13 XF86Tools

or maybe

keycode 179 = F13 F13 F13 F13 XF86Tools F13 XF86Tools

?
 
  


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
toshiba satellite p850 , ubuntu 14.04lts ,fn keys not working, backlit keyboard not working. davidcash4153 Linux - Newbie 5 05-25-2018 03:28 PM
some keyboard keys not working Pedroski Linux - Hardware 5 07-18-2014 07:29 AM
USB keyboard function keys/numeric keys on boot raypen Linux - Hardware 4 04-17-2008 03:07 PM
Some keys in keyboard do NOT work bmccorm2 Linux - Newbie 1 11-08-2005 10:16 AM
some keys are not functinal on keyboard chongluo Linux - Newbie 3 10-10-2004 05:38 AM

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

All times are GMT -5. The time now is 01:09 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