Page 1 of 2

Right Click on TOUCHPAD for ASUS Notebook Not Working at all

PostPosted: Dec 23rd, '12, 09:57
by ghost4man
Hi Guys,

After having just successfully installed Mageia onto my system I have quickly discovered that the RIGHT CLICK feature on my Touchpad for my ASUS NOTEBOOK F401A does NOT work at all.

Could someone assist in this regard. I just want to add that the notebook came shipped with Windows 8 so initially I installed UBUNTU 12.04 and noticed that it was experiencing the same problems

so clearly its not unique to Magiea.

I have just TESTED using a wireless USB mouse and the right click feature works so it clearly appears that this is related to the touchpad.

Any assistance greatly appreciated as it makes it difficult using the system.

Cheers Ozzie

Re: Right Click on TOUCHPAD for ASUS Notebook Not Working at

PostPosted: Dec 24th, '12, 05:29
by ghost4man
Hi Guys,

As a quick update I now have NO functionality with the touchpad, so the cursor now no longer moves. I am at this stage resigned to using a wireless mouse but

I would also add that the left click function still works when I place the cursor over feature that can link to another page. But now the cursor cant be moved unless

via mouse. Cheers for any assistance.

Ozzie

Re: Right Click on TOUCHPAD for ASUS Notebook Not Working at

PostPosted: Dec 24th, '12, 10:02
by isadora
Yesterday encountered the same issue with some friends new ASUS laptop, and Elantech Touchpad.
Found following, but didn't work it out, because of lack of time.
Maybe it gives you some hands-on.

http://www.linuxquestions.org/questions ... page2.html

Re: Right Click on TOUCHPAD for ASUS Notebook Not Working at

PostPosted: Dec 24th, '12, 10:47
by ghost4man
Hi Isadora,

Yeah when I got Mageia up and running I had no issues moving the cursor. However I have to say that the scroll function was hopeless and really didnt work. The right click did NOT work at all

although the left click did.

So I put to use a wireless mouse and that works fine with no glitches. After having used the mouse I now no longer have any use of the touchpad although I have noticed when system boots and I get to the main screen

it works temporarily and then just doesnt work any more. I will have a look at that link that you provided and post back results. I have to point out that when I had Ubuntu 12.04 running I was having

the same problem.

Cheers mate

Ozzie

Re: Right Click on TOUCHPAD for ASUS Notebook Not Working at

PostPosted: Dec 24th, '12, 12:36
by ghost4man
Hi Isadora,

Following that link I ran the suggested code:

Code: Select all
cat /proc/bus/input/devices

and this was the output:
I: Bus=0011 Vendor=0001 Product=0001 Version=ab41
N: Name="AT Translated Set 2 keyboard"
P: Phys=isa0060/serio0/input0
S: Sysfs=/devices/platform/i8042/serio0/input/input0
U: Uniq=
H: Handlers=sysrq kbd event0
B: PROP=0
B: EV=120013
B: KEY=402000000 3803078f800d001 feffffdfffefffff fffffffffffffffe
B: MSC=10
B: LED=7

I: Bus=0011 Vendor=0002 Product=000e Version=0000
N: Name="ETPS/2 Elantech Touchpad"
P: Phys=isa0060/serio4/input0
S: Sysfs=/devices/platform/i8042/serio4/input/input1
U: Uniq=
H: Handlers=mouse0 event1
B: PROP=0
B: EV=b
B: KEY=e420 30000 0 0 0 0
B: ABS=661800011000003

I: Bus=0019 Vendor=0000 Product=0005 Version=0000
N: Name="Lid Switch"
P: Phys=PNP0C0D/button/input0
S: Sysfs=/devices/LNXSYSTM:00/device:00/PNP0C0D:00/input/input2
U: Uniq=
H: Handlers=event2
B: PROP=0
B: EV=21
B: SW=1

