You are not logged in.

#1 2018-06-10 06:15:46

eamonn
Member
Registered: 2018-02-27
Posts: 9

Remap right click key with xmodmap Thinkpad x220

I am attempting to remap the right click key on my Thinkpad x220 keyboard to be Super_R. It is the key right of the spacebar and between the alt and control keys.

Using xev I cannot seem get the keycode for the key.

xev is printing the following when I press the key:

FocusOut event, serial 33, synthetic NO, window 0x2000001,
    mode NotifyGrab, detail NotifyAncestor
 
FocusIn event, serial 33, synthetic NO, window 0x2000001,
    mode NotifyUngrab, detail NotifyAncestor
 
KeymapNotify event, serial 33, synthetic NO, window 0x0,
    keys:  2   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0
 

Why is this the case? When I try another key xev returns the keycode and I can use xmodmap to remap it to be Super_R.

Offline

#2 2018-06-10 09:44:00

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,055

Re: Remap right click key with xmodmap Thinkpad x220

See whether the key generates events in evtest or libinput-debug-events.
In case, please post your xorg log and the output of "setxkbmap -v -query"

Online

#3 2018-06-10 13:43:39

eamonn
Member
Registered: 2018-02-27
Posts: 9

Re: Remap right click key with xmodmap Thinkpad x220

Using evtest I get the following input 

Event: time 1528637953.314015, type 1 (EV_KEY), code 127 (KEY_COMPOSE), value 0

However, using xmodmap to bind keycode 127 to Super_R doesn't seem to work. Maybe something is getting in the way when the key is fired?

Offline

#4 2018-06-10 13:47:08

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,055

Re: Remap right click key with xmodmap Thinkpad x220

seth wrote:

In case, please post your xorg log and the output of "setxkbmap -v -query"

Online

#5 2018-06-10 13:59:25

eamonn
Member
Registered: 2018-02-27
Posts: 9

Re: Remap right click key with xmodmap Thinkpad x220

setxkbmap -v -query

Trying to build keymap using the following components:
keycodes:   evdev+aliases(qwerty)
types:      complete
compat:     complete
symbols:    pc+us+inet(evdev)
geometry:   pc(pc105)
rules:      evdev
model:      pc105
layout:     us

xorg log
[  1275.895] (WW) Failed to open protocol names file lib/xorg/protocol.txt
[  1275.898]
X.Org X Server 1.20.0
X Protocol Version 11, Revision 0
[  1275.903] Build Operating System: Linux Arch Linux
[  1275.905] Current Operating System: Linux deepthink 4.16.13-2-ARCH #1 SMP PREEMPT Fri Jun 1 18:46:11 UTC 2018 x86_64
[  1275.905] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=ade9e590-ff47-42fd-97b9-ebe28a3ef420 rw quiet "acpi_osi=!Windows 2012"
[  1275.907] Build Date: 03 June 2018  06:08:22AM
[  1275.908] 
[  1275.909] Current version of pixman: 0.34.0
[  1275.912]     Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
[  1275.912] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  1275.919] (==) Log file: "/home/eamonn/.local/share/xorg/Xorg.0.log", Time: Sun Jun 10 15:54:54 2018
[  1275.921] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  1275.921] (==) No Layout section.  Using the first Screen section.
[  1275.921] (==) No screen section available. Using defaults.
[  1275.921] (**) |-->Screen "Default Screen Section" (0)
[  1275.921] (**) |   |-->Monitor "<default monitor>"
[  1275.922] (==) No monitor specified for screen "Default Screen Section".
    Using a default monitor configuration.
[  1275.922] (==) Automatically adding devices
[  1275.922] (==) Automatically enabling devices
[  1275.922] (==) Automatically adding GPU devices
[  1275.922] (==) Automatically binding GPU devices
[  1275.922] (==) Max clients allowed: 256, resource mask: 0x1fffff
[  1275.922] (WW) The directory "/usr/share/fonts/misc" does not exist.
[  1275.922]     Entry deleted from font path.
[  1275.922] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[  1275.922]     Entry deleted from font path.
[  1275.922] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[  1275.922]     Entry deleted from font path.
[  1275.922] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[  1275.922]     Entry deleted from font path.
[  1275.922] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[  1275.922]     Entry deleted from font path.
[  1275.922] (==) FontPath set to:
    /usr/share/fonts/TTF
