0

I am trying to identify a laptop keyboard. So that I can disable it. It is causing problems (see Permanently disable keyboard), so I want to disable it. However I can not identify it. How do I go about identify a keyboard?


  • Hardware: lenovo yoga 3 laptop (intel gfx version), with external keyboard and mouse (so I can disable internal).
  • Operating system: Debian Gnu/Linux Jessie (Will upgrade soon to Debian current).

Various other data

#↳ uname -a
Linux my-laptop 4.9.0-0.bpo.6-amd64 #1 SMP Debian 4.9.88-1+deb9u1~bpo8+1 (2018-05-13) x86_64 GNU/Linux

#↳ lsusb
Bus 001 Device 002: ID 8087:8001 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 003: ID 0bc2:ab24 Seagate RSS LLC
Bus 003 Device 002: ID 2109:8110
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 011: ID 8087:07dc Intel Corp.
Bus 002 Device 009: ID 1bcf:2c43 Sunplus Innovation Technology Inc.
Bus 002 Device 007: ID 04f3:2052 Elan Microelectronics Corp.
Bus 002 Device 005: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 002 Device 003: ID 2109:2811
Bus 002 Device 073: ID 093a:2510 Pixart Imaging, Inc. Optical Mouse
Bus 002 Device 072: ID 046d:c31d Logitech, Inc. Media Keyboard K200
Bus 002 Device 071: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB
Bus 002 Device 070: ID 0424:2228 Standard Microsystems Corp. 9-in-2 Card Reader
Bus 002 Device 069: ID 0424:2602 Standard Microsystems Corp. USB 2.0 Hub
Bus 002 Device 068: ID 0424:2502 Standard Microsystems Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

#↳ lsusb --tree
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
    |__ Port 2: Dev 2, If 0, Class=Hub, Driver=hub/4p, 5000M
        |__ Port 4: Dev 3, If 0, Class=Mass Storage, Driver=uas, 5000M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/11p, 480M
    |__ Port 1: Dev 68, If 0, Class=Hub, Driver=hub/2p, 480M
        |__ Port 1: Dev 69, If 0, Class=Hub, Driver=hub/4p, 480M
            |__ Port 1: Dev 70, If 0, Class=Mass Storage, Driver=usb-storage, 480M
            |__ Port 2: Dev 71, If 0, Class=Hub, Driver=hub/4p, 480M
                |__ Port 1: Dev 72, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
                |__ Port 1: Dev 72, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
                |__ Port 2: Dev 73, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
    |__ Port 2: Dev 3, If 0, Class=Hub, Driver=hub/4p, 480M
    |__ Port 4: Dev 5, If 0, Class=Vendor Specific Class, Driver=rtsx_usb, 480M
    |__ Port 5: Dev 7, If 0, Class=Human Interface Device, Driver=usbhid, 12M
    |__ Port 6: Dev 9, If 0, Class=Video, Driver=uvcvideo, 480M
    |__ Port 6: Dev 9, If 1, Class=Video, Driver=uvcvideo, 480M
    |__ Port 7: Dev 11, If 1, Class=Wireless, Driver=btusb, 12M
    |__ Port 7: Dev 11, If 0, Class=Wireless, Driver=btusb, 12M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/8p, 480M

#↳ lsusb -s 2:7
Bus 002 Device 007: ID 04f3:2052 Elan Microelectronics Corp.

#↳ usb-devices
…
T:  Bus=02 Lev=01 Prnt=01 Port=04 Cnt=04 Dev#=  7 Spd=12  MxCh= 0
D:  Ver= 2.01 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=04f3 ProdID=2052 Rev=10.13
S:  Manufacturer=ELAN
S:  Product=Touchscreen
C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=03(HID  ) Sub=00 Prot=00 Driver=usbhid
…

#↳ sudo apt-get install input-utils
…
#↳ sudo lsinput
/dev/input/event0
   bustype : BUS_I8042
   vendor  : 0x1
   product : 0x1
   version : 43841
   name    : "AT Translated Set 2 keyboard"
   phys    : "isa0060/serio0/input0"
   bits ev : EV_SYN EV_KEY EV_MSC EV_LED EV_REP

/dev/input/event1
   bustype : BUS_HOST
   vendor  : 0x0
   product : 0x5
   version : 0
   name    : "Lid Switch"
   phys    : "PNP0C0D/button/input0"
   bits ev : EV_SYN EV_SW

/dev/input/event2
   bustype : BUS_HOST
   vendor  : 0x0
   product : 0x1
   version : 0
   name    : "Power Button"
   phys    : "PNP0C0C/button/input0"
   bits ev : EV_SYN EV_KEY

