[PATCH xf86-input-synaptics v4 00/10] ClickPad support

Chase Douglas chase.douglas at canonical.com
Sun Mar 4 09:57:14 PST 2012


On 03/03/2012 03:09 PM, Mike Lothian wrote:
> Hi
>
> I'm testing these patches out on my Gentoo box where I'm running the
> latest git for the whole X stack
>
> I can't seem to get the right (or middle) buttons working
>
> I've tried your script but it's failing at the following command:

What script are you trying?

> fireburn at tau ~ $ xinput list 12
> SynPS/2 Synaptics TouchPad                      id=12   [slave  pointer  (2)]
>          Reporting 9 classes:
>                  Class originated from: 12. Type: XIButtonClass
>                  Buttons supported: 12
> X Error of failed request:  BadAtom (invalid Atom parameter)
>    Major opcode of failed request:  17 (X_GetAtomName)
>    Atom id in failed request:  0xb0002
>    Serial number of failed request:  23
>    Current serial number in output stream:  23
>                  Button labels: "Button Middle" "Button Right" "Button
> Wheel Up" "Button Wheel Down" "Button Horiz Wheel Left" "Button Horiz
> Wheel Right" None None None None None

Sounds like there's something more fundamental wrong if you can't even 
list the device classes.

> Also is there an option to set the left button click area? It would be
> nice if I was clicking and used the trackpad if the actions were
> interpreted by Synaptics as selecting an area rather than triggering a
> multitouch event (for me that's right click)

I don't really follow your entire question, but I can answer the first. 
Every area that is not part of the right or middle button area is 
implicitly the left button area.

> I'm attaching my Xorg.0.log and synclient outputs
>
> I tried setting the values manually based on the ranges in both the
> Xorg.0.log and synclient output but keep getting errors - I was trying
> to give each button a 1/3 of the track pad and a 1/5 of the height

I'm not sure what is wrong, though do note that the top left corner of 
the trackpad is the minimum X and Y values. Thus, the "top" of the 
button areas must be less in value than the "bottom". This sometimes 
throws people off.

-- Chase


More information about the xorg-devel mailing list