[  1275.922] (==) ModulePath set to "/usr/lib/xorg/modules"
[  1275.922] (II) The server relies on udev to provide the list of input devices.
    If no devices become available, reconfigure udev or disable AutoAddDevices.
[  1275.922] (II) Module ABI versions:
[  1275.922]     X.Org ANSI C Emulation: 0.4
[  1275.922]     X.Org Video Driver: 24.0
[  1275.922]     X.Org XInput driver : 24.1
[  1275.922]     X.Org Server Extension : 10.0
[  1275.923] (++) using VT number 1

[  1275.925] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c1
[  1275.926] (II) xfree86: Adding drm device (/dev/dri/card0)
[  1275.927] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 10 paused 0
[  1275.931] (--) PCI:*(0@0:2:0) 8086:0126:17aa:21da rev 9, Mem @ 0xf0000000/4194304, 0xe0000000/268435456, I/O @ 0x00005000/64, BIOS @ 0x????????/131072
[  1275.931] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[  1275.931] (II) LoadModule: "glx"
[  1275.931] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[  1275.933] (II) Module glx: vendor="X.Org Foundation"
[  1275.933]     compiled for 1.20.0, module version = 1.0.0
[  1275.933]     ABI class: X.Org Server Extension, version 10.0
[  1275.933] (==) Matched intel as autoconfigured driver 0
[  1275.933] (==) Matched modesetting as autoconfigured driver 1
[  1275.933] (==) Matched fbdev as autoconfigured driver 2
[  1275.933] (==) Matched vesa as autoconfigured driver 3
[  1275.933] (==) Assigned the driver to the xf86ConfigLayout
[  1275.933] (II) LoadModule: "intel"
[  1275.934] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[  1275.934] (II) Module intel: vendor="X.Org Foundation"
[  1275.934]     compiled for 1.20.0, module version = 2.99.917
[  1275.934]     Module class: X.Org Video Driver
[  1275.934]     ABI class: X.Org Video Driver, version 24.0
[  1275.934] (II) LoadModule: "modesetting"
[  1275.934] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[  1275.935] (II) Module modesetting: vendor="X.Org Foundation"
[  1275.935]     compiled for 1.20.0, module version = 1.20.0
[  1275.935]     Module class: X.Org Video Driver
[  1275.935]     ABI class: X.Org Video Driver, version 24.0
[  1275.935] (II) LoadModule: "fbdev"
[  1275.935] (WW) Warning, couldn't open module fbdev
[  1275.935] (EE) Failed to load module "fbdev" (module does not exist, 0)
[  1275.935] (II) LoadModule: "vesa"
[  1275.935] (WW) Warning, couldn't open module vesa
[  1275.935] (EE) Failed to load module "vesa" (module does not exist, 0)
[  1275.935] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
    i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
    915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
    Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
    GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[  1275.936] (II) intel: Driver for Intel(R) HD Graphics
[  1275.936] (II) intel: Driver for Intel(R) Iris(TM) Graphics
[  1275.936] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
[  1275.936] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[  1275.936] xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
[  1275.936] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20171222
[  1275.936] (II) intel(0): SNA compiled from 2.99.917-831-ge7bfc906
[  1275.953] (WW) Falling back to old probe method for modesetting
[  1275.953] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[  1275.954] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD Graphics 3000
[  1275.954] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1, sse4.2, avx; using a maximum of 2 threads
[  1275.954] (II) intel(0): Creating default Display subsection in Screen section
    "Default Screen Section" for depth/fbbpp 24/32
