Touchpad incorrectly detected

Bug #876386 reported by Barry Drake on 2011-10-17
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Undecided
Unassigned

Bug Description

Samsung N145 Plus Netbook
At first, Touchpad was correctly detected as Name="ETPS/2 Elantech Touchpad" then it failed for no apparent reason. This occurred whether booting from the hard-drive or from a live-CD. Resetting the bios to defaults reactivated the touchpad on the first two occasion, then it failed again and will no longer reset. Will attach more information.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: linux-image-3.0.0-12-generic 3.0.0-12.20
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
Uname: Linux 3.0.0-12-generic i686
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
AplayDevices:
 **** List of PLAYBACK Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: ALC269 Analog [ALC269 Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
ApportVersion: 1.23-0ubuntu3
Architecture: i386
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: ALC269 Analog [ALC269 Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: barry 1451 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xf0400000 irq 47'
   Mixer name : 'Realtek ALC269'
   Components : 'HDA:10ec0269,144dc08f,00100004'
   Controls : 14
   Simple ctrls : 9
Date: Mon Oct 17 12:07:38 2011
HibernationDevice: RESUME=UUID=250e67ee-ebec-4a3e-9a45-1979791d9b8a
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012)
MachineType: SAMSUNG ELECTRONICS CO., LTD. N145P/N250P/N260P
ProcEnviron:
 LANGUAGE=en_GB:en
 PATH=(custom, no user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.0.0-12-generic root=UUID=eb1cdde3-dc70-4627-98b9-867dea53ef69 ro quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-3.0.0-12-generic N/A
 linux-backports-modules-3.0.0-12-generic N/A
 linux-firmware 1.60
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 08/18/2010
dmi.bios.vendor: Phoenix Technologies Ltd.
dmi.bios.version: 01GC.M002.20100818.RHU
dmi.board.asset.tag: SAMSUNG
dmi.board.name: N145P/N250P/N260P
dmi.board.vendor: SAMSUNG ELECTRONICS CO., LTD.
dmi.board.version: Not Applicable
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: SAMSUNG ELECTRONICS CO., LTD.
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnPhoenixTechnologiesLtd.:bvr01GC.M002.20100818.RHU:bd08/18/2010:svnSAMSUNGELECTRONICSCO.,LTD.:pnN145P/N250P/N260P:pvrNotApplicable:rvnSAMSUNGELECTRONICSCO.,LTD.:rnN145P/N250P/N260P:rvrNotApplicable:cvnSAMSUNGELECTRONICSCO.,LTD.:ct10:cvrN/A:
dmi.product.name: N145P/N250P/N260P
dmi.product.version: Not Applicable
dmi.sys.vendor: SAMSUNG ELECTRONICS CO., LTD.

Barry Drake (b-drake) wrote :
Barry Drake (b-drake) wrote :

Attachment added - dmesg output

Brad Figg (brad-figg) on 2011-10-17
Changed in linux (Ubuntu):
status: New → Confirmed
Barry Drake (b-drake) wrote :

Attachment added output from evtest

Barry Drake (b-drake) wrote :

This is the output from cat /proc/bus/input/devices when the pad was working

Barry Drake (b-drake) wrote :

This is the output from cat /proc/bus/input/devices after pad stopped working

Joseph Salisbury (jsalisbury) wrote :

Would it be possible for you to test the latest upstream kernel? It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the release candidate kernel versus the daily build. Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. Please let us know your results.

Thanks in advance.

tags: added: needs-upstream-testing

On 17/10/11 15:46, Joseph Salisbury wrote:
> Would it be possible for you to test the latest upstream kernel?
I've downloaded and installed :
http://kernel.ubuntu.com/~kernel-ppa/mainline/drm-intel-next/current/linux-image-3.1.0-997-generic_3.1.0-997.201108301803_i386.deb
Unfortunately, it doesn't fix my problem. I wonder if I got the kernel
you wanted me to try? The links I tried to follow on the page you got
me to mostly don't work, so I went to the archive. If I got the wrong
kernel, maybe you could point me to the right one please.

Regards, Barry.
-- Barry Drake is a member of the the Ubuntu Advertising team.
http://ubuntuadverts.org/

Seth Forshee (sforshee) wrote :

After you test the latest upstream kernel, I'd also appreciate it if you could download the package from the following link:

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

After downloading, you can install it either by double-clicking on the downloaded file or else by opening a terminal and running 'sudo dpkg -i psmouse-elantech-debug-dkms_0.1_all.deb' from the directory where you downloaded the file. This will install a new version of the mouse driver with extra debug information enabled. To begin using the new driver you need to run 'sudo modprobe -r psmouse; sudo modprobe psmouse' in a terminal. It will also be used when you reboot the computer.

I want you to capture two traces when using the new driver, one when it is working properly and one when it isn't. When it is working run 'dmesg > dmesg-working.txt' in a terminal, and when it isn't run 'dmesg > dmesg-nonworking.txt'. Then please attach dmesg-working.txt and dmesg-nonworking.txt to this bug.

One thing to note -- if you have this package installed when testing the upstream kernel it will probably use the debug driver in preference to the one included in the upstream kernel package. This is not useful, so please test the upstream kernel before installing the debug driver package.

Thanks!

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Barry Drake (b-drake) wrote :

I've downloaded and installed a kernel from : http://kernel.ubuntu.com/~kernel-ppa/mainline/drm-intel-next/current/linux-image-3.1.0-997-generic_3.1.0-997.201108301803_i386.deb Unfortunately, it doesn't fix my problem.

I wonder if I got the kernel you wanted me to try? The links I tried to follow on the page you got me to mostly don't work, so I went to the archive. If I got the wrong kernel, maybe you could point me to the right one please. I'm more than happy to spend time on this one.

Seth Forshee (sforshee) wrote :

Barry: That should be good enough, although the build in http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.1-rc9-oneiric/ would have been fine (you don't need the bleeding-edge Intel graphics stuff that's in the one you actually tested, which could be unstable). Please go ahead and collect the dumps I requested with the test driver, using the stock Ubuntu kernel. You can go ahead and uninstall the mainline build you tested. Thanks!

Barry Drake (b-drake) wrote :

Here's the dmesg output with it not working - I absolutely can't get it to work any more so I can't give you a dmesg output for that. Sorry.

Seth Forshee (sforshee) wrote :

Barry: Have you tried powering off the machine and removing the battery for 30 seconds or so? It may get it working or it may not, but it's worth a try.

Can you also collect the nonworking dump again with the driver linked to below? I added some additional debugging that may be helpful. Thanks!

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

Barry Drake (b-drake) wrote :

Yes - the first thing I tried was removing the battery. I've done that each time I tried anything new. I've attached a further dump with the debug module 0.2 BUT I'd already removed the kernel and am now running 3.0.0-12 Your module did build and install OK and modprobe with a -v parameter shows no errors. If you want another test with a different kernel just point me to it. Thanks.

Barry Drake (b-drake) wrote :

The kernel upgrade and downgrade has killed the wi-fi both internal and an external dongle, so tomorrow I'm going to re-install 11.10 with whtever kernel you want me to have. I've save the psmouse module v0.2 on a pendrive, so can easily pop it back and re-try.

Seth Forshee (sforshee) wrote :

The log is showing that the "magic knock" for detecting elantech touchpads is failing. I have some ideas of what to try next, but I'll be away until next week and won't be able to get you a new driver to test until then.

Barry Drake (b-drake) wrote :

Is there any possibility that this could be a hardware fault? Anyhow, when you get back I'll try whatever you send me. I'm in Nottingham UK - if you are close to there I could bring the machine.

Barry Drake (b-drake) wrote :

SOLVED!! There is an intermittent connection on the touchpad circuitry. When the bottom of the casing is removed, the touchpad works just fine with the current kernel. Sorry for all the trouble you o went to on this one. There is clearly no problem on this netbook with Ubuntu.

Changed in linux (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.