Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 54 posts ] 
Author Message
 Post subject: Disable the touchpad when typing..... WORKING ON EEEBUNTU 2!
PostPosted: Thu Sep 18, 2008 1:13 am 
Offline
Webmaster
User avatar

Joined: Sun Sep 07, 2008 10:33 pm
Posts: 1935
Location: Liverpool, UK
eeePC model: 1000
Aurora version: Other
Hi all the original guide BROKE when the update to eeebuntu 2 was done.

Reasons for this was due to Ubuntu now not relying on Xorg.conf and instead moving over to HAL to 'create' a default xorg on every boot. This caused problems meaning that I've had to brush up on my hal skills to do this.....

Now Ive finally got this working on my 1000 wanna see if this working on all others.

Here we go!

To get the SHMconfig added to the Xorg we have to do thing a little differently.

First Alt + F2 and type

Quote:
gksudo gedit /usr/share/hal/fdi/policy/20thirdparty/11-x11-synaptics.fdi


this will open up a file which looks like the following

Quote:
<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
<device>
<match key="info.capabilities" contains="input.touchpad">
<match key="info.product" contains="Synaptics TouchPad">
<merge key="input.x11_driver" type="string">synaptics</merge>
<!-- Arbitrary options can be passed to the driver using
the input.x11_options property since xorg-server-1.5. -->
<!-- EXAMPLE:
<merge key="input.x11_options.LeftEdge" type="string">120</merge>

-->
</match>
<match key="info.product" contains="AlpsPS/2 ALPS">
<merge key="input.x11_driver" type="string">synaptics</merge>
</match>
<match key="info.product" contains="appletouch">
<merge key="input.x11_driver" type="string">synaptics</merge>
</match>
<match key="info.product" contains="bcm5974">
<merge key="input.x11_driver" type="string">synaptics</merge>
<merge key="input.x11_options.LeftEdge" type="string">0</merge>
<merge key="input.x11_options.RightEdge" type="string">1280</merge>
<merge key="input.x11_options.TopEdge" type="string">0</merge>
<merge key="input.x11_options.BottomEdge" type="string">800</merge>
<merge key="input.x11_options.ClickFinger1" type="string">1</merge>
<merge key="input.x11_options.ClickFinger2" type="string">3</merge>
<merge key="input.x11_options.ClickFinger3" type="string">2</merge>
<merge key="input.x11_options.HorizEdgeScroll" type="string">0</merge>
<merge key="input.x11_options.VertEdgeScroll" type="string">0</merge>
<merge key="input.x11_options.VertTwoFingerScroll" type="string">1</merge>
<merge key="input.x11_options.HorizTwoFingerScroll" type="string">1</merge>
<merge key="input.x11_options.HorizScrollDelta" type="string">0</merge>
<merge key="input.x11_options.VertScrollDelta" type="string">40</merge>
<merge key="input.x11_options.PressureMotionMinZ" type="string">10</merge>
<merge key="input.x11_options.FingerLow" type="string">16</merge>
<merge key="input.x11_options.FingerHigh" type="string">80</merge>
<merge key="input.x11_options.FingerPress" type="string">256</merge>
<merge key="input.x11_options.PalmDetect" type="string">0</merge>
<merge key="input.x11_options.PalmMinWidth" type="string">10</merge>
<merge key="input.x11_options.PalmMinZ" type="string">200</merge>
<merge key="input.x11_options.MinSpeed" type="string">0.8</merge>
<merge key="input.x11_options.MaxSpeed" type="string">1.2</merge>
<merge key="input.x11_options.AccelFactor" type="string">0.10</merge>
<merge key="input.x11_options.MaxTapMove" type="string">25</merge>
<merge key="input.x11_options.MaxTapTime" type="string">223</merge>
<merge key="input.x11_options.MaxDoubleTapTime" type="string">200</merge>
<merge key="input.x11_options.TapButton1" type="string">0</merge>
<merge key="input.x11_options.TapButton2" type="string">0</merge>
<merge key="input.x11_options.TapButton3" type="string">0</merge>
<merge key="input.x11_options.RTCornerButton" type="string">0</merge>
<merge key="input.x11_options.RBCornerButton" type="string">0</merge>
<merge key="input.x11_options.LTCornerButton" type="string">0</merge>
<merge key="input.x11_options.LBCornerButton" type="string">0</merge>
</match>
</match>
</device>
</deviceinfo>


