Hello. Lenovo N700 is the first device that I ever used which report itself as 
both a keyboard and mouse.

[    14.668] (II) config/udev: Adding input device Lenovo Mice N700 
(/dev/input/event16)
[    14.669] (**) Lenovo Mice N700: Applying InputClass "evdev pointer catchall"
[    14.669] (**) Lenovo Mice N700: Applying InputClass "evdev keyboard 
catchall"
[    14.669] (II) Using input driver 'evdev' for 'Lenovo Mice N700'
[    14.669] (**) Lenovo Mice N700: always reports core events
[    14.669] (**) evdev: Lenovo Mice N700: Device: "/dev/input/event16"
...
[    14.684] (--) evdev: Lenovo Mice N700: Found x and y relative axes
[    14.684] (--) evdev: Lenovo Mice N700: Found keys
[    14.684] (II) evdev: Lenovo Mice N700: Configuring as mouse
[    14.684] (II) evdev: Lenovo Mice N700: Configuring as keyboard
[    14.684] (II) evdev: Lenovo Mice N700: Adding scrollwheel support
...
[    14.684] (II) XINPUT: Adding extended input device "Lenovo Mice N700" 
(type: KEYBOARD, id 16)
[    14.684] (**) Option "xkb_rules" "evdev"
[    14.685] (**) Option "xkb_model" "pc105"
[    14.685] (**) Option "xkb_layout" "us"
[    14.685] (**) Option "xkb_variant" "altgr-intl"
[    14.685] (WW) Option "xkb_options" requires a string value

It has a Windows key on it that I hit by accident from time to time, and
randomly produces keystroke 'c'. So I intend to disable those.

Section "InputClass"
    Identifier     "Useless Windows Key"
    MatchIsKeyboard "on"
    MatchProduct   "Lenovo Mice N700"
EndSection

Result: despite I have "MatchIsKeyboard", that xorg.conf.d/snippet.conf disabled both the mouse and the Windows key on it.

I tried to be creative with this:

Section "InputClass"
    Identifier     "Useless Windows Key"
    MatchIsKeyboard "on"
    Option "XkbModel" "pc101" # default to pc104
EndSection

But surprisingly, althoug this configuration option is accepted according to
Xorg.0.log, Windows key still works:

[   972.908] (II) evdev: Lenovo Mice N700: Configuring as mouse
[   972.908] (II) evdev: Lenovo Mice N700: Configuring as keyboard
[   972.908] (**) Option "config_info" 
"udev:/sys/devices/virtual/misc/uhid/0005:17EF:6060.0003/input/input24/event16"
[   972.908] (II) XINPUT: Adding extended input device "Lenovo Mice N700" 
(type: KEYBOARD, id 16)
[   972.908] (**) Option "xkb_rules" "evdev"
[   972.908] (**) Option "xkb_model" "pc101"
[   972.908] (**) Option "xkb_layout" "us"
[   972.909] (**) Option "xkb_variant" "altgr-intl"

This problem was posted on UbuntuForums with no solution:
https://ubuntuforums.org/showthread.php?t=2349070

Thanks!
_______________________________________________
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: https://lists.x.org/mailman/listinfo/xorg
Your subscription address: %(user_address)s

Reply via email to