Bug 540591 - eeePC 1000 Touchpad (Elantech) Acts Erratically
Summary: eeePC 1000 Touchpad (Elantech) Acts Erratically
Status: RESOLVED FIXED
Alias: None
Product: openSUSE 11.2
Classification: openSUSE
Component: X.Org (show other bugs)
Version: Factory
Hardware: Other Other
: P3 - Medium : Normal (vote)
Target Milestone: ---
Assignee: Stefan Dirsch
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-21 03:20 UTC by James Oakley
Modified: 2009-09-23 00:10 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
xorg.conf (4.84 KB, text/plain)
2009-09-21 03:20 UTC, James Oakley
Details
xorg log (50.70 KB, text/plain)
2009-09-21 03:21 UTC, James Oakley
Details
xorg log (24.25 KB, text/plain)
2009-09-22 12:34 UTC, James Oakley
Details
lshal output (123.15 KB, text/plain)
2009-09-22 21:42 UTC, James Oakley
Details

Note You need to log in before you can comment on or make changes to this bug.
Description James Oakley 2009-09-21 03:20:52 UTC
Created attachment 319005 [details]
xorg.conf

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.3) Gecko/20090909 SUSE/3.5.3-1.1 Firefox/3.5.3

Since updating to M7, the touchpad on my eeePC 1000 has been acting erratically. According to the X.org log, it's in "absolute" mode.

This might be fine, but there are 3 problems:

- Acceleration is applied, counteracting the absolute positioning, so the pointer jumps around a lot as I tap and it's impossible to predict where the pointer will end up after I move and attempt to move again

- The granularity is far too coarse. It's very difficult to place the pointer at a precise spot to be able to click hyperlinks, scroll buttons, and other small controls. Window resizes and selections are often impossible

- All of the tap/scroll features are gone. I'm happy to see tap-click gone, but I miss scrolling


Reproducible: Always
Comment 1 James Oakley 2009-09-21 03:21:34 UTC
Created attachment 319006 [details]
xorg log
Comment 2 Stefan Dirsch 2009-09-21 04:47:45 UTC
Various issues here.

- You're reporting that you would be using openSUSE 11.2 Milestone 7, but you've 
  attached a Xserver logfile for Moblin. Please clarify, what you've installed.
- Neither Moblin nor openSUSE 11.2 Milestone 7 should use xorg.conf any longer.
  Created by SaX2? Please remove it.
- synaptics driver is not loaded. Support still missing in kernel? Verify with
  zcat /proc/config.gz | grep CONFIG_MOUSE_PS2_ELANTECH
Comment 3 Stefan Dirsch 2009-09-21 04:51:52 UTC
I bet this is missing in the RPM changelog of your kernel:

-------------------------------------------------------------------
Thu Sep 10 17:19:17 CEST 2009 - gregkh@suse.de

