[arrandale] Samsung QX310/QX410/QX510/SF310/SF410/SF510/NF210/RF410/RF510/RF511/RF710 trackpad/touchpad not recognized

Bug #681904 reported by Tristan Davies
544
This bug affects 100 people
Affects Status Importance Assigned to Milestone
Linux
Fix Released
Medium
xf86-video-intel
New
Undecided
Unassigned
linux (Ubuntu)
Fix Released
Medium
Guilherme Grunewald
Oneiric
Fix Released
Medium
Seth Forshee
xserver-xorg-video-intel (Ubuntu)
Invalid
Undecided
Unassigned
Oneiric
Invalid
Undecided
Unassigned

Bug Description

Ubuntu 10.10, Samsung NP-QX410. Trackpad settings not available. Can use trackpad, can use left and right click, but no options available to adjust settings. Personally having issue of rubbing trackpad while I type and it is very annoying.

The trackpad is recognized as a "PS/2 Logitech Wheel Mouse". No side scrolling, no disabling tap-to-click (annoying!) and no other trackpad settings available.

How to reproduce:
1) install ubuntu on a samsung qx410
2) try, try, try and fail to make the touchpad work properly
---
Architecture: amd64
DRM.card0.DisplayPort.1:
 status: disconnected
 enabled: disabled
 dpms: On
 modes:
 edid-base64:
DRM.card0.HDMI_Type_A.1:
 status: disconnected
 enabled: disabled
 dpms: On
 modes:
 edid-base64:
DRM.card0.LVDS.1:
 status: connected
 enabled: enabled
 dpms: On
 modes: 1366x768
 edid-base64: AP///////wBMo1AyAAAAAAAUAQOAHxF4Cgnll1dUiiciUFQAAAABAQEBAQEBAQEBAQEBAQEBhBtWeFAAFjAwICUANa4QAAAZAAAADwAAAAAAAAAAAB60AnQAAAAA/gBTQU1TVU5HCiAgICAgAAAA/gBMVE4xNDBBVDE3ODAxANw=
DRM.card0.VGA.1:
 status: disconnected
 enabled: disabled
 dpms: On
 modes:
 edid-base64:
DistroRelease: Ubuntu 10.10
DkmsStatus:

InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
MachineType: SAMSUNG ELECTRONICS CO., LTD. QX310/QX410/QX510/SF310/SF410/SF510
Package: xorg 1:7.5+6ubuntu3
PackageArchitecture: amd64
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.35-23-generic root=UUID=75a97d0d-7483-4000-8519-03687885d9ea ro quiet splash
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.35-23.40-generic 2.6.35.7
Tags: maverick maverick
Uname: Linux 2.6.35-23-generic x86_64
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
dmi.bios.date: 09/14/2010
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 02MX.M003.20100914.SCY
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: QX310/QX410/QX510/SF310/SF410/SF510
dmi.board.vendor: SAMSUNG ELECTRONICS CO., LTD.
dmi.board.version: 02MX
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 9
dmi.chassis.vendor: SAMSUNG ELECTRONICS CO., LTD.
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr02MX.M003.20100914.SCY:bd09/14/2010:svnSAMSUNGELECTRONICSCO.,LTD.:pnQX310/QX410/QX510/SF310/SF410/SF510:pvr02MX:rvnSAMSUNGELECTRONICSCO.,LTD.:rnQX310/QX410/QX510/SF310/SF410/SF510:rvr02MX:cvnSAMSUNGELECTRONICSCO.,LTD.:ct9:cvrN/A:
dmi.product.name: QX310/QX410/QX510/SF310/SF410/SF510
dmi.product.version: 02MX
dmi.sys.vendor: SAMSUNG ELECTRONICS CO., LTD.
glxinfo: Error: [Errno 2] No such file or directory
system:
 distro: Ubuntu
 codename: maverick
 architecture: x86_64
 kernel: 2.6.35-23-generic

[lspci]
00:02.0 VGA compatible controller [0300]: Intel Corporation Core Processor Integrated Graphics Controller [8086:0046] (rev 02) (prog-if 00 [VGA controller])
     Subsystem: Samsung Electronics Co Ltd Device [144d:c08b]

Revision history for this message
Bryce Harrington (bryce) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please execute the following command in a terminal after reproducing the issue, and it it will automatically gather debugging information needed for this bug:

  apport-collect 681904

Changed in xorg (Ubuntu):
status: New → Incomplete
Revision history for this message
Tristan Davies (tristan.io) wrote : BootDmesg.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
Tristan Davies (tristan.io) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Tristan Davies (tristan.io) wrote : Dependencies.txt

apport information

Revision history for this message
Tristan Davies (tristan.io) wrote : GdmLog.txt

apport information

Revision history for this message
Tristan Davies (tristan.io) wrote : GdmLog1.txt

apport information

Revision history for this message
Tristan Davies (tristan.io) wrote : GdmLog2.txt

apport information

Revision history for this message
Tristan Davies (tristan.io) wrote : Lspci.txt

apport information

Revision history for this message
Tristan Davies (tristan.io) wrote : Lsusb.txt

apport information

Revision history for this message
Tristan Davies (tristan.io) wrote : PciDisplay.txt

apport information

Revision history for this message
Tristan Davies (tristan.io) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Tristan Davies (tristan.io) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Tristan Davies (tristan.io) wrote : ProcModules.txt

apport information

Revision history for this message
Tristan Davies (tristan.io) wrote : RelatedPackageVersions.txt

apport information

Revision history for this message
Tristan Davies (tristan.io) wrote : UdevDb.txt

apport information

Revision history for this message
Tristan Davies (tristan.io) wrote : UdevLog.txt

apport information

Revision history for this message
Tristan Davies (tristan.io) wrote : XorgConf.txt

apport information

Revision history for this message
Tristan Davies (tristan.io) wrote : XorgLog.txt

apport information

Revision history for this message
Tristan Davies (tristan.io) wrote : XorgLogOld.txt

apport information

Revision history for this message
Tristan Davies (tristan.io) wrote : Xrandr.txt

apport information

Revision history for this message
Tristan Davies (tristan.io) wrote : peripherals.txt

apport information

Revision history for this message
Tristan Davies (tristan.io) wrote : setxkbmap.txt

apport information

Revision history for this message
Tristan Davies (tristan.io) wrote : xdpyinfo.txt

apport information

Revision history for this message
Tristan Davies (tristan.io) wrote : xkbcomp.txt

apport information

bugbot (bugbot)
affects: xorg (Ubuntu) → xserver-xorg-video-intel (Ubuntu)
bugbot (bugbot)
tags: added: maverick
Revision history for this message
Tristan Davies (tristan.io) wrote : Re: Samsung QX410 trackpad not recognized

This bug is marked incomplete. Does that mean that I didn't provide enough information?

nascirek (slawomir-czyz)
Changed in xserver-xorg-video-intel (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Daniel Manrique (roadmr) wrote :

I have been tinkering with the drivers for this hardware and I believe this bug should be moved to kernel, as per https://wiki.ubuntu.com/DebuggingTouchpadDetection.

The Samsung QX410 uses an Elantech trackpad. The psmouse driver includes support for some Elantech pads, but this particular one isn't recognized because it returns a different result when queried via the "magic knock" (function elantech_detect in elantech.c). This happens before the force_elantech module parameter comes into effect (which forces use of elantech when the firmware version is not recognized, but AFTER the magic knock has returned the expected result).

I forced the elantech driver to continue initializing the pad despite the unexpected reply to magic knock, and this is what I got (dmesg output):

[ 9721.216300] elantech: unexpected magic knock result 0x3c, 0x03, 0x00.
[ 9721.250065] elantech: Elantech version query result 0x85, 0x1b, 0x00.
[ 9721.284321] elantech: assuming hardware version 2, firmware version 133.27.0
[ 9721.318037] elantech: Synaptics capabilities query result 0x19, 0x14, 0x0c.
[ 9721.578902] elantech: retrying ps2 command 0xe6 (2).
[ 9722.094936] elantech: retrying ps2 command 0xf8 (2).
[ 9722.797061] elantech: retrying ps2 command 0xf8 (1).

If the system is rebooted with the modified psmouse driver, the device gets properly reported as a touchpad and all the relevant controls appear in the mouse control panel. However since data received from the pad is apparently not decoded properly by the psmouse driver (different encoding schema maybe), nothing really works: there's no pointer movement and the only thing that generates events (as read by evtest) are the left and right buttons (and then, not consistently).

I'm attaching output from evtest (keep in mind I was sliding my finger across the pad and clicking buttons, all that registers are the button clicks) and from dmesg, showing loss of sync and subsequent reconnection from the driver.

I hope this helps with this bug, I guess a lot of newer computers will start using these newer Elantech pads and it'd be great to have support out of the box.

Revision history for this message
Daniel Manrique (roadmr) wrote :
Revision history for this message
Daniel Manrique (roadmr) wrote :

The modified psmouse driver gives the following output in /proc/bus/input/devices (only the section relevant to the touchpad):

I: Bus=0011 Vendor=0002 Product=000e Version=0000
N: Name="ETPS/2 Elantech Touchpad"
P: Phys=isa0060/serio1/input0
S: Sysfs=/devices/platform/i8042/serio1/input/input23
U: Uniq=
H: Handlers=mouse0 event8
B: EV=b
B: KEY=6420 30000 0 0 0 0
B: ABS=f0003

Do keep in mind that, though with this little hack I managed to get the touchpad recognized, it's not functioning at all (no pointer functionality).

Stanislav (shisoik)
summary: - Samsung QX410 trackpad not recognized
+ Samsung QX310/QX410/QX510/SF310/SF410/SF510 trackpad/touchpad not
+ recognized
Revision history for this message
EricDP (eric-arcticbears) wrote : Re: Samsung QX310/QX410/QX510/SF310/SF410/SF510 trackpad/touchpad not recognized

I believe this bug also affects the new Samsung NF210. Should I dump the apport-collect output here, or open a new bug?

Revision history for this message
Stanislav (shisoik) wrote :

I don't think you need to do the whole apport-collect. Just attach a file with dmesg output.

tags: added: kernel-input
Revision history for this message
EricDP (eric-arcticbears) wrote :

/var/log/dmesg from Samsung NF210

Revision history for this message
matthew.payne (matthew-b-payne) wrote :

Please update the summary to include the Samsung RF710 as well. (17inch model)

Stanislav (shisoik)
summary: - Samsung QX310/QX410/QX510/SF310/SF410/SF510 trackpad/touchpad not
- recognized
+ Samsung QX310/QX410/QX510/SF310/SF410/SF510/NF210/RF510/RF710
+ trackpad/touchpad not recognized
Revision history for this message
EricDP (eric-arcticbears) wrote : Re: Samsung QX310/QX410/QX510/SF310/SF410/SF510/NF210/RF510/RF710 trackpad/touchpad not recognized

Since this is a hardware detection issue, shouldn't it be reassigned to kernel so that the right people see it? Who can do that? It doesn't seem to me that this has anything to do with xorg-video-intel.

tags: added: kj-triage
Revision history for this message
EricDP (eric-arcticbears) wrote :

For my NF210, I also tested against Fedora kernel to determine if this was an Ubuntu thing or a more general kernel problem. Same issue. So I reported to bugzilla.kernel.org. Feel free to add comments to that bug if you have the same problem.

https://bugzilla.kernel.org/show_bug.cgi?id=27442

Revision history for this message
s0ullight (s0ullight) wrote :

I too have a samsung nf-210 and am also affected by this bug. This is indeed a kernel bug and not related to xserver-xorg-video-intel :)
Most likely the new protocol has to be reversed so a new patch for the psmouse driver can be written. Is there actually anyone working on this bug atm?