/dev/input/event3
   bustype : BUS_HOST
   vendor  : 0x0
   product : 0x1
   version : 0
   name    : "Power Button"
   phys    : "LNXPWRBN/button/input0"
   bits ev : EV_SYN EV_KEY

/dev/input/event4
   bustype : BUS_HOST
   vendor  : 0x0
   product : 0x0
   version : 0
   name    : "Ideapad extra buttons"
   phys    : "ideapad/input0"
   bits ev : EV_SYN EV_KEY EV_MSC

/dev/input/event5
   bustype : BUS_ISA
   vendor  : 0x1f
   product : 0x1
   version : 256
   name    : "PC Speaker"
   phys    : "isa0061/input0"
   bits ev : EV_SYN EV_SND

/dev/input/event6
   bustype : BUS_I2C
   vendor  : 0x4f3
   product : 0x4e
   version : 0
   name    : "Elan Touchpad"
   bits ev : EV_SYN EV_KEY EV_ABS

/dev/input/event7
   bustype : BUS_HOST
   vendor  : 0x0
   product : 0x6
   version : 0
   name    : "Video Bus"
   phys    : "LNXVIDEO/video/input0"
   bits ev : EV_SYN EV_KEY

/dev/input/event8
   bustype : (null)
   vendor  : 0x0
   product : 0x0
   version : 0
   name    : "HDA Intel HDMI HDMI/DP,pcm=3"
   phys    : "ALSA"
   bits ev : EV_SYN EV_SW

/dev/input/event9
   bustype : (null)
   vendor  : 0x0
   product : 0x0
   version : 0
   name    : "HDA Intel HDMI HDMI/DP,pcm=7"
   phys    : "ALSA"
   bits ev : EV_SYN EV_SW

/dev/input/event10
   bustype : (null)
   vendor  : 0x0
   product : 0x0
   version : 0
   name    : "HDA Intel HDMI HDMI/DP,pcm=8"
   phys    : "ALSA"
   bits ev : EV_SYN EV_SW

/dev/input/event11
   bustype : BUS_PCI
   vendor  : 0x10ec
   product : 0x235
   version : 1
   name    : "HDA Digital PCBeep"
   phys    : "card1/codec#0/beep0"
   bits ev : EV_SYN EV_SND

/dev/input/event12
   bustype : (null)
   vendor  : 0x0
   product : 0x0
   version : 0
   name    : "HDA Intel PCH Mic"
   phys    : "ALSA"
   bits ev : EV_SYN EV_SW

/dev/input/event13
   bustype : (null)
   vendor  : 0x0
   product : 0x0
   version : 0
   name    : "HDA Intel PCH Front Headphone"
   phys    : "ALSA"
   bits ev : EV_SYN EV_SW

/dev/input/event14
   bustype : BUS_USB
   vendor  : 0x1bcf
   product : 0x2c43
   version : 261
   name    : "Lenovo EasyCamera"
   phys    : "usb-0000:00:14.0-6/button"
   bits ev : EV_SYN EV_KEY

/dev/input/event15
   bustype : BUS_USB
   vendor  : 0x4f3
   product : 0x2052
   version : 272
   name    : "ELAN Touchscreen"
   phys    : "usb-0000:00:14.0-5/input0"
   uniq    : ""
   bits ev : EV_SYN EV_KEY EV_ABS

/dev/input/event16
   bustype : BUS_USB
   vendor  : 0x46d
   product : 0xc31d
   version : 272
   name    : "Logitech USB Keyboard"
   phys    : "usb-0000:00:14.0-1.1.2.1/input0"
   uniq    : ""
   bits ev : EV_SYN EV_KEY EV_MSC EV_LED EV_REP

/dev/input/event17
   bustype : BUS_USB
   vendor  : 0x46d
   product : 0xc31d
   version : 272
   name    : "Logitech USB Keyboard"
   phys    : "usb-0000:00:14.0-1.1.2.1/input1"
   uniq    : ""
   bits ev : EV_SYN EV_KEY EV_ABS EV_MSC

/dev/input/event18
   bustype : BUS_USB
   vendor  : 0x93a
   product : 0x2510
   version : 273
   name    : "PixArt USB Optical Mouse"
   phys    : "usb-0000:00:14.0-1.1.2.2/input0"
   uniq    : ""
   bits ev : EV_SYN EV_KEY EV_REL EV_MSC
  • 1
    What does lsinput show? – Stephen Kitt Mar 23 at 15:11
  • @StephenKitt I have added output of lsinput (I think it in event0). What next, what info do I need, to disable it. – ctrl-alt-delor Mar 23 at 17:49
  • It should be listed in xinput list. – Arkadiusz Drabczyk Mar 23 at 18:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.