Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1661807

Re: [PATCH] macintosh: move mac_hid driver to input/mouse.

From Peter Hutterer <peter.hutterer@who-t.net>
Newsgroups linux.kernel
Subject Re: [PATCH] macintosh: move mac_hid driver to input/mouse.
Date 2017-06-09 01:10 +0200
Message-ID <tQeIV-29h-7@gated-at.bofh.it> (permalink)
References (4 earlier) <tPMtj-J4-1@gated-at.bofh.it> <tPMMG-14L-15@gated-at.bofh.it> <tPOEN-2je-11@gated-at.bofh.it> <tPSp5-4Iz-55@gated-at.bofh.it> <tQ5vY-4Kf-25@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Jun 08, 2017 at 03:18:42PM +0200, Michal Suchánek wrote:
> This is what evtest reports about my keyboard:
> 
> Select the device event number [0-12]: 2
> Input driver version is 1.0.1
> Input device ID: bus 0x3 vendor 0x413c product 0x2107 version 0x111
> Input device name: "DELL Dell USB Entry Keyboard"
> Supported events:
>   Event type 0 (EV_SYN)
>   Event type 1 (EV_KEY)
>     Event code 1 (KEY_ESC)
>     Event code 2 (KEY_1)
>     Event code 3 (KEY_2)
>     Event code 4 (KEY_3)
> ...
>     Event code 193 (KEY_F23)
>     Event code 194 (KEY_F24)
>     Event code 240 (KEY_UNKNOWN)
>     Event code 272 (BTN_LEFT)
>     Event code 273 (BTN_RIGHT)
>     Event code 274 (BTN_MIDDLE)
>   Event type 4 (EV_MSC)
>     Event code 4 (MSC_SCAN)
>   Event type 17 (EV_LED)
>     Event code 0 (LED_NUML) state 1
>     Event code 1 (LED_CAPSL) state 0
>     Event code 2 (LED_SCROLLL) state 0
>     Event code 3 (LED_COMPOSE) state 0
>     Event code 4 (LED_KANA) state 0
> Key repeat handling:
>   Repeat type 20 (EV_REP)
>     Repeat code 0 (REP_DELAY)
>       Value    250
>     Repeat code 1 (REP_PERIOD)
>       Value     33
> Properties:

looks like it's not tagged as ID_INPUT_MOUSE by the default udev rules
because for that we need x/y axes (either relative for real mice or absolute
ones for the VMWare USB mouse). This keyboard only has buttons though. So it
gets ID_INPUT_KEYBOARD for the keys, but no ID_INPUT_MOUSE.

Google isn't overly forthcoming on "DELL Dell USB Entry Keyboard" but the
few pictures I can find all point to a keyboard that doesn't have any
physical mouse buttons at all. Does yours have buttons? Can you post a
picture of it somewhere?

Cheers,
   Peter

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH] macintosh: move mac_hid driver to input/mouse. Michal Suchánek <msuchanek@suse.de> - 2017-06-07 19:00 +0200
  Re: [PATCH] macintosh: move mac_hid driver to input/mouse. Dmitry Torokhov <dmitry.torokhov@gmail.com> - 2017-06-07 19:20 +0200
    Re: [PATCH] macintosh: move mac_hid driver to input/mouse. Michal Suchánek <msuchanek@suse.de> - 2017-06-07 21:20 +0200
      Re: [PATCH] macintosh: move mac_hid driver to input/mouse. Peter Hutterer <peter.hutterer@who-t.net> - 2017-06-08 01:20 +0200
        Re: [PATCH] macintosh: move mac_hid driver to input/mouse. Michal Suchánek <msuchanek@suse.de> - 2017-06-08 15:20 +0200
          Re: [PATCH] macintosh: move mac_hid driver to input/mouse. Peter Hutterer <peter.hutterer@who-t.net> - 2017-06-09 01:10 +0200
            Re: [PATCH] macintosh: move mac_hid driver to input/mouse. Dmitry Torokhov <dmitry.torokhov@gmail.com> - 2017-06-09 01:20 +0200
              Re: [PATCH] macintosh: move mac_hid driver to input/mouse. Michal Suchánek <msuchanek@suse.de> - 2017-06-09 13:50 +0200
                Re: [PATCH] macintosh: move mac_hid driver to input/mouse. Peter Hutterer <peter.hutterer@who-t.net> - 2017-06-10 04:10 +0200
                Re: [PATCH] macintosh: move mac_hid driver to input/mouse. Michal Suchánek <msuchanek@suse.de> - 2017-06-12 13:50 +0200
                Re: [PATCH] macintosh: move mac_hid driver to input/mouse. Michal Suchánek <msuchanek@suse.de> - 2017-06-12 15:30 +0200

csiph-web