I: Bus=0019 Vendor=0000 Product=0003 Version=0000
N: Name="Sleep Button"
P: Phys=PNP0C0E/button/input0
S: Sysfs=/devices/LNXSYSTM:00/device:00/PNP0C0E:00/input/input3
U: Uniq=
H: Handlers=kbd event3
B: PROP=0
B: EV=3
B: KEY=4000 0 0

I: Bus=0019 Vendor=0000 Product=0001 Version=0000
N: Name="Power Button"
P: Phys=LNXPWRBN/button/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXPWRBN:00/input/input4
U: Uniq=
H: Handlers=kbd event4
B: PROP=0
B: EV=3
B: KEY=10000000000000 0

I: Bus=0019 Vendor=0000 Product=0006 Version=0000
N: Name="Video Bus"
P: Phys=LNXVIDEO/video/input0
S: Sysfs=/devices/LNXSYSTM:00/device:00/PNP0A08:00/LNXVIDEO:00/input/input5
U: Uniq=
H: Handlers=kbd event5
B: PROP=0
B: EV=3
B: KEY=3e000b00000000 0 0 0

I: Bus=0003 Vendor=045e Product=0745 Version=0111
N: Name="Microsoft Microsoft® Nano Transceiver v2.0"
P: Phys=usb-0000:00:14.0-1/input0
S: Sysfs=/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.0/input/input6
U: Uniq=
H: Handlers=sysrq kbd event6
B: PROP=0
B: EV=120013
B: KEY=1000000000007 ff800000000007ff febeffdff3cfffff fffffffffffffffe
B: MSC=10
B: LED=7

I: Bus=0003 Vendor=045e Product=0745 Version=0111
N: Name="Microsoft Microsoft® Nano Transceiver v2.0"
P: Phys=usb-0000:00:14.0-1/input1
S: Sysfs=/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.1/input/input7
U: Uniq=
H: Handlers=kbd mouse1 event7
B: PROP=0
B: EV=1f
B: KEY=4837fff072ff32d bf54444600000000 1f0001 20f908b17c000 677bfad9415fed 9ed68000004400 10000002
B: REL=3c3
B: ABS=100000000
B: MSC=10

I: Bus=0003 Vendor=045e Product=0745 Version=0111
N: Name="Microsoft Microsoft® Nano Transceiver v2.0"
P: Phys=usb-0000:00:14.0-1/input2
S: Sysfs=/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.2/input/input8
U: Uniq=
H: Handlers=sysrq kbd event8 js0
B: PROP=0
B: EV=10001f
B: KEY=4c37fff072ff32d bf54445600000000 c00000000000001 30f908b17c007 ffff7bfad951dfff febeffdfffefffff fffffffffffffffe
B: REL=40
B: ABS=ffffff01000701ff
B: MSC=10

I: Bus=0003 Vendor=13d3 Product=5165 Version=0823
N: Name="USB Camera"
P: Phys=usb-0000:00:1a.0-1.2/button
S: Sysfs=/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.2/3-1.2:1.0/input/input9
U: Uniq=
H: Handlers=kbd event9
B: PROP=0
B: EV=3
B: KEY=100000 0 0 0

I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA Intel PCH HDMI/DP,pcm=3"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:1b.0/sound/card0/input10
U: Uniq=
H: Handlers=event10
B: PROP=0
B: EV=21
B: SW=140

I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA Intel PCH Headphone"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:1b.0/sound/card0/input11
U: Uniq=
H: Handlers=event11
B: PROP=0
B: EV=21
B: SW=4



I am not really sure how to proceed from this point forward in terms of changing script.

Cheers Ozzie

Re: Right Click on TOUCHPAD for ASUS Notebook Not Working at

PostPosted: Dec 24th, '12, 13:58
by isadora
Can you please provide the output of:

Code: Select all
cat /etc/X11/xorg.conf

Re: Right Click on TOUCHPAD for ASUS Notebook Not Working at

PostPosted: Dec 24th, '12, 22:34
by ghost4man
Hi Isadora,

