lkml.org 
[lkml]   [2003]   [Aug]   [19]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
From"Andrey Borzenkov" <>
Subject2.6 - synaptics touchpad not handled by any driver
DateTue, 19 Aug 2003 10:23:06 +0400
It appeared recently on a.o.l.m. Synaptics touchpad is not handled
by any driver except evdev. It is located in drivers/input/mouse and
is part of psmouse so one would logically assume it is handled by
mousedev - but it does not advertise any capability accepted by mousedev.

I: Bus=0011 Vendor=0002 Product=0007 Version=0000
N: Name="Synaptics Synaptics TouchPad"
P: Phys=isa0060/serio1/input0
H: Handlers=
B: EV=1b
B: KEY=670000 0 0 0 0 0 0 0 0
B: ABS=1000003
B: MSC=4
the buttons advertised are

BTN_LEFT, BTN_RIGHT, BTN_MIDDLE, BTN_FORWARD, BTN_BACK.

mousedev accepts device with absolute coordinates only if it
advertises BTN_TOUCH:

        {
              .flags    = INPUT_DEVICE_ID_MATCH_EVBIT | INPUT_DEVICE_ID_MATCH_KE
YBIT | INPUT_DEVICE_ID_MATCH_ABSBIT,
              .evbit    = { BIT(EV_KEY) | BIT(EV_ABS) },
              .keybit   = { [LONG(BTN_TOUCH)] = BIT(BTN_TOUCH) },
              .absbit   = { BIT(ABS_X) | BIT(ABS_Y) },
         },/* A tablet like device, at least touch detection, two absolute axes
the same as tsdev.

something is fishy :) poor guy expected it to work like a mouse -
just like 2.4 did.

-andrey

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:47    [from the cache]
©2003-2008