[  1275.954] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[  1275.954] (==) intel(0): RGB weight 888
[  1275.954] (==) intel(0): Default visual is TrueColor
[  1275.955] (II) intel(0): Output LVDS1 has no monitor section
[  1275.955] (**) intel(0): Found backlight control interface intel_backlight (type 'raw') for output LVDS1
[  1275.956] (II) intel(0): Enabled output LVDS1
[  1275.956] (II) intel(0): Output VGA1 has no monitor section
[  1275.956] (II) intel(0): Enabled output VGA1
[  1275.956] (II) intel(0): Output HDMI1 has no monitor section
[  1275.956] (II) intel(0): Enabled output HDMI1
[  1275.956] (II) intel(0): Output DP1 has no monitor section
[  1275.956] (II) intel(0): Enabled output DP1
[  1275.956] (II) intel(0): Output HDMI2 has no monitor section
[  1275.956] (II) intel(0): Enabled output HDMI2
[  1275.956] (II) intel(0): Output HDMI3 has no monitor section
[  1275.957] (II) intel(0): Enabled output HDMI3
[  1275.957] (II) intel(0): Output DP2 has no monitor section
[  1275.957] (II) intel(0): Enabled output DP2
[  1275.957] (II) intel(0): Output DP3 has no monitor section
[  1275.957] (II) intel(0): Enabled output DP3
[  1275.957] (--) intel(0): Using a maximum size of 256x256 for hardware cursors
[  1275.957] (II) intel(0): Output VIRTUAL1 has no monitor section
[  1275.957] (II) intel(0): Enabled output VIRTUAL1
[  1275.957] (--) intel(0): Output LVDS1 using initial mode 1366x768 on pipe 0
[  1275.957] (==) intel(0): TearFree disabled
[  1275.957] (==) intel(0): Using gamma correction (1.0, 1.0, 1.0)
[  1275.957] (==) intel(0): DPI set to (96, 96)
[  1275.957] (II) Loading sub module "dri3"
[  1275.957] (II) LoadModule: "dri3"
[  1275.958] (II) Module "dri3" already built-in
[  1275.958] (II) Loading sub module "dri2"
[  1275.958] (II) LoadModule: "dri2"
[  1275.958] (II) Module "dri2" already built-in
[  1275.958] (II) Loading sub module "present"
[  1275.958] (II) LoadModule: "present"
[  1275.958] (II) Module "present" already built-in
[  1275.958] (II) UnloadModule: "modesetting"
[  1275.958] (II) Unloading modesetting
[  1275.958] (II) intel(0): SNA initialized with Sandybridge (gen6, gt2) backend
[  1275.958] (==) intel(0): Backing store enabled
[  1275.958] (==) intel(0): Silken mouse disabled
[  1275.958] (II) intel(0): HW Cursor enabled
[  1275.959] (==) intel(0): DPMS enabled
[  1275.959] (==) intel(0): Display hotplug detection enabled
[  1275.959] (II) intel(0): [DRI2] Setup complete
[  1275.959] (II) intel(0): [DRI2]   DRI driver: i965
[  1275.959] (II) intel(0): [DRI2]   VDPAU driver: va_gl
[  1275.959] (II) intel(0): direct rendering: DRI2 DRI3 enabled
[  1275.959] (II) intel(0): hardware support for Present enabled
[  1275.959] (II) Initializing extension Generic Event Extension
[  1275.959] (II) Initializing extension SHAPE
[  1275.959] (II) Initializing extension MIT-SHM
[  1275.959] (II) Initializing extension XInputExtension
[  1275.959] (II) Initializing extension XTEST
[  1275.959] (II) Initializing extension BIG-REQUESTS
[  1275.959] (II) Initializing extension SYNC
[  1275.959] (II) Initializing extension XKEYBOARD
[  1275.959] (II) Initializing extension XC-MISC
[  1275.959] (II) Initializing extension SECURITY
[  1275.959] (II) Initializing extension XFIXES
[  1275.959] (II) Initializing extension RENDER
[  1275.959] (II) Initializing extension RANDR
[  1275.959] (II) Initializing extension COMPOSITE
[  1275.959] (II) Initializing extension DAMAGE
[  1275.959] (II) Initializing extension MIT-SCREEN-SAVER
[  1275.959] (II) Initializing extension DOUBLE-BUFFER
[  1275.959] (II) Initializing extension RECORD
[  1275.959] (II) Initializing extension DPMS
[  1275.959] (II) Initializing extension Present
[  1275.959] (II) Initializing extension DRI3
[  1275.959] (II) Initializing extension X-Resource
[  1275.959] (II) Initializing extension XVideo
[  1275.959] (II) Initializing extension XVideo-MotionCompensation
[  1275.959] (II) Initializing extension GLX
[  1275.975] (II) AIGLX: Loaded and initialized i965
[  1275.975] (II) GLX: Initialized DRI2 GL provider for screen 0
[  1275.975] (II) Initializing extension XFree86-VidModeExtension
[  1275.975] (II) Initializing extension XFree86-DGA
[  1275.975] (II) Initializing extension XFree86-DRI
[  1275.975] (II) Initializing extension DRI2
[  1275.977] (II) intel(0): switch to mode 1366x768@60.0 on LVDS1 using pipe 0, position (0, 0), rotation normal, reflection none
[  1275.988] (II) intel(0): Setting screen physical size to 361 x 203
[  1276.041] (II) config/udev: Adding input device Power Button (/dev/input/event2)
[  1276.041] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[  1276.041] (II) LoadModule: "libinput"
[  1276.041] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[  1276.042] (II) Module libinput: vendor="X.Org Foundation"
[  1276.042]     compiled for 1.19.6, module version = 0.27.1
[  1276.042]     Module class: X.Org XInput Driver
[  1276.042]     ABI class: X.Org XInput driver, version 24.1
[  1276.042] (II) Using input driver 'libinput' for 'Power Button'
[  1276.044] (II) systemd-logind: got fd for /dev/input/event2 13:66 fd 15 paused 0
[  1276.044] (**) Power Button: always reports core events
[  1276.044] (**) Option "Device" "/dev/input/event2"
[  1276.044] (**) Option "_source" "server/udev"
[  1276.045] (II) event2  - Power Button: is tagged by udev as: Keyboard
[  1276.045] (II) event2  - Power Button: device is a keyboard
[  1276.045] (II) event2  - Power Button: device removed
[  1276.045] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input2/event2"
[  1276.045] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[  1276.046] (II) event2  - Power Button: is tagged by udev as: Keyboard
[  1276.046] (II) event2  - Power Button: device is a keyboard
[  1276.047] (II) config/udev: Adding input device Video Bus (/dev/input/event7)
[  1276.048] (**) Video Bus: Applying InputClass "libinput keyboard catchall"
[  1276.048] (II) Using input driver 'libinput' for 'Video Bus'
[  1276.049] (II) systemd-logind: got fd for /dev/input/event7 13:71 fd 18 paused 0
[  1276.049] (**) Video Bus: always reports core events
[  1276.049] (**) Option "Device" "/dev/input/event7"
[  1276.049] (**) Option "_source" "server/udev"
[  1276.050] (II) event7  - Video Bus: is tagged by udev as: Keyboard
[  1276.050] (II) event7  - Video Bus: device is a keyboard
[  1276.050] (II) event7  - Video Bus: device removed
[  1276.050] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input9/event7"
[  1276.050] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
[  1276.051] (II) event7  - Video Bus: is tagged by udev as: Keyboard
[  1276.051] (II) event7  - Video Bus: device is a keyboard
[  1276.051] (II) config/udev: Adding input device Lid Switch (/dev/input/event0)
[  1276.051] (II) No input driver specified, ignoring this device.
[  1276.051] (II) This device may have been added with another device file.
[  1276.052] (II) config/udev: Adding input device Sleep Button (/dev/input/event1)
[  1276.052] (**) Sleep Button: Applying InputClass "libinput keyboard catchall"
[  1276.052] (II) Using input driver 'libinput' for 'Sleep Button'
[  1276.053] (II) systemd-logind: got fd for /dev/input/event1 13:65 fd 19 paused 0
[  1276.053] (**) Sleep Button: always reports core events
[  1276.053] (**) Option "Device" "/dev/input/event1"
[  1276.053] (**) Option "_source" "server/udev"
[  1276.054] (II) event1  - Sleep Button: is tagged by udev as: Keyboard
[  1276.054] (II) event1  - Sleep Button: device is a keyboard
[  1276.054] (II) event1  - Sleep Button: device removed
[  1276.054] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input1/event1"
[  1276.054] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 8)
[  1276.054] (II) event1  - Sleep Button: is tagged by udev as: Keyboard
[  1276.054] (II) event1  - Sleep Button: device is a keyboard
[  1276.056] (II) config/udev: Adding input device Integrated Camera: Integrated C (/dev/input/event6)
[  1276.056] (**) Integrated Camera: Integrated C: Applying InputClass "libinput keyboard catchall"
[  1276.056] (II) Using input driver 'libinput' for 'Integrated Camera: Integrated C'
[  1276.057] (II) systemd-logind: got fd for /dev/input/event6 13:70 fd 20 paused 0
[  1276.057] (**) Integrated Camera: Integrated C: always reports core events
[  1276.057] (**) Option "Device" "/dev/input/event6"
[  1276.057] (**) Option "_source" "server/udev"
[  1276.058] (II) event6  - Integrated Camera: Integrated C: is tagged by udev as: Keyboard
[  1276.058] (II) event6  - Integrated Camera: Integrated C: device is a keyboard
[  1276.058] (II) event6  - Integrated Camera: Integrated C: device removed
[  1276.058] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.6/1-1.6:1.0/input/input7/event6"
[  1276.058] (II) XINPUT: Adding extended input device "Integrated Camera: Integrated C" (type: KEYBOARD, id 9)
[  1276.058] (II) event6  - Integrated Camera: Integrated C: is tagged by udev as: Keyboard
[  1276.058] (II) event6  - Integrated Camera: Integrated C: device is a keyboard
[  1276.059] (II) config/udev: Adding input device HDA Digital PCBeep (/dev/input/event8)
[  1276.059] (II) No input driver specified, ignoring this device.
[  1276.059] (II) This device may have been added with another device file.
[  1276.059] (II) config/udev: Adding input device HDA Intel PCH Mic (/dev/input/event9)
[  1276.059] (II) No input driver specified, ignoring this device.
[  1276.059] (II) This device may have been added with another device file.
[  1276.060] (II) config/udev: Adding input device HDA Intel PCH Dock Mic (/dev/input/event10)
[  1276.060] (II) No input driver specified, ignoring this device.
[  1276.060] (II) This device may have been added with another device file.
[  1276.060] (II) config/udev: Adding input device HDA Intel PCH Dock Headphone (/dev/input/event11)
[  1276.060] (II) No input driver specified, ignoring this device.
[  1276.060] (II) This device may have been added with another device file.
[  1276.061] (II) config/udev: Adding input device HDA Intel PCH Headphone (/dev/input/event12)
[  1276.061] (II) No input driver specified, ignoring this device.
[  1276.061] (II) This device may have been added with another device file.
[  1276.061] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=3 (/dev/input/event13)
[  1276.061] (II) No input driver specified, ignoring this device.
[  1276.061] (II) This device may have been added with another device file.
[  1276.061] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=7 (/dev/input/event14)
[  1276.061] (II) No input driver specified, ignoring this device.
[  1276.061] (II) This device may have been added with another device file.
[  1276.062] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=8 (/dev/input/event15)
[  1276.062] (II) No input driver specified, ignoring this device.
[  1276.062] (II) This device may have been added with another device file.
[  1276.062] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event3)
[  1276.062] (**) AT Translated Set 2 keyboard: Applying InputClass "libinput keyboard catchall"
[  1276.062] (II) Using input driver 'libinput' for 'AT Translated Set 2 keyboard'
[  1276.063] (II) systemd-logind: got fd for /dev/input/event3 13:67 fd 21 paused 0
[  1276.063] (**) AT Translated Set 2 keyboard: always reports core events
[  1276.063] (**) Option "Device" "/dev/input/event3"
[  1276.063] (**) Option "_source" "server/udev"
[  1276.064] (II) event3  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[  1276.064] (II) event3  - AT Translated Set 2 keyboard: device is a keyboard
[  1276.064] (II) event3  - AT Translated Set 2 keyboard: device removed
[  1276.064] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input3/event3"
[  1276.064] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 10)
[  1276.065] (II) event3  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[  1276.065] (II) event3  - AT Translated Set 2 keyboard: device is a keyboard
[  1276.067] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event16)
[  1276.067] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "libinput touchpad catchall"
[  1276.067] (II) Using input driver 'libinput' for 'SynPS/2 Synaptics TouchPad'
[  1276.068] (II) systemd-logind: got fd for /dev/input/event16 13:80 fd 22 paused 0
[  1276.068] (**) SynPS/2 Synaptics TouchPad: always reports core events
[  1276.068] (**) Option "Device" "/dev/input/event16"
[  1276.068] (**) Option "_source" "server/udev"
[  1276.069] (II) event16 - SynPS/2 Synaptics TouchPad: is tagged by udev as: Touchpad
[  1276.069] (II) event16 - SynPS/2 Synaptics TouchPad: device is a touchpad
[  1276.069] (II) event16 - SynPS/2 Synaptics TouchPad: device removed
[  1276.069] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input8/event16"
[  1276.069] (II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD, id 11)
[  1276.069] (**) Option "AccelerationScheme" "none"
[  1276.070] (**) SynPS/2 Synaptics TouchPad: (accel) selected scheme none/0
[  1276.070] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration factor: 2.000
[  1276.070] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration threshold: 4
[  1276.070] (II) event16 - SynPS/2 Synaptics TouchPad: is tagged by udev as: Touchpad
[  1276.071] (II) event16 - SynPS/2 Synaptics TouchPad: device is a touchpad
[  1276.071] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse0)
[  1276.071] (II) No input driver specified, ignoring this device.
[  1276.071] (II) This device may have been added with another device file.
[  1276.073] (II) config/udev: Adding input device TPPS/2 IBM TrackPoint (/dev/input/event17)
[  1276.073] (**) TPPS/2 IBM TrackPoint: Applying InputClass "libinput pointer catchall"
[  1276.073] (II) Using input driver 'libinput' for 'TPPS/2 IBM TrackPoint'
[  1276.074] (II) systemd-logind: got fd for /dev/input/event17 13:81 fd 23 paused 0
[  1276.074] (**) TPPS/2 IBM TrackPoint: always reports core events
[  1276.074] (**) Option "Device" "/dev/input/event17"
[  1276.074] (**) Option "_source" "server/udev"
[  1276.075] (II) event17 - TPPS/2 IBM TrackPoint: is tagged by udev as: Mouse Pointingstick
[  1276.075] (II) event17 - TPPS/2 IBM TrackPoint: trackpoint does not have a specified range, guessing... see https://wayland.freedesktop.org/libinpu … oints.html
[  1276.075] (II) event17 - TPPS/2 IBM TrackPoint: trackpoint device set to range 31
[  1276.075] (II) event17 - TPPS/2 IBM TrackPoint: device is a pointer
[  1276.075] (II) event17 - TPPS/2 IBM TrackPoint: device removed
[  1276.075] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/serio2/input/input18/event17"
[  1276.075] (II) XINPUT: Adding extended input device "TPPS/2 IBM TrackPoint" (type: MOUSE, id 12)
[  1276.075] (**) Option "AccelerationScheme" "none"
[  1276.075] (**) TPPS/2 IBM TrackPoint: (accel) selected scheme none/0
[  1276.075] (**) TPPS/2 IBM TrackPoint: (accel) acceleration factor: 2.000
[  1276.075] (**) TPPS/2 IBM TrackPoint: (accel) acceleration threshold: 4
[  1276.076] (II) event17 - TPPS/2 IBM TrackPoint: is tagged by udev as: Mouse Pointingstick
[  1276.076] (II) event17 - TPPS/2 IBM TrackPoint: trackpoint does not have a specified range, guessing... see https://wayland.freedesktop.org/libinpu … oints.html
[  1276.076] (II) event17 - TPPS/2 IBM TrackPoint: trackpoint device set to range 31
[  1276.076] (II) event17 - TPPS/2 IBM TrackPoint: device is a pointer
[  1276.077] (II) config/udev: Adding input device TPPS/2 IBM TrackPoint (/dev/input/mouse1)
[  1276.077] (II) No input driver specified, ignoring this device.
[  1276.077] (II) This device may have been added with another device file.
[  1276.078] (II) config/udev: Adding input device PC Speaker (/dev/input/event5)
[  1276.078] (II) No input driver specified, ignoring this device.
[  1276.078] (II) This device may have been added with another device file.
[  1276.079] (II) config/udev: Adding input device ThinkPad Extra Buttons (/dev/input/event4)
[  1276.079] (**) ThinkPad Extra Buttons: Applying InputClass "libinput keyboard catchall"
[  1276.079] (II) Using input driver 'libinput' for 'ThinkPad Extra Buttons'
[  1276.080] (II) systemd-logind: got fd for /dev/input/event4 13:68 fd 24 paused 0
[  1276.080] (**) ThinkPad Extra Buttons: always reports core events
[  1276.080] (**) Option "Device" "/dev/input/event4"
[  1276.080] (**) Option "_source" "server/udev"
[  1276.081] (II) event4  - ThinkPad Extra Buttons: is tagged by udev as: Keyboard Switch
[  1276.081] (II) event4  - ThinkPad Extra Buttons: device is a keyboard
[  1276.081] (II) event4  - ThinkPad Extra Buttons: device is a switch device
[  1276.081] (II) event4  - ThinkPad Extra Buttons: device removed
[  1276.081] (**) Option "config_info" "udev:/sys/devices/platform/thinkpad_acpi/input/input5/event4"
[  1276.081] (II) XINPUT: Adding extended input device "ThinkPad Extra Buttons" (type: KEYBOARD, id 13)
[  1276.082] (II) event4  - ThinkPad Extra Buttons: is tagged by udev as: Keyboard Switch
[  1276.082] (II) event4  - ThinkPad Extra Buttons: device is a keyboard
[  1276.082] (II) event4  - ThinkPad Extra Buttons: device is a switch device
[  1276.145] (II) intel(0): EDID vendor "LGD", prod id 723
[  1276.145] (II) intel(0): Printing DDC gathered Modelines:
[  1276.145] (II) intel(0): Modeline "1366x768"x0.0   74.80  1366 1414 1446 1578  768 770 775 790 +hsync -vsync (47.4 kHz eP)
[  1321.597] (II) Axis 0x36 value 1111 is outside expected range [1181, 4999]
See https://wayland.freedesktop.org/libinpu … anges.html for details
[  5726.627] (II) Axis 0x36 value 5005 is outside expected range [1181, 4999]
See https://wayland.freedesktop.org/libinpu … anges.html for details
[  9335.683] (II) Axis 0x36 value 1036 is outside expected range [1181, 4999]
See https://wayland.freedesktop.org/libinpu … anges.html for details
[ 13618.446] (II) Axis 0x36 value 1056 is outside expected range [1181, 4999]
See https://wayland.freedesktop.org/libinpu … anges.html for details
[ 28868.393] (II) Axis 0x36 value 5204 is outside expected range [1181, 4999]
See https://wayland.freedesktop.org/libinpu … anges.html for details

Offline

#6 2018-06-10 14:29:16

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,055

Re: Remap right click key with xmodmap Thinkpad x220

Please wrap the log in "code" tags as well.

setxkbmap -model thinkpad -layout us

Otherwise try to install xf86-input-evdev and whether you get the key recognized by the evdev driver.

One more thing:
The xev output could imply that the key is actually operative, but grabbed by some global shortcut daemon, so be sure to test it in a "clean" environment.

Online

#7 2020-01-31 15:38:25

cirrus
Member
From: Glasgow Scotland
Registered: 2012-08-24
Posts: 341
Website

Re: Remap right click key with xmodmap Thinkpad x220

apologies for necrobumping, Just adding some useful info to this thread for future travellers, the key in question is known as the menu key, xbindkeys recognises it as 'm:0x0 + c:135 Menu'

Offline

Board footer

Powered by FluxBB