As requested here is the output:

Code: Select all
# File generated by XFdrake (rev 262502)

# **********************************************************************
# Refer to the xorg.conf man page for details about the format of
# this file.
# **********************************************************************

Section "ServerFlags"
    Option "DontZap" "False" # disable <Ctrl><Alt><BS> (server abort)
    #DontZoom # disable <Ctrl><Alt><KP_+>/<KP_-> (resolution switching)
    AllowMouseOpenFail # allows the server to start up even if the mouse does not work
EndSection

Section "Module"
    Load "v4l" # Video for Linux
EndSection

Section "Monitor"
    Identifier "monitor1"
    VendorName "Plug'n Play"

    # TV fullscreen mode or DVD fullscreen output.
    # 768x576 @ 79 Hz, 50 kHz hsync
    ModeLine "768x576"     50.00  768  832  846 1000   576  590  595  630

    # 768x576 @ 100 Hz, 61.6 kHz hsync
    ModeLine "768x576"     63.07  768  800  960 1024   576  578  590  616
EndSection

Section "Device"
    Identifier "device1"
    VendorName "Intel Corporation"
    BoardName "Intel 810 and later"
    Driver "intel"
    Option "DPMS"
EndSection

Section "Screen"
    Identifier "screen1"
    Device "device1"
    Monitor "monitor1"
EndSection

Section "ServerLayout"
    Identifier "layout1"
    Screen "screen1"
EndSection


Cheers Ozzie

Re: Right Click on TOUCHPAD for ASUS Notebook Not Working at

PostPosted: Dec 25th, '12, 09:00
by isadora
Well you know, i am not you, and i can not figure out, if it is really leading
somewhere.
But in my case, i would surely try to edit the xorg.conf accordingly to what is
described, to bring in functionality for the Elantech Touchpad.
At the moment the Touchpad isn't working at all, so what to loose?

That means, i would try to add (at least) the following to /etc/X11/xorg.conf:

Code: Select all
Section "InputDevice"
     Driver "synaptics"
     Option "CorePointer"     
     Option "Device" "/dev/input/mouse0"
     Option "Protocol" "auto-dev"
     Option "HorizTwoFingerScroll" "1"
     Option "VertTwoFingerScroll" "1"
     Option "TapButton1" "1"
     Option "TapButton2" "2"
     Option "TapButton3" "3"
EndSection


Reboot, and see what happens?

Again, this is quite experimental. And maybe future updates of kernel, or X11-drivers for synaptics will bring in real solutions.

Re: Right Click on TOUCHPAD for ASUS Notebook Not Working at

PostPosted: Dec 25th, '12, 12:34
by ghost4man
Hi Isadora,

I have no problem doing this mate. As you can already see I am a very patient person and more than willing to try and resolve this problem.

The only thing that I would ask is how do I actually perform this edit??

Am a little bit confused as to how I should do this. Do I just manually copy and paste the above.

Cheers mate.

Ozzie

Re: Right Click on TOUCHPAD for ASUS Notebook Not Working at

PostPosted: Dec 25th, '12, 13:03
by ghost4man
Hi Isadora,

Okay I think I may have got a step closer mate.

This is what I did.

I went into root > etc > X11 > xorgconf and opened up the text file and tried to manually add the text that you provided.

However I got an error message saying that the disc was either to full or that the file was read only.

Now I know that the disk has more than enough space so I am thinking that it has to be a read only issue preventing me to write to this file.

What do you think?

Cheers Ozzie

Re: Right Click on TOUCHPAD for ASUS Notebook Not Working at

PostPosted: Dec 25th, '12, 13:14
by ghost4man
Hi Isadora,

Okay I tried the following.

I copied and pasted the existing xorgconf text file into documents. It was there that I added the text that you supplied to me to the file.

I went back into root and tried to manually delete xorgconf but was prevented from doing so which indicates there are restrictions in doing this.

At this point I am at a brick wall but am trying at least.

Will keep trying.

cheers ozzie

Re: Right Click on TOUCHPAD for ASUS Notebook Not Working at

PostPosted: Dec 25th, '12, 15:14
by isadora
Ozzie,

Try in konsole/terminal:

Code: Select all
su -

Password: <your root-password>

Code: Select all
kwrite /etc/X11/xorg.conf


That will give you the file in editor in root-mode.

Re: Right Click on TOUCHPAD for ASUS Notebook Not Working at

PostPosted: Dec 25th, '12, 23:33
by ghost4man
Hi Isadora,

Okay I did that which wasnt too much of a problem and then proceeded to restart.

Unfortunately during the boot phase after nominating the latest update of mageia it just hangs there. I have tried to booting via the safe mode which
lists a whole bit of script but not sure where to go after that.

Not really sure what to do now. Went into F3 to the kernel option and chose safe mode but still stuck. Up for the challenge though:)

Cheers for any assistance

Ozzie

Re: Right Click on TOUCHPAD for ASUS Notebook Not Working at

PostPosted: Dec 26th, '12, 01:02
by ghost4man
Isadora,

My gut feeling is that I need to go into boot safe mode which I can and then somehow get back into the file and revert the script.

In safe mode I get a whole list of script followed by [root@localhost `]#

What do you think or am I on the wrong track here. I have exhausted other options as far as I can see.

Cheers mate

Ozzie

Re: Right Click on TOUCHPAD for ASUS Notebook Not Working at

PostPosted: Dec 26th, '12, 01:18
by Ken-Bergen
You could rename the file and restore the old one.
At the root prompt
Code: Select all
mv /etc/X11/xorg.conf   /etc/X11/xorg.conf.new
mv /etc/X11/xorg.conf.old   /etc/X11/xorg.conf

Re: Right Click on TOUCHPAD for ASUS Notebook Not Working at

PostPosted: Dec 26th, '12, 03:52
by ghost4man
Hi Ken,

No good mate. I get the following output:

mv: cannot move '/etc/X11/xorg.conf' to '/etc/X11/xorg.conf.new': Permission denied.

At a stand still at the moment.

I repeat when I switch the computer on I get the following option:

Boot mageia 2
Boot mageia 2(safe mode)
desktop 3.3.6-2.mga2
desktop 3.3.8-2 mga2

Options 1,3 and 4 when clicked go to Mageia icon which tries to load but hangs there.
Option 2, that is safe mode takes me to script which eventually stops at the following script:

[root@localhost ~]#

I followed the command that Isadora suggested and when I added the additional text I pressed the disk option which simply saved over the existing file.
I went back into the file to check to see if it had saved the extra text and it had.

I then went to restart.

Any suggestions. Have nothing to lose so will try anything.

Cheers and thanks for your help guys.

Ozzie

Re: Right Click on TOUCHPAD for ASUS Notebook Not Working at

PostPosted: Dec 26th, '12, 04:50
by Ken-Bergen
ghost4man wrote:Hi Ken,

No good mate. I get the following output:

Code: Select all
mv: cannot move '/etc/X11/xorg.conf' to '/etc/X11/xorg.conf.new': Permission denied.
Root can do that, I just tested. :D

You could use a command line editor like vi if all else fails.

Re: Right Click on TOUCHPAD for ASUS Notebook Not Working at

PostPosted: Dec 26th, '12, 05:12
by ghost4man
Hi Ken,

Sorry mate you lost me in the above.

Could you be more specific in your instructions in what you are suggesting with that initial command.

Are you suggesting I do this when prompted by:

[root@localhost ~]#

or when I press ctrl-alt-F2.

Dont forget how limited my options are so I am not sure how I would use a command line editor?? So vi is just a foreign concept to me at the moment.

Could you explain this a bit more.

Sorry I am used to sudo apt-get etc etc having used ubuntu for the last few years so I am not used to this process in mageia.

As I said I am willing to try anything.

Cheers for your continued assistance.

Ozzie

Re: Right Click on TOUCHPAD for ASUS Notebook Not Working at

PostPosted: Dec 26th, '12, 05:19
by Ken-Bergen
ghost4man wrote:Hi Ken,

Sorry mate you lost me in the above.

Could you be more specific in your instructions in what you are suggesting with that initial command.

Are you suggesting I do this when prompted by:

[root@localhost ~]#
Yes.

Re: Right Click on TOUCHPAD for ASUS Notebook Not Working at

PostPosted: Dec 26th, '12, 09:27
by ghost4man
Hi Ken,

I did the following with the generated output:

[root@localhost ~]# mv /etc/X11/xorg.conf /etc/X11/xorg.conf.new
[root@localhost ~]# mv /etc/X11/xorg.conf.old /etc/X11/xorg.conf

mv: cannot stat '/etc/X11/xorg.conf.old' : No such file or directory

Now at this point I was just about to give up and I had a moment of inspiration and wondered if the previous script may have worked.

Well I rebooted and wouldnt you know it Ken but I got the system up and running!!!!!!!

Okay once running I went back into root via HOME on the desktop and went to have a look at xorg.conf.new to see what was in it.

It read as before but as with the new text that Isadora had suggested.

Alright still no functionality with the touchpad. I went out and bought another wireless mouse in the meantime as I really want to keep using Mageia and need for it to be useable at least.

In saying that I really do want to get the touchpad to work as it is designed to.

Any suggestions and I will be more than happy to have a go. As you can see I am willing to have a go and am something of a persistent bugger.:)

Cheers Ozzie

Re: Right Click on TOUCHPAD for ASUS Notebook Not Working at

PostPosted: Dec 26th, '12, 09:56
by isadora
Thanks Ken, for bringing Ozzie back into graphical spheres. ;)

Told you, it is an experiment, and so is the following suggestion.
So, if you still have the energy:
Add following to your /etc/X11/xorg.conf:
Code: Select all
Section "InputClass"
   Identifier "ETPS/2 Elantech Touchpad"
   MatchProduct "ETPS/2 Elantech Touchpad"
   MatchDevicePath "/dev/input/event*"
   Driver "synaptics"
   Option "TapButton1" "1"
   Option "TapButton2" "3"
   Option "TapButton3" "2"
   Option "VertTwoFingerScroll" "1"
   Option "HorizTwoFingerScroll" "1"
   Option "CoastingSpeed" "10"
   Option "EdgeMotionMinZ" "30"
   Option "EdgeMotionMaxZ" "40"
   Option "EdgeMotionMinSpeed" "100"
   Option "EdgeMotionMaxSpeed" "400"
   Option "FingerLow" "9"
   Option "FingerHigh" "12"
   Option "EmulateMidButtonTime" "0"
   Option "ClickPad" "True"
   Option "SoftButtonAreas" "50% 0 82% 0 0 0 0 0"
EndSection


Be aware your last lign in xorg.conf is an empty line!!!
Safe and reboot.

Re: Right Click on TOUCHPAD for ASUS Notebook Not Working at

PostPosted: Dec 26th, '12, 10:59
by Ken-Bergen
ghost4man wrote:Hi Ken,

I did the following with the generated output:

[root@localhost ~]# mv /etc/X11/xorg.conf /etc/X11/xorg.conf.new
[root@localhost ~]# mv /etc/X11/xorg.conf.old /etc/X11/xorg.conf

mv: cannot stat '/etc/X11/xorg.conf.old' : No such file or directory

Now at this point I was just about to give up and I had a moment of inspiration and wondered if the previous script may have worked.

Well I rebooted and wouldnt you know it Ken but I got the system up and running!!!!!!!
I guess moving /etc/X11/xorg.conf out of the way forced the system to create a new one.

Go ahead and try the latest suggestion by isadora as you now know how to recover.

Re: Right Click on TOUCHPAD for ASUS Notebook Not Working at

PostPosted: Dec 26th, '12, 13:38
by ghost4man
Hi Ken and Isadora,

Okay no issues adding the text and this time around there was no problem rebooting.

Unfortunately there is still no functionality with touchpad.

I will go back and review the steps that I have taken.

As it stands xorg.conf.new contains the following text:

Code: Select all
# File generated by XFdrake (rev 262502)

# **********************************************************************
# Refer to the xorg.conf man page for details about the format of
# this file.
# **********************************************************************

Section "ServerFlags"
    Option "DontZap" "False" # disable <Ctrl><Alt><BS> (server abort)
    #DontZoom # disable <Ctrl><Alt><KP_+>/<KP_-> (resolution switching)
    AllowMouseOpenFail # allows the server to start up even if the mouse does not work
EndSection

Section "Module"
    Load "v4l" # Video for Linux
EndSection

Section "Monitor"
    Identifier "monitor1"
    VendorName "Plug'n Play"
   
    # TV fullscreen mode or DVD fullscreen output.
    # 768x576 @ 79 Hz, 50 kHz hsync
    ModeLine "768x576"     50.00  768  832  846 1000   576  590  595  630
   
    # 768x576 @ 100 Hz, 61.6 kHz hsync
    ModeLine "768x576"     63.07  768  800  960 1024   576  578  590  616
EndSection

Section "Device"
    Identifier "device1"
    VendorName "Intel Corporation"
    BoardName "Intel 810 and later"
    Driver "intel"
    Option "DPMS"
EndSection

Section "Screen"
    Identifier "screen1"
    Device "device1"
    Monitor "monitor1"
EndSection

Section "ServerLayout"
    Identifier "layout1"
    Screen "screen1"
EndSection

Section "InputDevice"
    Driver "synaptics"
    Option "Protocol" "auto-dev"
    Option "Device" "/dev/input/mouse0"
    Option "CorePointer"
    Option "HorizTwoFingerScroll" "1"
    Option "TapButton3" "3"
    Option "TapButton1" "1"
    Option "TapButton2" "2"
    Option "VertTwoFingerScroll" "1"
EndSection

Section "InputClass"
   Identifier "ETPS/2 Elantech Touchpad"
   MatchProduct "ETPS/2 Elantech Touchpad"
   MatchDevicePath "/dev/input/event*"
   Driver "synaptics"
   Option "TapButton1" "1"
   Option "TapButton2" "3"
   Option "TapButton3" "2"
   Option "VertTwoFingerScroll" "1"
   Option "HorizTwoFingerScroll" "1"
   Option "CoastingSpeed" "10"
   Option "EdgeMotionMinZ" "30"
   Option "EdgeMotionMaxZ" "40"
   Option "EdgeMotionMinSpeed" "100"
   Option "EdgeMotionMaxSpeed" "400"
   Option "FingerLow" "9"
   Option "FingerHigh" "12"
   Option "EmulateMidButtonTime" "0"
   Option "ClickPad" "True"
   Option "SoftButtonAreas" "50% 0 82% 0 0 0 0 0"
EndSection


Am wondering if I have to go into settings and make any extra adjustments.

Isadora I have plenty of energy and I dont give up easy mate:)

What I lack in ability I try and make up for in persistence.

It just occurred to me but xorg.conf has changed to xorg.conf.new in X11. I dont think that would affect things although I have to include for your awareness.

Cheers and thanks for all your help guys.

Ozzie

Re: Right Click on TOUCHPAD for ASUS Notebook Not Working at

PostPosted: Dec 26th, '12, 13:55
by isadora
Did you try enabling touchpad through the keyboard, by pressing Fn+F7 (on my laptop the key-combination for that).

Re: Right Click on TOUCHPAD for ASUS Notebook Not Working at

PostPosted: Dec 26th, '12, 13:58
by Ken-Bergen
xorg.conf.new was just a place to save xorg.conf in case things went wrong.

You need to edit /etc/X11/xorg.conf