we want to find the line

Quote:
<match key="info.product" contains="Synaptics TouchPad">


then add this line directly on the line below it

Quote:
<merge key="input.x11_options.SHMConfig" type="string">On</merge>


Save the file then restart X-session with Ctrl + Alt + Backspace

Now that we have the SHMconfig added to Xorg by default we should be able to run the synadeamon command to disable for 1 sec when typing....

Now we need to add

Quote:
options psmouse elantech=1


in /etc/modprobe.d/options (thanks to twt for pointing out I'd missed this!!)


Next step is to add this service to the startup table;

sessions manager: System -> Preferences -> Sessions

we are going to amend the startup Programs
Hit the add button and then type this into the command bar;

Quote:
syndaemon -i 1 -d -t -K


Restart once again and Voila!!! DONE never again will you accidently scroll when typing!

_________________
ImageFollow on Twitter : Guitaraholic

--------------
Asus EeePC 1000 SSD - EB4 Beta
Acer 2930 + 4gb Ram - EB4 Beta


Top
 Profile  
 
 Post subject: Re: Disable the touchpad when typing.....
PostPosted: Sat Sep 27, 2008 10:55 am 
Offline
User avatar

Joined: Fri Sep 12, 2008 4:29 am
Posts: 10
Location: Australia
eeePC model: 901
Aurora version: Standard 3.0
Asus eee901 20G eeebuntu NBR
adamm's kernel(linux-image-2.6.24-21-eeepc_2.6.24-21.39eeepc1_i386.deb + linux-ubuntu-modules-2.6.24-21-eeepc_2.6.24-21.30eeepc4_i386.deb)
Hi, I believe that I have created the back-up xorg.conf_synbackup file correctly.
Using gksudo gedit /etc/X11/xorg.conf I have modified the xorg.conf file as such:

Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "Synaptics"
Option "SendCoreEvents" "true"
...
Option "SHMConfig" "on" (Have also tried 1 & true)
EndSection

Saved and Rebooted without issues.
I have then gone to Settings(Control Center), Sessions, Startup Programs, Add -->
Name: Touchpad (Also tried re-naming it to syndaemon -i 1 -d)
Command: syndaemon -i 1 -d

After restarting X, as well as re-booting, there appears to be no difference since before the changes?
I have tried entering: synclient TouchpadOff=0
The response was: Can't access shared memory area. SHMConfig disabled?

I don't know if this is related, but I cannot find my Synaptic Touchpad located anywhere within: cat /proc/bus/input/devices

Input: dmesg | grep elantech
Results in: [ 24.489564] repeat_elantech ==1
[ 24.489570] repeat_elantech ==2
Input: cat /var/log/Xorg.0.log |grep synaptics
Results in: (II) LoadModule: "synaptics"
(II) Loading /usr/lib/xorg/modules/input//synaptics_drv.so
(II) Module synaptics: vendor="X.Org Foundation"
Synaptics Touchpad no synaptics event device found (checked 21 nodes)
(EE) Synaptics Touchpad no synaptics touchpad detected and no repeater device
(II) UnloadModule: "synaptics"

Does this mean that I am using the incorrect driver?
I found this link to an issue with the array.org kernel, and the output here is the exact same as mine:
http://forum.eeeuser.com/viewtopic.php?id=36320 (I also happen to be using a logitech usb mouse!)

So far, the only inadequate solution that I have been able to find was to turn off the Touchpad completely using: sudo rmmod psmouse and re-enabling using: sudo modprobe psmouse
I am still inexperienced when it comes to linux, so any assistance would be greatly appreciated.


Top
 Profile  
 
 Post subject: Re: Disable the touchpad when typing.....
PostPosted: Sat Sep 27, 2008 9:42 pm 
Offline
Webmaster
User avatar

Joined: Sun Sep 07, 2008 10:33 pm
Posts: 1935
Location: Liverpool, UK
eeePC model: 1000
Aurora version: Other
hmmm what eee model are you using????

The newer models from 904 + use a different driver for the touchpad so that might make a difference...... ill have a snoop around on my mates 701 and find out what driiver its using

_________________
ImageFollow on Twitter : Guitaraholic

--------------
Asus EeePC 1000 SSD - EB4 Beta
Acer 2930 + 4gb Ram - EB4 Beta


Top
 Profile  
 
 Post subject: Re: Disable the touchpad when typing.....
PostPosted: Sat Sep 27, 2008 10:22 pm 
Offline
User avatar

Joined: Fri Sep 12, 2008 4:29 am
Posts: 10
Location: Australia
eeePC model: 901
Aurora version: Standard 3.0
Hi Guitaraholic,
I am using an asus eee 901 (Black). This is the model came with the Xandros operating system. The only other identifier is ASUSEEE901-BK005? Everything works fine, except that the touchpad is driving me nuts.
Regards
Trev


Top
 Profile  
 
 Post subject: Re: Disable the touchpad when typing.....
PostPosted: Sat Sep 27, 2008 10:26 pm 
Offline
Webmaster
User avatar

Joined: Sun Sep 07, 2008 10:33 pm
Posts: 1935
Location: Liverpool, UK
eeePC model: 1000
Aurora version: Other
when editing your xorg.config did you add the SHM support in the correct section?

_________________
ImageFollow on Twitter : Guitaraholic

--------------
Asus EeePC 1000 SSD - EB4 Beta
Acer 2930 + 4gb Ram - EB4 Beta


Top
 Profile  
 
 Post subject: Re: Disable the touchpad when typing.....
PostPosted: Sat Sep 27, 2008 10:56 pm 
Offline
User avatar

Joined: Fri Sep 12, 2008 4:29 am
Posts: 10
Location: Australia
eeePC model: 901
Aurora version: Standard 3.0
Hi Guitaraholic,
Does this look correct?

Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizEdgeScroll" "0"
Option "SHMConfig" "on"
EndSection
Regards
Trev


Top
 Profile  
 
 Post subject: Re: Disable the touchpad when typing.....
PostPosted: Sun Sep 28, 2008 12:16 am 
Offline
Webmaster
User avatar

Joined: Sun Sep 07, 2008 10:33 pm
Posts: 1935
Location: Liverpool, UK
eeePC model: 1000
Aurora version: Other
yea it does........

and its using the correct driver too...... reali odd issue.

the touchpad uses a ps2 connection within the laptop. It seems like somehow the synaptics drivers are also used by your usb mouse and this may be causing this effect.

ill have a play around tomrro and see what i can find going to bed now.....sleepy!

_________________
ImageFollow on Twitter : Guitaraholic

--------------
Asus EeePC 1000 SSD - EB4 Beta
Acer 2930 + 4gb Ram - EB4 Beta


Top
 Profile  
 
 Post subject: Re: Disable the touchpad when typing.....
PostPosted: Mon Sep 29, 2008 11:54 am 
Offline
User avatar

Joined: Fri Sep 12, 2008 4:29 am
Posts: 10
Location: Australia
eeePC model: 901
Aurora version: Standard 3.0
Unfortunately, I will have to admit defeat with this!
I am going to do a fresh install using UNetbootin. I might even try out the full eeebuntu version instead of the NBR. I plan to forget about using the USB mouse until after I have done a full install and set-up the scratchpad.
Regards

Trev.


Top
 Profile  
 
 Post subject: Re: Disable the touchpad when typing.....
PostPosted: Mon Sep 29, 2008 12:09 pm 
Offline
Webmaster
User avatar

Joined: Sun Sep 07, 2008 10:33 pm
Posts: 1935
Location: Liverpool, UK
eeePC model: 1000
Aurora version: Other
ooh bad luck mate.

ive only tested this on the standard version.


hope you get this working. Ill have another dig around to see if anyone else has had this issue

_________________
ImageFollow on Twitter : Guitaraholic

--------------
Asus EeePC 1000 SSD - EB4 Beta
Acer 2930 + 4gb Ram - EB4 Beta


Top
 Profile  
 
 Post subject: Re: Disable the touchpad when typing.....
PostPosted: Tue Sep 30, 2008 12:36 pm 
Offline
User avatar

Joined: Fri Sep 12, 2008 4:29 am
Posts: 10
Location: Australia
eeePC model: 901
Aurora version: Standard 3.0
Hi Guitaraholic,
I have done a complete re-install using UNetbootin instead of isotostick.
I have changed versions from the NBR to the full version.
I even took the pre-caution of not plugging in my Logitech usb mouse until I had carried out all of the suggested changes in case there was a hard-ware conflict; And there still isn't any delay to the scratchpad after using the keyboard? I guess that I will have to continue with searching the forums for a solution, anyway thanks for your assistance.


Top
 Profile  
 
 Post subject: Re: Disable the touchpad when typing.....
PostPosted: Tue Sep 30, 2008 1:13 pm 
Offline
Webmaster
User avatar

Joined: Sun Sep 07, 2008 10:33 pm
Posts: 1935
Location: Liverpool, UK
eeePC model: 1000
Aurora version: Other
Ive found a very similar post on the ubuntu forums which may give you the answer you need

where i got the idea of backing up and changing certian settings

Click here

_________________
ImageFollow on Twitter : Guitaraholic

--------------
Asus EeePC 1000 SSD - EB4 Beta
Acer 2930 + 4gb Ram - EB4 Beta


Top
 Profile  
 
 Post subject: Re: Disable the touchpad when typing.....
PostPosted: Wed Oct 01, 2008 12:00 pm 
Offline

Joined: Fri Sep 26, 2008 1:19 pm
Posts: 14
I have a solution to disable trackpad tracking while typing for the 901 (and potentially other eeepc's) that had the shared memory error.

The error seems to be caused by the fact that it is not using synaptic driver (notice how changes to /etc/X11/xorg.conf doesn't affect anything).

add this line:

options psmouse elantech=1

to /etc/modprobe.d/options to activate the driver

You will loose two fingered scrolling but the right side of the touchpad will scroll. I prefer two fingered scrolling but this is a workable compramise until I figure out how to get both. Will post again if I find anything out, or if anyone else knows a solution to this I would love to hear it. (adding the relevant two fingered scroll option to xorg.conf seems ineffective).

Paul


Top
 Profile  
 
 Post subject: Re: Disable the touchpad when typing.....
PostPosted: Thu Oct 02, 2008 7:12 am 
Offline
User avatar

Joined: Fri Sep 12, 2008 4:29 am
Posts: 10
Location: Australia
eeePC model: 901
Aurora version: Standard 3.0
Hi liberatornl,
I just thought that I would let you know that I have tried your method and it worked perfectly.
Thanks for this! :D


Top
 Profile  
 
 Post subject: Horizontal scrolling
PostPosted: Fri Oct 03, 2008 11:03 am 
Offline

Joined: Sat Sep 27, 2008 2:17 pm
Posts: 2
liberatornl wrote:
...add this line:

options psmouse elantech=1

to /etc/modprobe.d/options to activate the driver


You will loose two fingered scrolling but the right side of the touchpad will scroll. I prefer two fingered scrolling but this is a workable compramise until I figure out how to get both. Will post again if I find anything out, or if anyone else knows a solution to this I would love to hear it. (adding the relevant two fingered scroll option to xorg.conf seems ineffective).

Paul


This simple change also allows horizontal scrolling (one finger at bottom edge) in firefox.It must be enabled in System > Preferences > Mouse >Touchpad Tab. (Tested in eee 900, eeebuntu NBR 1.0).

Thanks, liberatornl


Top
 Profile E-mail  
 
 Post subject: Re: Disable the touchpad when typing.....
PostPosted: Fri Dec 19, 2008 6:13 am 
Offline
User avatar

Joined: Fri Sep 12, 2008 5:22 am
Posts: 114
Location: Mill Valley, CA
eeePC model: 901
I just upgraded to eeebuntu v2 standard edition.

This fix for disabling the touchpad does not seem to work - loved it before the upgrade so I would love to get it back in V2.
there was no input device at all listed in my xorg.conf file...

I added all the lines but to no avail.

Any thoughts on turning off the toucpad for V2?

Running a 1000


Top
 Profile E-mail  
 
Display posts from previous:  Sort by  
Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 54 posts ] 


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron