Can't enable Right Button Area on Elantech ETPS/2 Clickpad

Bug #944961 reported by Mark Russell
58
This bug affects 11 people
Affects Status Importance Assigned to Milestone
xserver-xorg-input-synaptics (Ubuntu)
Confirmed
Undecided
Chase Douglas

Bug Description

Running precise amd64.

I used the script posted on ubuntu-devel to try to enable right-click on the Elantech clickpad of my Asus UX31E. Here is the script:

The script ends with the following line:
xinput set-prop "$1" "Synaptics Right Button Area" $left $right $top $bottom

I get the following error returned:
property Synaptics Right Button Area doesn't exist, you need to specify its type and format

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: xserver-xorg-input-synaptics 1.5.99~git20120223-0ubuntu1
Uname: Linux 3.3.0-030300rc5-generic x86_64
ApportVersion: 1.93-0ubuntu2
Architecture: amd64
Date: Fri Mar 2 11:56:54 2012
DistUpgraded: Fresh install
DistroCodename: precise
DistroVariant: ubuntu
DpkgLog:

InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120127.2)
MachineType: ASUSTeK Computer Inc. UX31E
ProcEnviron:
 TERM=xterm
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.3.0-030300rc5-generic root=UUID=6fb5c681-fd2b-4e0a-a9a0-d4a1acb88cce ro quiet splash elevator=noop vt.handoff=7
SourcePackage: xserver-xorg-input-synaptics
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 12/26/2011
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: UX31E.210
dmi.board.asset.tag: ATN12345678901234567
dmi.board.name: UX31E
dmi.board.vendor: ASUSTeK Computer Inc.
dmi.board.version: 1.0
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTeK Computer Inc.
dmi.chassis.version: 1.0
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrUX31E.210:bd12/26/2011:svnASUSTeKComputerInc.:pnUX31E:pvr1.0:rvnASUSTeKComputerInc.:rnUX31E:rvr1.0:cvnASUSTeKComputerInc.:ct10:cvr1.0:
dmi.product.name: UX31E
dmi.product.version: 1.0
dmi.sys.vendor: ASUSTeK Computer Inc.
version.compiz: compiz 1:0.9.7.0~bzr2995-0ubuntu5
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.30-1ubuntu1
version.libgl1-mesa-dri: libgl1-mesa-dri 8.0.1-0ubuntu2
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 8.0.1-0ubuntu2
version.xserver-xorg-core: xserver-xorg-core 2:1.11.4-0ubuntu4
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.6.99.901+git20120126-0ubuntu2
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.99~git20111219.aacbd629-0ubuntu2
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.17.0-1ubuntu4
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20111201+b5534a1-1build2

Revision history for this message
Mark Russell (marrusl) wrote :
Changed in xserver-xorg-input-synaptics (Ubuntu):
assignee: nobody → Chase Douglas (chasedouglas)
Revision history for this message
Chase Douglas (chasedouglas) wrote :

There was a change in the property name. I have updated the enable-rightbutton.sh script. It should work correctly now.

Thanks!

Changed in xserver-xorg-input-synaptics (Ubuntu):
status: New → Invalid
Revision history for this message
Mark Russell (marrusl) wrote :

Thanks, Chase! Sounds good. Where can I find the updated script or new property name?

Revision history for this message
Chase Douglas (chasedouglas) wrote :

Mark,

You can find the updated script at http://people.canonical.com/~cndougla/enable-rightbutton.sh.

Revision history for this message
ninom (nino-mueller) wrote :

I still get the same exception on my UX21
property Synaptics Right Button Area doesn't exist, you need to specify its type and format

I updated today and I downloaded the script today. What can I do?

Revision history for this message
Chase Douglas (chasedouglas) wrote :

ninom,

Please double check the script you downloaded. It should not contain any reference to "Synaptics Right Button Area". I downloaded again here to check, and it now uses "Synaptics Soft Button Areas", as intended.

Thanks!

Revision history for this message
ninom (nino-mueller) wrote :

It works now thanks! I don't see any difference tough. I have an Elantech Touchpad (not the synaptics) but it is stated here, that it should work: https://help.ubuntu.com/community/AsusZenbook#Touchpad

is this not correct?

Revision history for this message
Wojciech Myszka (myszka-norka) wrote :

Above solution used to work, but ufter upgrading to beta2 is stop.
Asus zenbook ux21e with Elantech touchpad
kernel: Linux asusux 3.2.0-21-generic #34-Ubuntu SMP Fri Mar 30 04:25:35 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
xserver-xorg-input-synaptics 1.5.99.902-0ubuntu1
running command
xinput list "ETPS/2 Elantech Touchpad"
returns
'''
ETPS/2 Elantech Touchpad id=13 [slave pointer (2)]
 Reporting 10 classes:
  Class originated from: 13. 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
'''
so script enable-rightbutton.sh cannot read properties, and cannot set tem

BTW this touchpad isn't recognized as a clickpad out of the box, but the script enable-clickpad.sh works
Should i add any additonal info?