Revision history for this message
marth3r (marth3r) wrote :

I have a rf710, too, and recently filed a bug because of the touchpad not working...

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/683092

Changed in linux:
status: Unknown → Confirmed
Revision history for this message
guillermo (omempoderoso) wrote :

the same stuff happens in a rf410 14 inch model

Revision history for this message
Sascha Morr (saschamorr) wrote :

The same problem here at my samsung NF210 HZ1 :-(

Changed in linux:
importance: Unknown → Medium
Revision history for this message
Piotr Sokół (psokol) wrote :

I got the same with samsung rf510

Revision history for this message
EricDP (eric-arcticbears) wrote : Re: [Bug 681904] Re: Samsung QX310/QX410/QX510/SF310/SF410/SF510/NF210/RF510/RF710 trackpad/touchpad not recognized

On Wed, March 2, 2011 1:07 pm, Piotr Sokół wrote:
> I got the same with samsung rf510

This is now assigned to kernel, so I suspect it will get more attention if
the comments also go into the linked kernel bug. Nobody seems to be
looking here any more.

https://bugzilla.kernel.org/show_bug.cgi?id=27442

Revision history for this message
Nate Cox (akujin) wrote : Re: Samsung QX310/QX410/QX510/SF310/SF410/SF510/NF210/RF510/RF710 trackpad/touchpad not recognized

Confirmed on a Samsung RF510. Wish I'd seen this bug before buying the laptop... not having basic scroll capabilities is really, really irritating.

Revision history for this message
f_padia (f-padia) wrote :

Confirmed on SF310 too. not having scrolling ability is very annoying. I found a possible workaround here: http://www.voria.org/forum/viewtopic.php?f=4&t=694 but I didnt work. I didnt have xorg.conf in /etc/X11 so I created it and put the relevant stuff in it. but then when I rebooted my laptop kept going directly to tty2 and wouldnt start X. anyone know why this would happen?

Revision history for this message
EricDP (eric-arcticbears) wrote :

The workaround at http://www.voria.org/forum/viewtopic.php?f=4&t=694 only works on the R540 and related machines, which have a different trackpad from the ones listed in this bug. It doesn't work because the elantech driver isn't compatible with this trackpad.

Revision history for this message
f_padia (f-padia) wrote :

so then cant we use the same method but use another driver that is compatible with our touchpad? or is there literally no driver that is compatible with our touchpad?

Revision history for this message
EricDP (eric-arcticbears) wrote :

Apparently, there is no compatible driver. I've tried manually loading every driver and none detect it. You can see in the comments above that Daniel Manrique was able to modify the Elantech driver's detection to get it to detect the touchpad, but the protocol is different so it didn't work. Nobody seems to know how to fix it. :(

Revision history for this message
Neoprenanzug (raketenforscher) wrote :

Confirming this bug for Samsung NF210 on Lucid Lynx. Natty backport kernel alone doesnt't help.

Changed in linux (Ubuntu):
assignee: nobody → Maria Sophie (thomas-garcia789)
Revision history for this message
f_padia (f-padia) wrote :

woohoo its been assigned! I'm willing to test and help in anyway possible on Samsung SF310.

Revision history for this message
Vladimir Skvortsov (vskvortsoff) wrote :

Please update the summary to include the Samsung RF410 as well.

summary: - Samsung QX310/QX410/QX510/SF310/SF410/SF510/NF210/RF510/RF710
+ Samsung QX310/QX410/QX510/SF310/SF410/SF510/NF210/RF410/RF510/RF710
trackpad/touchpad not recognized
chin (kheong2)
Changed in xserver-xorg-video-intel (Ubuntu):
assignee: nobody → chin (kheong2)
Revision history for this message
Mark A. Stratman (stratman) wrote : Re: Samsung QX310/QX410/QX510/SF310/SF410/SF510/NF210/RF410/RF510/RF710 trackpad/touchpad not recognized

chin, Maria Sophie ... are you working on this?

(If not, can you please unassign yourself).
Otherwise, any progress on getting the touchpad into absolute mode? Or anything else to share?

This touchpad seems to send some really wonky stuff - which appears quite unlike what the version 1 and version 2 code is expecting. It also has a seemingly abnormal firmware version which makes me suspect that it's possibly being read incorrectly.

I might take another stab at this soon, but at this point i'm kind of prodding in the dark.

chin (kheong2)
Changed in xserver-xorg-video-intel (Ubuntu):
assignee: chin (kheong2) → nobody
Revision history for this message
Kevin Smith (ubuntu-qualitycode) wrote :

This seems to be a problem with my Samsung NF310 also. I will post to the kernel bug as well.

Revision history for this message
Rodolfo Rodrigues (rodolfo-enq) wrote :

It affects me too. I use Maverick on my Samsung SF410.

Revision history for this message
Mark A. Stratman (stratman) wrote :

Tom Lin wrote a patch that gets the touchpad recognized on at least the QX410 (other models not yet tried). It's still a work in progress, but I recommend people give it a try. More info on the kernel bug thread:
https://bugzilla.kernel.org/show_bug.cgi?id=27442

Revision history for this message
Jonathan (jonathan00) wrote :

Hi Mark,

thank you and Tom Lin for your work.
Your patch from https://bugzilla.kernel.org/show_bug.cgi?id=27442#c41 works for my Samsung RF710 :-)

[ 6924.885726] 2.6.2X-Elan-touchpad-2011-04-12
[ 6925.288499] elantech.c: PSMOUSE_CMD_RESET_BAT param[0]=aa param[1]=0 param[2]=0
[ 6925.349693] elantech.c: Elantech version query result 0x45, 0x0f, 0x00.
[ 6925.380803] param[0] = 45 param[1] = f param[2] = 0
[ 6925.380809] elantech.c: assuming hardware version 9, firmware version 0x45.0x0f.0x00
[ 6925.426627] val = 0x0f
[ 6925.464861] input: ETPS/2 Elantech ETF1059 Click-Pad as /devices/platform/i8042/serio1/input/input12

bugbot (bugbot)
description: updated
Revision history for this message
bugbot (bugbot) wrote :

Hey Tristiano77,

Thanks for your interest in Ubuntu.

Thanks for testing maverick during its development period. Unfortunately it looks like this bug report didn't get attention during the maverick development period. But I see there's not been more comments on the bug since the release, which makes me wonder if this is still an issue for you?

If you've not seen this issue since maverick's release yourself, it may have been solved by kernel or X or other updates that occurred late in the release; if so, would you mind please closing the bug for us? Go to the URL mentioned in this bug report, click the yellow icon(s) in the status column and set to 'Fix Released'.

If you no longer have the hardware needed to reproduce the problem, or otherwise feel the bug no longer needs tracked in Launchpad, you can set the status to 'Invalid'.

If you are the original reporter and still have this issue, just reply to this email saying so. (Or set the bug status to Confirmed.) If you are able to re-test this against 11.04 Natty Narwhal (our current development focus) and find the issue still affects Natty, please also run 'apport-collect <bug-number>' while running natty, which will add fresh logs and debug data, and flag it for the Ubuntu-X development team to look at.

bugbot (bugbot)
Changed in xserver-xorg-video-intel (Ubuntu):
status: Confirmed → New
status: New → Incomplete
bugbot (bugbot)
summary: - Samsung QX310/QX410/QX510/SF310/SF410/SF510/NF210/RF410/RF510/RF710
+ [arrandale] Samsung
+ QX310/QX410/QX510/SF310/SF410/SF510/NF210/RF410/RF510/RF710
trackpad/touchpad not recognized
Revision history for this message
Daniel Manrique (roadmr) wrote : Re: [arrandale] Samsung QX310/QX410/QX510/SF310/SF410/SF510/NF210/RF410/RF510/RF710 trackpad/touchpad not recognized

I'm marking this bug as invalid for xserver-xorg-video-intel, as the bug (lack of support for the hardware) is confirmed to be in the Linux kernel, it's being worked on upstream, and an experimental patch that enables the desired functionality is already available.

I've confirmed on my QX410 that a patched kernel works as desired, so it's not a problem in xserver-xorg-video-intel.

The bug remains as confirmed for Linux, as Natty's kernel doesn't include the (experimental) patch.

Changed in xserver-xorg-video-intel (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
EricDP (eric-arcticbears) wrote :

The kernel patch is working quite well, so now back to Ubuntu: how do we get the patch integrated into the Ubuntu patched kernels for all supported versions so that the masses can benefit from it?

Revision history for this message
Bryce Harrington (bryce) wrote :

The process forward is to get the kernel team's attention on it. Jeremy Foshee (JFo) is the right contact point to work with to get priority attention placed on it. Ultimately the stable kernel maintenance team will need to review and/or backport the patch, so if things appear to stall on this bug report, try finding a kernel engineer to ask.

Sometimes attaching the patch(es) needing added, and/or pointing to a git branch with the fix staged can help accelerate the process of getting kernel team attention on it. Hope this helps, good luck.

Changed in linux (Ubuntu):
importance: Undecided → Medium
milestone: none → natty-updates
status: New → Triaged
Revision history for this message
Arman Attarzadeh (arman-atz) wrote :

Hey all,
Just wanted to say that this bug has affected me since Maverick. The upgrade to Natty and the new 2.6.38 kernel did not seem to fix it either...
However, I was reading that there is a patch released for it but I can't seem to access the Bugzilla page as it keeps giving me a 504 Gateway Error. Can someone attach the patch here for me and others who can't get to it?
Also, is it possible for me to recompile my Ubuntu kernel to include the patch?
Thanks!

Revision history for this message
EricDP (eric-arcticbears) wrote :

Patch for 2.6.38 attached. To build the module, here's what I did:

- ensure you have the kernel sources and kernel headers for 2.6.38
- cd into the directory with the source files elantech.c and elantech.h (I
believe it's ends with drivers/input/mouse in the source tree)
- to patch, do "patch < 01elantech_2.6.38.patch"
- to build, go back up to the root of your sources and do "make -C
/usr/src/linux-headers-`uname -r` SUBDIRS=`pwd`
drivers/input/mouse/psmouse.ko". You shouldn't get any errors. If you do,
ensure you are in the right directory.
- then cd back into the directory with the sources for elantech.(c|h) and you
should see a built psmouse.ko. Do "rmmod psmouse" to remove the current driver
from memory and "insmod ./psmouse.ko" to insert the new one. This will only
affect the running system--it will revert on reboot.
- if all works and you like it, you can install the new one by finding your
current psmouse.ko (probably somewhere like /lib/modules/(kernel
version)/kernel/drivers/input/mouse) and replacing it. Keep the original as
backup!

Revision history for this message
EricDP (eric-arcticbears) wrote :

And here is the patch for 2.6.35, compatible with maverick. I forgot to say above that the 2.6.38 works on natty. Both of these are the latest that are being testing upstream on bugzilla.kernel.org for anybody having trouble getting it from there.

These work quite well for me on my Samsung NF210. The pointer is a little jittery if I hold my finger still, but adjusting sensitivity makes it quite usable--quite a bit more usable than it was before with the tap-to-click always triggering.

You can disable tap-to-click and these also support two-finger scrolling.

Revision history for this message
Andy Whitcroft (apw) wrote :

These patches are vast, that makes them a trick proposition for us to take into the Ubuntu kernel without there being solid acceptance upstream. I do not yet see them in v2.6.39-rc's, does anyone know if they are being discussed for inclusion in mainline yet?

Revision history for this message
Daniel Manrique (roadmr) wrote :

Hi Andy,

The patch appears to still be quite experimental, that may be why it hasn't been proposed for integration upstream. Neither the bug discussion on kernel.org nor the mailing list for the involved kernel subsystem (see here: http://www.spinics.net/lists/linux-input/) seem to have anything definite about this, so there seems to be no public discussion to that effect.

Maybe some of the people involved (Tom Lin, for instance, the author of the original patch) could be discussing this privately, but if so, there's no indication to it.

Revision history for this message
szbab (szbab-club) wrote :

same problem with a laptop Clevo W270HUQ
2.6.38 kernel on Ubuntu 11.04
TouchPad: smart pad Elan

this tutorial solved by changing the patch:
http://ubuntuforums.org/showthread.php?p=9175201#post9175201

with this patch:
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/681904/comments/59

replace lines Step 5:
wget -O 01elantech_2.6.38.patch https://launchpadlibrarian.net/71387234/01elantech_2.6.38.patch
patch -p1 < 01elantech_2.6.38.patch

sorry for my English I'm French!

Revision history for this message
Carl Richell (carlrichell) wrote :

This patch includes new Elantech models from previous patches and fixes excessive wobble on the ETF1059 (ETF5900) model used in the System76 Pangolin Performance model. We've created a DKMS module that we're distributing until the patch makes it upstream and into Ubuntu. You can use the module with the following commands:

sudo apt-get install dkms
cd /usr/src/
sudo wget http://planet76.com/drivers/elantech/psmouse-elantech-v6.tar.bz2
sudo tar jxvf psmouse-elantech-v6.tar.bz2
sudo dkms add -m psmouse -v elantech-v6
sudo dkms build -m psmouse -v elantech-v6
sudo dkms install -m psmouse -v elantech-v6

Revision history for this message
Bug Report (bugreport-mailinator) wrote :

Just tested on sf510: edge-scrolling (new), 2-finer-scrolling (new), top-right-middle-click (new), tap (as before), tap-drag (as before) works.

It's great to have that touchpad working. Thank you all!

@Carl
Perfect walk-through. Thank you.

Revision history for this message
malko (jgotti) wrote : apport information

AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: ALC269VB Analog [ALC269VB Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: malko 3429 F.... pulseaudio
CRDA: Error: [Errno 2] Aucun fichier ou dossier de ce type
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xfcb00000 irq 48'
   Mixer name : 'Realtek ALC269VB'
   Components : 'HDA:10ec0269,144dc08e,00100100'
   Controls : 13
   Simple ctrls : 8
Card1.Amixer.info:
 Card hw:1 'NVidia'/'HDA NVidia at 0xddefc000 irq 16'
   Mixer name : 'Nvidia GPU 0a HDMI/DP'
   Components : 'HDA:10de000a,10de0101,00100100'
   Controls : 16
   Simple ctrls : 4
DistroRelease: Ubuntu 11.04
EcryptfsInUse: Yes
HibernationDevice: RESUME=UUID=74973f73-79d1-4c22-95e2-00a91f63ad15
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
MachineType: SAMSUNG ELECTRONICS CO., LTD. RF510/RF410/RF710
NonfreeKernelModules: wl nvidia
Package: linux (not installed)
ProcEnviron:
 LANGUAGE=fr_FR:en
 PATH=(custom, user)
 LANG=fr_FR.UTF-8
 SHELL=/usr/bin/zsh
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-9-generic root=UUID=32d0e2f1-4ea8-4a93-aab8-919c17876cb7 ro quiet splash nomodeset video=uvesafb:mode_option=1280x800-24,mtrr=3,scroll=ywrap
ProcVersionSignature: Ubuntu 2.6.38-9.43-generic 2.6.38.4
RelatedPackageVersions:
 linux-restricted-modules-2.6.38-9-generic N/A
 linux-backports-modules-2.6.38-9-generic N/A
 linux-firmware 1.52
StagingDrivers: brcm80211
Tags: natty staging
Uname: Linux 2.6.38-9-generic x86_64
UpgradeStatus: Upgraded to natty on 2011-05-27 (9 days ago)
UserGroups: adm admin audio cdrom dialout lpadmin netdev plugdev sambashare vboxusers video www-data
dmi.bios.date: 09/05/2010
dmi.bios.vendor: Phoenix Technologies Ltd.
dmi.bios.version: 01GB.M013.20100905.hkk
dmi.board.asset.tag: Tag 12345
dmi.board.name: RF510/RF410/RF710
dmi.board.vendor: SAMSUNG ELECTRONICS CO., LTD.
dmi.board.version: Not Applicable
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 9
dmi.chassis.vendor: SAMSUNG ELECTRONICS CO., LTD.
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnPhoenixTechnologiesLtd.:bvr01GB.M013.20100905.hkk:bd09/05/2010:svnSAMSUNGELECTRONICSCO.,LTD.:pnRF510/RF410/RF710:pvrNotApplicable:rvnSAMSUNGELECTRONICSCO.,LTD.:rnRF510/RF410/RF710:rvrNotApplicable:cvnSAMSUNGELECTRONICSCO.,LTD.:ct9:cvrN/A:
dmi.product.name: RF510/RF410/RF710
dmi.product.version: Not Applicable
dmi.sys.vendor: SAMSUNG ELECTRONICS CO., LTD.

tags: added: natty staging
Revision history for this message
malko (jgotti) wrote : AcpiTables.txt

apport information

Revision history for this message
malko (jgotti) wrote : AlsaDevices.txt

apport information

Revision history for this message
malko (jgotti) wrote : AplayDevices.txt

apport information

Revision history for this message
malko (jgotti) wrote : BootDmesg.txt

apport information

Revision history for this message
malko (jgotti) wrote : Card0.Amixer.values.txt

apport information

Revision history for this message
malko (jgotti) wrote : Card0.Codecs.codec.0.txt

apport information

Revision history for this message
malko (jgotti) wrote : Card1.Amixer.values.txt

apport information

Revision history for this message
malko (jgotti) wrote : Card1.Codecs.codec.0.txt

apport information

Revision history for this message
malko (jgotti) wrote : Card1.Codecs.codec.1.txt

apport information

Revision history for this message
malko (jgotti) wrote : Card1.Codecs.codec.2.txt

apport information

Revision history for this message
malko (jgotti) wrote : Card1.Codecs.codec.3.txt

apport information

Revision history for this message
malko (jgotti) wrote : CurrentDmesg.txt

apport information

Revision history for this message
malko (jgotti) wrote : IwConfig.txt

apport information

Revision history for this message
malko (jgotti) wrote : Lspci.txt

apport information

Revision history for this message
malko (jgotti) wrote : Lsusb.txt

apport information

Revision history for this message
malko (jgotti) wrote : PciMultimedia.txt

apport information

Revision history for this message
malko (jgotti) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
malko (jgotti) wrote : ProcCpuinfo_.txt

apport information

Revision history for this message
malko (jgotti) wrote : ProcInterrupts.txt

apport information

Revision history for this message
malko (jgotti) wrote : ProcModules.txt

apport information

Revision history for this message
malko (jgotti) wrote : RfKill.txt

apport information

Revision history for this message
malko (jgotti) wrote : UdevDb.txt

apport information

Revision history for this message
malko (jgotti) wrote : UdevLog.txt

apport information

Revision history for this message
malko (jgotti) wrote : WifiSyslog.txt

apport information

Revision history for this message
malko (jgotti) wrote : Re: [arrandale] Samsung QX310/QX410/QX510/SF310/SF410/SF510/NF210/RF410/RF510/RF710 trackpad/touchpad not recognized

Sorry for the "spamming" first time i use apport-collect :s
For me it doesn't solve any problem, worst now the touchpad just don't work at all on a RF710.

Revision history for this message
Bug Report (bugreport-mailinator) wrote :

Ehr... as almost expected (but I didn't test that right away yesterday because I was at home and have been using a mouse):

Right click is not working yet.

I expected that because the Touchpad has a somehow really crooked design. There IS basically only one "button". And it's not a button. The design resembles that of the apple macbook touchpads, in that you can physically "click" it. But in contrast to the macbook's, the SF510's touchpad can only be clicked in a defined region at the bottom. In the top corners you CAN not click it by design, and the fact that you can click it right in the middle, I consider a manufacturing flaw. The clickable region is defined with a line that is imprinted on the touchpad surface and another line devides that region into a left and right part, which is, with the microsoft driver, used to distinguish between right and left click. It works, but it's crooked, because the driver software has to generate a left OR a right click event from ONE physical click signal, depending on where the finger is, during the click.

The lines on the touchpad and exact measurements of the touch sensitive area in mm look like this.

+---------------------------+
| |
| |
|47 mm |
| | 61 mm
|---------------------------|
| 49.5 | 49.5 |
| | |
+---------------------------+
            99 mm

Revision history for this message
Bug Report (bugreport-mailinator) wrote :

Like this: http://paste.ubuntu.com/620686/

(slowly getting used to 2-finger scrolling ... :-) great!)

Revision history for this message
Patrick Pfeifer (patrick2000) wrote :

I made this modifications to my psmouse dkms module and it works nicely for me. It gives me a right-click when i click on the lower right region of the "Elantech ETF1059 Click-Pad" as well as even a middle-click when i click exactly ON the vertical dividing mark in the middle of the lower region of the touchpad.

The top-right-middle-click-tapping-region is a bit too small and hard to hit, probably because the touchpad has rounded edges.)

my p.x values range from 0 (left) to 1467 (right) and the p.y values range from 0 (top) to 815 (bottom)

http://paste.ubuntu.com/627816/

It might be nice to have two-finger tap-drag mapped to middle-click-drag (for alt-middle-click-window-resizing or nautilus drag-n-ask-when-drop) ... has anybody got an idea how this could be achieved ?

Revision history for this message
Patrick Pfeifer (patrick2000) wrote :

I realize that there is quiet a difference between the p.y > 700 test i'm using and the calculated p.y == 628 position of the horizontal line of the touchpad. All I can say is that 700 works quiet well for me. (My index finger, in the middle of the "phalanx distalis" has a maximum width of around 18mm :)

Revision history for this message
Benji (benjim) wrote :

Same with a Samsung RC710. Work around from #59 works fine.

System: Xubuntu 11.04, XFCE4, Kernel 2.6.38(-8-generic)

Revision history for this message
Piotr Sokół (psokol) wrote :

Touchpad works great after doing Carl walk-through on RF510. Driver module should now compile and install when new kernel will be installed - am I right?
There is only one problem - after booting touchpad works fine on user selection screen, but when I log on, it's disabled. I can enable it only using /usr/bin/synclient TouchpadOff=0 command. Adding a proper option to Xorg.conf or adding this command to programs started automatically, didn't work. Anyone knows how to fix it?

Revision history for this message
f_padia (f-padia) wrote :

Cool. Using Carls patch in post #64 and Patricks update in post #94 my touchpad works well now on Samsung SF310. Thanks a lot guys!

Revision history for this message
cuc (cuc+) wrote :

thx carl (#64)

this patch fixed all my headaches with my new Asus A53SV/K53SV :) works perfectly now

Revision history for this message
Oliver Joos (oliver-joos) wrote :

I confirm that patch from comment 64 works on a Samsung SF510. But a right click is very hard to accomplish, also after applying the diff from comment 94. Tweaking its coordinates did not help either. But I found that right click gets easier if the pressed area is just big enough e.g. by holding the finger nearly parallel to the surface of the touchpad.

Thanks anyway! The patch finally allows that the touchpad is disabled while typing.

Revision history for this message
malko (jgotti) wrote :

Still don't work on rf710, the pad seems detected as an elantech, but it doesn't work at all .
here's what dmesg report when i load the module:
Jun 25 01:47:35 big kernel: [ 4345.571557] 2.6.2X-Elan-touchpad-2011-04-12
Jun 25 01:47:36 big kernel: [ 4345.972580] elantech.c: PSMOUSE_CMD_RESET_BAT param[0]=aa param[1]=0 param[2]=0
Jun 25 01:47:36 big kernel: [ 4346.033945] elantech.c: Elantech version query result 0x45, 0x0f, 0x00.
Jun 25 01:47:36 big kernel: [ 4346.064978] param[0] = 45 param[1] = f param[2] = 0
Jun 25 01:47:36 big kernel: [ 4346.064984] elantech.c: assuming hardware version 9, firmware version 0x45.0x0f.0x00
Jun 25 01:47:36 big kernel: [ 4346.111609] val = 0x03
Jun 25 01:47:36 big kernel: [ 4346.146475] input: ETPS/2 Elantech ETF1059 Click-Pad as /devices/platform/i8042/serio1/input/input11
and then the pad stop fonctionning.

Revision history for this message
nascirek (slawomir-czyz) wrote :

After applied the patch (#64) I can gain a right-click effect by two-finger-click anywhere on touchpad.

(QX510)

summary: [arrandale] Samsung
- QX310/QX410/QX510/SF310/SF410/SF510/NF210/RF410/RF510/RF710
+ QX310/QX410/QX510/SF310/SF410/SF510/NF210/RF410/RF510/RF511/RF710
trackpad/touchpad not recognized
Revision history for this message
Rakitha S Beminiwattha (rakithab) wrote :

My Asus U46E-BAL5 notebook had the same issue. It did not identify the ELAN touch pad when I installed Ubuntu 11.04, It was showing a Logitech PS/2 mouse. I followed the instructions given in Comment # 64 and now I have the touch pad correctly identified as,
ETPS/2 Elantech ETF1059 Click-pad.

This is really helpful and thank you so much!

Revision history for this message
Цахилов Дмитрий Михайлович (barsandcat) wrote :

Carl Richell wrote on 2011-06-06: #64

    elantech.patch (50.8 KiB, text/plain)

This patch includes new Elantech models from previous patches and fixes excessive wobble on the ETF1059 (ETF5900) model used in the System76 Pangolin Performance model. We've created a DKMS module that we're distributing until the patch makes it upstream and into Ubuntu. You can use the module with the following commands:

sudo apt-get install dkms
cd /usr/src/
sudo wget http://planet76.com/drivers/elantech/psmouse-elantech-v6.tar.bz2
sudo tar jxvf psmouse-elantech-v6.tar.bz2
sudo dkms add -m psmouse -v elantech-v6
sudo dkms build -m psmouse -v elantech-v6
sudo dkms install -m psmouse -v elantech-v6

-- This has fixed my Asus k43e touchpad. It was recognized as logitec ps2 mouse before

Revision history for this message
Benji (benjim) wrote :

Unfortunately, the patch from #59 doesn't work with 2.6.38-11-generic anymore.

/tmp/linux-2.6.38>make -C /usr/src/linux-headers-2.6.38-11-generic/ SUBDIRS=`pwd` drivers/input/mouse/
make: Entering directory `/usr/src/linux-headers-2.6.38-11-generic'
...
/home/benji/tmp/linux-2.6.38/drivers/input/mouse/psmouse-base.c:862:3: warning: initialization from incompatible pointer type
...

Revision history for this message
Benji (benjim) wrote :

What I forgot to mention: The patch from #64 works with 2.6.38-11

I got an Samsung RC710

Revision history for this message
Christian González (droetker) wrote :

The patch from #64 works perfect here on a Samsung RF511. Two-finger-scrolling, recognized touchpad, right click with two-tap.

Revision history for this message
cuc (cuc+) wrote :

the only thing that does not work with patch from #64 is "disable while typing" everything else works

notebooks tested:
asus k53sv
samsung rf511

Revision history for this message
sahin buyrukbilen (sahin-buyrukbilen) wrote : Re: [Bug 681904] Re: [arrandale] Samsung QX310/QX410/QX510/SF310/SF410/SF510/NF210/RF410/RF510/RF710 trackpad/touchpad not recognized
Download full text (4.2 KiB)

Hey Guys,

I am using Ubuntu 10.01 LTS and kernel 2.6.32.33-71. I still cannot use the
touchpad properly. I tried the patch from #64 but got the following message:

binary package for psmouse: elantech-v6 not found

could anyone help me?

Thanks

Sahin.

On Mon, Jun 27, 2011 at 2:34 PM, nascirek <email address hidden> wrote:

> After applied the patch (#64) I can gain a right-click effect by two-
> finger-click anywhere on touchpad.
>
> (QX510)
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/681904
>
> Title:
> [arrandale] Samsung
> QX310/QX410/QX510/SF310/SF410/SF510/NF210/RF410/RF510/RF710
> trackpad/touchpad not recognized
>
> Status in The Linux Kernel:
> Confirmed
> Status in X.org xf86-video-intel:
> New
> Status in “linux” package in Ubuntu:
> Triaged
> Status in “xserver-xorg-video-intel” package in Ubuntu:
> Invalid
>
> Bug description:
> Ubuntu 10.10, Samsung NP-QX410. Trackpad settings not available. Can
> use trackpad, can use left and right click, but no options available
> to adjust settings. Personally having issue of rubbing trackpad while
> I type and it is very annoying.
>
> The trackpad is recognized as a "PS/2 Logitech Wheel Mouse". No side
> scrolling, no disabling tap-to-click (annoying!) and no other trackpad
> settings available.
>
> How to reproduce:
> 1) install ubuntu on a samsung qx410
> 2) try, try, try and fail to make the touchpad work properly
> ---
> Architecture: amd64
> DRM.card0.DisplayPort.1:
> status: disconnected
> enabled: disabled
> dpms: On
> modes:
> edid-base64:
> DRM.card0.HDMI_Type_A.1:
> status: disconnected
> enabled: disabled
> dpms: On
> modes:
> edid-base64:
> DRM.card0.LVDS.1:
> status: connected
> enabled: enabled
> dpms: On
> modes: 1366x768
> edid-base64:
> AP///////wBMo1AyAAAAAAAUAQOAHxF4Cgnll1dUiiciUFQAAAABAQEBAQEBAQEBAQEBAQEBhBtWeFAAFjAwICUANa4QAAAZAAAADwAAAAAAAAAAAB60AnQAAAAA/gBTQU1TVU5HCiAgICAgAAAA/gBMVE4xNDBBVDE3ODAxANw=
> DRM.card0.VGA.1:
> status: disconnected
> enabled: disabled
> dpms: On
> modes:
> edid-base64:
> DistroRelease: Ubuntu 10.10
> DkmsStatus:
>
> InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64
> (20101007)
> MachineType: SAMSUNG ELECTRONICS CO., LTD.
> QX310/QX410/QX510/SF310/SF410/SF510
> Package: xorg 1:7.5+6ubuntu3
> PackageArchitecture: amd64
> ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.35-23-generic
> root=UUID=75a97d0d-7483-4000-8519-03687885d9ea ro quiet splash
> ProcEnviron:
> PATH=(custom, user)
> LANG=en_US.UTF-8
> SHELL=/bin/bash
> ProcVersionSignature: Ubuntu 2.6.35-23.40-generic 2.6.35.7
> Tags: maverick maverick
> Uname: Linux 2.6.35-23-generic x86_64
> UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
> dmi.bios.date: 09/14/2010
> dmi.bios.vendor: American Megatrends Inc.
> dmi.bios.version: 02MX.M003.20100914.SCY
> dmi.board.asset.tag: To be filled by O.E.M.
> dmi.board.name: QX310/QX410/QX510/SF310/SF410/SF510
> dmi.board.vendor: SAMSUNG ELECTRONICS CO., LTD.
> dmi.board.version: 02MX
> dmi.chassis.asset.tag: No Asset Tag
> dmi.chassis.type: 9
> ...

Read more...

Revision history for this message
sahin buyrukbilen (sahin-buyrukbilen) wrote :
Download full text (4.4 KiB)

One more thing: I am using RF510-S02

On Sat, Jul 30, 2011 at 8:39 PM, Sahin Buyrukbilen <
<email address hidden>> wrote:

> Hey Guys,
>
> I am using Ubuntu 10.01 LTS and kernel 2.6.32.33-71. I still cannot use the
> touchpad properly. I tried the patch from #64 but got the following message:
>
> binary package for psmouse: elantech-v6 not found
>
> could anyone help me?
>
> Thanks
>
> Sahin.
>
>
> On Mon, Jun 27, 2011 at 2:34 PM, nascirek <email address hidden>wrote:
>
>> After applied the patch (#64) I can gain a right-click effect by two-
>> finger-click anywhere on touchpad.
>>
>> (QX510)
>>
>> --
>> You received this bug notification because you are subscribed to the bug
>> report.
>> https://bugs.launchpad.net/bugs/681904
>>
>> Title:
>> [arrandale] Samsung
>> QX310/QX410/QX510/SF310/SF410/SF510/NF210/RF410/RF510/RF710
>> trackpad/touchpad not recognized
>>
>> Status in The Linux Kernel:
>> Confirmed
>> Status in X.org xf86-video-intel:
>> New
>> Status in “linux” package in Ubuntu:
>> Triaged
>> Status in “xserver-xorg-video-intel” package in Ubuntu:
>> Invalid
>>
>> Bug description:
>> Ubuntu 10.10, Samsung NP-QX410. Trackpad settings not available. Can
>> use trackpad, can use left and right click, but no options available
>> to adjust settings. Personally having issue of rubbing trackpad while
>> I type and it is very annoying.
>>
>> The trackpad is recognized as a "PS/2 Logitech Wheel Mouse". No side
>> scrolling, no disabling tap-to-click (annoying!) and no other trackpad
>> settings available.
>>
>> How to reproduce:
>> 1) install ubuntu on a samsung qx410
>> 2) try, try, try and fail to make the touchpad work properly
>> ---
>> Architecture: amd64
>> DRM.card0.DisplayPort.1:
>> status: disconnected
>> enabled: disabled
>> dpms: On
>> modes:
>> edid-base64:
>> DRM.card0.HDMI_Type_A.1:
>> status: disconnected
>> enabled: disabled
>> dpms: On
>> modes:
>> edid-base64:
>> DRM.card0.LVDS.1:
>> status: connected
>> enabled: enabled
>> dpms: On
>> modes: 1366x768
>> edid-base64:
>> AP///////wBMo1AyAAAAAAAUAQOAHxF4Cgnll1dUiiciUFQAAAABAQEBAQEBAQEBAQEBAQEBhBtWeFAAFjAwICUANa4QAAAZAAAADwAAAAAAAAAAAB60AnQAAAAA/gBTQU1TVU5HCiAgICAgAAAA/gBMVE4xNDBBVDE3ODAxANw=
>> DRM.card0.VGA.1:
>> status: disconnected
>> enabled: disabled
>> dpms: On
>> modes:
>> edid-base64:
>> DistroRelease: Ubuntu 10.10
>> DkmsStatus:
>>
>> InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64
>> (20101007)
>> MachineType: SAMSUNG ELECTRONICS CO., LTD.
>> QX310/QX410/QX510/SF310/SF410/SF510
>> Package: xorg 1:7.5+6ubuntu3
>> PackageArchitecture: amd64
>> ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.35-23-generic
>> root=UUID=75a97d0d-7483-4000-8519-03687885d9ea ro quiet splash
>> ProcEnviron:
>> PATH=(custom, user)
>> LANG=en_US.UTF-8
>> SHELL=/bin/bash
>> ProcVersionSignature: Ubuntu 2.6.35-23.40-generic 2.6.35.7
>> Tags: maverick maverick
>> Uname: Linux 2.6.35-23-generic x86_64
>> UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
>> dmi.bios.date: 09/14/2010
>> dmi.bios.vendor: American Megatrends Inc.
>> dmi.bios.version: 02MX.M003.20100914.SCY
>> d...

Read more...

Revision history for this message
Seth Forshee (sforshee) wrote :

The patch from comment #64 is unlikely to ever make it upstream or into Ubuntu. It changes too much in a single patch, it needs a lot of cleanup, and the upstream driver has moved on to the official multi-touch protocol.

I've used that patch as a reference for understanding the newer Elantech touchpad protocol and developed a patch that only adds support for this protocol. This is testing well for me on a Samsung NF310, but I'm not sure whether or not it will support the touchpads on all the models listed here. I've made builds for natty and oneiric in order to get testing on more hardware so we can find out.

Note that unless you are using oneiric you will still see the wobbly cursor issue. In oneiric this is fixed by filtering in xserver-xorg-input-synaptics. I have no plans to add any filtering to the driver.

The test builds are available at:

  http://people.canonical.com/~sforshee/lp681904/

After testing, please report back which hardware you tested on and whether or not it worked. If it doesn't work please attach the output of dmesg when running the test build. Thanks!

Changed in linux (Ubuntu):
assignee: Maria Sophie (thomas-garcia789) → Seth Forshee (sforshee)
status: Triaged → Incomplete
Revision history for this message
Daniel Manrique (roadmr) wrote :

Hi Seth,

I tested this kernel on a Samsung QX410 with Elantech touchpad, kernel version as follows:

Linux version 2.6.38-11-generic (root@tangerine) (gcc version 4.5.2 (Ubuntu/Linaro 4.5.2-8ubuntu4) ) #48~lp681904v201108052202 SMP Fri Aug 5 22:16:29 UTC

It works and feels very similar to the patch for #64 (which is what I use on my 2.6.38-10 current kernel), I tested tap-click and two-finger scrolling (vertical and horizontal) and they all work fine.

FWIW, on this particular laptop I don't get the wobbliness problem everyone talks about.

Relevant lines from dmesg:

[ 16.407116] elantech: assuming hardware version 3, firmware version 133.27.0
[ 16.443281] elantech: Synaptics capabilities query result 0x19, 0x14, 0x0c.
[ 16.606611] elantech: x_max = 2934, y_max = 1630
[ 16.621855] input: ETPS/2 Elantech Touchpad as /devices/platform/i8042/serio1/input/input8

Don't hesitate to let me know if you need more information about this system, or need me to perform more tests.

Thanks!

Revision history for this message
Julien Valroff (julienv) wrote :

Hi Seth,

I confirm your patch works for me on an Asus X93S running Debian sid (Linux 3.0.0-1-amd64).

If this can help: I have created a DKMS source tree based on your patch for linux 3.0.

Installation instructions:
sudo apt-get install dkms

If you had install the module based on the patch of comment #64 of the original LP bug:
sudo dkms remove psmouse/elantech-v6 --all

cd /usr/src/
sudo wget http://people.debian.org/~julien/lp681904/psmouse-elantech-lp681904-1.tar.bz2
sudo tar jxvf psmouse-elantech-lp681904-1.tar.bz2
sudo dkms add -m psmouse -v elantech-lp681904-1
sudo dkms build -m psmouse -v elantech-lp681904-1
sudo dkms install -m psmouse -v elantech-lp681904-1

Cheers,
Julien

Revision history for this message
Jeanfrancoissven (s-beddeleem) wrote :

Can anyone explain me how to use the patch from comment 59?
I don't understand all the steps that I must follow...
I have a dell Vostro 3750, kernel 2.6.38-11

Revision history for this message
Seth Forshee (sforshee) wrote : Re: [Bug 681904] Re: [arrandale] Samsung QX310/QX410/QX510/SF310/SF410/SF510/NF210/RF410/RF510/RF511/RF710 trackpad/touchpad not recognized

Julien, thanks for the dkms package.

On Sun, Aug 14, 2011 at 05:43:39PM -0000, Jeanfrancoissven wrote:
> Can anyone explain me how to use the patch from comment 59?
> I don't understand all the steps that I must follow...
> I have a dell Vostro 3750, kernel 2.6.38-11

Please don't test the patch from comment #59. Either test the Ubuntu
builds from comment #111 or the dkms pakage from comment #113.

Revision history for this message
Patrick Pfeifer (patrick2000) wrote :

Success!

Yup, thanks Julien. I needed the dkms because I already have a "custom" kernel because of the "wavering vga problem" (lp:614238). Thanks Seth!

Working: - Pointer movement (no wobbling) - left click - left tap - right tap (2 fingers) - middle tap (one finger top right) - 2-finger scrolling - double-tap-dragging

Observations: - 3-finger middle tap used to work with patch from #59, doesn't any more, but worked only 90% anyway

System Information
        Manufacturer: SAMSUNG ELECTRONICS CO., LTD.
        Product Name: QX310/QX410/QX510/SF310/SF410/SF510
        Version: 03MX
        Serial Number: ZZAG93GB200454

[43821.922036] elantech: assuming hardware version 3, firmware version 133.27.0
[43821.956695] elantech: Synaptics capabilities query result 0x19, 0x14, 0x0c.
[43822.131754] elantech: x_max = 2934, y_max = 1630
[43822.147153] input: ETPS/2 Elantech Touchpad as /devices/platform/i8042/serio1/input/input16

Revision history for this message
Seth Forshee (sforshee) wrote :

On Mon, Aug 15, 2011 at 01:42:24PM -0000, Patrick Pfeifer wrote:
> Observations: - 3-finger middle tap used to work with patch from #59,
> doesn't any more, but worked only 90% anyway

Yep, this is a side-effect of using the "real" multitouch protocol. This
is a class of device that is called semi-mt (semi-multitouch) in the
vernacular of the multitouch protocol, because it only provides limited,
somewhat unreliable information about multiple touches. For these
devices only basic, two-finger gestures are supported. We should be able
to special-case the xorg drivers to allow three-finger click and drag
for the elantech hardware because there's enough information to support
these, but that would be a follow-up to getting the new protocol support
into the driver.

Thanks for testing!

Revision history for this message
Tory (tory-andrew-law) wrote :

#113 just worked for me on a Samsung NF210 =) thank you very much, this wasn't for me, it was for my younger sister. She will be happy. =)

Revision history for this message
LifeBringer (ra-thesungod) wrote :

I have the issue on the Acer 7560, will try comment 64 patch and report back.

Revision history for this message
LifeBringer (ra-thesungod) wrote :

Tried patch 64 on my 2.6.38-10-generic, worked beautiful. Shame that there aren't any 3-button, rotation, pinch gestures as of yet.

Revision history for this message
Chromos (sf12) wrote :

Patch 59 seems working perfect on my Asus K43SV Natty 2.6.38-10-generic :)
Thx

Revision history for this message
Nick Leytem (nicholas-leytem) wrote :

Tried patch from #113 on 2.6.38.11-generic on my Samsung RC512 and it gives me two-finger scrolling (finally!), a two-finger tap anywhere on touchpad will bring up the right-click menu, and double-tap-and-drag. As noted above, there is a bit of wobble. If there is middle-click emulation in this patch, I'm not able to do it.

Revision history for this message
Seth Forshee (sforshee) wrote :

I've posted an update to the driver, this time just as a dkms package. It's avaiable at

http://people.canonical.com/~sforshee/lp681904/psmouse-elantech-dkms/v0.1/psmouse-elantech-dkms_0.1_all.deb

Please test and let me know how it works. Thanks!

Revision history for this message
Daniel Manrique (roadmr) wrote :

Hi Seth,

Thanks so much for the deb for the dkms driver. Super-easy to install:

wget -c http://people.canonical.com/~sforshee/lp681904/psmouse-elantech-dkms/v0.1/psmouse-elantech-dkms_0.1_all.deb

sudo dpkg --install psmouse-elantech-dkms_0.1_all.deb

I simply rmmoded the old psmouse driver, then modprobed the old one on the fly and things started working. . Mouse pointer functionality, two finger scroll and double-tap-for-right-click are what I tested, all seem to work just as with the previous patch (I was using the dkms version of the elantech-v6 patch).

This is on Natty with a just-installed 2.6.38-11 kernel, running on a Samsung QX410.

My dmesg reads:

[ 148.846439] elantech: assuming hardware version 3, firmware version 133.27.0
[ 148.880705] elantech: Synaptics capabilities query result 0x19, 0x14, 0x0c.
[ 148.956447] elantech: x_max = 2934, y_max = 1630
[ 148.972206] input: ETPS/2 Elantech Touchpad as /devices/platform/i8042/serio1/input/input13

Let me know if you need more information.

Thanks again!

Revision history for this message
Patrick Pfeifer (patrick2000) wrote :

Just installed it. It is working nicely. Any wobbling is indeed entirely
gone now.

Revision history for this message
Nick Leytem (nicholas-leytem) wrote :
Download full text (4.5 KiB)

The update works great on my Samsung RC512 running Linux 2.6.38.11-generic.
Wobble is essentially gone.
Here is some of the output of dmesg:

[ 9620.220811] elantech: assuming hardware version 3, firmware version
69.15.0
[ 9620.256879] elantech: Synaptics capabilities query result 0x08, 0x15,
0x0c.
[ 9620.336893] elantech: x_max = 2508, y_max = 1320
[ 9620.352890] input: ETPS/2 Elantech Touchpad as
/devices/platform/i8042/serio1/input/input11

On Tue, Aug 23, 2011 at 8:57 AM, Seth Forshee <email address hidden>wrote:

> I've posted an update to the driver, this time just as a dkms package.
> It's avaiable at
>
> http://people.canonical.com/~sforshee/lp681904/psmouse-elantech-
> dkms/v0.1/psmouse-elantech-dkms_0.1_all.deb
>
> Please test and let me know how it works. Thanks!
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/681904
>
> Title:
> [arrandale] Samsung
> QX310/QX410/QX510/SF310/SF410/SF510/NF210/RF410/RF510/RF511/RF710
> trackpad/touchpad not recognized
>
> Status in The Linux Kernel:
> Confirmed
> Status in X.org xf86-video-intel:
> New
> Status in “linux” package in Ubuntu:
> Incomplete
> Status in “xserver-xorg-video-intel” package in Ubuntu:
> Invalid
>
> Bug description:
> Ubuntu 10.10, Samsung NP-QX410. Trackpad settings not available. Can
> use trackpad, can use left and right click, but no options available
> to adjust settings. Personally having issue of rubbing trackpad while
> I type and it is very annoying.
>
> The trackpad is recognized as a "PS/2 Logitech Wheel Mouse". No side
> scrolling, no disabling tap-to-click (annoying!) and no other trackpad
> settings available.
>
> How to reproduce:
> 1) install ubuntu on a samsung qx410
> 2) try, try, try and fail to make the touchpad work properly
> ---
> Architecture: amd64
> DRM.card0.DisplayPort.1:
> status: disconnected
> enabled: disabled
> dpms: On
> modes:
> edid-base64:
> DRM.card0.HDMI_Type_A.1:
> status: disconnected
> enabled: disabled
> dpms: On
> modes:
> edid-base64:
> DRM.card0.LVDS.1:
> status: connected
> enabled: enabled
> dpms: On
> modes: 1366x768
> edid-base64:
> AP///////wBMo1AyAAAAAAAUAQOAHxF4Cgnll1dUiiciUFQAAAABAQEBAQEBAQEBAQEBAQEBhBtWeFAAFjAwICUANa4QAAAZAAAADwAAAAAAAAAAAB60AnQAAAAA/gBTQU1TVU5HCiAgICAgAAAA/gBMVE4xNDBBVDE3ODAxANw=
> DRM.card0.VGA.1:
> status: disconnected
> enabled: disabled
> dpms: On
> modes:
> edid-base64:
> DistroRelease: Ubuntu 10.10
> DkmsStatus:
>
> InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64
> (20101007)
> MachineType: SAMSUNG ELECTRONICS CO., LTD.
> QX310/QX410/QX510/SF310/SF410/SF510
> Package: xorg 1:7.5+6ubuntu3
> PackageArchitecture: amd64
> ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.35-23-generic
> root=UUID=75a97d0d-7483-4000-8519-03687885d9ea ro quiet splash
> ProcEnviron:
> PATH=(custom, user)
> LANG=en_US.UTF-8
> SHELL=/bin/bash
> ProcVersionSignature: Ubuntu 2.6.35-23.40-generic 2.6.35.7
> Tags: maverick maverick
> Uname: Linux 2.6.35-23-generic x86_64
> UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
> dmi.bios.date...

Read more...

Revision history for this message
himegoto (larcsoul) wrote :

I just installed http://people.canonical.com/~sforshee/lp681904/psmouse-elantech-dkms/v0.1/psmouse-elantech-dkms_0.1_all.deb (#123)
On my Samsung netbook NF210.

It didn't work for me and now trackpad is not responding. I am new to Linux may it be some missing settings?
I just used Package installer on it and then restarted.

Thanks.

Revision history for this message
Zaki Manian (zmanian) wrote :

After install the .deb package from Seth,

sudo rmmod psmouse
sudo modprobe -a psmouse

you should get the following in dmesg

dmesg | grep elantech
[ 442.325784] elantech: assuming hardware version 3, firmware version
21.11.0
[ 442.365853] elantech: Synaptics capabilities query result 0x78, 0x14,
0x0a.
[ 442.452551] elantech: x_max = 1944, y_max = 864

On Tue, Aug 23, 2011 at 6:02 PM, himegoto <email address hidden> wrote:

> I just installed
> http://people.canonical.com/~sforshee/lp681904/psmouse-elantech-dkms/v0.1/psmouse-elantech-dkms_0.1_all.deb(#123)
> On my Samsung netbook NF210.
>
> It didn't work for me and now trackpad is not responding. I am new to Linux
> may it be some missing settings?
> I just used Package installer on it and then restarted.
>
> Thanks.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/681904
>
> Title:
> [arrandale] Samsung
> QX310/QX410/QX510/SF310/SF410/SF510/NF210/RF410/RF510/RF511/RF710
> trackpad/touchpad not recognized
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/linux/+bug/681904/+subscriptions
>

Revision history for this message
himegoto (larcsoul) wrote :

Thanks Zaki.
However after
sudo rmmod psmouse

It gave me an error. Module psmouse does not exist in /proc/modules

I understand this isn't a board for me to raise more questions but I could really use some help on this, since my pad isn't working now.
Thanks a lot.

Revision history for this message
EricDP (eric-arcticbears) wrote :

I just tried the DKMS in post 123 on an nf210

uname -a yields...

Linux elara 2.6.38-10-generic #46-Ubuntu SMP Tue Jun 28 15:05:41 UTC 2011 i686 i686 i386 GNU/Linux

The module won't load. modprobe gives...

FATAL: Error inserting psmouse (/lib/modules/2.6.38-10-generic/updates/dkms/psmouse.ko): Unknown symbol in module, or unknown parameter (see dmesg)

bottom lines of dmesg are...

[92650.108872] psmouse: Unknown symbol hgpk_module_init (err 0)
[92650.111041] psmouse: Unknown symbol hgpk_init (err 0)
[92650.115138] psmouse: Unknown symbol hgpk_detect (err 0)

Revision history for this message
himegoto (larcsoul) wrote :

Thanks Eric.

Could you please post how to revert back so I could use the trackpad again haha

I just saw there's a release that works with nf210 hopefully in post #113 but couldn't get it started either. Looks like I need to fix the trackpad first.

Thanks in advance.

Revision history for this message
Seth Forshee (sforshee) wrote :

himegoto: First, please run 'sudo modprobe psmouse' (which I'm expecting will fail), then 'dmesg > dmesg-psmouse-elantech-dkms.txt'. Please provide the output from modprobe and the dmesg-psmouse-elantech-dkms.txt file here. After that you can remove the package by running 'sudo dpkg -r psmouse-elantech-dkms'. Then running 'sudo modprobe psmouse' should get your touchpad working again.

EricDP: Your problem is due to configuration differences between i386 and amd64 kernels in conjunction with how I created the dkms package. I've uploaded a new package which should fix this. Please give it a try.

http://people.canonical.com/~sforshee/lp681904/psmouse-elantech-dkms/v0.2/psmouse-elantech-dkms_0.2_all.deb

Seth Forshee (sforshee)
Changed in linux (Ubuntu):
status: Incomplete → In Progress
Revision history for this message
f_padia (f-padia) wrote :

Hi Seth, thanks for your support with this. I have a Samsung SF310 and am running ubuntu natty (whatever the default kernel is). I have installed your patch from post #123. Most things work but I cant click and drag with 2 fingers (i.e. click left mouse button and drag with the other finger). is this a known issue or is it supposed to work? It was working fine with the patch from post #63 but its no longer working correctly. Can you advise on what I need to do?

p.s. I did sudo rmmod psmouse
sudo modprobe -a psmouse

after installing the package if that makes any difference.

Thanks

Revision history for this message
himegoto (larcsoul) wrote :

Seth, many thanks I could use the pad again.
However I couldn't find the txt.
I saved all the commands from "dmesg", will that be useful to you? It's huge lines of commands.

Thanks.

Seth Forshee (sforshee)
Changed in linux (Ubuntu Oneiric):
status: In Progress → Fix Committed
Revision history for this message
EricDP (eric-arcticbears) wrote :

v0.2 seems to be working on my nf210 with the 32-bit fix. I didn't test everything, but being able to disable tap-to-click and have two-finger scroll working is good enough for me. And having a DKMS package so I'm not building from scratch is a definite bonus. Thanks!

Revision history for this message
himegoto (larcsoul) wrote :

Seth,
I tried the 0.2 you gave in #132
The side scrolls now works but 2 finger scroll didn't.

[ 1724.624233] psmouse serio1: ID: 10 00 64
[ 1724.732160] elantech: assuming hardware version 3, firmware version 21.11.0
[ 1724.772190] elantech: Synaptics capabilities query result 0x78, 0x14, 0x0a.
[ 1724.859403] elantech: x_max = 1944, y_max = 864
[ 1724.876776] input: ETPS/2 Elantech Touchpad as /devices/platform/i8042/serio1/input/input14

If this'll be useful to you :)
Thanks.

Revision history for this message
Nick Leytem (nicholas-leytem) wrote :

The 0.2 from #132 now allows me to scroll horizontally but I can't disable tap-to-click (Samsung RC512).
Output from dmesg:
[ 7166.521312] elantech: assuming hardware version 3, firmware version 69.15.0
[ 7166.557507] elantech: Synaptics capabilities query result 0x08, 0x15, 0x0c.
[ 7166.643090] elantech: x_max = 2508, y_max = 1320
[ 7166.659434] input: ETPS/2 Elantech Touchpad as /devices/platform/i8042/serio1/input/input14

Revision history for this message
LD (ldwatson) wrote :

I applied the patch at comment 64 to my Samsung NC210 netbook running 64 bit Ubuntu 11.04 (kernel 2.6.38.11) and after a reboot the touchpad is recognised (previously it had been detected as a psmouse. Mouse preferences now has a touchpad tab which allows me to turn off mouse-clicks on the touchpad, and activate two finger scrolling. This is fine for me.

Revision history for this message
Benji (benjim) wrote :

@Seth: Patch from #132 working fine for me.
running Xubuntu 11.04 with 2.6.38-11-generic on a Samsung RC710.

For drag-and-drop, two finger right click, and three finger center click I had to set Synaptics Tap Action to 0, 0, 1, 1, 1, 3, 2.

(If somebody is looking for it:
xinput list
Should show you a device ETPS/2 Elantech Touchpad. Look for its ID. Then set
xinput set-int-prop <ID> 292 8 0 0 1 1 1 3 2

You can take a look at the properties with xinput list-props <ID> if the Property ID changes (in this case the 292). )

Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (4.9 KiB)

This bug was fixed in the package linux - 3.0.0-10.16

---------------
linux (3.0.0-10.16) oneiric; urgency=low

  [ Andy Whitcroft ]

  * Revert "ubuntu: compcache -- follow changes to bd_claim/bd_release"
    - LP: #832694
  * Revert "ubuntu: compcache -- version 0.5.3"
    - LP: #832694
  * [Config] dropping compcache configuration options

  [ David Henningsson ]

  * SAUCE: ALSA: HDA: hdmi: Emit pcm device index for jack input devices

  [ Kees Cook ]

  * [Config] enable and enforce SECCOMP_FILTER on x86

  [ Leann Ogasawara ]

  * [Config] Update CONFIG_EFI_VARS enforcer check
  * [Config] Enable CONFIG_ECHO=m on powerpc
  * [Config] Enable CONFIG_ET131X=m on powerpc
  * [Config] Set CONFIG_FB_MATROX=m
  * [Config] Enable CONFIG_FB_UDL=m on powerpc
  * [Config] Set CONFIG_FB_VIRTUAL=n
  * [Config] Enable CONFIG_FB_VGA16=m on powerpc
  * [Config] Enable CONFIG_GPIO_MAX732X=m on arm
  * [Config] Enable CONFIG_GPIO_PCF857X=m on arm
  * [Config] Set CONFIG_HOTPLUG_PCI_FAKE=m
  * [Config] Enable CONFIG_HOTPLUG_PCI=y on powerpc
  * [Config] Enable CONFIG_HOTPLUG_PCI_CPCI=y on powerpc
  * [Config] Enable CONFIG_HP_ILO=m on powerpc-smp
  * [Config] Enable CONFIG_I2C_PASEMI=m on powerpc
  * [Config] Enable CONFIG_IBM_BSR=m on powerpc
  * [Config] Enable CONFIG_IBMVETH=m on powerpc
  * [Config] Enable CONFIG_IDE_PHISON=m on powerpc
  * [Config] Enable CONFIG_IGB=m on powerpc
  * [Config] Enable CONFIG_IIO=m on powerpc
  * [Config] Enable CONFIG_INFINIBAND_NES=m
  * [Config] Enable CONFIG_IPMI_HANDLER=m on arm
  * [Config] Enable CONFIG_IWL3945=m on powerpc
  * [Config] Disable CONFIG_KVM_BOOK3S_64
  * [Config] Enable CONFIG_LAPBETHER=m on arm
  * [Config] Enable CONFIG_LEDS_GPIO=m on powerpc
  * [Config] Enable CONFIG_LEDS_CLEVO_MAIL=m all arch's
  * [Config] Enable CONFIG_LEDS_PCA9532=m on powerpc
  * [Config] Enable CONFIG_LEDS_PCA955X=m on powerpc
  * [Config] Enable CONFIG_LEDS_TRIGGER_DEFAULT_ON=m on powerpc
  * [Config] Set CONFIG_LEDS_TRIGGER_HEARTBEAT=m on arm and powerpc
  * [Config] Set CONFIG_LEDS_TRIGGER_TIMER=m on powerpc
  * [Config] Enable CONFIG_LINE6_USB=m on arm and powerpc
  * [Config] Enable CONFIG_MEMSTICK=m on arm
  * [Config] Enable CONFIG_MTD_AFS_PARTS=m on arm
  * [Config] Enable CONFIG_MTD_ALAUDA=m on arm
  * [Config] Enable CONFIG_MTD_AR7_PARTS=m on arm
  * [Config] Enable CONFIG_MTD_ARM_INTEGRATOR=m on arm
  * [Config] Enable CONFIG_MOXA_SMARTIO=m on powerpc
  * [Config] Enable CONFIG_MTD_DATAFLASH=m on arm
  * [Config] Enable CONFIG_MTD_GPIO_ADDR=m on arm
  * [Config] Enable CONFIG_MTD_IMPA7=m on arm
  * [Config] Enable CONFIG_MTD_NAND_GPIO=m on arm
  * [Config] Enable CONFIG_MTD_NAND_NANDSIM=m on arm
  * [Config] Enable CONFIG_MTD_NAND_PASEMI=m on powerpc
  * [Config] Enable CONFIG_MTD_NAND_PLATFORM=m on arm
  * [Config] Enable CONFIG_MTD_NAND_TMIO=m on arm
  * [Config] Enable CONFIG_MTD_SST25L=m on arm
  * [Config] Enable CONFIG_NET_CLS_CGROUP=y on arm
  * [Config] Enable CONFIG_NET_CLS_FLOW=m on arm
  * [Config] Enable CONFIG_NET_CLS_U32=m on arm
  * [Config] Enable CONFIG_NET_DCCPPROBE=m on arm
  * [Config] Enable CONFIG_NET_SCH_INGRESS=m on arm
  * [Config] Enable CONFIG_NET_TCPPROBE=m on arm
  * [Config] Enable...

Read more...

Changed in linux (Ubuntu Oneiric):
status: Fix Committed → Fix Released
Revision history for this message
Nick Leytem (nicholas-leytem) wrote :

After installing Linux Kernel 3.0.4, the wobble has returned and I still can't enable middle click, disable tapping, or disable touchpad while typing.

Revision history for this message
Nate Cox (akujin) wrote :

Patch on post 132 worked perfectly for me. Trackpad, two-finger touch for right click and two-finger scroll function as they should.

It'd be nice to see some support from elantech on this, though, to get the full range of features working properly. It really is a cool trackpad... even though I'd kill for a regular synaptics after this enormous hassle getting it working.

Revision history for this message
Craig (cslush) wrote :

I have just upgraded to oneiric and I am still unable to properly use my trackpad. Here are some details:

Samsung QX410-J01

$ uname -a
Linux craig-laptop 3.0.0-12-generic #20-Ubuntu SMP Fri Oct 7 14:56:25 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux

$ lspci
00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller (rev 02)
00:01.0 PCI bridge: Intel Corporation Core Processor PCI Express x16 Root Port (rev 02)
00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 02)
00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series Chipset HECI Controller (rev 06)
00:1a.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 05)
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 05)
00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 05)
00:1c.3 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 4 (rev 05)
00:1d.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 05)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a5)
00:1f.0 ISA bridge: Intel Corporation Mobile 5 Series Chipset LPC Interface Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 5 Series/3400 Series Chipset 4 port SATA AHCI Controller (rev 05)
00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller (rev 05)
00:1f.6 Signal processing controller: Intel Corporation 5 Series/3400 Series Chipset Thermal Subsystem (rev 05)
01:00.0 3D controller: nVidia Corporation GT218 [GeForce 310M] (rev a2)
02:00.0 Network controller: Intel Corporation Centrino Advanced-N + WiMAX 6250 (rev 5f)
03:00.0 Ethernet controller: Marvell Technology Group Ltd. Yukon Optima 88E8059 [PCIe Gigabit Ethernet Controller with AVB] (rev 11)
3f:00.0 Host bridge: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers (rev 02)
3f:00.1 Host bridge: Intel Corporation Core Processor QuickPath Architecture System Address Decoder (rev 02)
3f:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 02)
3f:02.1 Host bridge: Intel Corporation Core Processor QPI Physical 0 (rev 02)
3f:02.2 Host bridge: Intel Corporation Core Processor Reserved (rev 02)
3f:02.3 Host bridge: Intel Corporation Core Processor Reserved (rev 02)

$ dmesg | grep PS/2
[ 1.030925] i8042: PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PSM1] at 0x60,0x64 irq 1,12
[ 1.033970] mousedev: PS/2 mouse device common for all mice
[ 10.299246] input: PS/2 Generic Mouse as /devices/platform/i8042/serio1/input/input7

$ dmesg | grep elantech
$

Are there any other details I can provide? Thanks, I'd love to be able to take advantage of these features!

Revision history for this message
Seth Forshee (sforshee) wrote :

On Sat, Oct 15, 2011 at 12:51:08AM -0000, Craig wrote:
> I have just upgraded to oneiric and I am still unable to properly use my
> trackpad. Here are some details:
>
> Samsung QX410-J01

Craig: We have some successful testing with the QX410, but it appears
that there may be more than one variant of this model. Please open a new
bug for your issue by running 'ubuntu-bug linux' in a terminal. Thanks!

Revision history for this message
Craig (cslush) wrote :

Thanks Seth. Created related bug #875154 for this issue.

Revision history for this message
f_padia (f-padia) wrote :

upgraded to oneiric but I still cant click and drag with 2 fingers?? anyone else have this? or is just me? everything else seems to work

Samsung SF310 by the way

Revision history for this message
nascirek (slawomir-czyz) wrote :

I noticed that touchpad features like two finger right click, two finger scrolling work fine on QX510 after fresh install of Oneric.

Revision history for this message
Nick Campbell (nickcampbell18) wrote :

I've noticed very similar symptoms on a Samsung 700Z laptop with an elantech touchpad. I think it might be a newer model number than is found in this driver? I created a bug #894515 to track this.

Revision history for this message
LaM (l.a.m.) wrote :

Hi all,

I'm on Ubuntu 10.10 with custom compiled kernel (Linux Menetius 3.1.4 #1 SMP PREEMPT Fri Dec 9 18:09:45 CET 2011 x86_64 GNU/Linux)

I'm quite a newbie so plz don't shoot me asking this question: how can I apply this kernel patch?

I mean...I've downloaded kernel 3.1 from kernel.org...then? before compiling how can I apply it?

Thx in advance to whoever will reply!!

Revision history for this message
CDR Services (cdr-) wrote :

I have a QX 410 running ubuntu 11.04 and the trackpad issue is as follows. The Elantec Trackpad or "Magicpad" is misdetected as a generic ps2 mouse so scroll functions aer not available also Trackpad doesn't disable while typing! I hav also tried installing the new Ubuntu 11.10 and the problem is worse in 11.10 the left and right trackpad button both do a left click so context menus and right click options don't work either!

Revision history for this message
Seth Forshee (sforshee) wrote :

On Sun, Jan 01, 2012 at 03:47:40PM -0000, CDR Services wrote:
> I have a QX 410 running ubuntu 11.04 and the trackpad issue is as
> follows. The Elantec Trackpad or "Magicpad" is misdetected as a generic
> ps2 mouse so scroll functions aer not available also Trackpad doesn't
> disable while typing! I hav also tried installing the new Ubuntu 11.10
> and the problem is worse in 11.10 the left and right trackpad button
> both do a left click so context menus and right click options don't work
> either!

Please file a new bug for your issue by running 'ubuntu-bug linux' in a
terminal. Thanks!

Revision history for this message
k-m (k-m) wrote :
Download full text (3.3 KiB)

thanks for helping me detect my mouse.
Here are my xinput, lspci, dmesg, here is what i'm now unsure of, how do I get the touchpad window under mouse options so I can set two finger scrolling or other multitouch functions. when I try synclient, I get the following error.

makezan@700Z3A:~$ synclient
Couldn't find synaptics properties. No synaptics driver loaded?

makezan@700Z3A:~$ xinput list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ PS/2 Elantech Touchpad id=12 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
    ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
    ↳ Power Button id=6 [slave keyboard (3)]
    ↳ Video Bus id=7 [slave keyboard (3)]
    ↳ Video Bus id=8 [slave keyboard (3)]
    ↳ Power Button id=9 [slave keyboard (3)]
    ↳ WebCam SC-13HDL11431N id=10 [slave keyboard (3)]
    ↳ AT Translated Set 2 keyboard id=11 [slave keyboard (3)]

makezan@700Z3A:~$ lspci
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB Controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b4)
00:1c.3 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 4 (rev b4)
00:1c.4 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 5 (rev b4)
00:1d.0 USB Controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation HM65 Express Chipset Family LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller (rev 04)
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 04)
01:00.0 VGA compatible controller: ATI Technologies Inc NI Seymour [AMD Radeon HD 6470M]
02:00.0 Network controller: Intel Corporation Centrino Advanced-N 6230 (rev 34)
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06)
04:00.0 USB Controller: ASMedia Technology Inc. ASM1042 SuperSpeed USB Host Controller

makezan@700Z3A:~$ dmesg | grep PS/2
[ 1.111094] i8042: PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:EPAD] at 0x60,0x64 irq 1,12
[ 1.11456...

Read more...

Revision history for this message
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu laptop testing tracker.

A list of all reports related to this bug can be found here:
http://laptop.qa.ubuntu.com/qatracker/reports/bugs/681904

tags: added: laptop-testing
Changed in linux:
status: Confirmed → Fix Released
Revision history for this message
nik.martin (nik-martin) wrote :

This driver is broken on official kernel 3.8. In linux/drivers/input/mouse/input-mt.c:
function input_mt_init_slots now requires 3 args, with the new arg being flags. I set flags to 0 in synaptics.c:699 in this patch and it re-compiled fine. I have no clue as to what that will break, but I saw in the mainline kernel synaptics.c that's what it was set to.

/**
 * input_mt_init_slots() - initialize MT input slots
 * @dev: input device supporting MT events and finger tracking
 * @num_slots: number of slots used by the device
 * @flags: mt tasks to handle in core
 *
 * This function allocates all necessary memory for MT slot handling
 * in the input device, prepares the ABS_MT_SLOT and
 * ABS_MT_TRACKING_ID events for use and sets up appropriate buffers.
 * Depending on the flags set, it also performs pointer emulation and
 * frame synchronization.
 *
 * May be called repeatedly. Returns -EINVAL if attempting to
 * reinitialize with a different number of slots.
 */
int input_mt_init_slots(struct input_dev *dev, unsigned int num_slots,
                        unsigned int flags)

Revision history for this message
avb (avbweb) wrote :

My specs are: Samsung Series 7 Ultrabook 730U3E, Ubuntu Raring Ringtail 13.04 (development branch), Kernel 3.8.0-15.

I can confirm this bug in raring. Synclient can't find synaptics properties and there is no touchpad-tab in mouse settings gui.

Two-finger-scrolling, edge-scrolling and multi-touch stuff is not working. Left and right buttons are working, though.

---

synclient
Couldn't find synaptics properties. No synaptics driver loaded?

---

xinput -list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ Logitech USB Receiver id=10 [slave pointer (2)]
⎜ ↳ Logitech USB Receiver id=11 [slave pointer (2)]
⎜ ↳ PS/2 Elantech Touchpad id=14 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
    ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
    ↳ Power Button id=6 [slave keyboard (3)]
    ↳ Video Bus id=7 [slave keyboard (3)]
    ↳ Video Bus id=8 [slave keyboard (3)]
    ↳ Power Button id=9 [slave keyboard (3)]
    ↳ WebCam SC-10HDP12631N id=12 [slave keyboard (3)]
    ↳ AT Translated Set 2 keyboard id=13 [slave keyboard (3)]

---

lspci
00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04)
00:16.0 Communication controller: Intel Corporation 7 Series/C210 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 1 (rev c4)
00:1c.3 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 4 (rev c4)
00:1d.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation HM76 Express Chipset LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 7 Series/C210 Series Chipset Family SMBus Controller (rev 04)
01:00.0 Display controller: Advanced Micro Devices [AMD] nee ATI Mars [Radeon HD 8500/8700M Series]
02:00.0 Network controller: Intel Corporation Centrino Advanced-N 6235 (rev 24)
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168 PCI Express Gigabit Ethernet controller (rev 06)

Revision history for this message
avb (avbweb) wrote :

Xorg.log:

[ 740.486] (II) config/udev: Adding input device PS/2 Elantech Touchpad (/dev/input/event12)
[ 740.486] (**) PS/2 Elantech Touchpad: Applying InputClass "evdev pointer catchall"
[ 740.486] (II) Using input driver 'evdev' for 'PS/2 Elantech Touchpad'
[ 740.486] (**) PS/2 Elantech Touchpad: always reports core events
[ 740.486] (**) evdev: PS/2 Elantech Touchpad: Device: "/dev/input/event12"
[ 740.486] (--) evdev: PS/2 Elantech Touchpad: Vendor 0x2 Product 0x1
[ 740.487] (--) evdev: PS/2 Elantech Touchpad: Found 3 mouse buttons
[ 740.487] (--) evdev: PS/2 Elantech Touchpad: Found relative axes
[ 740.487] (--) evdev: PS/2 Elantech Touchpad: Found x and y relative axes
[ 740.487] (II) evdev: PS/2 Elantech Touchpad: Configuring as mouse
[ 740.487] (**) evdev: PS/2 Elantech Touchpad: YAxisMapping: buttons 4 and 5
[ 740.487] (**) evdev: PS/2 Elantech Touchpad: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[ 740.487] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input12/event12"
[ 740.487] (II) XINPUT: Adding extended input device "PS/2 Elantech Touchpad" (type: MOUSE, id 14)
[ 740.487] (II) evdev: PS/2 Elantech Touchpad: initialized for relative axes.
[ 740.487] (**) PS/2 Elantech Touchpad: (accel) keeping acceleration scheme 1
[ 740.487] (**) PS/2 Elantech Touchpad: (accel) acceleration profile 0
[ 740.487] (**) PS/2 Elantech Touchpad: (accel) acceleration factor: 2.000
[ 740.487] (**) PS/2 Elantech Touchpad: (accel) acceleration threshold: 4
[ 740.487] (II) config/udev: Adding input device PS/2 Elantech Touchpad (/dev/input/mouse1)
[ 740.487] (II) No input driver specified, ignoring this device.
[ 740.487] (II) This device may have been added with another device file.

avb (avbweb)
Changed in xserver-xorg-video-intel (Ubuntu Oneiric):
status: Invalid → Confirmed
status: Confirmed → Invalid
Revision history for this message
clemmy (luca-clem) wrote :

I'm very interested in comment #154 by nik.martin. I've understood that I should assign a 0 as the missing arg, but I'm not sure about how to do it in practice.

Line 699 looks like this now:
  input_mt_init_slots(dev, 2);
Should I change it to something like the following?
  input_mt_init_slots(dev, 2, 0);

Thanks a lot for any help

Changed in linux (Ubuntu):
assignee: Seth Forshee (sforshee) → Guilherme Grunewald (pinoya)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

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