- Update config files.
    CONFIG_MOUSE_PS2_ELANTECH=y
    CONFIG_MOUSE_PS2_TOUCHKIT=y
    (bnc#525607)
Comment 4 James Oakley 2009-09-21 12:34:26 UTC
Ah. I guess I had Moblin repos in my zypper repo list. I removed them and will update.

xorg.conf is deprecated? Is this documented anywhere? I can't find anything on en.opensuse.org.

As for the driver:

# zgrep -e CONFIG_MOUSE_PS2_ELANTECH -e CONFIG_MOUSE_PS2_TOUCHKIT /proc/config.gz
CONFIG_MOUSE_PS2_ELANTECH=y
CONFIG_MOUSE_PS2_TOUCHKIT=y

The touchpad was working fine in previous milestones.
Comment 5 Stefan Dirsch 2009-09-21 13:08:36 UTC
(In reply to comment #4)
> Ah. I guess I had Moblin repos in my zypper repo list. I removed them and will
> update.

Ok. I understand. Mixing products is not recommended though. And it's always hard to investigate any issues then for us!

> xorg.conf is deprecated? Is this documented anywhere? I can't find anything on
> en.opensuse.org.

Work in progress. It will be documented in our manual and in the release notes.

> As for the driver:
> 
> # zgrep -e CONFIG_MOUSE_PS2_ELANTECH -e CONFIG_MOUSE_PS2_TOUCHKIT
> /proc/config.gz
> CONFIG_MOUSE_PS2_ELANTECH=y
> CONFIG_MOUSE_PS2_TOUCHKIT=y

Seems to be a very recent kernel (newer than Milestone 7). Update to latest xorg-x11-driver-input package from X11:XOrg buildservice repo.

> The touchpad was working fine in previous milestones.

This cannot be. It has been fixed in kernel *after* Milestone 7.
Comment 6 Stefan Dirsch 2009-09-21 19:35:20 UTC
Let's assume this is a dup. Otherwise please reopen if the issue remains in Milestone 8.

*** This bug has been marked as a duplicate of bug 525607 ***
Comment 7 James Oakley 2009-09-22 04:25:50 UTC
(In reply to comment #5)
> (In reply to comment #4)
> > Ah. I guess I had Moblin repos in my zypper repo list. I removed them and will
> > update.
> 
> Ok. I understand. Mixing products is not recommended though. And it's always
> hard to investigate any issues then for us!

I forgot it was there. Sorry about that.

> > # zgrep -e CONFIG_MOUSE_PS2_ELANTECH -e CONFIG_MOUSE_PS2_TOUCHKIT
> > /proc/config.gz
> > CONFIG_MOUSE_PS2_ELANTECH=y
> > CONFIG_MOUSE_PS2_TOUCHKIT=y
> 
> Seems to be a very recent kernel (newer than Milestone 7). Update to latest
> xorg-x11-driver-input package from X11:XOrg buildservice repo.

Ok, I now have kernel-default-2.6.31-8.2.i586 from current Factory and xorg-x11-driver-input-7.4-49.1.i586 from X11:XOrg. The mouse is still in absolute mode and acting funny.


> > The touchpad was working fine in previous milestones.
> 
> This cannot be. It has been fixed in kernel *after* Milestone 7.

If you look closer at the bug you marked this a dupe of, you'll notice that the original reporter stated that the mouse was working, but scrolling was not. However, the original reporter of that bug was incorrect. What didn't work was region based scrolling, where you slide on the extreme right of the touchpad. This touchpad, when treated as a normal PS2 mouse, employs two-finger scrolling which worked fine, same as on the original Xandros distribution that was pre-installed on this machine.

Now that the "proper" driver is enabled, neither scrolling type works, and the touchpad is stuck in this absolute mode, which is highly annoying.
Comment 8 Stefan Dirsch 2009-09-22 07:33:33 UTC
Please attach the current X logfile.
Comment 9 James Oakley 2009-09-22 12:34:48 UTC
Created attachment 319282 [details]
xorg log
Comment 10 Stefan Dirsch 2009-09-22 12:46:02 UTC
The synaptics driver is still not loaded. Please try with a simplified 

/usr/share/hal/fdi/policy/10osvendor/11-x11-synaptics.fdi

<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
  <device>
    <match key="info.capabilities" contains="input.touchpad">
      <merge key="input.x11_driver" type="string">synaptics</merge>
      <merge key="input.x11_options.SHMConfig" type="string">on</merge>
      <merge key="input.x11_options.HorizScrollDelta" type="string">0</merge>
    </match>
  </device>
</deviceinfo>

If this still doesn't help, please attach the output of 'lshal'.
Comment 11 Stefan Dirsch 2009-09-22 12:50:20 UTC
After editing the file run

  /etc/init.d/haldaemon stop 
  rm -f /var/cache/hald/fdi-cache
  /etc/init.d/haldaemon start

Then restart the Xserver.
Comment 12 James Oakley 2009-09-22 21:30:40 UTC
Well, that's much better. The touchpad works normally now.
Comment 13 Stefan Dirsch 2009-09-22 21:35:40 UTC
Could you please attach the output of 'lshal' nevertheless?
Comment 14 James Oakley 2009-09-22 21:42:15 UTC
Created attachment 319398 [details]
lshal output
Comment 15 Stefan Dirsch 2009-09-23 00:07:03 UTC
Looking at the output of lshal it should have worked already before. Nevertheless I will simplify the .fdi file now.
Comment 16 Stefan Dirsch 2009-09-23 00:10:05 UTC
done.