You are not logged in.

#1 2015-07-31 21:30:31

jernst
Member
From: Silicon Valley
Registered: 2014-03-04
Posts: 307

Getting ancient trackpad to work under X11

My ancient Inspiron 8200 that I'm trying to reactivate as a thin client, has both a rubber-eraser-mouse-thingy in the middle of the keyboard, and a separate track pad surrounded by 4 buttons. The mouse pointer position can be controlled fine by either, but all button functionality is completely wrong. The buttons produce events that X sees, but the types of events is all wrong.

As a result, I can't do anything useful with either "mouse".I don't really care about the rubber thingy, but I'd like to get the touchpad buttons to work. Unfortunately I know very little about X11 configuration.

# xinput -list
⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
⎜   ↳ AlpsPS/2 ALPS DualPoint TouchPad        	id=10	[slave  pointer  (2)]
⎜   ↳ AlpsPS/2 ALPS DualPoint Stick           	id=11	[slave  pointer  (2)]
⎣ Virtual core keyboard                   	id=3	[master keyboard (2)]
    ↳ Virtual core XTEST keyboard             	id=5	[slave  keyboard (3)]
    ↳ Video Bus                               	id=6	[slave  keyboard (3)]
    ↳ Power Button                            	id=7	[slave  keyboard (3)]
    ↳ Sleep Button                            	id=8	[slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard            	id=9	[slave  keyboard (3)]

I have package xf86-input-synaptics installed. I attempted to follow the instructions for Alps touchpads here but that doesn't seem to have done it. No discernable difference. (But those instructions say they are out of date, and it's not quite clear to me how to merge them with what the synaptics package installs in /etc/X11/xorg.conf.d, and I'm not quite sure what I'm doing either)

So I tried this, pressing the buttons clockwise from the upper left mouse button:

# evtest /dev/input/event7
Input driver version is 1.0.1
Input device ID: bus 0x11 vendor 0x2 product 0x8 version 0x200
Input device name: "AlpsPS/2 ALPS DualPoint TouchPad"
Supported events:
  Event type 0 (EV_SYN)
  Event type 1 (EV_KEY)
    Event code 272 (BTN_LEFT)
    Event code 273 (BTN_RIGHT)
    Event code 274 (BTN_MIDDLE)
    Event code 325 (BTN_TOOL_FINGER)
    Event code 330 (BTN_TOUCH)
  Event type 3 (EV_ABS)
    Event code 0 (ABS_X)
      Value    495
      Min        0
      Max     1023
    Event code 1 (ABS_Y)
      Value    318
      Min        0
      Max      767
    Event code 24 (ABS_PRESSURE)
      Value      0
      Min        0
      Max      127
Properties:
  Property type 0 (INPUT_PROP_POINTER)
Testing ... (interrupt to exit)
Event: time 1438377928.888745, type 1 (EV_KEY), code 272 (BTN_LEFT), value 0
Event: time 1438377928.888745, type 1 (EV_KEY), code 273 (BTN_RIGHT), value 0
Event: time 1438377928.888745, type 1 (EV_KEY), code 274 (BTN_MIDDLE), value 0
Event: time 1438377928.888745, -------------- EV_SYN ------------
Event: time 1438377960.398838, type 1 (EV_KEY), code 272 (BTN_LEFT), value 1
Event: time 1438377960.398838, type 1 (EV_KEY), code 273 (BTN_RIGHT), value 1
Event: time 1438377960.398838, type 1 (EV_KEY), code 274 (BTN_MIDDLE), value 1
Event: time 1438377960.398838, -------------- EV_SYN ------------
Event: time 1438377961.028645, type 1 (EV_KEY), code 272 (BTN_LEFT), value 0
Event: time 1438377961.028645, type 1 (EV_KEY), code 273 (BTN_RIGHT), value 0
Event: time 1438377961.028645, type 1 (EV_KEY), code 274 (BTN_MIDDLE), value 0
Event: time 1438377961.028645, -------------- EV_SYN ------------
Event: time 1438377975.715296, type 1 (EV_KEY), code 272 (BTN_LEFT), value 1
Event: time 1438377975.715296, type 1 (EV_KEY), code 273 (BTN_RIGHT), value 1
Event: time 1438377975.715296, type 1 (EV_KEY), code 274 (BTN_MIDDLE), value 1
Event: time 1438377975.715296, -------------- EV_SYN ------------
Event: time 1438377976.165174, type 1 (EV_KEY), code 272 (BTN_LEFT), value 0
Event: time 1438377976.165174, type 1 (EV_KEY), code 273 (BTN_RIGHT), value 0
Event: time 1438377976.165174, type 1 (EV_KEY), code 274 (BTN_MIDDLE), value 0
Event: time 1438377976.165174, -------------- EV_SYN ------------
Event: time 1438377987.927976, type 1 (EV_KEY), code 272 (BTN_LEFT), value 1
Event: time 1438377987.927976, type 1 (EV_KEY), code 273 (BTN_RIGHT), value 1
Event: time 1438377987.927976, type 1 (EV_KEY), code 274 (BTN_MIDDLE), value 1
Event: time 1438377987.927976, -------------- EV_SYN ------------
^C

and observe that button-down on upper-left did not show up (button-up did), upper-right had both events, botton-right had both events, and bottom-left only had button-down but not button-up. Also note that each event has all three codes, which according to the table above are for three different buttons, not one. (And I don't even have a physical middle button!)

Am I correct that this is not even an X11 configuration issue? Perhaps it's the wrong driver? Any ideas what other driver to try?

Offline

Board footer

Powered by FluxBB