Revision history for this message
Chase Douglas (chasedouglas) wrote :

Hi Wojciech,

Please open a new bug for this issue. Use "ubuntu-bug xserver-xorg-input-synaptics". Then, create a device.prop file as detailed here: https://wiki.ubuntu.com/Multitouch/Testing/uTouchEvEmu#Debugging. Attach the file to the bug. Finally, subscribe the bug to me.

Thanks!

Revision history for this message
estanislao bulián (estani-b) wrote :

HI people,
  As myszka-norka said, the property Synaptics Soft Button Areas does not exists or cannot be set trough the script. Please take a look at the following xinput output for my elantech pad of an ASUS ux31e.

ETPS/2 Elantech Touchpad id=13 [slave pointer (2)]
 Reporting 10 classes:
  Class originated from: 13. Type: XIButtonClass
  Buttons supported: 12
  Button labels: "Button Left" "Button Middle" "Button Right" "Button Wheel Up" "Button Wheel Down" "Button Horiz Wheel Left" "Button Horiz Wheel Right" None None None None None
  Button state:
  Class originated from: 13. Type: XIValuatorClass
  Detail for Valuator 0:
    Label: Rel X
    Range: 0.000000 - 3260.000000
    Resolution: 0 units/m
    Mode: relative
  Class originated from: 13. Type: XIValuatorClass
  Detail for Valuator 1:
    Label: Rel Y
    Range: 0.000000 - 2119.000000
    Resolution: 0 units/m
    Mode: relative
  Class originated from: 13. Type: XIValuatorClass
  Detail for Valuator 2:
    Label: Rel Horiz Scroll
    Range: 0.000000 - -1.000000
    Resolution: 0 units/m
    Mode: relative
  Class originated from: 13. Type: XIValuatorClass
  Detail for Valuator 3:
    Label: Rel Vert Scroll
    Range: 0.000000 - -1.000000
    Resolution: 0 units/m
    Mode: relative
  Class originated from: 13. Type: XIValuatorClass
  Detail for Valuator 4:
    Label: Abs MT Touch Major
    Range: 0.000000 - 2445.000000
    Resolution: 0 units/m
    Mode: absolute
    Current value: 0.000000
  Class originated from: 13. Type: XIValuatorClass
  Detail for Valuator 5:
    Label: Abs MT Pressure
    Range: 0.000000 - 255.000000
    Resolution: 0 units/m
    Mode: absolute
    Current value: 0.000000
  Class originated from: 13. Type: XIScrollClass
  Scroll info for Valuator 2
    type: 2 (horizontal)
    increment: 77.000000
    flags: 0x0
  Class originated from: 13. Type: XIScrollClass
  Scroll info for Valuator 3
    type: 1 (vertical)
    increment: 77.000000
    flags: 0x0
  Class originated from: 0. Type: XITouchClass
  Touch mode: dependent
  Max number of touches: 5

The script returns:
"...
./enable-rightbutton.sh 13
property Synaptics Soft Button Areas doesn't exist, you need to specify its type and format
..."

BTW this is my first post, so sorry if it was the incorrect way.
This is my kernel, xubuntu distribution.

Linux laptop-UX31E 3.2.0-25-generic #40-Ubuntu SMP Wed May 23 20:33:05 UTC 2012 i686 i686 i386 GNU/Linux

Thanks.

Revision history for this message
Eduard Gotwig (gotwig) wrote :

This bug is not fixed, as of today

my touchpad on the asus zenbook does not work out of the box properly.

Only left click is possible

Changed in xserver-xorg-input-synaptics (Ubuntu):
status: Invalid → Confirmed
Revision history for this message
Josep Pujadas-Jubany (jpujades) wrote :

Acer Travelmate B113 witn Ubuntu 12.04 LTS 32 bit (up-to-date). Same problem.

No

# xinput --list-props 13
Device 'SynPS/2 Synaptics TouchPad':
 Device Enabled (132): 1
 Coordinate Transformation Matrix (134): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
 Device Accel Profile (256): 1
 Device Accel Constant Deceleration (257): 2.500000
 Device Accel Adaptive Deceleration (258): 1.000000
 Device Accel Velocity Scaling (259): 12.500000
 Synaptics Edges (280): 1768, 5406, 1645, 4569
 Synaptics Finger (281): 25, 30, 256
 Synaptics Tap Time (282): 180
 Synaptics Tap Move (283): 238
 Synaptics Tap Durations (284): 180, 180, 100
 Synaptics ClickPad (285): 1
 Synaptics Tap FastTap (286): 0
 Synaptics Middle Button Timeout (287): 0
 Synaptics Two-Finger Pressure (288): 282
 Synaptics Two-Finger Width (289): 7
 Synaptics Scrolling Distance (290): 108, 108
 Synaptics Edge Scrolling (291): 1, 0, 0
 Synaptics Two-Finger Scrolling (292): 1, 0
 Synaptics Move Speed (293): 1.000000, 1.750000, 0.036866, 40.000000
 Synaptics Edge Motion Pressure (294): 30, 160
 Synaptics Edge Motion Speed (295): 1, 434
 Synaptics Edge Motion Always (296): 0
 Synaptics Off (297): 0
 Synaptics Locked Drags (298): 0
 Synaptics Locked Drags Timeout (299): 5000
 Synaptics Tap Action (300): 2, 3, 0, 0, 1, 3, 0
 Synaptics Click Action (301): 1, 3, 0
 Synaptics Circular Scrolling (302): 0
 Synaptics Circular Scrolling Distance (303): 0.100000
 Synaptics Circular Scrolling Trigger (304): 0
 Synaptics Circular Pad (305): 0
 Synaptics Palm Detection (306): 0
 Synaptics Palm Dimensions (307): 10, 200
 Synaptics Coasting Speed (308): 20.000000, 50.000000
 Synaptics Pressure Motion (309): ... of unknown type CARDINAL

 Synaptics Pressure Motion Factor (310): 1.000000, 1.000000
 Synaptics Resolution Detect (311): 1
 Synaptics Grab Event Device (312): 1
 Synaptics Gestures (313): 1
 Synaptics Capabilities (314): 1, 0, 0, 1, 1, 1, 1
 Synaptics Pad Resolution (315): 79, 51
 Synaptics Area (316): 0, 0, 0, 0
 Synaptics Soft Button Areas (317): 0, 0, 0, 0, 0, 0, 0, 0
 Synaptics Noise Cancellation (318): 8, 8
 Device Product ID (251): 2, 7
 Device Node (252): "/dev/input/event9"

# ./enable-rightbutton.sh 13
property Synaptics Right Button Area doesn't exist, you need to specify its type and format

https://wiki.ubuntu.com/DebuggingTouchpadDetection#Enabling_right_button_click_for_clickpads_on_Ubuntu_12.04_LTS

Revision history for this message
Josep Pujadas-Jubany (jpujades) wrote :

Work around from https://help.ubuntu.com/community/SamsungSeries9 ...

Set the psmouse driver protocol.

 sudo su
 echo options psmouse proto=exps > /etc/modprobe.d/psmouse.modprobe
 reboot

This enables right-clicking, but removes the ability to control other touchpad features. For example, you cannot disable touch-clicking.

Revision history for this message
Ajeesh (ajeesh-r2003) wrote :

Hi Friends,
I had the same issue with my ASUS Laptop.
I made a modification in script in following way.(I have hard coded my touchpad’s number in script - device 17)
And output the values of variables to terminal. Then commented the last line.
----------------------------------------------------------------------------------------------------------------------------------------------
#!/bin/bash

i=0
while read label min delim max; do
 if [ $i -eq 0 ]; then
  minx=$min
  maxx=$max
 elif [ $i -eq 1 ]; then
  miny=$min
  maxy=$max
  break
 fi

 (( i++ ))
done < <(xinput list "17" | grep Range)
#the 17 above is the my device number.

left=`echo \($maxx - $minx\) / 2 + $minx | bc -l`
right=$maxx
top=`echo \($maxy - $miny\) \* 0.8 + $miny | bc -l`
bottom=$maxy

echo "$left"
echo "$right"
echo "$top"
echo "$bottom"

#xinput set-prop "ETPS/2 Elantech Touchpad" "Synaptics Soft Button Areas" $left $right $top $bottom
--------------------------------------------------------------------------------------------------------------------------------------------------
I ran the script the got following output.
aj@Ajeesh-K55VJ:~/Downloads$ ./enable-rightbutton.sh
1624.50000000000000000000
3249.000000
1778.4000000
2223.000000
Then take these values and run the below command.
aj@Ajeesh-K55VJ:~/Downloads$ xinput set-prop 17 324 1624.50000 3249.0000 1778.40000 2223.0000 0 0 0 0
Basically added 4 zeroes to the command.
I hope someone with a better shell scripting capabilities can create a new script for everyone based above details.....

Revision history for this message
Ajeesh (ajeesh-r2003) wrote :

Forgot to mention that, i am able to right click now...:)

Revision history for this message
Dave Vree (hdave) wrote :

@Josep - Your workaround was successful on my Asus K55-- thanks a lot.

Revision history for this message
Jacknight (douglas-magnenat) wrote :

@Ajeesh - Thanks ! It worked for my Asus Zenbook UX32A. Great !

If you want to correct the script just replace the last line :

xinput set-prop "$1" "Synaptics Right Button Area" $left $right $top $bottom

with this one :

xinput set-prop "$1" "Synaptics Soft Button Areas" $left $right $top $bottom 0 0 0 0

Revision history for this message
Oscar Carlberg (canhasspace) wrote :

Hi,

Unfortunatly this script does not work in Ubuntu 13.10 =/

xinput reports "Elantech ETPS/2 Clickpad"

However rightclick is not working, two-finger scroll works fine, two-finger tap emulates rightclick fine. But hardware rightclick button does nothing.

Anyone got a fix for 13.10?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.