Alps touchpad is recognized but synaptics clients and scrolling do not work

Bug #550625 reported by Mary
This bug affects 449 people
Affects Status Importance Assigned to Milestone
Linux
Fix Released
Medium
Touchpad-indicator
Invalid
Undecided
Unassigned
Baltix
Invalid
Undecided
Unassigned
linux (Fedora)
New
Undecided
Unassigned
linux (Ubuntu)
Fix Released
Medium
Andy Whitcroft
Lucid
Invalid
Medium
Unassigned
Maverick
Invalid
Medium
Unassigned
xserver-xorg-input-synaptics (Ubuntu)
Invalid
Undecided
Unassigned
Lucid
Invalid
Undecided
Unassigned
Maverick
Invalid
Undecided
Unassigned

Bug Description

SRU Justification:

Impact: The end result of the commit is loss of scroll support, with no
extra functionality gained.

How addressed: By reverting the commit, the previously enabled scroll
support is reestablished through the ImPS/2 extension.

Reproduction: Run current Ubuntu kernel on affected hardware. Scroll
functionality present in previous Ubuntu releases is now missing.

Regression Potential: Since this is a revert of a one-line device id,
the regression potential is minimal. The device should fall back to
ImPS/2 protocol without issue.

=====

Binary package hint: xserver-xorg-input-synaptics

I have Ubuntu 9.10 and an Alps touchpad (E7: 73 02 64). Chase fixed the kernel so that it was recognized and, indeed, the touchpad shows up in both gsynaptics and system>preferences>mouse, but when I actually try to adjust the settings nothing changes. My goal is to disable the tap-to-click feature or disable the touchpad when typing. Chase suggests it may be something related to the driver and to open another bug.

ProblemType: Bug
Architecture: i386
Date: Sun Mar 28 22:02:25 2010
DistroRelease: Ubuntu 9.10
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
MachineType: Hewlett-Packard HP Pavilion dm3 Notebook PC
Package: xserver-xorg-input-synaptics 1.1.2-1ubuntu7
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.31-21-generic root=UUID=f1e2e19e-a0f8-407d-9533-c5ba95a8be50 ro quiet splash
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-21.58~alps4-generic
RelatedPackageVersions:
 xserver-xorg 1:7.4+3ubuntu10
 libgl1-mesa-glx 7.6.0-1ubuntu4
 libdrm2 2.4.14-1ubuntu1
 xserver-xorg-video-intel 2:2.9.0-1ubuntu2.1
 xserver-xorg-video-ati 1:6.12.99+git20090929.7968e1fb-0ubuntu1
SourcePackage: xserver-xorg-input-synaptics
Uname: Linux 2.6.31-21-generic i686
XorgConf:
 Section "InputDevice"
  Identifier "Macintosh mouse button emulation"
  Driver "synaptics"
  Option "SHMConfig" "true"
 EndSection
dmi.bios.date: 12/04/2009
dmi.bios.vendor: Insyde Corp.
dmi.bios.version: F.22
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: 3656
dmi.board.vendor: Hewlett-Packard
dmi.board.version: 44.1D
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnInsydeCorp.:bvrF.22:bd12/04/2009:svnHewlett-Packard:pnHPPaviliondm3NotebookPC:pvr0486110000241F00110320000:rvnHewlett-Packard:rn3656:rvr44.1D:cvnHewlett-Packard:ct10:cvrN/A:
dmi.product.name: HP Pavilion dm3 Notebook PC
dmi.product.version: 0486110000241F00110320000
dmi.sys.vendor: Hewlett-Packard
fglrx: Not loaded
system:
 distro: Ubuntu
 architecture: i686kernel: 2.6.31-21-generic

Revision history for this message
Mary (mtaussig44) wrote :
Revision history for this message
Mary (mtaussig44) wrote :

Also, I lost my ability to scroll with the edge of the touchpad when the kernel was fixed.

Bryce Harrington (bryce)
tags: added: karmic
Revision history for this message
Topher (hunt-topher) wrote :

Mostly same here on my HP Mini 311. However my device isn't even recognized as a touchpad; it's recognized as a generic mouse, thus there's no "Touchpad" tab in mouse preferences. When I try to activate syndaemon it says that there's no synaptics device found, so there's no way to disable tapping while typing... highly annoying.

Will attach my relevant files since my circumstance seems slightly different from above.

Revision history for this message
Topher (hunt-topher) wrote :

Confirming that this problem also exists in Ubuntu 10.04 Karmic beta 1 (ie, touchpad is recognized as a generic mouse device) on HP Mini 311.

Revision history for this message
Mary (mtaussig44) wrote : Re: [Bug 550625] Re: Alps touchpad is recognized but neither gsynaptics nor mouse preferences work
Download full text (3.4 KiB)

Topher, take a look at Bug 545307. There you will see that Chase recently
developed a patch for the Kernel for recognizing Alps touchpad type listed.
It worked for me. For me, now the tabs show up for me, but the settings
don't adjust. I am not sure if my problem with that is unique to me
(because we were messing around trying to fix it earlier) or whether every
one will have it. But if you have the same type of touchpad and can find the
patch and install it, it is worth a try

On Tue, Mar 30, 2010 at 8:01 PM, Topher <email address hidden> wrote:

> Confirming that this problem also exists in Ubuntu 10.04 Karmic beta 1
> (ie, touchpad is recognized as a generic mouse device) on HP Mini 311.
>
> --
> Alps touchpad is recognized but neither gsynaptics nor mouse preferences
> work
> https://bugs.launchpad.net/bugs/550625
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “xserver-xorg-input-synaptics” package in Ubuntu: New
>
> Bug description:
> Binary package hint: xserver-xorg-input-synaptics
>
> I have Ubuntu 9.10 and an Alps touchpad (E7: 73 02 64). Chase fixed the
> kernel so that it was recognized and, indeed, the touchpad shows up in both
> gsynaptics and system>preferences>mouse, but when I actually try to adjust
> the settings nothing changes. My goal is to disable the tap-to-click feature
> or disable the touchpad when typing. Chase suggests it may be something
> related to the driver and to open another bug.
>
> ProblemType: Bug
> Architecture: i386
> Date: Sun Mar 28 22:02:25 2010
> DistroRelease: Ubuntu 9.10
> InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
> MachineType: Hewlett-Packard HP Pavilion dm3 Notebook PC
> Package: xserver-xorg-input-synaptics 1.1.2-1ubuntu7
> ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.31-21-generic
> root=UUID=f1e2e19e-a0f8-407d-9533-c5ba95a8be50 ro quiet splash
> ProcEnviron:
> LANG=en_US.UTF-8
> SHELL=/bin/bash
> ProcVersionSignature: Ubuntu 2.6.31-21.58~alps4-generic
> RelatedPackageVersions:
> xserver-xorg 1:7.4+3ubuntu10
> libgl1-mesa-glx 7.6.0-1ubuntu4
> libdrm2 2.4.14-1ubuntu1
> xserver-xorg-video-intel 2:2.9.0-1ubuntu2.1
> xserver-xorg-video-ati 1:6.12.99+git20090929.7968e1fb-0ubuntu1
> SourcePackage: xserver-xorg-input-synaptics
> Uname: Linux 2.6.31-21-generic i686
> XorgConf:
> Section "InputDevice"
> Identifier "Macintosh mouse button emulation"
> Driver "synaptics"
> Option "SHMConfig" "true"
> EndSection
> dmi.bios.date: 12/04/2009
> dmi.bios.vendor: Insyde Corp.
> dmi.bios.version: F.22
> dmi.board.asset.tag: Base Board Asset Tag
> dmi.board.name: 3656
> dmi.board.vendor: Hewlett-Packard
> dmi.board.version: 44.1D
> dmi.chassis.type: 10
> dmi.chassis.vendor: Hewlett-Packard
> dmi.chassis.version: N/A
> dmi.modalias:
> dmi:bvnInsydeCorp.:bvrF.22:bd12/04/2009:svnHewlett-Packard:pnHPPaviliondm3NotebookPC:pvr0486110000241F00110320000:rvnHewlett-Packard:rn3656:rvr44.1D:cvnHewlett-Packard:ct10:cvrN/A:
> dmi.product.name: HP Pavilion dm3 Notebook PC
> dmi.product.version: 0486110000241F00110320000
> dmi.sys.vendor: Hewlett-Packard
> fglrx: Not loaded
> system:
> distro: Ubunt...

Read more...

Revision history for this message
Topher (hunt-topher) wrote : Re: Alps touchpad is recognized but neither gsynaptics nor mouse preferences work

Thanks for the tip Mary. I installed the patch. No luck! No touchpad tab in mouse prefs, no synaptics driver installed. Perhaps our hardware is a little different. Either way, I hope this bug isn't going to be as thorny as it looks... I'm resorting to a piece of cardboard taped over the touchpad just to type now.

Revision history for this message
J. McDonald (mcdonald-joseph) wrote :

I also have this problem with the ALPS GlidePoint trackpad on my HP Mini 311 on Lucid Beta 2. The buttons and tap to click work but edge scrolling quite working, changes to "Mouse Preferences" have no impact and 2-finger scroll is grayed-out of mouse preferences. This was working until a daily build approximately 2-3 days ago.

Revision history for this message
Alberto Milone (albertomilone) wrote :

@J. McDonald
2-finger scroll is grayed-out because (somehow) the kernel detected that you trackpad doesn't support multitouch (i.e. the last two values of the Synaptics capabilities property should be 0). If it used to work, then it's definitely a kernel issue.

@Topher
I think you're still experiencing a kernel issue and your touchpad is being detected as a mouse. The output of dmesg and your /var/log/Xorg.0.log should help me confirm my theory.

Revision history for this message
Alberto Milone (albertomilone) wrote :

I'm subscribing Chase as he might have an idea about what's happening to J. McDonald's touchpad in the kernel.

Revision history for this message
Alberto Milone (albertomilone) wrote :

@Mary
What's the output of the following command?
xinput list-props "AlpsPS/2 ALPS GlidePoint"

Revision history for this message
J. McDonald (mcdonald-joseph) wrote :

I did try booting into the older kernel (2.6.32-20). Edge scrolling suddenly reappeared but the trackpad tab disappeared from mouse preferences. My Xorg.0 log is attached. I will also attach dmesg in a few minutes

Revision history for this message
J. McDonald (mcdonald-joseph) wrote :

Here is the dmesg

Revision history for this message
J. McDonald (mcdonald-joseph) wrote :

Just to reiterate, with current kernel versions in Lucid beta 2 over the last couple of days, edge scrolling is disabled, it is selectable from "Mouse Preferences" but selecting or deselecting any option in "Mouse Preferences" has no impact on the trackpads function. I don't use 2-finger scrolling, but I did notice it was grayed-out and I though I should include that description for completeness. Edge scrolling returns when reverting to an older kernel version at time of boot using grub, but if I do this the tab for the trackpad disappears and while it seems to function fine, it no longer appears to be recognized by either "Mouse Preferences" or by "GPointing Device Settings". Using the latest kernel versions (2.6.33-20, -21) the trackpad is definitely showing up as an ALPS GlidePoint within GPointing Device, but as with Mouse Settings none of the selectable options appear to change anything with respect to trackpad function. Thanks again for your assistance with this issue.

Revision history for this message
tob (tobynbertram) wrote :

I have a Sony Vaio VPCF11 which also uses the AlpsPS/2 ALPS GlidePoint (E7: 73 02 64) running Kubuntu 10.04 beta 2. My problems with the touchpad are identical to Mary's. xinput list-props shows a large list of touchpad properties. Furthermore, changes that are made in the KDE touchpad GUI are reflected in the output of xinput list-props. xinput test "AlpsPS/2 ALPS GlidePoint" shows no response from the touchpad while xinput test "PS/2 Mouse" outputs the relative movements and button press events of the touchpad.

There is a duplicate bug here:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/527890

More info here:
http://ubuntuforums.org/showthread.php?t=1316361&page=2

Revision history for this message
J. McDonald (mcdonald-joseph) wrote :

I can confirm that xinput test "PS/2 Mouse" outputs relative movements in kernel 2.6.32-21 and -20 while xinput test "AlpsPS/2 ALPS GlidePoint" shows no response. In kernel 2.6.31-21, xinput test "ImPS/2 Generic Wheel Mouse" outputs relative movements for the ALPS GlidePoint in the HP Mini 311.

Revision history for this message
J. McDonald (mcdonald-joseph) wrote :

I checked output from lsmod. It does not show synaptics as loaded.

Revision history for this message
Mary (mtaussig44) wrote :

Alberto - sorry I didn't see your request earlier! Here it is.

Revision history for this message
J. McDonald (mcdonald-joseph) wrote :

Mary - your xinput list props looks similar to mine, but in my case xinput test confirms that it's actually "PS/2 Mouse" that is being used instead of "AlpsPS/2 ALPS GlidePoint". Are you able to get any output from xinput test "AlpsPS/2 ALPS GlidePoint" when you use the trackpad?

Revision history for this message
alabamas (a-huqi) wrote :

I think that is something related to driver,

Maybe Absolute mode is not working the way it should.
The Scrolling on Alps is managed by the absolute mode.
So if someone is able to debug the absolute mode please help!!!!

Thanks.

Revision history for this message
J. McDonald (mcdonald-joseph) wrote :

Could this be a bug in evdev?

Revision history for this message
Chase Douglas (chasedouglas) wrote :

I'd prefer to leave this bug unduplicated, since I've been following this bug and will be working on it shortly.

Thanks

Revision history for this message
J. McDonald (mcdonald-joseph) wrote :

That sounds good. I probably should not have marked the duplication without fully understanding the implications. Thanks for working on this bug.

Revision history for this message
Chase Douglas (chasedouglas) wrote :

J, McDonald:

Just so you know, marking bugs as duplicates is generally a good thing and helps keep bugs manageable. Definitely keep doing what you're doing. It's just that in this case, I have a history with this bug, so I want to work through things here. If this is marked as a duplicate, it gets removed from all the bug lists. It's just a matter of preference and ease for me as I try to work it.

Thanks

Revision history for this message
Mary (mtaussig44) wrote : Re: [Bug 550625] Re: Alps touchpad is recognized but neither gsynaptics nor mouse preferences work
Download full text (3.4 KiB)

No, I don't get any output. (I think I did what you suggested - put xinput
test "AlpsPS/2 ALPS GlidePoint" as a command in the terminal and nothing
came up, although when I tried to close the terminal a message came up
saying a process was running and I would kill it when I closed the
terminal. I waited a long time, but nothing happened, so I closed it.)

On Sat, Apr 17, 2010 at 10:47 AM, J. McDonald <
<email address hidden>> wrote:

> Mary - your xinput list props looks similar to mine, but in my case
> xinput test confirms that it's actually "PS/2 Mouse" that is being used
> instead of "AlpsPS/2 ALPS GlidePoint". Are you able to get any output
> from xinput test "AlpsPS/2 ALPS GlidePoint" when you use the trackpad?
>
> --
> Alps touchpad is recognized but neither gsynaptics nor mouse preferences
> work
> https://bugs.launchpad.net/bugs/550625
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “xserver-xorg-input-synaptics” package in Ubuntu: New
>
> Bug description:
> Binary package hint: xserver-xorg-input-synaptics
>
> I have Ubuntu 9.10 and an Alps touchpad (E7: 73 02 64). Chase fixed the
> kernel so that it was recognized and, indeed, the touchpad shows up in both
> gsynaptics and system>preferences>mouse, but when I actually try to adjust
> the settings nothing changes. My goal is to disable the tap-to-click feature
> or disable the touchpad when typing. Chase suggests it may be something
> related to the driver and to open another bug.
>
> ProblemType: Bug
> Architecture: i386
> Date: Sun Mar 28 22:02:25 2010
> DistroRelease: Ubuntu 9.10
> InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
> MachineType: Hewlett-Packard HP Pavilion dm3 Notebook PC
> Package: xserver-xorg-input-synaptics 1.1.2-1ubuntu7
> ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.31-21-generic
> root=UUID=f1e2e19e-a0f8-407d-9533-c5ba95a8be50 ro quiet splash
> ProcEnviron:
> LANG=en_US.UTF-8
> SHELL=/bin/bash
> ProcVersionSignature: Ubuntu 2.6.31-21.58~alps4-generic
> RelatedPackageVersions:
> xserver-xorg 1:7.4+3ubuntu10
> libgl1-mesa-glx 7.6.0-1ubuntu4
> libdrm2 2.4.14-1ubuntu1
> xserver-xorg-video-intel 2:2.9.0-1ubuntu2.1
> xserver-xorg-video-ati 1:6.12.99+git20090929.7968e1fb-0ubuntu1
> SourcePackage: xserver-xorg-input-synaptics
> Uname: Linux 2.6.31-21-generic i686
> XorgConf:
> Section "InputDevice"
> Identifier "Macintosh mouse button emulation"
> Driver "synaptics"
> Option "SHMConfig" "true"
> EndSection
> dmi.bios.date: 12/04/2009
> dmi.bios.vendor: Insyde Corp.
> dmi.bios.version: F.22
> dmi.board.asset.tag: Base Board Asset Tag
> dmi.board.name: 3656
> dmi.board.vendor: Hewlett-Packard
> dmi.board.version: 44.1D
> dmi.chassis.type: 10
> dmi.chassis.vendor: Hewlett-Packard
> dmi.chassis.version: N/A
> dmi.modalias:
> dmi:bvnInsydeCorp.:bvrF.22:bd12/04/2009:svnHewlett-Packard:pnHPPaviliondm3NotebookPC:pvr0486110000241F00110320000:rvnHewlett-Packard:rn3656:rvr44.1D:cvnHewlett-Packard:ct10:cvrN/A:
> dmi.product.name: HP Pavilion dm3 Notebook PC
> dmi.product.version: 0486110000241F00110320000
> dmi.sys.vendor: Hewlett-Packard
> fglrx: Not loaded
> s...

Read more...

Revision history for this message
Chase Douglas (chasedouglas) wrote : Re: Alps touchpad is recognized but neither gsynaptics nor mouse preferences work

All the properties look correct to me. The right edge is defined as anything to the right of value 870. I suggest we try to find out what X values are being reported when we attempt to scroll on the right edge of the touchpad. Someone please test the following:

You will want to print out or write down these instructions as we will be changing to a VT for part of it. You can switch back and forth using chvt if you want, but if you are unfamiliar it will be easiest to run through these steps verbatim. If you get stuck in a text terminal and don't know how to get out, run "sudo chvt 7".

$ sudo apt-get install input-utils evtest
$ sudo chvt 1

log in as your normal user

$ sudo lsinput

Find your mouse, should be something like "AlpsPS/2 ALPS GlidePoint". Now copy the "/dev/input/event#" line for the mouse.

$ sudo evtest [/dev/input/event# from previous step] | tee evtest.dump

Now run your finger across the trackpad in three motions:

1. Left to right across the middle of the touchpad
2. Top to bottom across the middle of the touchpad
3. Top to bottom across the right edge as though you are trying to scroll

You will see a ton of output flow across the screen. You may ignore the output, it's just there so you're sure it's working. The output is being saved to evtest.dump. When done:

$ sudo chvt 7

Finally, upload the evtest.dump file here. With this data we should be able to figure out if the edges reported to the synaptics X driver is correct.

Thanks

Revision history for this message
TuxInvader (tuxinvader) wrote :

done this.... My alps has no output (event8), but I also have a ps2 mouse on event7, all data appears on this input.

See attached: events.tgz

Revision history for this message
Chase Douglas (chasedouglas) wrote :

@tuxinvader:

Were you in the VT when you ran evtest? If you run evtest while in the desktop X session, you won't receive anything. That's why I have the chvt in the instructions.

I worry that the ps2 mouse events won't be comparable to the synaptics events.

Thanks

Revision history for this message
TuxInvader (tuxinvader) wrote :

I wasn't, I was logged on via ssh.

I have just tested it again on the console (/dev/tty1), and I get exactly the same output. Nothing on the ALPS device, everything on the PS2 mouse device.

Revision history for this message
J. McDonald (mcdonald-joseph) wrote :

I changed to VT and ran lsinput but the event number lines scrolled by so fast that I couldn't see which one corresponded to the ALPS Glidepoint. Is it OK to do lsinput from a terminal window in Gnome to get the event number and then switch to VT to run the test?

Revision history for this message
J. McDonald (mcdonald-joseph) wrote :

I just figured it out:

sudo lsinput | less

enter for each and then q when it reaches the end

I'm slowly learning...

Revision history for this message
J. McDonald (mcdonald-joseph) wrote :

In VT, I did:

$ sudo lsinput | less

and found "AlpsPS/2 ALPS GlidePoint" at

/dev/input/event7

so then I did:

$ sudo evtest /dev/input/event7 | tee evtest.dump

and wound up with a blinking cursor and no output at all corresponding to input from the trackpad. I had to do a forced shutdown to get out of it. I will check to see if evtest.dump was created and post output here if I find it.

Revision history for this message
Chase Douglas (chasedouglas) wrote :

@J. McDonald:

I'm sorry, sometimes I forget not everyone is a kernel hacker :). If you run a command at the command line and you need to stop it, hitting ctrl+c usually does the trick. That's what I would have used in this instance. I should have been more clear.

So this is confirmation that there is still an issue with the kernel driver. Even though the driver recognizes the device, it's not processing any packets. I will make a test kernel to determine what is going wrong.

Thanks

Revision history for this message
J. McDonald (mcdonald-joseph) wrote :

I only aspire to be a kernel hacker - but I'll get there someday! I can load up a test kernel and give it a try if that would help with the debugging. Thanks again.

Revision history for this message
J. McDonald (mcdonald-joseph) wrote :

I while in VT I confirmed what Tuxinvader found. This time around "AlpsPS/2 ALPS GlidePoint" was at /dev/input/event9 and "PS/2 Mouse" was at /dev/input/event8.

Like Tuxinvager, I was able to get the trackpad to output but only with

$ sudo evtest /dev/input/event8 | tee evtest2.dump

evtest2.dump is attached. As with the last go round, doing

$ sudo evtest /dev/input/event9 | tee evtest1.dump

gave no output from the trackpad. I quite with CRTL-C (thanks) and the resulting evtest1.dump file was empty. So the ALPS trackpad is using the PS/2 Mouse driver. Surprising that it works at all. Very strange. Are there any hints in the dmesg or Xorg.0.log?

Revision history for this message
J. McDonald (mcdonald-joseph) wrote :

There seems to have been an earlier problem where psmouse loading prior to synaptics would prevent synaptics from loading:

http://ubuntuforums.org/showthread.php?t=1035407

A temporary workaround was to blacklist psmouse and load the module after boot from rc.local

I checked the loaded modules and it does look like synaptics is not loading, so maybe this issue has been around for awhile.

Revision history for this message
Chase Douglas (chasedouglas) wrote :

@J. McDonald:

Good find! I would appreciate it if someone could test if blacklisting psmouse solves the issue. Be aware though, that if you blacklist psmouse and the alps driver still isn't working, then you may have difficulties in the desktop session :). If you find yourself in this situation, switch to a VT using 'ctrl+alt+1', log in, and use "sudo rm /etc/modprobe.d/touchpad" to delete the blacklist. Then run 'sudo restart gdm' to start the X desktop again.

The maintainer of the input subsystem of the kernel noted that this could also be due to a new ALPS protocol. If that's the case, we may have difficulties determining how to talk to these new mice.

Revision history for this message
Topher (hunt-topher) wrote :

Heh, I tried blacklisting psmouse in /etc/modprobe.d/touchpad, but it just disabled my touchpad altogether. :-) I checked Mouse preferences just in case Synaptics might have loaded improperly, but there was still no "Touchpad" tab. So I un-blacklisted again.

Revision history for this message
TuxInvader (tuxinvader) wrote :

Fixed it. There's a ubuntu specific patch which adds the following line to the alps kernel driver alps.c:

   { { 0x73, 0x02, 0x64 }, 0xf8, 0xf8, 0 }, /* HP Pavilion dm3 */

Commenting out this new device fixes the ALPs on the HP mini 311c ;-)

Revision history for this message
Topher (hunt-topher) wrote :

Awesome. Is there a standard way to test this fix on my machine? I'm not a kernel hacker either...

Revision history for this message
TuxInvader (tuxinvader) wrote :

You can try my module if you wish.... The only other way would be for you to compile your own kernel....

Download the psmouse.ko file attached, and then in a console (from the directory containing my module) run:

$ sudo rmmode psmouse
$ sudo insmod psmouse.ko

I should warn you about the dangers of installing kernel modules produced by people you don't know on the internet ;-)

You can trust me though :-p

Revision history for this message
tob (tobynbertram) wrote :

@tuxinvader
You are actually taking a step backwards by commenting out that line in alps.c. Chase put that line in there so the "AlpsPS/2 ALPS GlidePoint" would be recognized in the kernel. I realize that you probably have vertical scrolling back however none of the other functions in Synaptics work properly. Do you have a touchpad tab in mouse prefs?

@Topher
Do you have a touchpad tab in mouse prefs? If not, you probably don't have that line in your kernel anyways.

Revision history for this message
TuxInvader (tuxinvader) wrote :

I was not aware of that, but, granted my touchpad option has disappeared... but I'd rather have a working touchpad that I can't configure, than a broken one which I can ;-)

Revision history for this message
Mary (mtaussig44) wrote : Re: [Bug 550625] Re: Alps touchpad is recognized but neither gsynaptics nor mouse preferences work
Download full text (3.7 KiB)

This is all way beyond my skills, but let me know if you need me to do
anything (you'll have to walk me through it). It sounds like you are making
headway, so I'll be watching for a solution I can easily install! Thank you
all for your work!

On Tue, Apr 20, 2010 at 9:24 AM, Chase Douglas
<email address hidden>wrote:

> @J. McDonald:
>
> Good find! I would appreciate it if someone could test if blacklisting
> psmouse solves the issue. Be aware though, that if you blacklist psmouse
> and the alps driver still isn't working, then you may have difficulties
> in the desktop session :). If you find yourself in this situation,
> switch to a VT using 'ctrl+alt+1', log in, and use "sudo rm
> /etc/modprobe.d/touchpad" to delete the blacklist. Then run 'sudo
> restart gdm' to start the X desktop again.
>
> The maintainer of the input subsystem of the kernel noted that this
> could also be due to a new ALPS protocol. If that's the case, we may
> have difficulties determining how to talk to these new mice.
>
> --
> Alps touchpad is recognized but neither gsynaptics nor mouse preferences
> work
> https://bugs.launchpad.net/bugs/550625
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “xserver-xorg-input-synaptics” package in Ubuntu: New
>
> Bug description:
> Binary package hint: xserver-xorg-input-synaptics
>
> I have Ubuntu 9.10 and an Alps touchpad (E7: 73 02 64). Chase fixed the
> kernel so that it was recognized and, indeed, the touchpad shows up in both
> gsynaptics and system>preferences>mouse, but when I actually try to adjust
> the settings nothing changes. My goal is to disable the tap-to-click feature
> or disable the touchpad when typing. Chase suggests it may be something
> related to the driver and to open another bug.
>
> ProblemType: Bug
> Architecture: i386
> Date: Sun Mar 28 22:02:25 2010
> DistroRelease: Ubuntu 9.10
> InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
> MachineType: Hewlett-Packard HP Pavilion dm3 Notebook PC
> Package: xserver-xorg-input-synaptics 1.1.2-1ubuntu7
> ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.31-21-generic
> root=UUID=f1e2e19e-a0f8-407d-9533-c5ba95a8be50 ro quiet splash
> ProcEnviron:
> LANG=en_US.UTF-8
> SHELL=/bin/bash
> ProcVersionSignature: Ubuntu 2.6.31-21.58~alps4-generic
> RelatedPackageVersions:
> xserver-xorg 1:7.4+3ubuntu10
> libgl1-mesa-glx 7.6.0-1ubuntu4
> libdrm2 2.4.14-1ubuntu1
> xserver-xorg-video-intel 2:2.9.0-1ubuntu2.1
> xserver-xorg-video-ati 1:6.12.99+git20090929.7968e1fb-0ubuntu1
> SourcePackage: xserver-xorg-input-synaptics
> Uname: Linux 2.6.31-21-generic i686
> XorgConf:
> Section "InputDevice"
> Identifier "Macintosh mouse button emulation"
> Driver "synaptics"
> Option "SHMConfig" "true"
> EndSection
> dmi.bios.date: 12/04/2009
> dmi.bios.vendor: Insyde Corp.
> dmi.bios.version: F.22
> dmi.board.asset.tag: Base Board Asset Tag
> dmi.board.name: 3656
> dmi.board.vendor: Hewlett-Packard
> dmi.board.version: 44.1D
> dmi.chassis.type: 10
> dmi.chassis.vendor: Hewlett-Packard
> dmi.chassis.version: N/A
> dmi.modalias:
> dmi:bvnInsydeCorp.:bvrF.22:bd12/04/2009:svnHewlett-Pack...

Read more...

Revision history for this message
Chase Douglas (chasedouglas) wrote : Re: Alps touchpad is recognized but neither gsynaptics nor mouse preferences work

I would like to do some initial debugging to figure out what is going on. I would appreciate it if someone could perform the following steps:

$ sudo sh -c "echo ':mod:psmouse' > /sys/kernel/debug/tracing/set_ftrace_filter"
$ sudo sh -c "echo 1 > /sys/kernel/debug/tracing/tracing_enabled"
$ sudo sh -c "echo 1 > /sys/kernel/debug/tracing/tracing_on"
$ sudo sh -c "echo function_graph > /sys/kernel/debug/tracing/current_tracer"

Now run your finger across the trackpad once.

$ bzip2 -c /sys/kernel/debug/tracing/trace > trace.bz2
$ sudo sh -c "echo nop > /sys/kernel/debug/tracing/current_tracer"

Finally, attach trace.bz2 here.

Thanks

Revision history for this message
TuxInvader (tuxinvader) wrote :

trace attached....

Revision history for this message
TuxInvader (tuxinvader) wrote :

I'm going out in a bit, but I have run a few traces....

official.bz2 == Current Lucid kernel (finger run across pad)
my-mod.bz2 == My reverted driver (finger run across pad)
official-scroll.bz2 == Current Lucid kernel (finger run up/down scroll section)
my-mod-scroll.bz2 == My reverted driver (finger run up/down scroll section)

Hope it helps.

Cheers,
Mark

Revision history for this message
Chase Douglas (chasedouglas) wrote :

I'll take a look at the traces.

I just want to thank you all for testing this so quickly! It is much appreciated!

Thanks!

Revision history for this message
Chase Douglas (chasedouglas) wrote :

I've made a test i386 psmouse module that will print out the ps/2 packets that are not handled by the alps driver. I would appreciate it if someone would test it:

$ wget http://people.canonical.com/~cndougla/550625/v1/psmouse.ko
$ sudo rmmod psmouse
$ sudo insmod psmouse

Run your finger across the touchpad

$ dmesg > dmesg-debugv1.log
$ sudo rmmod psmouse
$ sudo modprobe psmouse

Finally, attach the dmesg-debugv1.log file here.

If someone is running amd64 and needs a compatible module please let me know.

Thanks

Revision history for this message
tob (tobynbertram) wrote :

I can do it on my lunch break if you can provide a amd64 module in the next hour.

Revision history for this message
Chase Douglas (chasedouglas) wrote :
Revision history for this message
tob (tobynbertram) wrote :

I followed your instructions with "suod insmod psmouse-amd64.ko" instead of "sudo insmod psmouse" because the file wasn't found. Thanks for all of your help.

Revision history for this message
Chase Douglas (chasedouglas) wrote :

I've uploaded a new version of the psmouse module to http://people.canonical.com/~cndougla/550625/v2/. This version of the module adds the ALPS_PASS option for this hardware. The ALPS_PASS option must be enabled or disabled properly or else absolute events will not be enabled. My hope is that by using this option the absolute events will work once again. Please test it out and report whether it is working or not.

If it still fails to work, I would appreciate another set of logs from the instructions I provided in comments #44 and #48.

Thanks

Revision history for this message
J. McDonald (mcdonald-joseph) wrote :

Wow - I go to work for 10 hours and out for a couple of beers afterwards and in the meantime things have progressed at quite a clip. I tried v2 and ran comment 48 first, then 44. I am uploading the two files. Let me know if there is anything else I can do.

Revision history for this message
J. McDonald (mcdonald-joseph) wrote :
Revision history for this message
Chase Douglas (chasedouglas) wrote :

Unfortunately, it appears that this touchpad uses a new protocol between the device and the driver. This means that we have to figure out the protocol before we can unlock the full functionality of the touchpad. One way to do this is to watch what the Windows driver does when it talks to the hardware, but this is easier said than done.

In the meantime, the device ID for this touchpad has been backed out of the upstream linux-input tree at my request, and I will shortly ask for it to be backed out of the Ubuntu kernel. Though the touchpad won't be seen in gsynaptics or other synaptics compatible software, scrolling functionality will be restored. When the proper protocol is determined for this touchpad we can look into pulling it into Ubuntu again.

I'm sorry this can't be completely fixed at this time.

Thanks for your understanding.

description: updated
Changed in xserver-xorg-input-synaptics (Ubuntu):
status: New → Invalid
affects: xserver-xorg-input-synaptics (Ubuntu) → linux (Ubuntu)
Changed in linux (Ubuntu):
assignee: nobody → Chase Douglas (chasedouglas)
status: Invalid → In Progress
milestone: none → lucid-updates
Revision history for this message
Chase Douglas (chasedouglas) wrote :
Revision history for this message
alabamas (a-huqi) wrote :

Could it be something related to the comand setPoll ???Maybe this has another way to set Poll.

Revision history for this message
Topher (hunt-topher) wrote :

Just a comment for clarification - my issue with the ALPS touchpad isn't inability to scroll, it's an inability to use the syndaemon touch disabler (because the synaptics driver isn't loaded), which makes it difficult to type long papers. This was established in the xserver-xorg-input-synaptics bug discussion before I was told that I needed to back down to the kernel level. But to be honest, so far it seems like the same root issue. Just wanted to add that input.

Revision history for this message
Chase Douglas (chasedouglas) wrote :

@alabamas:

If you are interested, you can view the code at http://lxr.linux.no/linux+v2.6.33/drivers/input/mouse/alps.c. Without any documentation for this device, we don't really know what to do to make it work.

Revision history for this message
Chase Douglas (chasedouglas) wrote :

@Topher:

Yes, without the ability to turn on absolute events for this device, the synaptics userspace functionality won't work. It could be that the synaptics stuff uses the pressure and/or touch area size data that are only available if the device and driver are working right.

Revision history for this message
tob (tobynbertram) wrote :

@Topher
Take a look at what others have done in this thread: http://ubuntuforums.org/showthread.php?t=1316361
I haven't tried it, but it looks like others have had some success. I am going to wait for a proper fix.

Thanks for everyone's help in trying to resolve this issue.

tags: added: patch
Changed in linux (Ubuntu):
status: In Progress → Fix Committed
summary: - Alps touchpad is recognized but neither gsynaptics nor mouse preferences
+ Alps touchpad is recognized but synaptics clients and scrolling do not
work
Revision history for this message
tob (tobynbertram) wrote :

@Chase
Can you post a diff for the changes that you made in comment 48? I am thinking about trying some tests, and would like to use your work as a model. Thanks.

Revision history for this message
J. McDonald (mcdonald-joseph) wrote :

So in the interim, should I go ahead and run the patch in comment #56? After that, to rid myself of accidental palm-clicks to the touchpad during typing I can run the patch referred to at http://ubuntuforums.org/showthread.php?t=1316361&page=3 and add a delay to touchpad clicks following keyboard activity? This seems like a manageable compromise until the ALPS GlidePoint hardware is figured out.

Revision history for this message
Chase Douglas (chasedouglas) wrote :

@tob

Here's the patch I used for printing out some packet information. I really only wanted to know what packets looked like when they weren't getting handled by the bare ps2 handler, since the trace showed everything was either handled there or not handled at all (meaning they weren't a full packet yet and were kept until more data arrived).

Revision history for this message
Mary (mtaussig44) wrote : Re: [Bug 550625] Re: Alps touchpad is recognized but neither gsynaptics nor mouse preferences work
Download full text (3.6 KiB)

Thanks to everyone, particularly Chase, for your work on this!

On Wed, Apr 21, 2010 at 1:31 PM, Chase Douglas
<email address hidden>wrote:

> ** Changed in: linux (Ubuntu)
> Status: In Progress => Fix Committed
>
> ** Summary changed:
>
> - Alps touchpad is recognized but neither gsynaptics nor mouse preferences
> work
> + Alps touchpad is recognized but synaptics clients and scrolling do not
> work
>
> --
> Alps touchpad is recognized but synaptics clients and scrolling do not work
> https://bugs.launchpad.net/bugs/550625
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “linux” package in Ubuntu: Fix Committed
>
> Bug description:
> SRU Justification:
>
> Impact: The end result of the commit is loss of scroll support, with no
> extra functionality gained.
>
> How addressed: By reverting the commit, the previously enabled scroll
> support is reestablished through the ImPS/2 extension.
>
> Reproduction: Run current Ubuntu kernel on affected hardware. Scroll
> functionality present in previous Ubuntu releases is now missing.
>
> Regression Potential: Since this is a revert of a one-line device id,
> the regression potential is minimal. The device should fall back to
> ImPS/2 protocol without issue.
>
> =====
>
> Binary package hint: xserver-xorg-input-synaptics
>
> I have Ubuntu 9.10 and an Alps touchpad (E7: 73 02 64). Chase fixed the
> kernel so that it was recognized and, indeed, the touchpad shows up in both
> gsynaptics and system>preferences>mouse, but when I actually try to adjust
> the settings nothing changes. My goal is to disable the tap-to-click feature
> or disable the touchpad when typing. Chase suggests it may be something
> related to the driver and to open another bug.
>
> ProblemType: Bug
> Architecture: i386
> Date: Sun Mar 28 22:02:25 2010
> DistroRelease: Ubuntu 9.10
> InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
> MachineType: Hewlett-Packard HP Pavilion dm3 Notebook PC
> Package: xserver-xorg-input-synaptics 1.1.2-1ubuntu7
> ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.31-21-generic
> root=UUID=f1e2e19e-a0f8-407d-9533-c5ba95a8be50 ro quiet splash
> ProcEnviron:
> LANG=en_US.UTF-8
> SHELL=/bin/bash
> ProcVersionSignature: Ubuntu 2.6.31-21.58~alps4-generic
> RelatedPackageVersions:
> xserver-xorg 1:7.4+3ubuntu10
> libgl1-mesa-glx 7.6.0-1ubuntu4
> libdrm2 2.4.14-1ubuntu1
> xserver-xorg-video-intel 2:2.9.0-1ubuntu2.1
> xserver-xorg-video-ati 1:6.12.99+git20090929.7968e1fb-0ubuntu1
> SourcePackage: xserver-xorg-input-synaptics
> Uname: Linux 2.6.31-21-generic i686
> XorgConf:
> Section "InputDevice"
> Identifier "Macintosh mouse button emulation"
> Driver "synaptics"
> Option "SHMConfig" "true"
> EndSection
> dmi.bios.date: 12/04/2009
> dmi.bios.vendor: Insyde Corp.
> dmi.bios.version: F.22
> dmi.board.asset.tag: Base Board Asset Tag
> dmi.board.name: 3656
> dmi.board.vendor: Hewlett-Packard
> dmi.board.version: 44.1D
> dmi.chassis.type: 10
> dmi.chassis.vendor: Hewlett-Packard
> dmi.chassis.version: N/A
> dmi.modalias:
> dmi:bvnInsydeCorp.:bvrF.22:bd12/04/2009:svnHewlett-Packard:pnHPPaviliondm3NotebookPC:pvr048611000024...

Read more...

Revision history for this message
Chase Douglas (chasedouglas) wrote :

@J. McDonald:

You can, or you can wait for the first kernel to come from lucid-updates. That will be a while though (a few weeks after release I think).

Revision history for this message
J. McDonald (mcdonald-joseph) wrote :

Chase,

Thanks for the info and thank you for all of your work troubleshooting this issue. How do I go about applying the patch?

Revision history for this message
Chase Douglas (chasedouglas) wrote :

@J. McDonald:

Unfortunately, it's not the easiest thing to apply a patch to the kernel. The build system isn't the easiest to work with. What I can do is build a special 2.6.32-21 kernel with the patch to revert the alps signature. You could install it, and when the -22 kernel comes out with the patch included you will be updated automatically. Does this sound good to you? Bear in mind that we can't offer any support for non-Ubuntu kernels, so if you hit any other issues we'll likely ask you to reproduce it on an official Ubuntu kernel.

Revision history for this message
J. McDonald (mcdonald-joseph) wrote :

Chase, thanks, that would be great. I'm not overly concerned about support for this computer - hence the testing, but getting the scroll bar back for the few weeks until -22 comes would make things a bit easier. I also realise that at some point, I should learn to do this for myself.

Revision history for this message
Chase Douglas (chasedouglas) wrote :

Actually, we've now started daily pre-proposed kernel builds. These builds will include all the patches we've committed to our kernels, but not yet been released. There's no support for running these kernels, but they should hopefully be safe. You can find them at https://launchpad.net/~kernel-ppa/+archive/pre-proposed/+packages. The current kernel there has the ALPS signature reverted, so it should tide you over until the official kernel.

I would just install the kernel package manually unless you really want to keep up with the daily kernel releases. If you do want the dailies, then add the ppa to your package sources and it will automatically keep you up to date.

Thanks

Revision history for this message
J. McDonald (mcdonald-joseph) wrote :

I went ahead and added the ppa to try out the daily builds. Scrolling has returned to normal. I also added the package "mouseemu" and set a small delay in to disable the trackpad while I type. Everything is working now.

Revision history for this message
boenki (boenki) wrote :

With the latest kernel from the ppa scrolling now works here too. But I cannot configure the touchpad with the GUI anymore. Everything is greyed out. (Kubuntu). And the name of the touchpad is not shown anymore in the GUI.

Revision history for this message
J. McDonald (mcdonald-joseph) wrote :

The final release broke the scrolling again...I'm going to try posting in "main support" forum....

Revision history for this message
J. McDonald (mcdonald-joseph) wrote :

I downgraded linux-image-2.6.32.22-generic from the final release version to version 2.6.32-22.33~pre201004281000 and edge scrolling returned to the ALPS GlidePoint trackpad. Anyone know what's going on with this?

Revision history for this message
Marcelo (mmtsales) wrote :

See bug #554050, it seems to be the same as this.

Revision history for this message
Chase Douglas (chasedouglas) wrote :

@J. McDonald:

I'm not quite sure how you got a 2.6.32-22-generic kernel already because it hasn't been released yet. However, you should be able to keep updating with the daily pre-proposed builds until the official 2.6.32-22 kernel is released. The official kernel should have the ALPS scrolling fixed.

Thanks

Revision history for this message
J. McDonald (mcdonald-joseph) wrote : Re: [Bug 550625] Re: Alps touchpad is recognized but synaptics clients and scrolling do not work

That was entirely my mistake - I subscribed to pre-proposed daily builds and got a daily build that somehow reverted the change to the earlier 2.6.32-22 daily that you had fixed. I think the military refers to this as SNAFU. I am disabling that repository and I will wait for the official kernel - sorry about adding confusion to this issue.

-----Original Message-----
>From: Chase Douglas <email address hidden>
>Sent: May 3, 2010 10:16 AM
>To: <email address hidden>
>Subject: [Bug 550625] Re: Alps touchpad is recognized but synaptics clients and scrolling do not work
>
>@J. McDonald:
>
>I'm not quite sure how you got a 2.6.32-22-generic kernel already
>because it hasn't been released yet. However, you should be able to keep
>updating with the daily pre-proposed builds until the official 2.6.32-22
>kernel is released. The official kernel should have the ALPS scrolling
>fixed.
>
>Thanks
>
>

Revision history for this message
Rocky Stone (rstone-mail) wrote :

Today I updated to linux-image-2.6.32-22-generic (version 2.6.32-22.33) from the official lucid repositories, but edge scrolling doesn't work when I remove the below workaround.
I'm using Sony VAIO EB1E1E (see https://bugs.launchpad.net/bugs/554050) and maybe my touchpad has different device id.
Please let me know how to check the device id.
I tried with dmesg, but I couldn't find anything that looks like the removed line from the patch attached to this bug.

It's good we have this permanent workaround in the mean time;
Add the following to /etc/modprobe.d/psmouse.conf:
options psmouse proto=imps

The psmouse.conf file doesn't exist by default, just create a text file with that name in /etc/modprobe.d/

Regards,
Rocky

Revision history for this message
Rocky Stone (rstone-mail) wrote :

There's no edit button :( "mean time" to be read as "meantime"

Revision history for this message
xdostan (durang) wrote :

I'm also affected by this bug (toshiba u500). But i don't know how to install those "pre-proposed" kernels that C. Douglas have mentionned in comment 70.

Revision history for this message
FireNoodle (firenoodles) wrote :

Not that it was functioning anyway, but today I noticed that a recent update removed the touchpad tab again.

#78's fix worked to re-establish scrolling.

mouseemu delay doesn't seem to work for disabling accidental taps (#71)

Revision history for this message
FireNoodle (firenoodles) wrote :

My apologies, #78's fix removed the tab, not the update.

Revision history for this message
Tony Kernan (ackernan) wrote :

Has is problem been fixed? I have a Dell Inspiron with Alps touchpad. I'm using Lucid Lynx with Xubuntu and 2.6.32-22 kernel. I have a problem with my touchpad being really sensitive at times, it's hard to type. Is there anyway to adjust the sensitvity?

Thanks,
Tony

Revision history for this message
Gareth Halfacree (o-launchpad-halfacree-co-uk) wrote :

I'm also having this problem with an HP Pavillion DM3 that I bought today - I had to create a /etc/modprobe.d/psmouse.conf file with "options psmouse proto-imps" in order to get edge-scrolling working.

The issue appears to be caused by the touchpad being incorrectly detected as a PS/2 mouse. When I do the following:

xinput test "AlpsPS/2 ALPS GlidePoint"

nothing is registered. When I do this:

xinput test "PS/2 Mouse"

I get co-ordinates for every movement of the trackpad.

Currently on Ubuntu 10.04 64-bit, kernel 2.6.32-22-generic.

Revision history for this message
Tony Kernan (ackernan) wrote :

Installing gpointing-device-settings fixed my sensitivity adjustment issue.

Revision history for this message
tredegar (tgar) wrote :

I can confirm this bug is still present.
Sony Vaio VPCF11C5E
Kernel Ubuntu 2.6.32-22-generic

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)] (My Logitech mouse)
⎜ ↳ Logitech USB Receiver id=11 [slave pointer (2)] (My Logitech mouse again)
⎜ ↳ PS/2 Mouse id=13 [slave pointer (2)] [My touchpad, working as a mouse w "tap-to-click"]
⎜ ↳ AlpsPS/2 ALPS GlidePoint id=14 [slave pointer (2)] [My touchpad, not configurable]
⎜ ↳ Macintosh mouse button emulation id=15 [slave pointer (2)]

I get the same results to xinput test as Gareth Halfacree at #84
I _wish_ I could disable tap-to-click!

Revision history for this message
raboof (arnouten) wrote :

To recap: the ALPS GlidePoint can in theory be used with a generic PS/2 driver, a generic ImPS/2 driver, or the advanced synaptic/alps driver.

If 0x73, 0x02, 0x64 is added to the alps driver, the kernel will use this to talk to the touchpad. However, the touchpad uses a protocol that is slightly different from the other alps touchpads, and we haven't figured out exactly how it works. Because of that, when the alps driver is used, all the fancy features will appear to be available in the config screens, but will not actually work. Scrolling will not work either.

The generic PS/2 driver doesn't support scrolling. The generic ImPS/2 driver does support scrolling. Until we figure out what protocol this touchpad uses, we should fall back to these, and use the configuration as described by Rocky in #78 to make sure ImPS/2 is used and scrolling works.

Anything I can do to help figure out the protocol for the alps driver with this touchpad?

Revision history for this message
Chase Douglas (chasedouglas) wrote :

raboof,

Good summary! FYI, we have reverted the signature in our source tree, but an update with the fix hasn't been released yet. It should be released in the next kernel update.

On how to figure out the new protocol, we probably need to watch what windows does. This is tricky though. The best bet would probably be to fake the device in qemu/kvm, and then watch to see how windows communicates with it. However, this is beyond my knowledge.

Revision history for this message
tob (tobynbertram) wrote :

The kernel doesn't appear to have much support for multi-touch on Alps touchpads. Currently, there are three basic touchpad packet formats in the kernel: PS/2, Absolute, and Interleaved. None of these formats contain advanced multi-touch information. The Alps GlidePoint is a modern multi-touch touchpad that probably has a new format that is not currently defined in the kernel. I have performed some amateur kernel testing in order to try to determine the new format. However, I am not able to read anything other than basic PS/2 packets whenever the signature is defined. I believe that a new "magic knock" is required in order to place the touchpad into the new multi-touch mode. Trying to determine this new "magic knock" is way beyond my capabilities. I think Chase has the right idea by using Windows to reverse engineer the protocol. Does anyone know any online resources with info on how to sniff and reverse engineer the windows 7 touchpad data? I had to return my laptop due to an unrelated problem, however I would like to look into this further when I receive a new one.

Revision history for this message
raboof (arnouten) wrote :

Passing 'proto=imps' when loading the psmouse module does not seem to work for me - xinput still reports a 'PS/2 Generic Mouse' and does not generate scrolling events. This is on Debian Testing, though.

Revision history for this message
Marek Janda (nyx-nyx) wrote :

Is there a way to disable the touchpad completely? On my laptop (Dell E6410), both trackpoint and touchpad are registered as PS/2 Mouse. Buttons are designed in a way that make it almost impossible to use trackpoint buttons without simultaneously tapping touchpad. Or is it completely indistinguishable at this point?

Revision history for this message
cwren (colindwren) wrote :

Disable and re-enable using "modprobe -r psmouse" and "modprobe psmouse".

I use the Alt+F2 Run thing with gksudo as a quick way to turn it on and off (ie. when using another mouse plugged into usb).

Revision history for this message
Stefan Bader (smb) wrote :

The revert will be included in the next proposed update to Lucid. Chase, could you update the status for current development? Was it reverted upstream as well (mainline) or do we need to revert it there as well until the issue is completely fixed?

Changed in linux (Ubuntu Lucid):
importance: Undecided → Medium
status: New → Fix Committed
Changed in linux (Ubuntu):
milestone: lucid-updates → none
Revision history for this message
Chase Douglas (chasedouglas) wrote :

Stefan,

The initial patch to add the signature to the driver has been reverted upstream. By reverting the patch in Lucid we will be keeping current with upstream.

Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Accepted linux into lucid-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

tags: added: verification-needed
Revision history for this message
Paulo J. S. Silva (pjssilva) wrote :

Hello I have a Dell E6410. I have tried the kernel from lucid-proposed. As some have reported, it removes the tab with the alps options from gpointing-device-settings completely. However the vertical (and horizontal) scroll does not work. I does not make any difference to use proto=imps or not when loading psmouse module.

Revision history for this message
Matthew C. Miller (mcm8327) wrote :

Hello, I have a Dell E6510 and also have tried the kernel from lucid-proposed with no luck on the edge scrolling.

Revision history for this message
Olivier Chapuis (olivier-chapuis) wrote :

I've the same problem with my DELL Precision M 4500 running Ubuntu
10.04 LTS (Linux opale3 2.6.32-22-generic #36-Ubuntu SMP Thu Jun 3
19:31:57 UTC 2010 x86_64 GNU/Linux).

The touchpad is detected by the kernel, lsinput gives:

/dev/input/event10
   bustype : BUS_I8042
   vendor : 0x2
   product : 0x8
   version : 29478
   name : "AlpsPS/2 ALPS GlidePoint"
   phys : "isa0060/serio1/input0"
   bits ev : EV_SYN EV_KEY EV_REL EV_ABS

It seems more or less "seen" by the X server:

(II) config/udev: Adding input device AlpsPS/2 ALPS GlidePoint (/dev/input/event10)
(**) AlpsPS/2 ALPS GlidePoint: Applying InputClass "evdev pointer catchall"
(**) AlpsPS/2 ALPS GlidePoint: Applying InputClass "evdev touchpad catchall"
(**) AlpsPS/2 ALPS GlidePoint: Applying InputClass "touchpad catchall"
(II) LoadModule: "synaptics"
(II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
(II) Module synaptics: vendor="X.Org Foundation"
        compiled for 1.7.6, module version = 1.2.2
        Module class: X.Org XInput Driver
        ABI class: X.Org XInput driver, version 7.0
(II) Synaptics touchpad driver version 1.2.2
(**) Option "Device" "/dev/input/event10"
(II) AlpsPS/2 ALPS GlidePoint: x-axis range 0 - 1023
(II) AlpsPS/2 ALPS GlidePoint: y-axis range 0 - 767
(II) AlpsPS/2 ALPS GlidePoint: pressure range 0 - 127
(II) AlpsPS/2 ALPS GlidePoint: finger width range 0 - 0
(II) AlpsPS/2 ALPS GlidePoint: buttons: left right middle
(--) AlpsPS/2 ALPS GlidePoint: touchpad found
(**) AlpsPS/2 ALPS GlidePoint: always reports core events
(II) XINPUT: Adding extended input device "AlpsPS/2 ALPS GlidePoint" (type: TOUCHPAD)
(**) AlpsPS/2 ALPS GlidePoint: (accel) keeping acceleration scheme 1
(**) AlpsPS/2 ALPS GlidePoint: (accel) acceleration profile 0
(**) AlpsPS/2 ALPS GlidePoint: (accel) acceleration factor: 2.000
(**) AlpsPS/2 ALPS GlidePoint: (accel) acceleration threshold: 4
(--) AlpsPS/2 ALPS GlidePoint: touchpad found
(II) config/udev: Adding input device AlpsPS/2 ALPS GlidePoint (/dev/input/mouse3)
(II) No input driver/identifier specified (ignoring)

Thus the synaptics driver is loaded but the last two lines are not very
encouraging. Indeed, the touchpad work like a PS/2 mouse (e.g., no multiple
taps or edge scrolling).

Moreover, with xinput I've:

olivier@opale3:~$ xinput list
Virtual core pointer id=2 [master pointer (3)]
   Virtual core XTEST pointer id=4 [slave pointer (2)]
   AlpsPS/2 ALPS GlidePoint id=13 [slave pointer (2)]
   PS/2 Mouse id=14 [slave pointer (2)]
   Macintosh mouse button emulation id=15 [slave pointer (2)]
Virtual core keyboard id=3 [master keyboard (2)]
 ...

xinput list-props "AlpsPS/2 ALPS GlidePoint" gives a full list of
Synaptics properties (40). However, xinput test "AlpsPS/2 ALPS GlidePoint"
reports NOTHING when I use the touchpad. But, xinput test "PS/2 Mouse" report
things ...

Thanks for working on this problem!

Olivier

Revision history for this message
Stephan Kramer (s-kramer) wrote :

Hi, same problem here:
I have a Dell E6510. The AlpsPS/2 touchpad completely disappeared after upgrading to Lucid-proposed (both a PS/2 and a AlpsPS/2 were shown before in gpointing-device-settings). The touchpad can't be configured and scrolling doesn't work.

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

This bug was fixed in the package linux - 2.6.32-23.37

---------------
linux (2.6.32-23.37) lucid-proposed; urgency=low

  [ Alex Deucher ]

  * SAUCE: drm/radeon/kms/atom: fix dual-link DVI on DCE3.2/4.0
    - LP: #564559

  [ Andy Whitcroft ]

  * [Config] ports -- build in dm-mod to enable LVM boot
    - LP: #560717
  * tools -- fix perf version extraction for multi-part flavours
    - LP: #555130
  * SAUCE: ACPI: EC: Allow multibyte access to EC (v3)
    - LP: #526354
  * [Config] enforce -- ensure dm_mod is built-in for LVM
    - LP: #560717
  * update to ubuntu-debian:7e708d33054c373faf41da23b73e8b48c342d958
    - LP: #570500, #576274

  [ Chase Douglas ]

  * Revert "(pre-stable): input: ALPS - Add signature for HP Pavilion dm3
    laptops"
    - LP: #550625
  * Enable ftrace function profiler
    - LP: #570389
  * enforce CONFIG_TMPFS_POSIX_ACL=y
    - LP: #575940

  [ Leann Ogasawara ]

  * Revert "staging/comdi -- disable"
    - LP: #563436
  * [Config] Enable multicast routing for sparc
    - LP: #416266
  * [Config] Add ahci.ko to virtual sub-flavour
    - LP: #570542

  [ Stefan Bader ]

  * Revert "SAUCE: drm/i915: Disable FBC on 915GM and 945GM"
    - LP: #588832

  [ Tim Gardner ]

  * ubuntu: rtl8192se -- update to version 0015.0127.2010
    - LP: #567016
  * [Config] Add atl1c to nic-modules udeb
    - LP: #557130

  [ Upstream Kernel Changes ]

  * Revert "(pre-stable) iwlwifi: fix nfreed--"
    - LP: #575853
  * Revert "backlight: mbp_nvidia_bl - add five more MacBook variants"
    - LP: #575853
  * Revert "(pre-stable) pata_via: Add VIA VX900 support"
    - LP: #575853
  * Revert "(pre-stable) x86-32, resume: do a global tlb flush in S4
    resume"
    - LP: #575853
  * Revert "x86: disable IOMMUs on kernel crash"
    - LP: #575853
  * Revert "sunrpc: fix peername failed on closed listener"
    - LP: #575853
  * Revert "sunrpc: move the close processing after do recvfrom method"
    - LP: #575853
  * Revert "(pre-stable) drm/edid: allow certain bogus edids to hit a fixup
    path rather than fail"
    - LP: #575853
  * Revert "drm/radeon/kms: don't print error on -ERESTARTSYS."
    - LP: #575853
  * Revert "ath9k: fix lockdep warning when unloading module" on stable
    kernels
    - LP: #588832
  * Staging: comedi: removed "depricated" from COMEDI_CB_BLOCK
    - LP: #483343
  * fat: fix buffer overflow in vfat_create_shortname()
    - LP: #575853
  * xfs: simplify inode teardown
    - LP: #575853
  * xfs: fix mmap_sem/iolock inversion in xfs_free_eofblocks
    - LP: #575853
  * xfs: I/O completion handlers must use NOFS allocations
    - LP: #575853
  * xfs: Wrapped journal record corruption on read at recovery
    - LP: #575853
  * xfs: Fix error return for fallocate() on XFS
    - LP: #575853
  * xfs: check for not fully initialized inodes in xfs_ireclaim
    - LP: #575853
  * xfs: fix timestamp handling in xfs_setattr
    - LP: #575853
  * xfs: Don't flush stale inodes
    - LP: #575853
  * xfs: Ensure we force all busy extents in range to disk
    - LP: #575853
  * xfs: reclaim inodes under a write lock
    - LP: #575853
  * xfs: Avoid inodes in reclaim when flushing from inode cache
    - LP: #575853
  * xfs: recla...

Changed in linux (Ubuntu Lucid):
status: Fix Committed → Fix Released
Revision history for this message
Paulo J. S. Silva (pjssilva) wrote :

The bug was marked "Fix released" but the current situation in some Dell Laptops, like mine, the E6410, the E6510, and maybe the M4500 from comment #98 don't have scrolling working. Should we open a new, specific, bug report for these machines?

Revision history for this message
Jo-We (jonas-kleemann) wrote :

Same problem like #101 with my E6510. Anybody help the new Kernel?

Revision history for this message
Corona (stefaniefauconnier) wrote :

I'm also affected (Dell Latitude E6510), so far none of the workarounds worked for me at all. Can this bug be reopened or should we open a new one?

Revision history for this message
oooh (oooh-oooh) wrote :

Ok, interesting thing here:

no alps glide devices are listed in:
- xinput list
- dmesg | grep touch

But if I do:

xinput test "Mouseemu virtual mouse"

I get a response everytime I touch the touchpad. I.e. the alps device is now linked to the "Mouseemu virtual mouse".

I: Bus=0006 Vendor=001f Product=001e Version=0000
N: Name="Mouseemu virtual mouse"
P: Phys=
S: Sysfs=/devices/virtual/input/input14
U: Uniq=
H: Handlers=mouse4 event13
B: EV=7
B: KEY=70000 0 0 0 0
B: REL=103

How could I force synaptics to load on that device ??

tob (tobynbertram)
Changed in linux (Ubuntu):
status: Fix Committed → Confirmed
Revision history for this message
tob (tobynbertram) wrote :

This bug has not been fixed.

The alps driver in the kernel has been reverted to a prior version by removing the Alps GlidePoint touchpad signature (E7: 73 02 64). This forces the kernel to use the basic PS/2 driver for the touchpad which should allow vertical scrolling. However, the basic PS/2 driver doesn't work with synaptics so no advanced features are available.

Revision history for this message
Corona (stefaniefauconnier) wrote :

For me, vertical scrolling doesn't even work with the latest kernel. This bug makes working on a notebook very difficult.

Revision history for this message
Stoner McTavish (andiwolf75) wrote :

I can confirm the others' comments for a Dell Latitude E6510 on Ubuntu 10.04 (Lucid), even on kernel 2.6.32-23.
The Alps GlidePont entry disppeared from the Pinting Devices settings menu on my laptop as well.
I appreciate your work on fixing this - I'm a linux newbie but willing to do tests if you tell me what i need to do.

Revision history for this message
Øyvind Stegard (oyvindstegard) wrote :

Touchpad only works in very basic mode on Dell E6510 (BIOS A03), Ubuntu 10.04 x86-64, kernel 2.6.32-23. No scrolling on the edges, no extra touch pad control panel in mouse prefs.

Jo-We (jonas-kleemann)
Changed in linux (Ubuntu Lucid):
status: Fix Released → Incomplete
Revision history for this message
Andrew Klossner (o-launchpad-klossner-org) wrote :

Further comments on Dell E6510: setting options psmouse proto=imps does not enable touchpad scrolling. This is using upstream 2.6.34 kernel.

Revision history for this message
Øyvind Stegard (oyvindstegard) wrote :

Marek Janda wrote on 2010-06-06: #91
>
> Is there a way to disable the touchpad completely? On my laptop (Dell E6410),
> both trackpoint and touchpad are registered as > PS/2 Mouse. Buttons are
> designed in a way that make it almost impossible to use trackpoint buttons
> without simultaneously > tapping touchpad.
> Or is it completely indistinguishable at this point?

Same problem on Dell E6510. If the touchpad cannot work with palm-detection or disable-when-typing, I'd really like to disable it, since it gets in the way both when typing and when pressing the mouse buttons *above* it. Accidental clicks caused by tapping the top of the touchpad is turning into a very real annoyance.

So please, is there at least *any* way to disable the touchpad completely, and only have the stick and its three associated buttons enabled ?

Revision history for this message
J. McDonald (mcdonald-joseph) wrote :

I can confirm that the short term "fix" of the Alps Glidepoint on the HP Mini 311 still gives edge scrolling and is still recognized as a PS/2 Mouse without any Synaptics functionality in the current 2.6.32-23 kernel. Is anyone working on a longer term fix for Synaptics to work properly? Has this been fixed within 2.6.34 or 2.6.35?

Revision history for this message
oooh (oooh-oooh) wrote :

The ALPS fix does not work for my ALPS on a VAIO for the latest 2.6.32-23

Please check the files I am attaching with apport-collect

Revision history for this message
oooh (oooh-oooh) wrote :

For some reason I can not upload the files

"You are not
the reporter or subscriber of this problem report, or the report is a
duplicate or already closed".

with apport-collect, so here they come manually

Revision history for this message
oooh (oooh-oooh) wrote :
Revision history for this message
oooh (oooh-oooh) wrote :
Revision history for this message
oooh (oooh-oooh) wrote :
Revision history for this message
oooh (oooh-oooh) wrote :
Revision history for this message
oooh (oooh-oooh) wrote :
Revision history for this message
Michal (mikeos) wrote :

You're mentioning Dells E6410, E6510 suffer from this problem too. Both these models are equipped with the Instant ON feature which is AFAIK Linux-kernel based (http://www.splashtop.com/)

If the touchpad scrolling does not work, I'd suggest to contact Dell and insist on a rapid bugfix.
If it does work, IMO it would mean a Linux compatible driver is found in the Instant ON image and could be exported.

In both cases I assume that Linux kernel driver changes must follow GPL and the patched driver should be made available public.

Revision history for this message
raboof (arnouten) wrote :

I own the E6510 and as far as I can tell it does not have an 'Instant ON' feature.

Revision history for this message
Michal (mikeos) wrote :

raboof, you should have it. One can buy it with the image preloaded from factory or flash it to the system from within the management SW for windows. More info on this technology for Dell E-series is here: http://latitude-on-flash.com
E6510 is listed here: http://latitude-on-flash.com/#tab-buy

Revision history for this message
Michal (mikeos) wrote :

Perhaps it is an option depending on Latitude E-series HW configuration. It is definitely Linux based.

Revision history for this message
Brian (x-brian) wrote :

I have a Dell E6410 and it has a button for Dell Latitude ON, but I do not have that feature. That is an option that may be ordered when configuring the machine, and I did not choose it. I think the Latitude ON Reader version is available for those who didn't receive the full version (which requires special hardware), but that runs from the hard drive and my HD is gone, replaced with an Intel SSD.

I assume the E6510 also has this feature available. If so, it's a button next to the power button labeled with something that looks like a combination of D, infinity (∞), and the power symbol (IEC5009 Standby symbol). I don't know if the Alps touchpad driver included with the stripped-down SUSE Linux that runs Latitude ON functions completely, but if anyone has that feature, please check it out.

Revision history for this message
Brian (x-brian) wrote :
Revision history for this message
raboof (arnouten) wrote :

I'll be damned - turns out I indeed have this functionality - I had wondered what that button was for :).

Unfortunately, touchpad scrolling does not seem to work with it either.

Revision history for this message
Michal (mikeos) wrote :

I suppose most of people would agree a Latitude ON and all the other SplashTop derivatives is a useless feature, purely a marketing thing. However since the manufacturer does ship this feature in their flagship Laptops equipped with the ALPS "0x73, 0x02, 0x64" touchpad, they're obliged to provide a full touchpad experience, not just a crippled compatibility mode - there's even a web browser in the Latitude ON where standard scrolling touchpad features are used heavily.
Once it is confirmed the touchpad really does not work correctly within this environment, I'd suggest to escalate the issue to the Dell support classified as a critical bug subject of a money back guarantee.

Revision history for this message
Matthew C. Miller (mcm8327) wrote :

I upgraded to 2.6.32-24 this morning, I noticed * Input: ALPS - add interleaved protocol support (Dell E6x00 series) in the changelog. This was an upstream kernel change. Still no scrolling - are we getting any closer?

Revision history for this message
raboof (arnouten) wrote :

That seems to be different hardware, see #296610 and http://patchwork.ozlabs.org/patch/42985

Revision history for this message
Olivier Chapuis (olivier-chapuis) wrote :

It is not clear that this "* Input: ALPS - add interleaved protocol support (Dell E6x00 series)"
patch is in 2.6.32-24 as there is also an entry "Revert "(pre-stable) Input: ALPS - add
interleaved protocol support (Dell E6x00 series)" in the ChangeLog (after if you read the
changelog from the bottom to top).

I upgraded to 2.6.32-24 too (Dell M4500), but the touchpad still does not scroll ... and does
not appear with lsinput and xinput -list (as it does with 2.6.32-22-generic #36-Ubuntu, but
not since 2.6.32-23 ...).

Thus I guess that 2.6.32-24 does not have this "interleaved protocol support".
 Why ?

Thanks for working on this problem,
Olivier

Revision history for this message
Øyvind Stegard (oyvindstegard) wrote :

Latest kernel 2.6.35-rc6 is no good either. Touchpad only recognized as generic PS/2 mouse.

Revision history for this message
John A. Lewis (pointful) wrote :

Just marked seven other bug reports as duplicates of this one since they are reporting the same basic problem -- the latest ALPS touchpad across an increasing range of hardware doesn't work properly.

Revision history for this message
Matthew C. Miller (mcm8327) wrote :

I found this bug reported upstream here: https://bugzilla.kernel.org/show_bug.cgi?id=14660

Revision history for this message
Andrew Skalski (askalski) wrote :

I have the "73 02 64" multitouch/dualpoint device on my Dell E6510. In a very manual process of modifying the virtualbox-ose PS/2 driver, and copying bytes between it and /dev/serio_raw0, I managed to piece together the initialization sequence performed by the Windows driver. The entire sequence, from boot-up, is attached. I also included raw event data for three different finger swipes: left-to-right across the middle, top-to-bottom across the middle, and top-to-bottom across the right-edge scroll area.

Hopefully this helps in decoding the new protocol.

Revision history for this message
george panta (adgeruy) wrote :

@Andrew Skalski

Maybe you should also post the same message on the linux bugzilla:

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

Let's hope your effort helps at getting the protocol decoded!!

Revision history for this message
tob (tobynbertram) wrote :

@Andrew Skalski

Great job!

Could you elaborate a little more on the procedure that you used to read the raw data from the Windows driver?

Thanks

Revision history for this message
raboof (arnouten) wrote :

Awesome. I'm sure documenting how you managed to convince virtualbox to expose this information would be tremendously useful to many people trying to get their devices supported!

Revision history for this message
Johnny Hughes (jhughes-hughesjr) wrote :

I am not sure how this patch affects what you guys are doing here, but it is new and impacts this device:

https://patchwork.kernel.org/patch/118834/

Revision history for this message
Øyvind Stegard (oyvindstegard) wrote : Re: [Bug 550625] Re: Alps touchpad is recognized but synaptics clients and scrolling do not work

Johnny Hughes <email address hidden> writes:

> I am not sure how this patch affects what you guys are doing here, but
> it is new and impacts this device:
>
> https://patchwork.kernel.org/patch/118834/

That's really interesting. A patch coming from Dell with magic init
sequences is certainly the most promising progress I've seen so far on
this issue. What's the chance of this patch ending up in the default
Lucid kernel, if it works ? Would be great to get a slightly less
crippled touchpad.

Revision history for this message
Andrew Skalski (askalski) wrote :

I applied the Dell patch (I had to modify it somewhat to make it apply cleanly), and verified that it successfully enables vertical scrolling. It still doesn't support syndaemon, but it's a big improvement from what we had before. Attached is a 64-bit psmouse.ko that I built against 2.6.32-24-generic.

When I have some time, I'll see about putting together a description of how I used virtualbox to manipulate the PS/2 driver. Here's the short version:

# Enable logging in the kbd driver. Output will be written to ~/.VirtualBox/Machines/YourMachineName/Logs/Vbox.log
export VBOX_RELEASE_LOG=dev_kbd.e.l.l2.l3.f
VirtualBox [--args]

Snapshot your VM, just in case.

In the VM settings, disable "VT-x/AMD-V" (System -> Acceleration), then start up your VM.

The logs will look like:

00:00:10.810 kbd_write_mouse: kbd: write mouse 0xff
00:00:10.810 void kbd_queue(KBDState*, int, int): mouse command response: 0xfa
00:00:10.810 void kbd_queue(KBDState*, int, int): mouse command response: 0xaa
00:00:10.810 void kbd_queue(KBDState*, int, int): mouse command response: 0x00

This is the Windows driver conversing with VirtualBox's mouse emulation code (virtualbox-ose-3.1.6-dfsg/src/VBox/Devices/Input/DevPS2.cpp).

From that point, I replaced the kbd_write_mouse() function with my own version which, instead of emulating a mouse, would blindly reply to mouse commands by returning bytes from a hard-coded array. When it runs out of array data, reply to all further commands with 0xFA (OK).

At first, I started with an empty array of responses. Then I went through many iterations of:

1) Boot up the VM. Figure out what the Windows driver is trying to do next, after exhausting my array of reply data. Power off the VM.

2) Switch to Linux, send that new command to my touchpad via the serio_raw driver (see the script I posted to https://bugzilla.kernel.org/show_bug.cgi?id=14660). Read the touchpad's response, and add it to the end of my array.

3) Rebuild VirtualBox (debian/rules build), install the updated .so files (VBoxDD*.so) to /usr/lib/virtualbox.

4) Repeat.

Revision history for this message
Øyvind Stegard (oyvindstegard) wrote :

Andrew Skalski <email address hidden> writes:

> I applied the Dell patch (I had to modify it somewhat to make it apply
> cleanly), and verified that it successfully enables vertical scrolling.
> It still doesn't support syndaemon, but it's a big improvement from what
> we had before. Attached is a 64-bit psmouse.ko that I built against
> 2.6.32-24-generic.

I tested it by rmmod'ing psmouse and insmod'ing the psmouse.ko file you
attached. It works well here, touchpad scrolling is enabled.

[10506.261681] alps.c: Enabled hardware quirk, falling back to psmouse-core
[10506.274889] input: ImPS/2 ALPS GlidePoint as /devices/platform/i8042/serio1/input/input16

(Dell Latitude E6510)

Revision history for this message
pvillela (pvillela) wrote :

I did the same as Øyvind Stegard in #141 to test the psmouse.ko posted by Andrew Skalski in #140 (https://bugs.launchpad.net/ubuntu/+source/linux/+bug/550625/+attachment/1488476/+files/psmouse.ko) on my Dell E6410. Touchpad scrolling is enabled. Thanks Andrew!

Revision history for this message
pvillela (pvillela) wrote :

Unfortunately, Øyvind Stegard's module in #141 is not compatible with the patched version of 2.6.32-24-generic (https://bugs.launchpad.net/ubuntu/+source/linux/+bug/578673/comments/65) created by Manoj to address the E6410 Intel video card suspend/resume Bug #578673. Upon resume, the mouse becomes erratic and unusable. So, I can either scroll or suspend but not both :-(.

Revision history for this message
pvillela (pvillela) wrote :

Sorry, in comment #143 I should have said "Andrew Skalski's module in #140" instead of "Øyvind Stegard's module in #141".

Unfortunately, Andrew Skalski's module in #140 is not compatible with the patched version of 2.6.32-24-generic (https://bugs.launchpad.net/ubuntu/+source/linux/+bug/578673/comments/65) created by Manoj to address the E6410 Intel video card suspend/resume Bug #578673. Upon resume, the mouse becomes erratic and unusable. So, I can either scroll or suspend but not both :-(.

Revision history for this message
Aaron Hanson (aaronhanson) wrote :

I installed the patched psmouse on my e6410 as well and it works. I haven't tried suspend resume lately but I'll give that a shot too.

Good to finally see progress on this.

Revision history for this message
Andrew Skalski (askalski) wrote :

@pvillela

I tried suspending, and got the same erratic pointer behavior. Looking at the code, the patch bails out of alps_init() before setting up reconnect/disconnect handlers. The hardware initialization is called from the wrong place (alps_init, instead of alps_hw_init) too, so simply assigning the reconnect handler wouldn't help without further changes. I checked back at the patchwork site, but there were no updates.

Revision history for this message
Michal (mikeos) wrote :

Possible workaround is to unload and reload the module on resume. In Ubuntu create the following new file named e.g. "90-psmouse-reload" in "/etc/pm/sleep.d/" with the following content:

#!/bin/sh
case "$1" in
    thaw|resume)
        rmmod psmouse; modprobe psmouse
    ;;
esac
exit 0

However I still consider this Dell contributed driver being the first step. I consider features like horizontal scrolling and sensitivity settings essential. IMO the touchpad by default is hypersensitive and it happens very often than one accidentally invokes a double-click action. While clicking the mouse button (right above the touchpad surface) the thumb accidentally touches the touchpad surface. The resulting action is two subsequent clicks, first one wanted, second one unwanted.

Revision history for this message
Matthew C. Miller (mcm8327) wrote :

I can verify the same on my E6510, vertical scrolling works but erratic mouse after hibernation or suspend. Glad to see the progress. Thanks...

Martin Pitt (pitti)
tags: added: verification-done
removed: verification-needed
Revision history for this message
dwick (dwick) wrote :

Skalsi's psmouse.ko file (post #140) works wonderfully on kernel 2.6.32-24-generic, 64-bit on e6510. Unfortunately, I also had the wild cursor problem with resume from suspend. Fortunately, mikeos's solution (post #147) solved that problem as well. However, don't forget to chmod +x the 90-psmouse-reload file to make it executable.

Thank you all for the help. If and when this touchpad is fully functional (tapping, syndaemon, etc) I'll be much happier.

Revision history for this message
Carlos Robles (carlos-p-robles) wrote :

I am pretty new to ubuntu and linux in general, so I dont know how to do any of the fancy stuff you guys are talking about here to report bugs. But I would just like to say that I have a very similar problem with my Gateway i5 NV-Series Laptop.

The touchpad is recognized as a Imps/2 generic mouse wheel. I cannot scroll down using the touchpad, but if i scroll up it automatically scrolls to the bottom of the page. It's a very odd problem. Furthermore, I am able to lock the touchpad when I hit the lock button on the laptop, which complicates things further seeing as it's not even recognized as a touchpad.

Hope this gets solved soon.

Revision history for this message
Andrew Skalski (askalski) wrote :

Back from vacation. I rewrote the Dell patch, and fixed the suspend/resume bug. I couldn't find any way to enable hardware tapping or scrolling within absolute mode -- those features are apparently handled by the driver for this device. So, until software support is written for Linux, we're stuck with IMPS emulation mode. I did, however, figure out how to disable/enable hardware tapping in IMPS mode, and left it as a comment inside the patch.

The attached patch is against the Ubuntu-2.6.32-24.40 tag.

Revision history for this message
Andrew Skalski (askalski) wrote :

Attached updated psmouse.ko for x86_64

Revision history for this message
Michal (mikeos) wrote :

Andrew, your patch does not apply cleanly on Ubuntu Maverick kernel 2.6.35. As you wrote in #140 you had to modify the Dell patch, it was not the case with 2.6.35 where it did apply cleanly right away. The problem is in "alps.c", especially alps_hw_init function which is significantly different. Could you please have a look at this kernel?

Revision history for this message
Andrew Skalski (askalski) wrote :

Here's a patch against 2.6.35. I moved the reset out of initialization and into disconnect, and rewrote the "PSMOUSE_IMPS" hack a little differently (the original Dell patch would change psmouse->type, even when it wasn't supposed to do so.)

I wonder if this driver should be in its own .c file, separate from alps.c, since the new protocol is so different. Maybe that's something to think about if somebody decides to implement the 6-byte absolute protocol.

I tested docking/undocking from a station with a PS/2 mouse attached, and it behaved more or less sanely. While docked, the touchpad falls back to generic PS/2 mode, however.

Revision history for this message
Chase Douglas (chasedouglas) wrote :

Hi Andrew,

I think your work on getting this trackpad to function based on the original patch from Dell is great!

Would you feel comfortable sending your patch on to <email address hidden>? That list is where the Ubuntu kernel team manages patches that go into the official kernel. If you are interested, the sign-up page is at: https://lists.ubuntu.com/mailman/listinfo/kernel-team.

Thanks!

P.S.: I realized I'm still assigned to this bug, but I don't have time to shepherd it through right now. I'm unassigning myself.

Changed in linux (Ubuntu):
assignee: Chase Douglas (chasedouglas) → nobody
Revision history for this message
Ben Howell (calaverx11) wrote :

Would it be possible to get Andrew's patch rolled into kernel-ppa? I'm running Lucid with backported kernel maverick-2.6.35-17-generic-pae, and this driver still doesn't work.

Revision history for this message
Michal (mikeos) wrote :

Attached psmouse.ko module based on latest patch by Andrew; this version has tapping disabled via modified extra bits. I suppose mainly GlidePoint users are negatively impacted by touchpad's hypersensitivity (#147), so we'd better turn tapping off.

If this patch is going to go to the mainline kernel, it should be made clear how to control the extra bits of IMPS mode settings from a userspace program (synclient?).

Revision history for this message
Tomás Gutiérrez (tomas-gutierrez) wrote :

Confirming this issue on a Dell E5410.

Andrew - Thanks for your work on this patch! It solved vertical scrolling for me.

Now to figure out suspend-resume/wireless connection display

Revision history for this message
Brian (x-brian) wrote :

@togume #158:

Check out Bug 594837. That might be your suspend/resume problem on a Dell E5410 (was for me on an E6410). That fix should be released very soon, though.

Revision history for this message
Øyvind Stegard (oyvindstegard) wrote :

Andrew's latest patch and psmouse module build for 2.6.32-24 x86-64 works great on my E6510. Suspend/resume OK as well. Thanks.

Revision history for this message
Corona (stefaniefauconnier) wrote :

Could somebody build Andrew's psmouse module for 32bit, or give me instructions on how to do it myself? Thanks!

Revision history for this message
Tim Wahrendorff (tim.timwahrendorff) wrote :

I will try that out for sure on my 32bit build... So when I have the time and it works well, I can provide you a 32bit kernel build with that patched module.

I you do not like to wait, her is a full kernel Compile HowTo, which should answer all questions:
http://kernel-handbook.alioth.debian.org/

ubuntu documentation on this issue is here: https://help.ubuntu.com/community/Kernel/Compile

In short and easy:
1. You need some tools to compile, which ones is explained in the docs I linked.
2. You need kernel Sources for the kernel you like to build. Stable kernel sources can be downloaded via apt-get. mainline Builds with sources can be found here: http://kernel.ubuntu.com/~kernel-ppa/mainline/
3. You need to apply the patches to the kernel you like to recompile. You can do that manually by reading the patch file. It gives a path/name of a file in the kernel package and lines to add to that file (marked with ++) and lines to be deleted (marked with --). Do the changes.
4. Build the kernel with the patched module from source.
5. Restart with the newly compiled kernel.

Hopefully this gives you an overview. There are Forums which can answer your questions better, this is for bugtracking ;)
Have Fun!

Revision history for this message
TP Diffenbach (lists-diffenbach) wrote :
Download full text (3.4 KiB)

This bug also affects my Acer Timeline 1830T-3721.

I'm running the 64-bit version of Lucid (Kubuntu & KDE); uname -a shows:
Linux xxx 2.6.32-24-generic #41-Ubuntu SMP Thu Aug 19 01:38:40 UTC 2010 x86_64 GNU/Linux

Applying Andrew Skalski's psmouse.ko in comment #154 is a partial, and very much appreciated, fix.

After adding it (sudo rmmod psmouse; sudo insmod psmouse.ko), xinput show that the ALPS touchpad is recognized:
xinput list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ Macintosh mouse button emulation id=12 [slave pointer (2)]
⎜ ↳ ImPS/2 ALPS GlidePoint id=11 [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)]
    ↳ Sleep Button id=8 [slave keyboard (3)]
    ↳ 1.3M WebCam id=9 [slave keyboard (3)]
    ↳ AT Translated Set 2 keyboard id=10 [slave keyboard (3)]

However, the touchpad settings in System Settings | Keyboard & Mouse | Touchpad continue to be grayed-out.

Prior to adding Mr. Skalski's psmouse.ko, the touchpad supported only mouse movement and tap-to-click; after adding it, it additionally supports one-finger vertical scrolling in the right-edge vertical scrolling area. Two-finger anything (scroll, horizontal scroll, tap) is not supported; unfortunately, these are the features I most desire to have.

Oddly, it supports right-click if tapped at one spot along the top edge of the touchpad, immediately to the left of the right-edge scroll-area (?!); this is unexpected and mostly useless, as it's hard to consistently hit this precise spot. (I also set this area up as a right-click "hotspot" under under MS-Windows; is it possible the MS-Wndows driver communicates settings to the touchpad hardware, and the touchpad hardware retains settings across reboots??)

Running xinput list-properties on the touchpad shows the following:

xinput list-props 11
Device 'ImPS/2 ALPS GlidePoint':
        Device Enabled (125): 1
        Device Accel Profile (242): 0
        Device Accel Constant Deceleration (243): 1.000000
        Device Accel Adaptive Deceleration (245): 1.000000
        Device Accel Velocity Scaling (246): 10.000000
        Evdev Reopen Attempts (240): 10
        Evdev Axis Inversion (247): 0, 0
        Evdev Axes Swap (249): 0
        Axis Labels (250): "Rel X" (133), "Rel Y" (134)
        Button Labels (251): "Button Left" (126), "Button Middle" (127), "Button Right" (128), "Button Wheel Up" (129), "Button Wheel Down" (130), "Button Horiz Wheel Left" (131), "Button Horiz Wheel Right" (132)
        Evdev Middle Button Emulation (252): 2
        Evdev Middle Button Timeout (253): 50
        Evdev Wheel Emulation (254): 0
        Evdev Wheel Emulation Axes (255): 0...

Read more...

Revision history for this message
TP Diffenbach (lists-diffenbach) wrote :

Correction: I wrote "Applying Andrew Skalski's psmouse.ko in comment #154", I should have written comment #152.

Revision history for this message
kirkpuppy (kirkpuppyspam) wrote :

Hi Guys,

I'm not an Ubuntu user. But my wife's laptop (Gateway NV59) has a newer Synaptics/Alps touch pad that isn't recognized by alps.c, just shows up as a regular ps2 mouse. I applied the patch from dell against kernel 2.6.35.2. After which the touch pad was not functional, but /proc/bus/input/devices did list it as a Synaptics/Alps touch pad. This was with psmouse built into the kernel. Tried the patch from comment 154 with kernel 2.6.35.4 and built it as a module this time. Now the touch pad on the NV59 is functional and is listed in /proc/bus/input/devices but seems about the same as without the patch. I also tried this same kernel on a Dell 1545, which is well supported by the normal module and Xorg synaptic driver. The touch pad shows up in /proc/bus/input/devices but the Xorg synaptics driver can't work with it. Might want to do some more testing before dropping this in a release kernel.

Oh well, at least Dell is doing something. Thanks for everyone's efforts.

Revision history for this message
TP Diffenbach (lists-diffenbach) wrote :

Stupid noob question here: every time I reboot, to install Andrew Skalski's modified psmouse.ko, I have to sudo rmmod psmouse; sudo insmod psmouse.ko.

How can I get Skalski's psmouse.ko loaded automatically?

Revision history for this message
Øyvind Stegard (oyvindstegard) wrote :

TP Diffenbach <email address hidden> writes:

> Stupid noob question here: every time I reboot, to install Andrew
> Skalski's modified psmouse.ko, I have to sudo rmmod psmouse; sudo insmod
> psmouse.ko.
>
> How can I get Skalski's psmouse.ko loaded automatically?

Well, you could put these two lines in /etc/rc.local:

modprobe -r psmouse || true
insmod /path/to/hacked/psmouse.ko || echo 'Failed to load hacked psmouse.ko, probably needs recompiling.'

Haven't tested it, though. I'll rather wait till the fixes are
incorporated into the default kernel. You'll need to be aware when
kernel [ABI] upgrades happen. This approach will fail in that scenario
(if new kernel version requires module recompile).

Øyvind
--
< Øyvind Stegard
 < http://folk.uio.no/oyvinst/

Revision history for this message
Øyvind Stegard (oyvindstegard) wrote :

Øyvind Stegard <email address hidden> writes:
> modprobe -r psmouse || true
> insmod /path/to/hacked/psmouse.ko || echo 'Failed to load hacked
> psmouse.ko, probably needs recompiling.'

Perhaps slightly better is to fallback to the regular psmouse module, if
the other one fails to load:

modprobe -r psmouse || true
insmod /path/to/hacked/psmouse.ko || { echo 'Failed to load hacked psmouse.ko, falling back to standard.'; modprobe psmouse; true; }

Øyvind
--
< Øyvind Stegard
 < http://folk.uio.no/oyvinst/

Revision history for this message
Tomás Gutiérrez (tomas-gutierrez) wrote :

@Brian #159 - Thanks. This was indeed fixed with the latest kernel release 2.6.32-24. I was tracking a duplicate one https://bugs.launchpad.net/ubuntu/+source/linux/+bug/578673

@TP Diffenbach - If it's working well enough you might consider replacing the default psmouse.ko with the fixed one. Just remember to rename the old one and keep it close in case you need to fall back on it. This way it will be enabled on reboot.

Again, thanks for the work on this!

Revision history for this message
John Dickson (captsens) wrote :

For those not running 64-bit Ubuntu, here's a 32-bit version of the driver, compiled against 2.6.32-24-generic-pae.

This is based on Andrew Skalski's patch in #154, with a couple of changes to work on 2.6.32 (probably the same as his patch in #151, which I missed). This patch also disables tap-to-click as well as tapping the top right corner as a right-click.

I'm using this on a Dell E6510 without any problems.

Cheers ............................... JD

Revision history for this message
pvillela (pvillela) wrote :

Tested Andrew's psmouse.ko (see #152) on my E6410 (i5, Intel video) with standard Ubuntu kernel 2.6.32-24-generic. Scrolling is enabled and suspend-resume works (with the known inconvenience that the machine resumes with a very dim screen -- workaround: increase screen brightness manually). Thanks to Andrew for the great work.

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

No trackpad scrolling in 10.10 beta on my Latitude E6410 for me

Revision history for this message
J. Shinall (jshinall) wrote :

As a Debian Squeeze user, I wanted to let you all know that Andrew's patch from #151 did the trick. I've got vertical scrolling agian. I can't configure the touchpad using gsynaptics, but I don't really care as long as vertical scrolling is back.

I manually patched the 2.6.32 source using the 'make' instructions from https://confluence.nau.edu/display/\~cmg238\@nau.edu/Recognize+ALPS+Touchpad+on+Dell+E6510+in+Ubuntu

On a side note, this kind of rapid development has me wondering if I should switch back to Ubuntu. I couldn't find *anyone* on the Debian side doing anything to try and fix this ALPS Touchpad issue. Kudos to Andrew and everyone else in this thread!

Revision history for this message
thefluxster (buy-ikentech) wrote :

Being part of the largest Linux desktop community does have its advantages. Of course, we're all part of the even larger Debian-based community and the upstream work shouldn't be minimalized either.

Anyone know if this workaround patch is slated to make its way into the auto-updates or should I hold my breath for a real fix to the problem?

Revision history for this message
Michal (mikeos) wrote :

Manoj Iyer from Canonical has recently introduced the original Dell patch to the Maverick kernel 2.6.35-22. It means there exists the above discussed issue with erratic mouse behaviour on resume. There are no extra features implemented which were brought by Andrew to control things like tapping disable.

The faulty patch:
http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-maverick.git;a=commitdiff;h=bd79df42218fe1db5e683b567791d4bb97b60685

I notified Manoj about the existence of Andrew's patch. So attention, Andrew's patch currently does not apply cleanly since 2.6.35-22. Meanwhile I was able to successfully apply and compile the patch against 2.6.35-22 by patching drivers/input/mouse sources from 2.6.35-21. Andrew's patch also applied cleanly and works correctly on 2.6.36rc4.

Revision history for this message
Michal (mikeos) wrote :

The Dell patch has been reverted in 2.6.35-22.33. As a result Andrew's patch applies cleanly again. It's already the period of kernel freeze for Maverick so it's unlikely that Maverick would get the support out of the box :/ Blame Alps for not willing to publish the new protocol specifications.

Revision history for this message
raboof (arnouten) wrote :

Did anyone actually manage to contact someone at ALPS?

Revision history for this message
Michal (mikeos) wrote :
Revision history for this message
Øyvind Stegard (oyvindstegard) wrote :

mikeos <email address hidden> writes:

> raboof: http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-
> maverick.git;a=commitdiff;h=bd79df42218fe1db5e683b567791d4bb97b60685

Hope the Dell patch (or derived/improved works) ends up getting included
with Ubuntu anyway, if it doesn't break anything.. Scrolling is better
than nothing.

Revision history for this message
kirkpuppy (kirkpuppyspam) wrote :

Please disregard my comment (#165). Idiot error on my part. I had changed 0x0005 to 02, thinking that would disable tapping, but that disabled IMPS too. Set it to 03, now everything works great. Sorry for the bad report. Thanks for the patch Andrew!

Revision history for this message
Corona (stefaniefauconnier) wrote :

psmouse.ko, compiled against 2.6.36-rc5 with Andrew's patch applied.

Revision history for this message
That Bum (jzachariou) wrote :

I have a similar problem, I think. I have an ASUS Eee 1015PED. The touchpad works fine, even all the capacitive multitouch things, like the two-fingered scrolling and the three-fingered right click, but there is no Touchpad Tab in Preferences -> Mouse, so I can't turn on the disable-touchpad-while-typing thing, or turn off tap-to-click...both problems are incredibly annoying to me, because my mouse flies around when I'm trying to type, and I always inadvertently click things with the touchpad while moving my finger.

I tried running syndaemon, but it says it can't find anything. I tried gsynaptics, but it says it needs 'SHMClient' 'true' enabled in xorg.conf. That's not going to fly because there is no xorg.conf in 10.04 because there's no hal; it's all udev now, which I have no idea how to configure. I tried fiddling with synclient but it said there wasn't any driver to connect to.

I think that, at least on my machine, the touchpad is operating on a lower level than udev is aware of, because my scrolling is working, but the Touchpad tab in Mouse is absent. This suggests udev is seeing it as a generic mouse, and some other driver or something is passing the touchpad-type stuff to the higher levels. For example, to get the Fn keys working on my 1015, I had to use a kernel parameter. Does getting the touchpad to work require a kernel parameter?

I was directed to come here by looking at this: http://markmail.org/message/y5zvwpemhd63dfj5

Some outputs:

lsmod | grep psmouse
psmouse 63245 0
-
dmesg | grep mouse
[ 0.392123] input: Macintosh mouse button emulation as /devices/virtual/input/input4
[ 0.586860] mice: PS/2 mouse device common for all mice
[ 14.467520] psmouse serio1: ID: 10 00 64

Revision history for this message
mättu (matthias-puffin) wrote :

Thanks to Andrew #154 for the patch.
I applied it and fiddled with the codes on line 175 of alps.c

with:
alps_ec_write(psmouse, 0x0005, 0x01)

scrolling works, tapping as well.

although:
alps_ec_write(psmouse, 0x0005, 0x02)
which should disable tapping leads to unusable touchpad behaviour. It clicks randomly all the time. :-S

Have I missed something? This is a Dell E6510 with 2.6.35-22-generic-pae (32-bit)

@John (#170) How did you disable tapping entirely for the 10.04-kernel?

Revision history for this message
Andrew Skalski (askalski) wrote :

Sorry that I haven't had the time to follow up on this in a while. If upstream is holding out for multitouch specs, then I wouldn't hold my breath waiting. From what I could tell, when I looked at it, the multitouch support in Windows is handled by the user-space driver, and not by the hardware. So if we want that support, we're on our own. I've decoded enough of the protocol that a full-featured driver can be written (with the possible exception of sensitivity adjustment; though based on the Windows driver initialization, that *might* be the job of registers 0x14d and 0x163.) But the implementation will need to handle basically everything: tapping, dragging, scrolling, gestures, etc.

@mättu (#183): Try setting register 0x0005 to the value 0x03 (IMPS emulation + Disable hardware tap)

Revision history for this message
John Dickson (captsens) wrote :

@mättu (#183): I used:
    alps_ec_write(psmouse, 0x0005, 0x07)
to disable the tapping completely (this also disables the corner tap as a right click).

One of the earlier patches (from @Andrew?) had notes about what the different bits controlled - I based mine on that documentation.

Revision history for this message
mättu (matthias-puffin) wrote :

works, great.

I edited the patch according your inscructions (line 175) and changed the git diff lilnes so that it can be applied directly in ~/linux-2.6.35/drivers/input/mouse/

Here is what I had to do on delle6510 with ubuntu 10.10 2.6.35-22-generic-pae:
(to remind myself of my first kernel module patching session) ;-)

Install kernel headers:
 sudo apt-get build-dep --no-install-recommends linux-image-$(uname -r)
 apt-get source linux-image-$(uname -r)
this puts a "linux-[your-version]" directory into your home

install git:
 sudo apt-get install git

change into it:
 cd src/drivers/input/mouse

backup alps.c, alps.h, psmouse.h

apply patch:
 patch -p0 < patch-dell-e6510

make & install:
 make -C /lib/modules/`uname -r`/build M=`pwd` psmouse.ko
 sudo rmmod psmouse
 sudo cp psmouse.ko /lib/modules/`uname -r`/kernel/drivers/input/mouse/
 sudo modprobe psmouse

thanks everybody very much!
:m)

Revision history for this message
mättu (matthias-puffin) wrote :

.. and here ist the compiled psmouse.ko for kernel 2.6.35-22-generic-pae (32-bit)

 sudo rmmod psmouse
 sudo cp psmouse.ko /lib/modules/`uname -r`/kernel/drivers/input/mouse/
 sudo modprobe psmouse

Revision history for this message
Jean-Claude Le Douaron (jcledoua) wrote :

I did just that but then the touchpad doesn't work at all. What did I do wrong?
jc@jc-netbook:~$ cd ./Skrivbord
jc@jc-netbook:~/Skrivbord$ sudo cp psmouse.ko /lib/modules/`uname -r`/kernel/drivers/input/mouse/
jc@jc-netbook:~/Skrivbord$ sudo modprobe psmouse
FATAL: Error inserting psmouse (/lib/modules/2.6.35-22-generic/kernel/drivers/input/mouse/psmouse.ko): Invalid module format
jc@jc-netbook:~/Skrivbord$

Revision history for this message
Corona (stefaniefauconnier) wrote :

What do you mean, "just that"? Did you download mättu's module or did you compile it yourself? The psmouse.ko module posted by mättu is compiled for kernel 2.6.35-22-generic-pae 32bit and might not work with other kernels. I hope you have a backup of /lib/modules/`uname -r`/kernel/drivers/input/mouse/psmouse.ko so you can place the original one back.

Revision history for this message
Jean-Claude Le Douaron (jcledoua) wrote :

Just that: I downloaded Mättu's module and the kernel I have is 2.6.35-22
and obviously I should have made a backup of /lib/modules/`uname -r`/kernel/drivers/input/mouse/psmouse.ko

But I'm quite new to Ubuntu, so I didn't think of it...

Revision history for this message
Corona (stefaniefauconnier) wrote :

Note that Mättu's kernel is a PAE kernel (generic-pae), so that might be why it doesn't work for you. Anyways, here's my psmouse.ko for 2.6.35-7, you might give it a try but I don't know if it will work.

Revision history for this message
Jean-Claude Le Douaron (jcledoua) wrote :

well I upgraded to 10:10 past Sunday, and check the kernel and got the answer that it was 2.6.35-22 before following Mattus' advice. But today the update system told me that there were new kernel headers. After updating my touchpad is back but with the same problem that gpointing devices doesn't recognise it and I can't disable it when typing....
My laptop is a HP Pavilion dm1-2010so.

xinput -list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ PS/2 Generic Mouse id=12 [slave pointer (2)]
⎜ ↳ Macintosh mouse button emulation id=13 [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)]
    ↳ Power Button id=8 [slave keyboard (3)]
    ↳ Sleep Button id=9 [slave keyboard (3)]
    ↳ HP Webcam-50 id=10 [slave keyboard (3)]
    ↳ AT Translated Set 2 keyboard id=11 [slave keyboard (3)]

Revision history for this message
Dirk (dirk-hellwig) wrote :

Dell Latitude E4310 same Problem.

Linux grisu-nb 2.6.35-22-generic #35-Ubuntu SMP Sat Oct 16 20:45:36 UTC 2010 x86_64 GNU/Linux

xinput -list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ Logitech USB Receiver id=11 [slave pointer (2)]
⎜ ↳ PS/2 Generic Mouse 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)]
    ↳ Power Button id=8 [slave keyboard (3)]
    ↳ Sleep Button id=9 [slave keyboard (3)]
    ↳ Logitech USB Receiver id=10 [slave keyboard (3)]
    ↳ Laptop_Integrated_Webcam_2M id=12 [slave keyboard (3)]
    ↳ AT Translated Set 2 keyboard id=13 [slave keyboard (3)]
    ↳ Dell WMI hotkeys id=15 [slave keyboard (3)]

Revision history for this message
felix (lumiere2002) wrote :

Works great for me on E6410 Maverick 2.6.35-22-generic X86

Here is my psmouse.ko

Revision history for this message
Eylem (eylemkoca) wrote :

After almost any Kernel related updates one needs to redo the steps described in #186. I'm saying this as a heads-up to people who don't have success trying the psmouse.ko's attached here, and as an explanation to why it stopped working "all of a sudden".

What I don't understand is how is it that such a long standing bug is not addressed by Ubuntu devs even if it's a temporary fix as this one. Fingers crossed for a solid fix though...

Thank you to all who contributed in this!

Revision history for this message
Alexandre Garnier (zigarn) wrote :

Does anyone have a psmouse.ko for 2.6.35-22-generic 64bits ?

And, for now, we have to do this manipulation at each kernel update ?

Revision history for this message
Alexandre Garnier (zigarn) wrote :

Here is my psmouse.ko for 2.6.35-22-generic 64bits.

Scrolling is back.
But I've lost click by tapping...

Revision history for this message
aftertaf (david-wooffindin) wrote :

and I just find that file and (backup/)replace it with yours ?

Revision history for this message
aftertaf (david-wooffindin) wrote :

"
aftertaf@tranquility:/lib/modules/2.6.36-020636rc8-generic/kernel/drivers/input/mouse$ sudo modprobe psmouse
FATAL: Error inserting psmouse (/lib/modules/2.6.36-020636rc8-generic/kernel/drivers/input/mouse/psmouse.ko): Invalid module format
"

Fixable?
or not compatible with this kernel ?

Revision history for this message
oooh (oooh-oooh) wrote :

As few people seem to be capable of compiling the KO (amongst them is ME !)

Could somebody who knows well sends us a link or brief explanation how to do
that

Could somebody do that ? I could then compile mine on a:

2.6.32-25-generic ....... x86_64 GNU/Linux

Good work for the "patchers" !!

Revision history for this message
Steven (svanpoeck) wrote :

Hi,

This post from @remco on a related bug (https://bugs.launchpad.net/ubuntu/+source/linux/+bug/606238) explains it all:
http://confluence.nau.edu/display/~<email address hidden>/Recognize+ALPS+Touchpad+on+Dell+E6510+in+Ubuntu

BR,
Steven

Revision history for this message
François (francois-michonneau) wrote :

in my case (latitude e6510) the patch and the instructions provided here fix the scrolling issue: http://<email address hidden>/msg2560539.html

tags: removed: i386
Revision history for this message
bagl0312 (bagl0312) wrote :

In my dell precision M4500 with ubuntu 10.10 64bits problem is still present.

I tried also kernel 2.6.36 from:
http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.36-maverick/
without luck. The above kernel solves other suspend/resume problems on dell M4500 (bug 563318).

Applying the patch from Andrew Walski #154 solves the scrolling problem, even if the touchpad is still not recognized as a touchpad in the "mouse" control panel.
I attach here the psmouse.ko module compiled against kernel 2.6.36 64bits

Revision history for this message
stuart taylor (ubuntu-j-notation) wrote :

a side note.

i can see that in 64bit lucid with 2.6.32-21-generic dmesg reports the ALPS pad, but in 2.6.32-24-generic and beyond (2.6.32-25-generic) the pad is not recognised.

So there has been a regression within the kernel.

Now, while the pads is recognised in 2.6.32-21-generic, and the track pad configuration tab appears correctly within mouse configuration, it still does not support scrolling.

hsiboy

Teva Riou (teva-riou)
Changed in linux:
importance: Undecided → Unknown
status: New → Unknown
importance: Unknown → Undecided
status: Unknown → New
Changed in linux (Fedora):
importance: Unknown → Undecided
status: Unknown → New
Teva Riou (teva-riou)
Changed in linux (Fedora):
importance: Undecided → Unknown
status: New → Unknown
importance: Unknown → Undecided
status: Unknown → New
Revision history for this message
aftertaf (david-wooffindin) wrote :

in 2.6.36 64 bit maverick, I confirm that the touchpad is broken: not recognised and usable just as a mouse (moving cursor, tap = click) but no scrolling.

Revision history for this message
aftertaf (david-wooffindin) wrote :

and I also confirm that psmouse.ko patched above by bagl0312 enables scrolling :)

Revision history for this message
Jean-Claude Le Douaron (jcledoua) wrote :

I also confirm that psmouse.ko patched above by bagl0312 enables scrolling on my HP pavilion dm1-2010so. But still the GP pointing device settings doesn't reconise the touchpad...

Revision history for this message
Luca-formaggia (luca-formaggia) wrote :

I also confirm that on my Dell E4310 the patched module proposed by bagl0312 in #203 does not chenge anything. The pointing device is still not recognised properly.

xinput -list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ PS/2 Generic Mouse id=11 [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)]
    ↳ Power Button id=8 [slave keyboard (3)]
    ↳ Sleep Button id=9 [slave keyboard (3)]
    ↳ AT Translated Set 2 keyboard id=10 [slave keyboard (3)]
    ↳ Dell WMI hotkeys id=12 [slave keyboard (3)]

It works with the basic functionalities but I cannot set scrolling nor change its sensitivity. Actually until the bug is fixed what I would like to do is to switch the touchpad off and leave only the pointer in the middle of the keyboard. Any suggestion on how this can be made? The GPointing device setting windows shows me just one mouse (PS2).

Thanks

Luca

Revision history for this message
Luca-formaggia (luca-formaggia) wrote :

Sorry!!! Wrong message. I had a wrong options for the module. With the patch the mouse is recognised as an ALPS Glidepoint and scrolling works fine.

I do apologise for the wrong message.

Luca

Revision history for this message
Mark Van den Borre (markvdb) wrote :

I can confirm that the patch in https://bugs.launchpad.net/ubuntu/+source/linux/+bug/550625/comments/154 works for my Dell Latitude e4310 with the latest 10.10 kernel.

Revision history for this message
Cymaphore (cymaphore) wrote :

I am using Ubuntu 10.04 (lucid) on a DELL PRECISION M4500 (company notebook). Due to company policy I cannot upgrade to maverick (in fact I am grateful not to be forced to used plain lenny like many others :-) ) ...

Patch from #154 doesn't work on my present 2.6.32-25-generic kernel - something causes panic.

However, this patch:
https://patchwork.kernel.org/patch/118834/
does, with limited functionality.

Attached is a clean version of that patch that works against lucid kernels.

Changed in linux (Ubuntu Lucid):
status: Incomplete → Opinion
Gursimran singh (simar)
Changed in linux (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Sasquatch (sasquatch) wrote :

Can someone please build and attach the psmouse.ko file with the patch applied for the mainline kernel 2.6.36.1 64 bit? I prefer to stay with this kernel instead of going to 2.6.36.

Revision history for this message
mio75 (mio75) wrote :

Confirming #211: I applied that patch on a Dell Precision M4500 with Ubuntu 10.04, kernel 2.6.32-26-generic.

With that patch, vertical scrolling works, but gnome-mouse-properties does not show a "Touchpad" tab so I can't disable the touchpad while typing or use multitouch etc.

Revision history for this message
Alejandro Díaz-Caro (janus) wrote :

Same bug in Dell Inspiron 1545, with Maverick 32bits updated today.

nache@Ernesto:~$ uname -r
2.6.35-23-generic

Revision history for this message
unamico (grandesso-giovanni) wrote :

Same bug in Dell Precision M4500, with Ubuntu 10.10 64bits updated today.
pointing and tap=click is ok but no V/H scroll
...:~$ uname -r
2.6.35-23-generic

Revision history for this message
Tim Wahrendorff (tim.timwahrendorff) wrote :

jtk: the patch in comment #194 works for kernel version 2.6.35-23-generic 32bit, too... I expect that as well for other patches, as long as only the patchlevel changed. (What is a patchlevel? http://www.linuxcertified.com/e-learning/linuxplus/html/1_9.html)

Revision history for this message
mete0r (mete0r) wrote :

Confirm #154: Acer Aspire One 753 with Alps touchpad (E7: 73 02 64)
- tap to click: ok
- vertical scroll : ok
- tap on top-right area to right-click: ok

Revision history for this message
Ryan Edwards (redwards1) wrote :

Confirm #186 (https://bugs.launchpad.net/ubuntu/+source/linux/+bug/550625/comments/186) works on Ubuntu 10.10 x64 2.6.35-23-generic for vertical scrolling (not horizontal), however "tap to click" is disabled. I am willing to accept this for vertical scrolling.

xinput list became:

⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ AlpsPS/2 ALPS GlidePoint id=13 [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)]
    ↳ Power Button id=8 [slave keyboard (3)]
    ↳ Sleep Button id=9 [slave keyboard (3)]
    ↳ AT Translated Set 2 keyboard id=10 [slave keyboard (3)]
    ↳ Dell WMI hotkeys

Where it was originally Generic PS/2.

Attached is my compiled psmouse.ko for anyone who is 10.10 x64 2.6.35-23-generic and wants to give it a shot.

Revision history for this message
Ryan Edwards (redwards1) wrote :

Oops. Forgot to mention I'm on a Dell Latitude E6510.

Revision history for this message
patrick wilken (pwilken) wrote :

Just reporting that the patch offered in #187 for 2.6.35-22-generic-pae (32-bit) didn't work on 2.6.35-23-generic-pae (32-bit) for the Samsung RF510. The touchpad is still seen as a generic PS-Mouse. :(

Revision history for this message
Filip Vařecha (xaralis) wrote :

Patch offered in #187 didn't work for me as well (having 2.6.35-22-generic-pae). I have recompiled it following instructions in #186 and that did the trick! Thanks a lot.

Attached is my result of recompilation, 10.04, 32 bit, 2.6.35-22-generic-pae.

Revision history for this message
henk (henk1234) wrote :

Here's a dkms package for the psmouse module with the alps patch. You can use this until the patch is merged upstream.

Revision history for this message
hleong (excel28) wrote :

I'm trying to install the deb pkg, but it fails. Here is the error I'm getting.
====================================================================
Setting up psmouse-dkms (0.1-1) ...

Error! Could not find module source directory.
Directory: /usr/src/psmouse-0.1 does not exist.

Error! DKMS tree does not contain: psmouse-0.1
Build cannot continue without the proper tree.

Error! DKMS tree does not contain: psmouse-0.1
Build cannot continue without the proper tree.
dpkg: error processing psmouse-dkms (--install):
 subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
 psmouse-dkms
====================================================================

Is there anything I'm doing wrong?

Revision history for this message
tempo500 (philip-ballinger) wrote :

second that...

 sudo dpkg -i psmouse.deb
(Reading database ... 192644 files and directories currently installed.)
Preparing to replace psmouse-dkms 0.1-1 (using psmouse.deb) ...

Error! There are no instances of module: psmouse
0.1 located in the DKMS tree.
dpkg: warning: subprocess old pre-removal script returned error exit status 3
dpkg - trying script from the new package instead ...

Error! There are no instances of module: psmouse
0.1 located in the DKMS tree.
dpkg: error processing psmouse.deb (--install):
 subprocess new pre-removal script returned error exit status 3

Error! Could not find module source directory.
Directory: /usr/src/psmouse-0.1 does not exist.

Error! DKMS tree does not contain: psmouse-0.1
Build cannot continue without the proper tree.

Error! DKMS tree does not contain: psmouse-0.1
Build cannot continue without the proper tree.
dpkg: error while cleaning up:
 subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
 psmouse.deb

Revision history for this message
henk (henk1234) wrote :

I accidentally uploaded the wrong version. This one should work (I hope)

Revision history for this message
Sasquatch (sasquatch) wrote :

It works fine now. Install on kernel 2.6.37 x64 was successful. Thanks for the dkms patch, it makes it a lot easier to update the kernel without having to patch it manually every time or wait for someone to upload a patched version for your kernel.

Revision history for this message
Guru R (rguru76) wrote :

Hi, I get an error,

uname -a
Linux rgururaj 2.6.35-24-generic #42-Ubuntu SMP Thu Dec 2 02:41:37 UTC 2010 x86_64 GNU/Linux

Software Center
"There seems to be a programming error in aptdaemon, the software that allows you to install/remove software and to perform other tasks related to package management. Please report this error at http://launchpad.net/aptdaemon/+filebug and retry."

dpkg -i
"Error! Bad return status for module build on kernel: 2.6.35-24-generic (x86_64)
Consult the make.log in the build directory
/var/lib/dkms/psmouse/0.1/build/ for more information.
0
0
Traceback (most recent call last):
  File "/usr/share/apport/package-hooks/dkms.py", line 57, in <module>
    report.write(open(apport.fileutils.make_report_path(report), 'w'))
IOError: [Errno 2] No such file or directory: '/var/crash/psmouse-dkms.0.crash'

Error! Could not locate psmouse.ko for module psmouse in the DKMS tree.
You must run a dkms build for kernel 2.6.35-24-generic (x86_64) first.
dpkg: error processing psmouse-dkms (--install):
 subprocess installed post-installation script returned error exit status 4
Errors were encountered while processing:
 psmouse-dkms"

Let me know if anyone needs any further information.

Revision history for this message
VasilKhoff (vass-ko) wrote :

i've got issue with this patch
answer from mine touchpad
alps.c: E6 report: 00 00 64
alps.c: E7 report: 73 02 64
alps.c: EC report: 88 07 8a
so, EC report seems not as Andrew coded in patch (9b | 9d) and further initialization not proceed.

I'm on Sony Vaio, but E7 report shows same type of ALPS touchpad

Revision history for this message
hleong (excel28) wrote :

Thanks for the new version, but I'm getting issues with it too.

====================================================================
Selecting previously deselected package psmouse-dkms.
(Reading database ... 254677 files and directories currently installed.)
Preparing to replace psmouse-dkms 0.1-1 (using psmouse-0.1-1.all.deb) ...

Error! There are no instances of module: psmouse
0.1 located in the DKMS tree.
dpkg: warning: old pre-removal script returned error exit status 3
dpkg - trying script from the new package instead ...

Error! There are no instances of module: psmouse
0.1 located in the DKMS tree.
dpkg: error processing psmouse-0.1-1.all.deb (--install):
 subprocess new pre-removal script returned error exit status 3

Error! Could not find module source directory.
Directory: /usr/src/psmouse-0.1 does not exist.

Error! DKMS tree does not contain: psmouse-0.1
Build cannot continue without the proper tree.

Error! DKMS tree does not contain: psmouse-0.1
Build cannot continue without the proper tree.
dpkg: error while cleaning up:
 subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
 psmouse-0.1-1.all.deb
====================================================================
uname -a
Linux mobuntu6510 2.6.32-02063213-generic #02063213 SMP Mon May 17 11:08:46 UTC 2010 x86_64 GNU/Linux
====================================================================

I am using a very old version of the kernel because of the laptop I'm on (henk, it's Bug# 600453, blank screen with intel video). Maybe I'm getting the psmouse issue because of the old kernel?

Revision history for this message
Steven (svanpoeck) wrote :

Hi Henk,

Thanks for the package but I have the same error as Guru R has.

I'm on a Dell Latitude E6510 with uname -a:
Linux rd-25 2.6.35-24-generic #42-Ubuntu SMP Thu Dec 2 02:41:37 UTC 2010 x86_64 GNU/Linux

Thanks,
Steven

Revision history for this message
nbubis (nbubis) wrote :

Hi all,

Having the same problem on a Dell E6410.

Henk - the psmouse package doesn't work for me either (same errors as Guru R). I'm using the 2.6.35-22-generic kernel. Should we be using a different kernel?

Revision history for this message
Sasquatch (sasquatch) wrote :

Those of you with a Dell Latitude E6510, I use the same laptop and used the attached patched files with previous stock kernels until I went to 2.6.36 and now run 2.6.37. No problem with the last kernel on it. So maybe it's the kernel that's giving problems, or you're missing the kernel headers package (unlikely with DKMS installed, but check to be sure). Else just upgrade to 2.6.36 or newer from http://kernel.ubuntu.com/~kernel-ppa/mainline. The 2.6.36 kernel fixed my suspend issue, so it's worth a shot. If you use the Intel video card in it, 2.6.37 might be a good choice. My Latitude has an nVidia card and uses it, so I don't need the Intel GMA patches or anything. Maybe it's dual-video due to the i7 CPU?

Revision history for this message
Steven (svanpoeck) wrote :

I upgraded to kernel 2.6.37RC2 (http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.37-rc2-maverick/) but after that, I had no display anymore on my Dell Latitude E6510. I had to use an install CD to get at my GRUB conf to have it load the 2.6.35 kernel again.

Of course, I have not been able to test the package ;)

I don't know if it's related to my machine specifically, but I thought I'd mention this as a warning for Dell Latitude E6510 users.

Steven

Revision history for this message
Bruab (blroberts) wrote :

I had the same problem as Steven above, but was able to revert GRUB by uninstalling the kernel I installed.

sudo apt-get remove linux-image-2.6.36-020636-generic

Revision history for this message
Sasquatch (sasquatch) wrote :

Steven, 2.6.37 is final already. I installed the 'natty' build, but that doesn't change much other than the name itself and maybe some patches in it for Natty. I did the same when new builds of 2.6.36 were released. So maybe the final works better.
In case you can't get back, hold left shift right after POST to get the grub menu.

Revision history for this message
chantra (chantra) wrote :

For those of you running 2.6.32 you might want to try to apply the patch attached to this comment to the sources from psmouse dkms from comment#225 .

** USE AT YOUR OWN RISK **
This works for me on Dell E4310 with kernel 2.6.32-27-generic-pae. You are free to use this patch but there is no guaranteee whatsoever.

@henk: You might want to add 0001-Compile-against-kernel-2.6.32.patch to your source.

I have created run.sh to make it easier for people to compile the module.

The way it works:
- download run.sh to your computer
- chmod 755 run.sh
- $ sudo ./run.sh

If everything goes fine, scroll should be working when installation has finished.

You have backup versions of your modules in
 /lib/modules/`uname -r`/kernel/drivers/input/mouse/psmouse.ko.*

Revision history for this message
chantra (chantra) wrote :

Here comes run.sh

Revision history for this message
henk (henk1234) wrote :

Patched dkms package

Revision history for this message
henk (henk1234) wrote :

Same package, but with a clean source

Revision history for this message
Scott Palmer (skewty) wrote :
Download full text (3.2 KiB)

It doesn't work for me. Here is what I did and what I get:

scott@scott-laptop:~/Downloads$ sudo dpkg -i psmouse-0.2-1.all.deb
(Reading database ... 169802 files and directories currently installed.)
Preparing to replace psmouse-dkms 0.2-1 (using psmouse-0.2-1.all.deb) ...

------------------------------
Deleting module version: 0.2
completely from the DKMS tree.
------------------------------
Done.
Unpacking replacement psmouse-dkms ...
Setting up psmouse-dkms (0.2-1) ...

Creating symlink /var/lib/dkms/psmouse/0.2/source ->
                 /usr/src/psmouse-0.2

DKMS: add Completed.

Kernel preparation unnecessary for this kernel. Skipping...

Building module:
cleaning build area....
make KERNELRELEASE=2.6.35-24-generic -C /lib/modules/2.6.35-24-generic/build
M=/var/lib/dkms/psmouse/0.2/build....(bad exit status: 2)

Error! Bad return status for module build on kernel: 2.6.35-24-generic
(x86_64)
Consult the make.log in the build directory
/var/lib/dkms/psmouse/0.2/build/ for more information.
0
0

Error! Could not locate psmouse.ko for module psmouse in the DKMS tree.
You must run a dkms build for kernel 2.6.35-24-generic (x86_64) first.
dpkg: error processing psmouse-dkms (--install):
 subprocess installed post-installation script returned error exit status 4
Errors were encountered while processing:
 psmouse-dkms
scott@scott-laptop:~/Downloads$ cat /var/lib/dkms/psmouse/0.2/build/make.log
DKMS make.log for psmouse-0.2 for kernel 2.6.35-24-generic (x86_64)
Mon Jan 17 13:50:15 PST 2011
make: Entering directory `/usr/src/linux-headers-2.6.35-24-generic'
  LD /var/lib/dkms/psmouse/0.2/build/built-in.o
  CC [M] /var/lib/dkms/psmouse/0.2/build/appletouch.o
  CC [M] /var/lib/dkms/psmouse/0.2/build/bcm5974.o
  CC [M] /var/lib/dkms/psmouse/0.2/build/gpio_mouse.o
  CC [M] /var/lib/dkms/psmouse/0.2/build/psmouse-base.o
/var/lib/dkms/psmouse/0.2/build/psmouse-base.c:48: error: variable
‘param_ops_proto_abbrev’ has initializer but incomplete type
/var/lib/dkms/psmouse/0.2/build/psmouse-base.c:49: error: unknown field
‘set’ specified in initializer
/var/lib/dkms/psmouse/0.2/build/psmouse-base.c:49: warning: excess elements
in struct initializer
/var/lib/dkms/psmouse/0.2/build/psmouse-base.c:49: warning: (near
initialization for ‘param_ops_proto_abbrev’)
/var/lib/dkms/psmouse/0.2/build/psmouse-base.c:50: error: unknown field
‘get’ specified in initializer
/var/lib/dkms/psmouse/0.2/build/psmouse-base.c:50: warning: excess elements
in struct initializer
/var/lib/dkms/psmouse/0.2/build/psmouse-base.c:50: warning: (near
initialization for ‘param_ops_proto_abbrev’)
/var/lib/dkms/psmouse/0.2/build/psmouse-base.c:54: error:
‘param_set_proto_abbrev’ undeclared here (not in a function)
/var/lib/dkms/psmouse/0.2/build/psmouse-base.c:54: error:
‘param_get_proto_abbrev’ undeclared here (not in a function)
/var/lib/dkms/psmouse/0.2/build/psmouse-base.c: In function
‘psmouse_attr_set_protocol’:
/var/lib/dkms/psmouse/0.2/build/psmouse-base.c:1596: error: ‘struct serio’
has no member named ‘children’
make[1]: *** [/var/lib/dkms/psmouse/0.2/build/psmouse-base.o] Error 1
make: *** [_module_/var/lib/dkms/psmouse/0.2/build] Error 2
make: Leaving directory `/usr/...

Read more...

Revision history for this message
nbubis (nbubis) wrote :

Same errors as skewty using chantra's run.sh, using the same kernel (2.6.35-24).
I'll try getting the 2.6.37 kernel and see if it works on that.

Revision history for this message
nbubis (nbubis) wrote :

OK.
installed the 2.6.37 kernel and installed henk's package.
This time no-errors, but it still doesn't seem to detect of fix the vertical scroll problem:

Any ideas? output of relevant info below:

$ dkms status
dkms.conf: Error! No 'BUILT_MODULE_NAME' directive specified for record #0.
psmouse, 0.2, 2.6.37-020637-generic, x86_64: installed (WARNING! Missing some built modules!)
nvidia-current, 260.19.06, 2.6.37-020637-generic, x86_64: installed
nvidia-current, 260.19.06, 2.6.35-24-generic, x86_64: installed

$ xinput list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ PS/2 Generic Mouse id=12 [slave pointer (2)]
⎣ Virtual core keyboard

Revision history for this message
nbubis (nbubis) wrote :

Compiling the kernel with Andrew's patch doesn't change anything either.
What am I doing wrong? is there a difference between the E6410 and the E6510?

Revision history for this message
nbubis (nbubis) wrote :

My bad.
had to do:

sudo insmod psmouse.ko

and not modprobe..

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

Could those of you with ALPS issues who have Dell E2 series systems (M4500, E6510, E6410 etc.) test the Natty kernel. We picked up an alps fix there specific to those systems.

For the remainder, I see mention that the patch below was a trigger for issues, that is also reverted in the latest Natty kerenels:

    Input: ALPS - add signature for HP Pavilion dm3 laptops

Again could those affected please test the Natty kernel and report back here.

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Steven (svanpoeck) wrote :

@Andy

I installed the amd64 Natty kernel from http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.37-natty/

It booted into a blank screen (see bug https://bugs.launchpad.net/ubuntu/+source/linux/+bug/600453) so I reverted. Didn't try the alps fix as I couldn't get my dual display set up correctly, which hinders me even more than the unability to disable the touchpad.

Sorry...
Steven

Revision history for this message
Christoph Lukas (christoph-lukas) wrote :

I have installed the lts-backport-natty kernel on my E6410 running Lucid.

One finger vertical scrolling works now.

I had to apply some additional patches from drm-intel-next to avoid the blank screen on boot.

Revision history for this message
Ben Alex (ben-alex) wrote :

Dell E4310 with BIOS version A05 failed with kernel http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.37-natty/. Boots into black screen. When I got it to boot into a non-black screen, the touchpad issue was not resolved anyway.

Separately I've been experiencing screen flickers, suspend/resume failures etc with the E4310 on 2.6.35-24-generic but found kernel 2.6.37-999.201101190911 resolves these.

For those who want to get their E4310 working reasonably well under 10.10, I found this resolves all four problems (screen flicker, suspend/resume, touchpad vertical scrolling, internal microphone):

# kernel upgrade for suspend/resume + screen flicker:

mkdir ~/kernel-upgrade; cd ~/kernel-upgrade; wget http://kernel.ubuntu.com/~kernel-ppa/mainline/daily/2011-01-19-natty/linux-headers-2.6.37-999-generic_2.6.37-999.201101190911_amd64.deb http://kernel.ubuntu.com/~kernel-ppa/mainline/daily/2011-01-19-natty/linux-headers-2.6.37-999_2.6.37-999.201101190911_all.deb http://kernel.ubuntu.com/~kernel-ppa/mainline/daily/2011-01-19-natty/linux-image-2.6.37-999-generic_2.6.37-999.201101190911_amd64.deb; sudo dpkg -i *.deb

sudo reboot

# install psmouse 0.2.1-all for vertical scrolling:

sudo apt-get install dkms
cd ~
wget https://bugs.launchpad.net/ubuntu/+source/linux/+bug/550625/+attachment/1797114/+files/psmouse-0.2-1.all.deb
sudo dpkg -i psmouse-0.2-1.all.deb
rm psmouse-0.2-1.all.deb
sudo reboot

# fix internal mic not working:

echo "options snd-hda-intel model=dell-s14" | sudo tee -a /etc/modprobe.d/alsa-base.conf

HTH

Revision history for this message
Steven (svanpoeck) wrote :

Hi,

I did the same as @Ben Alex on my DELL Latitude E6510.

- Some issues with screen flickering during a minute or so after X has
started, but then OK.
- ARandr recognizes my laptop screen as (null)1 while System >
Preferences > Monitor says it's a Seiko Epson Corporation 15"@1600x900
(16:9) @60Hz which is wrong, the highest res I have is 1440x900@60Hz
but it displays ok
- Resume from suspend simply freezes with some messages concerning a
wrong version of AppArmor for this kernel preventing cache read/write
- I *still* cannot disable the touchpad altogether, but vertical
scrolling works (not horizontal)
- The microphone patch does not work (but that's probably because it's
not the same hardware :p )

Hope this is helpful,
Steven

2011/1/21 Ben Alex <email address hidden>:
> Dell E4310 with BIOS version A05 failed with kernel
> http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.37-natty/. Boots into
> black screen. When I got it to boot into a non-black screen, the
> touchpad issue was not resolved anyway.
>
> Separately I've been experiencing screen flickers, suspend/resume
> failures etc with the E4310 on 2.6.35-24-generic but found kernel
> 2.6.37-999.201101190911 resolves these.
>
> For those who want to get their E4310 working reasonably well under
> 10.10, I found this resolves all four problems (screen flicker,
> suspend/resume, touchpad vertical scrolling, internal microphone):
>
> # kernel upgrade for suspend/resume + screen flicker:
>
> mkdir ~/kernel-upgrade; cd ~/kernel-upgrade; wget
> http://kernel.ubuntu.com/~kernel-ppa/mainline/daily/2011-01-19-natty
> /linux-headers-2.6.37-999-generic_2.6.37-999.201101190911_amd64.deb
> http://kernel.ubuntu.com/~kernel-ppa/mainline/daily/2011-01-19-natty
> /linux-headers-2.6.37-999_2.6.37-999.201101190911_all.deb
> http://kernel.ubuntu.com/~kernel-ppa/mainline/daily/2011-01-19-natty
> /linux-image-2.6.37-999-generic_2.6.37-999.201101190911_amd64.deb; sudo
> dpkg -i *.deb
>
> sudo reboot
>
> # install psmouse 0.2.1-all for vertical scrolling:
>
> sudo apt-get install dkms
> cd ~
> wget https://bugs.launchpad.net/ubuntu/+source/linux/+bug/550625/+attachment/1797114/+files/psmouse-0.2-1.all.deb
> sudo dpkg -i psmouse-0.2-1.all.deb
> rm psmouse-0.2-1.all.deb
> sudo reboot
>
> # fix internal mic not working:
>
> echo "options snd-hda-intel model=dell-s14" | sudo tee -a
> /etc/modprobe.d/alsa-base.conf
>
> HTH
>
> --
> You received this bug notification because you are a direct subscriber
> of a duplicate bug (606438).
> https://bugs.launchpad.net/bugs/550625
>
> Title:
>  Alps touchpad is recognized but synaptics clients and scrolling do not
>  work
>

Revision history for this message
xwen (wenxiange) wrote :

Yet another psmouse.ko module for kernel 2.6.32-21 32-bit version (the default on my newly bought Dell VOSTRO 1015), incorporating Andrew's revised Dell patch at post #151. Vertical scrolling works like a magic, thank you, Andrew.

Revision history for this message
åsmundG (agarfors) wrote :

Thank you very much, Ben Alex, #248. As I have an E4310 with 64 bit 10.10 Ubuntu, you were spot on!

All the steps you described worked perfectly, no errors whatsoever. Thank you!

One strange thing, though, my OS theme and colours changed. No biggie :-)

Revision history for this message
Nicholas (nicholasbgr) wrote :

Hi, I tried applying the patch provided on my Dell Inspiron n4030, here's my output:

sudo dpkg -i psmouse-0.2-1.all.deb
Selecionando pacote previamente não selecionado psmouse-dkms.
(Lendo banco de dados ... 149691 arquivos e diretórios atualmente instalados).
Desempacotando psmouse-dkms (de psmouse-0.2-1.all.deb) ...
Configurando psmouse-dkms (0.2-1) ...

Creating symlink /var/lib/dkms/psmouse/0.2/source ->
                 /usr/src/psmouse-0.2

DKMS: add Completed.

Kernel preparation unnecessary for this kernel. Skipping...

Building module:
cleaning build area....
make KERNELRELEASE=2.6.35-24-generic -C /lib/modules/2.6.35-24-generic/build M=/var/lib/dkms/psmouse/0.2/build.....(bad exit status: 2)

Error! Bad return status for module build on kernel: 2.6.35-24-generic (x86_64)
Consult the make.log in the build directory
/var/lib/dkms/psmouse/0.2/build/ for more information.
0
0
Traceback (most recent call last):
  File "/usr/share/apport/package-hooks/dkms.py", line 47, in <module>
    report['SourcePackage'] = apport.packaging.get_source(package)
  File "/usr/lib/python2.6/dist-packages/apport/packaging_impl.py", line 106, in get_source
    if self._apt_pkg(package).installed:
  File "/usr/lib/python2.6/dist-packages/apport/packaging_impl.py", line 66, in _apt_pkg
    raise ValueError, 'package does not exist'
ValueError: package does not exist

Error! Could not locate psmouse.ko for module psmouse in the DKMS tree.
You must run a dkms build for kernel 2.6.35-24-generic (x86_64) first.
dpkg: erro processando psmouse-dkms (--install):
 sub-processo script post-installation instalado retornou estado de saída de erro 4
Erros foram encontrados durante o processamento de:
 psmouse-dkms

Can anyone point me to the right direction?
Thanks.

Revision history for this message
bishoptf (bishoptf) wrote :

So does anyone know if any fix/patch is going to make it into the mainline kernel and if so when? If not what is needed to move it along so that it could be....

Revision history for this message
thefluxster (buy-ikentech) wrote :

@bishoptf I was wondering the same thing. Really would prefer this to make its way into the update patches provided by Ubuntu itself.

Revision history for this message
Dutch Slab (ds2k) wrote :

Same exact message as Nicholas above (Error! Could not locate psmouse.ko for module psmouse in the DKMS tree.
You must run a dkms build for kernel 2.6.35-24-generic (x86_64) first.)

Any suggestions?

Revision history for this message
Henry Zeringue (henry-zeringue) wrote :

#248 works on my system.

System Configuration:
Dell e6410, shared graphics, bios A06

OS: Ubuntu 10.10, 32-bit, kernel 2.6.37-999-generic

I was running a pae kernel before to get my full RAM, but I'll give up a few 100MB for a little while (yeah, I'm too lazy to compile my own) to have vertical scrolling and touch-tap working until the. The "ALPS GlidePoint" was detected and seems to be working with both vertical scrolling and touch-tap. In addition, the camera, internal microphone and suspend/wake are working too. The only thing I needed to re-install was the fix for the internal SD CardReader (note, I don't have any PCMICIA or SmartCards, so I have no idea about their functionality).

Thanks!
p.s. the only thing I did differently was add "index=1" to the "options" for the alsa-base.conf file so that my USB headphones will be default when I plug them in... :)

Revision history for this message
durroon (m-rieke) wrote :

I am running ubuntu 10.10 64-bit on a Dell e5510. Same problems here. I did #248 and this managed to get the vertical scrolling working. nevertheless I do not have a "touchpad" tab in the mouse preferences. Anyone having an idea on this issue?

Another questions: is there any way to disable the "tap clicking" feature with this patch? I never used this feature and it now it haunts me while browsing..

thanks all!

Revision history for this message
GrzesiekC (grzesiekc) wrote :

Hi

You should try this kernel:
http://www.ubuntuupdates.org/package_metas?exact_match=1&name=linux-image-2.6.38-1-generic

With this version touchpad is working on my E6410

Revision history for this message
Dutch Slab (ds2k) wrote :

Grzegorz-

Does 2.6.38-1 fix the tap click issue?

Revision history for this message
AndyVBrown (andyvbrown) wrote :

Kernel 2.6.38 RC3 fixed vertical scrolling on my Dell E6410 running 10.10 64bit.

The sensitive keyboard/touchpad still seems to be there when typing the cursor moves around.

But vertical scrolling is fixed

Revision history for this message
Dutch Slab (ds2k) wrote :

The sensitive keyboard/touchpad tap on click is what is driving me most crazy about this bug. So annoying to type and then have the mouse jump / window switch because of some errant non-intentional mouse gesture.

Can anyone comment how/when this patch will arrive at the point where it allows:

1. Detection of the touchpad as a touchpad, and not a mouse
2. Has tap on click as a feature which can be dis/enabled
3. Has vertical scrolling as a feature which can be dis/enabled

?

Revision history for this message
gcla (grclark) wrote :

Hi - I submitted a small python hack as a workaround for this problem; it was driving me crazy too. Here's a link:

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/606238/comments/39

It simply disables the touchpad when keyboard activity is detected, then reenables it very shortly after the keyboard activity stops. I'm looking forward to decommissioning it :-)

Graham

Revision history for this message
bishoptf (bishoptf) wrote :

+1 for comment Dutch's comment #261....can anyone comment if something official is being developed?

gcla - Can you elaborate a little more as to how someone running x86_64 may use your script, does it require adding to rc.local etc...Thanks.

Revision history for this message
Scott Palmer (skewty) wrote :
  • psmouse.ko Edit (117.0 KiB, application/octet-stream; name="psmouse.ko")

I have the custom compiled module for Ubuntu 64bit 2.6.35-23-generic. I got
it from this thread a while back. (NOTE this kernel is not newest).

It has vertical scrolling.
It has tap to click disabled.
Touchpad is not recognized by GNOME Mouse tool.

I am happy with this module pending a proper fix.

I have attached it for convenience.
Place the attached file in:
/lib/modules/2.6.35-23-generic/kernel/drivers/input/mouse
to install it.

Scott

Revision history for this message
durroon (m-rieke) wrote :

#264 works for me as well. kernel 2.6.35-23-generic with the attached psmouse.ko on my dell e5510: vertical scrolling, no tap-click.

Revision history for this message
Brian (x-brian) wrote :

RE: gcla #262

This python script certainly helps. Working very well for me on x86_64:
$ uname -srvmo
Linux 2.6.35-25-generic #44-Ubuntu SMP Fri Jan 21 17:40:44 UTC 2011 x86_64 GNU/Linux

I do miss the scrolling, but my bigger problem was having the cursor jump away from where I'm typing due to a touchpad tap-click. This resolves it, and the delay is actually perfect. I hardly even notice it, except it won't tap inappropriately.

Revision history for this message
Dutch Slab (ds2k) wrote :

Thanks Gcla, Brian, will check out the python fix, as it appears to be the least intrusive way to solve this issue. Skewty, I'm running 2.6.35-25-generic. Anyway to get a dkms version of your fix, or at the least one compiled for 2.6.35-25-generic?

thanks,
geremy

Revision history for this message
Dutch Slab (ds2k) wrote :

Awesome job gcla! #262 works like a charm.
dutch

Revision history for this message
Scott Palmer (skewty) wrote :
Download full text (3.9 KiB)

I didnt do the compile; somebody else here did. I was never able to get the
dkms pkg here working properly so I am staying where I am. If you go back
far enough to diff patch is available and you can compile a new version
yourself.
On Feb 3, 2011 10:17 AM, "Dutch Slab" <email address hidden> wrote:
> Thanks Gcla, Brian, will check out the python fix, as it appears to be
> the least intrusive way to solve this issue. Skewty, I'm running
> 2.6.35-25-generic. Anyway to get a dkms version of your fix, or at the
> least one compiled for 2.6.35-25-generic?
>
> thanks,
> geremy
>
> --
> You received this bug notification because you are a direct subscriber
> of a duplicate bug (606238).
> https://bugs.launchpad.net/bugs/550625
>
> Title:
> Alps touchpad is recognized but synaptics clients and scrolling do not
> work
>
> Status in The Linux Kernel:
> New
> Status in “linux” package in Ubuntu:
> Incomplete
> Status in “linux” source package in Lucid:
> Opinion
> Status in Baltix GNU/Linux:
> New
> Status in “linux” package in Fedora:
> New
>
> Bug description:
> SRU Justification:
>
> Impact: The end result of the commit is loss of scroll support, with no
> extra functionality gained.
>
> How addressed: By reverting the commit, the previously enabled scroll
> support is reestablished through the ImPS/2 extension.
>
> Reproduction: Run current Ubuntu kernel on affected hardware. Scroll
> functionality present in previous Ubuntu releases is now missing.
>
> Regression Potential: Since this is a revert of a one-line device id,
> the regression potential is minimal. The device should fall back to
> ImPS/2 protocol without issue.
>
> =====
>
> Binary package hint: xserver-xorg-input-synaptics
>
> I have Ubuntu 9.10 and an Alps touchpad (E7: 73 02 64). Chase fixed
> the kernel so that it was recognized and, indeed, the touchpad shows
> up in both gsynaptics and system>preferences>mouse, but when I
> actually try to adjust the settings nothing changes. My goal is to
> disable the tap-to-click feature or disable the touchpad when typing.
> Chase suggests it may be something related to the driver and to open
> another bug.
>
> ProblemType: Bug
> Architecture: i386
> Date: Sun Mar 28 22:02:25 2010
> DistroRelease: Ubuntu 9.10
> InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
> MachineType: Hewlett-Packard HP Pavilion dm3 Notebook PC
> Package: xserver-xorg-input-synaptics 1.1.2-1ubuntu7
> ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.31-21-generic
root=UUID=f1e2e19e-a0f8-407d-9533-c5ba95a8be50 ro quiet splash
> ProcEnviron:
> LANG=en_US.UTF-8
> SHELL=/bin/bash
> ProcVersionSignature: Ubuntu 2.6.31-21.58~alps4-generic
> RelatedPackageVersions:
> xserver-xorg 1:7.4+3ubuntu10
> libgl1-mesa-glx 7.6.0-1ubuntu4
> libdrm2 2.4.14-1ubuntu1
> xserver-xorg-video-intel 2:2.9.0-1ubuntu2.1
> xserver-xorg-video-ati 1:6.12.99+git20090929.7968e1fb-0ubuntu1
> SourcePackage: xserver-xorg-input-synaptics
> Uname: Linux 2.6.31-21-generic i686
> XorgConf:
> Section "InputDevice"
> Identifier "Macintosh mouse button emulation"
> Driver "synaptics"
> Option "SHMConfig" "true"
> EndSection
> dmi.bios.date: 12/04/2009
> dmi.bios.vendor: Insyde...

Read more...

Revision history for this message
Dan Faulks (aitaix9) wrote :

My mouse doesn't work after adding the patch.

I'm using Linux 2.6.35-25-generic on a Dell E6510

I have to use my Bluetooth mouse.

Revision history for this message
AndyVBrown (andyvbrown) wrote :

Skewty's Python fix worked fine for me under Ubuntu 64bit 2.6.35-23 kernel, however I experienced the same issue indicated in post #270 under 2.6.35-25-generic I am on a Dell E6410

Revision history for this message
AndyVBrown (andyvbrown) wrote :

Oops my last post should have read

Skewty's fix worked fine for me under Ubuntu 64bit 2.6.35-23 kernel, however I experienced the same issue indicated in post #270 under 2.6.35-25-generic I am on a Dell E6410

Still yet to try the python fix in 2.6.35-25

Sorry about that.

Revision history for this message
Dutch Slab (ds2k) wrote :

The python fix is really the best [bandaid] fix IMHO (thanks gcla). Its non-intrusive, and it works.

But we really do need the driver to be properly fixed so we can take advantage of all of the hardware's features via the admin screens.

Revision history for this message
Dirk (dirk-hellwig) wrote :

An all new coming kernels I was happy with this the attached patch.Install kernel headers:

sudo apt-get build-dep --no-install-recommends linux-image-$(uname -r)
apt-get source linux-image-$(uname -r)
this puts a "linux-[your-version]" directory into your home

install git:
 sudo apt-get install git

change into it:
 cd src/drivers/input/mouse

backup alps.c, alps.h, psmouse.h

apply patch:
 patch -p0 < patch-dell-e6510

make & install:
 make -C /lib/modules/`uname -r`/build M=`pwd` psmouse.ko
 sudo rmmod psmouse
 sudo cp psmouse.ko /lib/modules/`uname -r`/kernel/drivers/input/mouse/
 sudo modprobe psmouse

But now the patch doesen't longer work. I got the following error:

make -C /lib/modules/`uname -r`/build M=`pwd` psmouse.ko
make: Gehe in Verzeichnis '/usr/src/linux-headers-2.6.35-25-generic'
make: *** Keine Regel, um »Dell« zu erstellen. Schluss.
make: Verlasse Verzeichnis '/usr/src/linux-headers-2.6.35-25-generic'

Revision history for this message
AndyVBrown (andyvbrown) wrote :

Okay so I uninstalled dkms for some weird reason and the scrolling stopped working with Kernel 2.6.38 RC3. I tried installing DKMS again after a reboot but no scrolling.

So I removed 2.6.38 RC3 completely and started again and here are the result on my Dell E6410 running 10.10 64bit.

1. Re-installed Kernel 2.6.38 RC3, rebooted and no scrolling.
2. Tried installing Henk's psmouse-0.2-1.all.deb (sudo dpkg -i psmouse-0.2-1.all.deb), it complained that DKMS wasn't installed, rebooted, still no scrolling.
3. Installed DKMS (sudo apt-get install dkms). DKMS installed ok and also installed some psmouse stuff all by itself, which must have been a hangover from my failed installation attempt in step 2 above.
4. Rebooted and hey presto, Vertical scrolling works a treat.

5. Tried to use the python workaround, but the jittery/jumping mouse cursor when typing was still there. The python script complained about.

"unable to find device PS/2 Generic Mouse"

Upon investigation

sudo lsinput shows

/dev/input/event6
   bustype : BUS_I8042
   vendor : 0x2
   product : 0x5
   version : 29478
   name : "ImPS/2 ALPS GlidePoint"
   phys : "isa0060/serio1/input0"
   bits ev : EV_SYN EV_KEY EV_REL

Not sure if this is helpful or not, but thought I would share.

Revision history for this message
Brian (x-brian) wrote :

@AndyVBrown #275: If you have the ALPS GlidePoint recognized due to psmouse patch, the gcla #262 python fix is unneeded and won't work. Glad to hear you got this working on your E6410. With the python fix, I think I'll wait for a patch to be committed for my E6410.

Revision history for this message
fredhoare (fredh-glenaffric) wrote :

The python script does work with dkms module. Just edit the file and change all the references to "PS/2 Generic Mouse" with "ImPS/2 ALPS GlidePoint"

Revision history for this message
AndyVBrown (andyvbrown) wrote :

Editing the python script as per #277 I think is working but as this jittery/jumpy mouse issue is intermittent for me it may be a few days before I call this one.

Right now I don't have the python script running and I am not affected by the issue.

Weird.

Revision history for this message
fredhoare (fredh-glenaffric) wrote :

One problem with the python script is that you can no longer do Ctrl-click. This is an issue for me when browsing as I regularly open links in tabs in the background. Does anyone know of a way that the script could be modified to just disable the pad but leave the buttons operational?

I think the issue of jittery/jumpy mouse being intermittent for some people is that it is very dependent on your typing style. If you are able to keep your palms from brushing the touchpad when typing you are probably not going to see the issue as much.

Revision history for this message
frnstefano (frnstefano) wrote :

Hi,
i solved this situation installing linux-image-generic-lts-backports-natty in lucid:

sudo add-apt-repository ppa:kernel-ppa/ppa (this command requires the package python-software-properties to be installed)
sudo aptitude update
sudo aptitude install linux-image-generic-lts-backport-natty linux-headers-generic-lts-backport-natty

with kernel 2.6.37-12 this problem is not present, so you can use your touchpad normally and yo can scroll vertically.

If you have the NVIDIA graphic card you have to install nvidia-current (260.19.06) and nvidia-current-modaliases (260.19.06) from maverick or natty packages suite.

I hope this solution can be useful for people who doesn't like to rebuild kernel from sources.

Revision history for this message
Simon Dierl (simon.dierl) wrote :

Re: #261 and #263

Yes, there is "official" work on this issue, see https://bugzilla.kernel.org/show_bug.cgi?id=14660

Touchpad detection requires a driver that does actually work with the touchpad. Unfortunately, Alps seems unwilling to release any documentation on the protocol used by the device. Dell has submitted a patch that does enable ImPS/2 emulation (wheel mouse). Without it, the touchpad operates in PS/2 emulation mode (3-button-mouse). Full support will require reverse engineering of the protocol used by the touchpad (which seems to require rather complex operations during initialization), which is attempted by some people on the kernel.org bugtracker.

Since the Dell patches are NOT included in the maverick (10.10) kernel, for most of us, the device will run in PS/2 emulation mode by default.
What is supposed to work:
basic clicking: always
scrolling: with Dell patches
deactivate-on-typing, tap-to-click, GNOME mouse control: requires complete driver or workarounds

Unfortunately, this type of hardware is used in many newer notebooks (including all new Dell Latitude ("E2") notebooks, as far as I know), so I hope we shall see full support soon. However, unless Natty has picked up a driver that fully supports the device (unlikely), many of the issues are going to persist even with 11.04 (I will try a 11.04 alpha Live-CD ASAP to provide an answer for Andy (#245)).

Revision history for this message
C de-Avillez (hggdh2) wrote :

@Simon Dierl, #281:

"However, unless Natty has picked up a driver that fully supports the device (unlikely), many of the issues are going to persist even with 11.04 (I will try a 11.04 alpha Live-CD ASAP to provide an answer for Andy (#245))."

At least for the e6410, on Natty, still unsupported, except for vertical scroll (up to, and including, kernel 2.6.38-2).

Revision history for this message
martin.walton (martin-walton) wrote :

I tried frnstefano's suggestion of installing linux-image-generic-lts-backports-natty in lucid, and vertical scroll did work. I had to jump through a few hoops to get the NVIDIA graphics to work (I had to blacklist the intel drivers and install the linux headers for the 2.6.37-12).

Unfortunately I had trouble with virtual-box-ose which I need for work, so I rolled back to 2.6.32-28.

Revision history for this message
Staffan Flink (staffan-flink) wrote :

#264 works for me, ubuntu 10.10 x64, kernel 2.6.35-23-generic with the attached psmouse.ko on my dell e6410: vertical scrolling, no tap-click.
I'll stay with this kernel until it's fixed properly. Thanks for the all the help, using the laptop without scrolling was a pain.

Revision history for this message
Andrew (andrew-rw-robinson) wrote :

Another work around is to emulate wheel scrolling with button 2 in the gnome prefs. That way the middle button above the touch pad acts as a scroll wheel with mouse movement and works with both vertical and horizontal scrolling.

Revision history for this message
george panta (adgeruy) wrote :

Hello everyone,

It seems that some developers in the projectOSX forums have absolute mode enabled for these alps multitouch touchpads. Here is the link to the post by Slice with the sources of the driver:

http://www.projectosx.com/forum/index.php?showtopic=1937&view=findpost&p=12782

I have also attached the sources zip for their OSX driver here on Launchpad, since registration is required. The sources for the multitouch touchpad driver for the E7 73 02 64 are in the VoodooPS2-wMulti/ALPSMultitouch/ directory.

I hope this helps in providing a linux driver! Ithink Canonical would be interested for these touchpads since they are into a lot of new Sony/Dell/HP laptops and are multitouch capable, so utouch would be nice!
(My laptop is a Vaio F11 series).

Can someone also notify the upstream kernel bugtracker with this information? (https://bugzilla.kernel.org/show_bug.cgi?id=14660)

Revision history for this message
Michel Adar (adar-yahoo) wrote :

Anyone has the python hack working on 32 bit and could provide instructions?
I'm running 10.10, 32 bit on an E6410.

I do not use the touchpad, but do use the pointer integrated into the keyboard. Unfortunately the Bios does not allow for disabling just the touchpad.

Revision history for this message
Alex Denvir (coldfff) wrote :

I can confirm the solution posted in comment #280 works for me on my E5410

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

The fixes slated to fix this issue mentioned in this bug are already applied to the Natty kernel, we also have several confirmations that the Natty LTS backports kernel is working fine. Taking that as confirmation that Natty is fixed. Moving the development task Fix Released.

Changed in linux (Ubuntu Lucid):
status: Opinion → New
Changed in linux (Ubuntu):
status: Incomplete → Fix Released
assignee: nobody → Andy Whitcroft (apw)
tags: added: kernel-key
Changed in linux (Ubuntu Lucid):
status: New → Triaged
Changed in linux (Ubuntu Maverick):
status: New → Triaged
Changed in linux (Ubuntu Maverick):
importance: Undecided → Medium
Revision history for this message
Philip Aston (philipa) wrote :

#275, #279 I've tweaked gcla's script, it should now allow ctrl-clicking, and detect your trackpad automatically - https://bugs.launchpad.net/ubuntu/+source/linux/+bug/606238/comments/40

Revision history for this message
AndyVBrown (andyvbrown) wrote :

#290 - Philip thanks your tweaked script, worked straight out of the box.....

Revision history for this message
Kushaf Aimeshef (kait) wrote :

Post #186 enables vertical scrolling but it disables tapping.

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/550625/+attachment/1683650/+files/patch-dell-e6510
line 175
+ alps_ec_write(psmouse, 0x0005, 0x07) ||
change to:
+ alps_ec_write(psmouse, 0x0005, 0x01) ||

scroll works, tap works, touchpad upper right corner acts like 2-nd mouse button, control+scroll works as zoom in firefox

I dont know nothing about horizontal scroll, 2-finger stuff.
Mouse on/off button on the touchpad does not work.

HP Pavilion dm3-2010eo
Ubuntu 10.10 2.6.35-25 64bit

xinput -list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ AlpsPS/2 ALPS GlidePoint 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)]
    ↳ Power Button id=8 [slave keyboard (3)]
    ↳ Sleep Button id=9 [slave keyboard (3)]
    ↳ HP TrueVis id=12 [slave keyboard (3)]
    ↳ AT Translated Set 2 keyboard id=13 [slave keyboard (3)]
    ↳ HP WMI hotkeys id=15 [slave keyboard (3)]

cat /proc/bus/input/devices
I: Bus=0011 Vendor=0002 Product=0008 Version=7326
N: Name="AlpsPS/2 ALPS GlidePoint"
P: Phys=isa0060/serio1/input0
S: Sysfs=/devices/platform/i8042/serio1/input/input11
U: Uniq=
H: Handlers=mouse1 event11
B: EV=7
B: KEY=70000 0 0 0 0
B: REL=103

Revision history for this message
Mario Manno (manno) wrote :

I'm using a dell e6410. I'd like to disable the touchpad and use the track-stick instead.

I tried 'xinput', but it didn't help.
  xinput set-int-prop "ImPS/2 ALPS GlidePoint" 121 8 0

Do I have to open up the case and cut the cable to the touchpad?

Revision history for this message
Brian (x-brian) wrote :

@Mario: The track-stick and touchpad use the same driver interface. So yes you'd need to open the case and disconnect the touchpad.

Revision history for this message
Sasquatch (sasquatch) wrote :

@Brian,
Not completely true. When you're running Windows and in the BIOS you have selected to disable the touchpad when an external mouse is connected, the stick will still work but the touchpad won't. Mario just wants the same behavior, without actually attaching an external mouse.
It is true that on Linux, the same module/driver is responsible for both touchpad and stick and without some further research, the easiest and quickest method is indeed opening the case.

@Mario,
Have you checked the BIOS settings for that? Maybe you can disable the touchpad on it's own from there.

Revision history for this message
Jaap Crezee (jaap-jcz) wrote :

I can confirm the following patch works for me with 2.6.38 on my Dell Latitude
E6510

https://patchwork.kernel.org/patch/118834/

So please commit it upstream or if it is not good enough: fix it and then
commit.

---
Infos:

[root@jaaplaptop jaap]# dmidecode -s "system-product-name"
Latitude E6510
[root@jaaplaptop jaap]#

[jaap@jaaplaptop ~]$ xinput -list | grep -i alps
â â³ ImPS/2 ALPS GlidePoint id=14 [slave pointer (2)]
[jaap@jaaplaptop ~]$

Revision history for this message
Guru R (rguru76) wrote :
Download full text (8.6 KiB)

Hi,

I get this error everytime I update anything. I get this after i applied one of the patches from here. appreciate if someone can help me fix this error,

installArchives() failed: Preconfiguring packages ...

Preconfiguring packages ...

Selecting previously deselected package linux-image-2.6.35-28-generic.

(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 214234 files and directories currently installed.)

Unpacking linux-image-2.6.35-28-generic (from .../linux-image-2.6.35-28-generic_2.6.35-28.49_amd64.deb) ...

Done.

Preparing to replace tzdata-java 2011c-0ubuntu0.10.10 (using .../tzdata-java_2011d-0ubuntu0.10.10_all.deb) ...

Unpacking replacement tzdata-java ...

Preparing to replace tzdata 2011c-0ubuntu0.10.10 (using .../tzdata_2011d-0ubuntu0.10.10_all.deb) ...

Unpacking replacement tzdata ...

Setting up tzdata (2011d-0ubuntu0.10.10) ...

Current default time zone: 'Australia/Sydney'

Local time is now: Wed Mar 23 12:16:48 EST 2011.

Universal Time is now: Wed Mar 23 01:16:48 UTC 2011.

Run 'dpkg-reconfigure tzdata' if you wish to change it.

(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 217800 files and directories currently installed.)

Preparing to replace libk5crypto3 1.8.1+dfsg-5ubuntu0.4 (using .../libk5crypto3_1.8.1+dfsg-5ubuntu0.6_amd64.deb) ...

Unpacking replacement libk5crypto3 ...

Preparing to replace libgssapi-krb5-2 1.8.1+dfsg-5ubuntu0.4 (using .../libgssapi-krb5-2_1.8.1+dfsg-5ubuntu0.6_amd64.deb) ...

Unpacking replacement libgssapi-krb5-2 ...

Preparing to replace libkrb5-3 1.8.1+dfsg-5ubuntu0.4 (using .../libkrb5-3_1.8.1+dfsg-5ubuntu0.6_amd64.deb) ...

Unpacking replacement libkrb5-3 ...

Preparing to replace libkrb5support0 1.8.1+dfsg-5ubuntu0.4 (using .../libkrb5support0_1.8.1+dfsg-5ubuntu0.6_amd64.deb) ...

Unpacking replacement libkrb5support0 ...

Preparing to replace libtiff4 3.9.4-2ubuntu0.1 (using .../libtiff4_3.9.4-2ubuntu0.2_amd64.deb) ...

Unpacking replacement libtiff4 ...

Preparing to replace linux-generic 2.6.35.27.35 (using .../linux-generic_2.6.35.28.36_amd64.deb) ...

Unpacking replacement linux-generic ...

Preparing to replace linux-image-generic 2.6.35.27.35 (using...

Read more...

Revision history for this message
Dan Faulks (aitaix9) wrote :

@Jaap Crezee How do I apply the patch?

description: updated
Revision history for this message
Sasquatch (sasquatch) wrote :

Guru R, that's a problem of the psmouse dkms module. If you use one of the newer mainline kernels, like 2.6.36, you won't get that error. Something is wrong with it when dealing with the stock kernel. You can try using another version of the psmouse package or remove it to get rid of the error.

Revision history for this message
Niko Celis (niko-celis) wrote :

Yesterday I gave Natty a try and touchpad vertical and horizontal scrolling worked out of the box!

Revision history for this message
Florian Nisbach (florian-n) wrote :

Also tried Natty Beta on a Dell Latitude E6510. Vertical scrolling works perfectly, horizontal doesn't however. But tapping the upper right corner gives a right click which is quite neat.

Revision history for this message
Niko Celis (niko-celis) wrote :

Sorry you are right, I was too enthusiastic: it's only the vertical scrolling that worked!

Revision history for this message
Steven (svanpoeck) wrote :

Hi @Florian,

Can you also deactivate the touchpad in favor of the track button in the middle of the keyboard ?
I personally never use the touchpad, and my sole interest here is to be able to deactivate it without having the track button deactivated too. I'm on a DELL Latitude E6510 too.

Thanks,
Steven

Revision history for this message
J. McDonald (mcdonald-joseph) wrote :

I'm still using Ubuntu 10.04 LTS (2.6.32-31-generic) on my HP Mini 311
and the Alps Touchpad is still being identified as an ImPS/2 generic
mouse. I have vertical scroll and tap to click, but no way to adjust
these. Tap to click is particularly annoying. I would like to keep that
functionality but have a 2 second delay between typing and tap to click
or else turn off tap to click altogether. Until a device driver is
written or becomes available, I don't expect that this issue will be
solved. I have had this problem on the Mini 311 for over a year now and
I haven't seen any progress on this issue within the bug tracking.

On Thu, 2011-04-14 at 19:25 +0000, Steven wrote:
> Hi @Florian,
>
> Can you also deactivate the touchpad in favor of the track button in the middle of the keyboard ?
> I personally never use the touchpad, and my sole interest here is to be able to deactivate it without having the track button deactivated too. I'm on a DELL Latitude E6510 too.
>
> Thanks,
> Steven
>

Revision history for this message
Scott Palmer (skewty) wrote :

This issue still exists in 11.04 beta 2. Can somebody please update the bug to include Natty?

This is really an upstream issue in the kernel as seen in kernel bug 14660.

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

Revision history for this message
Scott Palmer (skewty) wrote :

Anyone have a patched file for Natty?

I need disabled touch to click and working suspend/resume at a minimum.

I tried the dkms package and it didn't seem to change anything.

C de-Avillez (hggdh2)
Changed in linux:
importance: Undecided → Unknown
status: New → Unknown
Revision history for this message
Michal (mikeos) wrote :

Suspend/resume issue:

E6410 (maybe E6510 as well) has a BIOS bug which causes system freeze when resuming on battery power.
More info here: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/665891/comments/7

Tap to click disable:

I have successfuly disabled tap to click, I am running latest Natty 2.6.38-8-generic kernel. Kernel sources from Ubuntu kernel 2.6.37 were used, because there is no support for this touchpad model included, which makes it possible to apply patch by developed by Andrew Skalski - see comment #154 - which has one great advantage over the patch included in Ubuntu 2.6.38 kernels - it is easy to tweak. Find the following line in the Adrew's patch:

alps_ec_write(psmouse, 0x0005, 0x01)

and replace it with line:

alps_ec_write(psmouse, 0x0005, 0x03)

The patch includes comments about what that flags (3rd parameter of alps_ec_write) mean, i.e. writing 0x03 to the 0x0005 registry - see comment #184. Apply the modified patch on the 2.6.37 drivers (input/mouse) directory and compile the mouse drivers against your 2.6.38 kernel headers. This should result in "psmouse.ko" which supports touchpad vertical scrolling with tap to click disabled.

It is clear that in order to fully support this touchpad model under Linux a userspace driver should be written. Everything else is just IMPS emulation which will never support horizontal scrolling or enable synaptics touchpad control panel.
Nb. I just rephrased what was already said by other clever people here, so please search previous comments before asking questions about the Andrew's patch. I think that everything has been already said :-) A driver must be developed which is non-trivial without knowing the touchpad internals specs.

Changed in linux:
importance: Unknown → Medium
status: Unknown → Confirmed
Revision history for this message
Kushaf Aimeshef (kait) wrote :

Ubuntu Natty, 11.04 64bit
kernel 2.6.38 & 2.6.39 both act same way.
clean start:
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ PS/2 Mouse id=12 [slave pointer (2)]
⎜ ↳ AlpsPS/2 ALPS GlidePoint id=13 [slave pointer (2)]
Scroll not working, upper right corner second click not working, tapping works - like in maverick

by commenting out in alps.c the dmi_system_id check (~line 145)
/*
 if (!dmi_check_system(dell_quirk_table))
  return -1;
*/
and doing the compile, it looks like:
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ ImPS/2 ALPS GlidePoint id=12 [slave pointer (2)]

scroll works, tapping works, up.left.button works - like its supposed to (i guess)
problems:
1. syslog says: alps.c: Enabled hardware quirk, falling back to psmouse-core (not a big deal)
2. sudo rmmod psmouse - machine crash (not a big deal)
3. after suspend/hibernate when use mouse - machine crash - annoying (but avoidable)

by adding to alps.c:
+ { { 0x73, 0x02, 0x64 }, 0xcf, 0xcf, ALPS_PASS | ALPS_DUALPOINT | ALPS_PS2_INTERLEAVED }, /* Dell Latitude E6510 */
the name of xinput -list changes to
⎜ ↳ ImPS/2 ALPS DualPoint TouchPad id=14 [slave pointer (2)]
but all acts same way with them 3.points

System Information
 Manufacturer: Hewlett-Packard
 Product Name: HP Pavilion dm3 Notebook PC
 SKU Number: WN725EA#UUW - dm3-2010eo

Gained: vertical scroll, upper.right.second.button
Lost: ability to suspend/hibernate & play with mouse module without restart.

Revision history for this message
Scott Palmer (skewty) wrote :

This bug also affects Ubuntu 11.04. Can somebody please link it as I don't see it listed up top yet.

Also, has anybody compiled a "fixed" psmouse.ko for kernel 2.6.38 32-bit? If so, can they please attach it here.

I am looking for disabled tap to click with working suspend / resume.

Thanks,
Scott

tags: added: natty
Revision history for this message
Francisco Cribari (cribari) wrote :

I am also affected by this bug. I have no touchpad tab in the mouse preferences settings. The cursor sometimes jumps erratically. I am now using the python script in #41 of

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

So far, so good.

Hardware: DELL Latitude 6510, Intel GPU, full HD panel.

Linux: Ubuntu 11.04 64 bit. Kernel: 2.6.38-8.

More info:

cribari@darwin:~$ xinput list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ ImPS/2 ALPS GlidePoint id=13 [slave pointer (2)]
⎜ ↳ Mouseemu virtual mouse id=15 [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)]
    ↳ Power Button id=8 [slave keyboard (3)]
    ↳ Sleep Button id=9 [slave keyboard (3)]
    ↳ Laptop_Integrated_Webcam_3M id=10 [slave keyboard (3)]
    ↳ AT Translated Set 2 keyboard id=12 [slave keyboard (3)]
    ↳ Dell WMI hotkeys id=14 [slave keyboard (3)]
    ↳ Mouseemu virtual keyboard id=16 [slave keyboard (3)]

Revision history for this message
mostro (integrale-16v) wrote :

Followed the step mikeos wrote on 2011-04-22 (#307):

- downloaded kernel source linux-2.6.37.6 in /tmp
- downloaded patch-dell-e6510 (Dirk, #274) in /tmp
find:
alps_ec_write(psmouse, 0x0005, 0x01)
replace it with line:
alps_ec_write(psmouse, 0x0005, 0x03)
- cd /tmp/linux-2.6.37.6/drivers/input/mouse/
- patch -p0 < /tmp/patch-dell-e6510
- make -C /lib/modules/`uname -r`/build M=`pwd` psmouse.ko
- cp psmouse.ko /lib/modules/2.6.38-8-generic/kernel/drivers/input/mouse/psmouse.ko
- reboot (rmmod didn't work > system hangs)

scrolling works and tapping is disabled on Linux Mint 11 (2.6.38-8-generic x86_64)

Revision history for this message
Nopslider (nop-t) wrote :

@mostro #312 - this doesn't seem to work on 2.6.38-10, at least it doesn't on my machine. Scrolling works fine, though tapping is still enabled. Tried to change alps_ec_write(psmouse, 0x0005, 0x03) to 0x02; no difference.

Any ideas?

Revision history for this message
Scott Palmer (skewty) wrote : Re: [Bug 550625] Re: Alps touchpad is recognized but synaptics clients and scrolling do not work
Download full text (3.7 KiB)

It isn't working for me either. Natty 32bit
On Jun 9, 2011 5:07 AM, "Nopslider" <email address hidden> wrote:
> @mostro #312 - this doesn't seem to work on 2.6.38-10, at least it
> doesn't on my machine. Scrolling works fine, though tapping is still
> enabled. Tried to change alps_ec_write(psmouse, 0x0005, 0x03) to 0x02;
> no difference.
>
> Any ideas?
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (606238).
> https://bugs.launchpad.net/bugs/550625
>
> Title:
> Alps touchpad is recognized but synaptics clients and scrolling do not
> work
>
> Status in The Linux Kernel:
> Confirmed
> Status in “linux” package in Ubuntu:
> Fix Released
> Status in “linux” source package in Lucid:
> Triaged
> Status in “linux” source package in Maverick:
> Triaged
> Status in Baltix GNU/Linux:
> New
> Status in “linux” package in Fedora:
> New
>
> Bug description:
> SRU Justification:
>
> Impact: The end result of the commit is loss of scroll support, with no
> extra functionality gained.
>
> How addressed: By reverting the commit, the previously enabled scroll
> support is reestablished through the ImPS/2 extension.
>
> Reproduction: Run current Ubuntu kernel on affected hardware. Scroll
> functionality present in previous Ubuntu releases is now missing.
>
> Regression Potential: Since this is a revert of a one-line device id,
> the regression potential is minimal. The device should fall back to
> ImPS/2 protocol without issue.
>
> =====
>
> Binary package hint: xserver-xorg-input-synaptics
>
> I have Ubuntu 9.10 and an Alps touchpad (E7: 73 02 64). Chase fixed
> the kernel so that it was recognized and, indeed, the touchpad shows
> up in both gsynaptics and system>preferences>mouse, but when I
> actually try to adjust the settings nothing changes. My goal is to
> disable the tap-to-click feature or disable the touchpad when typing.
> Chase suggests it may be something related to the driver and to open
> another bug.
>
> ProblemType: Bug
> Architecture: i386
> Date: Sun Mar 28 22:02:25 2010
> DistroRelease: Ubuntu 9.10
> InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
> MachineType: Hewlett-Packard HP Pavilion dm3 Notebook PC
> Package: xserver-xorg-input-synaptics 1.1.2-1ubuntu7
> ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.31-21-generic
root=UUID=f1e2e19e-a0f8-407d-9533-c5ba95a8be50 ro quiet splash
> ProcEnviron:
> LANG=en_US.UTF-8
> SHELL=/bin/bash
> ProcVersionSignature: Ubuntu 2.6.31-21.58~alps4-generic
> RelatedPackageVersions:
> xserver-xorg 1:7.4+3ubuntu10
> libgl1-mesa-glx 7.6.0-1ubuntu4
> libdrm2 2.4.14-1ubuntu1
> xserver-xorg-video-intel 2:2.9.0-1ubuntu2.1
> xserver-xorg-video-ati 1:6.12.99+git20090929.7968e1fb-0ubuntu1
> SourcePackage: xserver-xorg-input-synaptics
> Uname: Linux 2.6.31-21-generic i686
> XorgConf:
> Section "InputDevice"
> Identifier "Macintosh mouse button emulation"
> Driver "synaptics"
> Option "SHMConfig" "true"
> EndSection
> dmi.bios.date: 12/04/2009
> dmi.bios.vendor: Insyde Corp.
> dmi.bios.version: F.22
> dmi.board.asset.tag: Base Board Asset Tag
> dmi.board.name: 3656
> dmi.board.vendor: Hewlett-Packard
> dmi.board.version: 44.1...

Read more...

Revision history for this message
mostro (integrale-16v) wrote :

@Nopslider (#313)
@skewty (#314)

No ideas. Sorry.

Bryce Harrington (bryce)
Changed in xserver-xorg-input-synaptics (Ubuntu Maverick):
status: New → Invalid
Changed in xserver-xorg-input-synaptics (Ubuntu Lucid):
status: New → Invalid
Changed in xserver-xorg-input-synaptics (Ubuntu):
status: New → Invalid
Revision history for this message
J. McDonald (mcdonald-joseph) wrote :

I am still having this issue in Ubuntu 10.04 LTS. It has been a problem since 9.04

Changed in xserver-xorg-input-synaptics (Ubuntu Lucid):
status: Invalid → Confirmed
Revision history for this message
Steven (svanpoeck) wrote :

Still having the issue too in Ubuntu 11.04 on a Dell Latitude E6510 with Intel I7 proc:
uname -a:
Linux rd-25 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:24 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux

cat /etc/issue:
Ubuntu 11.04 \n \l

Steven

Revision history for this message
Elephantman (elephantman) wrote :

+1

Revision history for this message
Elmer Zhang (freeboy6716) wrote :
Download full text (3.8 KiB)

+1
Ubuntu 11.04
Dell Latitude E5410

2011/6/29 Elephantman <email address hidden>

> +1
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (603439).
> https://bugs.launchpad.net/bugs/550625
>
> Title:
> Alps touchpad is recognized but synaptics clients and scrolling do not
> work
>
> Status in The Linux Kernel:
> Confirmed
> Status in “linux” package in Ubuntu:
> Fix Released
> Status in “xserver-xorg-input-synaptics” package in Ubuntu:
> Invalid
> Status in “linux” source package in Lucid:
> Triaged
> Status in “xserver-xorg-input-synaptics” source package in Lucid:
> Confirmed
> Status in “linux” source package in Maverick:
> Triaged
> Status in “xserver-xorg-input-synaptics” source package in Maverick:
> Invalid
> Status in Baltix GNU/Linux:
> New
> Status in “linux” package in Fedora:
> New
>
> Bug description:
> SRU Justification:
>
> Impact: The end result of the commit is loss of scroll support, with no
> extra functionality gained.
>
> How addressed: By reverting the commit, the previously enabled scroll
> support is reestablished through the ImPS/2 extension.
>
> Reproduction: Run current Ubuntu kernel on affected hardware. Scroll
> functionality present in previous Ubuntu releases is now missing.
>
> Regression Potential: Since this is a revert of a one-line device id,
> the regression potential is minimal. The device should fall back to
> ImPS/2 protocol without issue.
>
> =====
>
> Binary package hint: xserver-xorg-input-synaptics
>
> I have Ubuntu 9.10 and an Alps touchpad (E7: 73 02 64). Chase fixed
> the kernel so that it was recognized and, indeed, the touchpad shows
> up in both gsynaptics and system>preferences>mouse, but when I
> actually try to adjust the settings nothing changes. My goal is to
> disable the tap-to-click feature or disable the touchpad when typing.
> Chase suggests it may be something related to the driver and to open
> another bug.
>
> ProblemType: Bug
> Architecture: i386
> Date: Sun Mar 28 22:02:25 2010
> DistroRelease: Ubuntu 9.10
> InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
> MachineType: Hewlett-Packard HP Pavilion dm3 Notebook PC
> Package: xserver-xorg-input-synaptics 1.1.2-1ubuntu7
> ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.31-21-generic
> root=UUID=f1e2e19e-a0f8-407d-9533-c5ba95a8be50 ro quiet splash
> ProcEnviron:
> LANG=en_US.UTF-8
> SHELL=/bin/bash
> ProcVersionSignature: Ubuntu 2.6.31-21.58~alps4-generic
> RelatedPackageVersions:
> xserver-xorg 1:7.4+3ubuntu10
> libgl1-mesa-glx 7.6.0-1ubuntu4
> libdrm2 2.4.14-1ubuntu1
> xserver-xorg-video-intel 2:2.9.0-1ubuntu2.1
> xserver-xorg-video-ati 1:6.12.99+git20090929.7968e1fb-0ubuntu1
> SourcePackage: xserver-xorg-input-synaptics
> Uname: Linux 2.6.31-21-generic i686
> XorgConf:
> Section "InputDevice"
> Identifier "Macintosh mouse button emulation"
> Driver "synaptics"
> Option "SHMConfig" "true"
> EndSection
> dmi.bios.date: 12/04/2009
> dmi.bios.vendor: Insyde Corp.
> dmi.bios.version: F.22
> dmi.board.asset.tag: Base Board Asset Tag
> dmi.board.name: 3656
> dmi.board.vendor: Hewlett-Pac...

Read more...

Revision history for this message
durroon (m-rieke) wrote :

+1
ubuntu 10.10 / dell latitude e5510

Revision history for this message
John Dickson (captsens) wrote :
Download full text (4.0 KiB)

+1
Ubuntu 10.04
Dell Latitude E6510

On 29 June 2011 19:39, durroon <email address hidden> wrote:

> +1
> ubuntu 10.10 / dell latitude e5510
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/550625
>
> Title:
> Alps touchpad is recognized but synaptics clients and scrolling do not
> work
>
> Status in The Linux Kernel:
> Confirmed
> Status in “linux” package in Ubuntu:
> Fix Released
> Status in “xserver-xorg-input-synaptics” package in Ubuntu:
> Invalid
> Status in “linux” source package in Lucid:
> Triaged
> Status in “xserver-xorg-input-synaptics” source package in Lucid:
> Confirmed
> Status in “linux” source package in Maverick:
> Triaged
> Status in “xserver-xorg-input-synaptics” source package in Maverick:
> Invalid
> Status in Baltix GNU/Linux:
> New
> Status in “linux” package in Fedora:
> New
>
> Bug description:
> SRU Justification:
>
> Impact: The end result of the commit is loss of scroll support, with no
> extra functionality gained.
>
> How addressed: By reverting the commit, the previously enabled scroll
> support is reestablished through the ImPS/2 extension.
>
> Reproduction: Run current Ubuntu kernel on affected hardware. Scroll
> functionality present in previous Ubuntu releases is now missing.
>
> Regression Potential: Since this is a revert of a one-line device id,
> the regression potential is minimal. The device should fall back to
> ImPS/2 protocol without issue.
>
> =====
>
> Binary package hint: xserver-xorg-input-synaptics
>
> I have Ubuntu 9.10 and an Alps touchpad (E7: 73 02 64). Chase fixed
> the kernel so that it was recognized and, indeed, the touchpad shows
> up in both gsynaptics and system>preferences>mouse, but when I
> actually try to adjust the settings nothing changes. My goal is to
> disable the tap-to-click feature or disable the touchpad when typing.
> Chase suggests it may be something related to the driver and to open
> another bug.
>
> ProblemType: Bug
> Architecture: i386
> Date: Sun Mar 28 22:02:25 2010
> DistroRelease: Ubuntu 9.10
> InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
> MachineType: Hewlett-Packard HP Pavilion dm3 Notebook PC
> Package: xserver-xorg-input-synaptics 1.1.2-1ubuntu7
> ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.31-21-generic
> root=UUID=f1e2e19e-a0f8-407d-9533-c5ba95a8be50 ro quiet splash
> ProcEnviron:
> LANG=en_US.UTF-8
> SHELL=/bin/bash
> ProcVersionSignature: Ubuntu 2.6.31-21.58~alps4-generic
> RelatedPackageVersions:
> xserver-xorg 1:7.4+3ubuntu10
> libgl1-mesa-glx 7.6.0-1ubuntu4
> libdrm2 2.4.14-1ubuntu1
> xserver-xorg-video-intel 2:2.9.0-1ubuntu2.1
> xserver-xorg-video-ati 1:6.12.99+git20090929.7968e1fb-0ubuntu1
> SourcePackage: xserver-xorg-input-synaptics
> Uname: Linux 2.6.31-21-generic i686
> XorgConf:
> Section "InputDevice"
> Identifier "Macintosh mouse button emulation"
> Driver "synaptics"
> Option "SHMConfig" "true"
> EndSection
> dmi.bios.date: 12/04/2009
> dmi.bios.vendor: Insyde Corp.
> dmi.bios.version: F.22
> dmi.board.asset.tag: Base Board Asset Tag
> dmi.board.name: ...

Read more...

Changed in xserver-xorg-input-synaptics (Ubuntu Maverick):
status: Invalid → Confirmed
Revision history for this message
Walter Garcia-Fontes (walter-garcia) wrote :

May a post a reminder that this bug is strictly about a jockey problem? That is, when jockey is reporting the NVIDIA driver is not being used, but otherwise there is no other graphical problem. This other type of problems may likely get unattended if posted in this bug report, you should look for a more appropriate report or open a specific one if needed.

Revision history for this message
Walter Garcia-Fontes (walter-garcia) wrote :

Sorry, ignore last post, posted in the wrong bug report...

Revision history for this message
Falcon1 (mike-valk) wrote :

Is bug 760142 not a duplicate or an affiliate?

Revision history for this message
Falcon1 (mike-valk) wrote :
Revision history for this message
Marja Erwin (marja-e) wrote :

Still broken despite the kernel update.

Revision history for this message
PeterPall (peterpall) wrote :

One of the last kernel updates for oneiric seems to have changed something: The last time I looked at my dmesg my touchpad was recognized as a touchpad. Now it is recognized by the kernel as a generic PS/2 wheel mouse again.

Revision history for this message
Stafford Ritchie (stafford-ritchie) wrote :

@henk (comment #225)

encountered errors installing your package, now i cannot uninstall it! any suggestions?

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

I've been working on changes aimed at providing proper support for these touchpads. I've posted a dkms package with my changes for testing, and I'd appreciate it if you all could test and provide your feedback. The package is available at:

http://people.canonical.com/~sforshee/alps-touchpad/psmouse-alps-0.1/psmouse-alps-dkms_0.1_all.deb

After installing, you will need to either reboot or run 'sudo rmmod psmouse; sudo modprobe psmouse' from a terminal to have the changes take effect. If your hardware is supported by the patch, you should see output similar to the following in dmesg.

[ 1298.568960] input: DualPoint Stick as /devices/platform/i8042/serio1/input/input18
[ 1298.583662] input: AlpsPS/2 ALPS DualPoint TouchPad as /devices/platform/i8042/serio1/input/input19

After testing, please provide feedback regarding the model of your computer and whether or not the driver worked. If it doesn't work, please include the output of dmesg when using the dkms module. You can uninstall the dkms package by running 'sudo dpkg -r psmouse-alps-dkms' in a terminal.

A few notes about the package:

1. The changes include removing the IMPS/2 support from the driver, so if it does not work for your machine your touchpad will revert back to behaving as a plain old PS/2 mouse with the package installed.

2. The driver is known not to support all Alps touchpads. For instance, I have an Acer Aspire One 532h that it doesn't currently support, but I'll be working to add additional support as much as is possible.

3. The driver does support two-finger scrolling, but with the hardware I have at least it doesn't work great. Occasionally the touchpad reports data that looks like a two-finger tap in the middle of a scroll, which generates a right-click behavior. Edge scrolling seems to work better. I'm interested to hear how well two-finger scrolling works on other hardware.

Thanks for testing!

Revision history for this message
nbubis (nbubis) wrote :

Seth,

It works!! Thank you so much!

Note to testers: in order for changes to take effect, you should also change the configuration under the "mouse & touchpad" window in Ubuntu.

What works:

Dell E6410, running Ubuntu Oneiric beta 1.
two-finger scrolling, vertical + horizontal scrolling, two-finger zoom.

Revision history for this message
Nate Carlson (natecarlson) wrote :

@Seth E6520.. seems to work fairly well so far, only thing I'm noticing is that it seems to be much more sensitive - IE, if I am holding my finger "still" on the touchpad, the pointer twitches around, which it didn't with the psmouse driver. Can actually make it harder to click on stuff. ;) That may be settings-related too..

Revision history for this message
Vladimir Prus (vladimir-prus) wrote :

Seth,

this is fantastic development. I've tried on Dell E6410, Kubuntu 11.04. I could disable tap, at last, and I could also scroll
with two fingers. I am mostly a trackstick user, and that has some problems -- namely, after reboot trackstick was *way* too sensitive and even hitting buttons was problematic. I've set "Minimum Speed" and "Maximum Speed" to 0, in KDE settings, and things became better -- but seems like the speed is still higher that what I had with the old driver -- and the speed when using touchpad is too slow. Maybe, there is some hidden option that would control relative speed of trackstick and touchpad?

Revision history for this message
pitboss (pitboss2000) wrote :

I can confirm the same behaviour as Vladimir. Testing on a Dell E6410 with Ubuntu 11.04. Also when I scroll with two fingers, i will unintentionally press a right click, which can be annoying.

Thanks,

Matey

Revision history for this message
Stan Angeloff (stanangeloff) wrote :
Download full text (6.3 KiB)

I've tried it on Dell N5110 with the Alps touchpad and upon running rmmod
modprobe Ubuntu froze and I had to reboot. Once it rebooted, there was a
cursor, but I couldn't move it. I plugged in a USB mouse and tried to adjust
settings under the Pointing/Mouse window, but I couldn't see any entry for
the touchpad. I then tried it again, first removing the module with dpkg -r,
rebooting and then installing it again - in all further instances the system
crashed. I wasn't able to get to dmesg as of each reboot it would not
contain any information about 'psmouse' or 'alps'. Happy to run more tests
if needed. Thank you for your work.

On 1 September 2011 23:30, Seth Forshee <email address hidden> wrote:

> I've been working on changes aimed at providing proper support for these
> touchpads. I've posted a dkms package with my changes for testing, and
> I'd appreciate it if you all could test and provide your feedback. The
> package is available at:
>
> http://people.canonical.com/~sforshee/alps-touchpad/psmouse-alps-0.1
> /psmouse-alps-dkms_0.1_all.deb
>
> After installing, you will need to either reboot or run 'sudo rmmod
> psmouse; sudo modprobe psmouse' from a terminal to have the changes take
> effect. If your hardware is supported by the patch, you should see
> output similar to the following in dmesg.
>
> [ 1298.568960] input: DualPoint Stick as
> /devices/platform/i8042/serio1/input/input18
> [ 1298.583662] input: AlpsPS/2 ALPS DualPoint TouchPad as
> /devices/platform/i8042/serio1/input/input19
>
> After testing, please provide feedback regarding the model of your
> computer and whether or not the driver worked. If it doesn't work,
> please include the output of dmesg when using the dkms module. You can
> uninstall the dkms package by running 'sudo dpkg -r psmouse-alps-dkms'
> in a terminal.
>
> A few notes about the package:
>
> 1. The changes include removing the IMPS/2 support from the driver, so
> if it does not work for your machine your touchpad will revert back to
> behaving as a plain old PS/2 mouse with the package installed.
>
> 2. The driver is known not to support all Alps touchpads. For instance,
> I have an Acer Aspire One 532h that it doesn't currently support, but
> I'll be working to add additional support as much as is possible.
>
> 3. The driver does support two-finger scrolling, but with the hardware I
> have at least it doesn't work great. Occasionally the touchpad reports
> data that looks like a two-finger tap in the middle of a scroll, which
> generates a right-click behavior. Edge scrolling seems to work better.
> I'm interested to hear how well two-finger scrolling works on other
> hardware.
>
> Thanks for testing!
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/550625
>
> Title:
> Alps touchpad is recognized but synaptics clients and scrolling do not
> work
>
> Status in The Linux Kernel:
> Confirmed
> Status in “linux” package in Ubuntu:
> Fix Released
> Status in “xserver-xorg-input-synaptics” package in Ubuntu:
> Invalid
> Status in “linux” source package in Lucid:
> Triaged
> Status in “xserver-xorg-input-synaptics” source p...

Read more...

Revision history for this message
Ben Romer (bromer) wrote :

Seth,

I'm running your DKMS module on a Sony Vaio EB11 and it makes the scrolling work again, though I get this in dmesg:

[ 1820.881662] alps.c: E6 report: 00 00 64
[ 1820.909803] alps.c: E7 report: 73 02 64
[ 1820.933181] alps.c: unknown response while entering command mode: 88 07 8a
[ 1820.933184] alps.c: v3 touchpad failed to enter command mode
[ 1821.598353] input: ImPS/2 Generic Wheel Mouse as /devices/platform/i8042/serio1/input/input13

Thanks for this! Let me know if there's anything I can do to help test.

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

On Thu, Sep 01, 2011 at 09:09:30PM -0000, Nate Carlson wrote:
> @Seth E6520.. seems to work fairly well so far, only thing I'm noticing
> is that it seems to be much more sensitive - IE, if I am holding my
> finger "still" on the touchpad, the pointer twitches around, which it
> didn't with the psmouse driver. Can actually make it harder to click on
> stuff. ;) That may be settings-related too..

I assume you're using natty or earlier? I haven't noticed this in
oneiric, but I know the xorg synaptics driver has some extra filtering
in oneiric that helps mask this kind of jitter.

Revision history for this message
Kent Baxley (kentb) wrote :

Tested Oneiric Beta 1 with this dkms package on a Dell Latitude E4310.

Two-finger scrolling as well as horizontal and vertical edge scrolling are working well.

I'm also seeing the same issues as in comment #332...the trackstick is way more sensitive than it used to be.

Nice work!

Revision history for this message
pitboss (pitboss2000) wrote :

Hi again Seth,

I want to ask you if there is a way to disable the right click? I noticed that if I double click in the middle of the touchpad with two fingers, it results in a right-click. I think that's why sometimes when scrolling with 2 fingers I see a right click. Unfortunately, I couldn't find an option to disable it.

Thanks,

Matey

Revision history for this message
Nate Carlson (natecarlson) wrote :

On Thu, 1 Sep 2011, Seth Forshee wrote:
> I assume you're using natty or earlier? I haven't noticed this in
> oneiric, but I know the xorg synaptics driver has some extra filtering
> in oneiric that helps mask this kind of jitter.

Nailed it on the head. I'm on Natty.

For now, had to revert back to the old psmouse.. as I could hardly select
things.

Revision history for this message
Nate Carlson (natecarlson) wrote :

On Thu, 1 Sep 2011, Stan Angeloff wrote:
> I've tried it on Dell N5110 with the Alps touchpad and upon running rmmod
> modprobe Ubuntu froze and I had to reboot.

My system locked up when removing psmouse as well.. and apparently
corrupted the modules table and (somehow) the nvidia module. I'm assuming
that dkms rebuilt the nvidia module along with the psmouse module, and the
data hadn't been committed to disk (er, ssd) yet.

I ended up having to purge the dkms psmouse package, wipe out the modules,
run a 'depmod -a', re-install the package and let it build, and then
reboot without trying to remove psmouse.. after that, the new driver
worked fine.

Revision history for this message
Adrian Wechner (adrian-wechner) wrote :

:( looks like that my laptop is not supported...
Dell Inspirion N5110 ... aka Dell 15R

you are the pro, but ImExPS looks like an external mouse... I HAD an external mouse plugged in, but for the test I pluged out the mouse before the restart....

I tried removing and reinstalling .deb file... doesn't matter... patch doesn't like my dell.

[ 65.015638] alps.c: E6 report: 00 00 64
[ 65.015913] alps.c: E7 report: 10 00 64
[ 65.016065] psmouse serio1: ID: 10 00 64
[ 65.023413] input: ImExPS/2 Generic Explorer Mouse as /devices/platform/i8042/serio1/input/input5
[ 123.063201] alps.c: E6 report: 00 00 64
[ 123.063406] alps.c: E7 report: 10 00 64
[ 123.063561] psmouse serio1: ID: 10 00 64
[ 123.070876] input: ImExPS/2 Generic Explorer Mouse as /devices/platform/i8042/serio1/input/input6

Revision history for this message
njdove (njdove) wrote :

Good work, Seth!

Dell Latitude E6520, Ubuntu 11.04 AMD64 here. Installing psmouse-alps-dkms_0.1_all.deb returned the Touchpad preferences and two-finger scrolling works well.

My experience mirrors that of several others:
* Running "sudo rmmod psmouse; sudo modprobe psmouse" froze my system and left the driver improperly installed. Re-installing the .deb and rebooting fixed this problem.
* I occasionally get an accidental right-click when scrolling.
* The pointer jitters when a finger is idle on the touchpad.

Revision history for this message
Kyle Meier (kyle-honda-rider) wrote :

My Sony Vaio VPCEE3WFX is having this issue. The ALPS touchpad is recognized in the xlist and the touchpad tab shows up in the mouse options. There is no vertical or horizontal scrolling, and the two finger scroll is not functioning either. The proto=imps does not work. I´m looking forward to a solution.

This problem is the same in Google Chromium OS, Linux Mint, Ubuntu 11.04, and Ubuntu 11.10

Revision history for this message
Vladimir Prus (vladimir-prus) wrote :

I have something more to report:

- For reasons unknown, this driver appear to have fixed hang-on-suspend I was experiencing before, and
- After resume, the one-finger tap still generated left click, even though I have disabled that behaviour.

How would I go about troubleshooting the last issue? Is that driver either (i) reloaded after resume or (ii) fails to re-apply tap settings. Or is userland supposed to reestablish those settings?

Thanks again,
Volodya

Revision history for this message
Ladislav Nesnera (nesnera) wrote :

Nice! Absolutely nice! You made me to a happy man. I can see my ALPS as:
xinput list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ DualPoint Stick id=11 [slave pointer (2)]
⎜ ↳ AlpsPS/2 ALPS DualPoint 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)]
    ↳ Power Button id=8 [slave keyboard (3)]
    ↳ Sleep Button id=9 [slave keyboard (3)]
    ↳ AT Translated Set 2 keyboard id=10 [slave keyboard (3)]
    ↳ Dell WMI hotkeys id=13 [slave keyboard (3)]ch more sensitive now

and disable TouchPad by
xinput --set-prop "AlpsPS/2 ALPS DualPoint TouchPad" "Device Enabled" 0

Thank you again

Other experience:
- after installing and sudo rmmod psmouse; sudo modprobe psmouse I loose control under my computer (no mouse, no keyboard)
- Point Stick is much more sensitive now
- doesn't work scrolling if you hold middle button and move by Point Stick Up/Down
- KDE's Settings have no influence to sensitivity although gnome-mouse-setting just works
- as seems doesn't work acceleration - speed seems be constant (I expect slow speed on the start of the movement and growing if it continues). I have a problem to place pointer into the right place in the text or don't miss small control points/buttons/links now.

Computer: Latitude E6410 - Ubuntu 11.04
Linux 2.6.38-11-generic #48-Ubuntu SMP Fri Jul 29 19:02:55 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux

Revision history for this message
Florian Snow (floriansnow) wrote :

Thank you, Seth for the great work! I'm really looking forward to using your patch. Unfortunately, it doesn't build on my Dell Latitude E6410. Below, you will find the dpkg output and the dkms make log. I hope that helps.
Thank you again!

dpkg output:
Richte psmouse-alps-dkms ein (0.1) ...
Loading new psmouse-alps-0.1 DKMS files...

Loading tarball for module: psmouse-alps / version: 0.1

Creating /var/lib/dkms/psmouse-alps/0.1/source
Copying dkms.conf to /var/lib/dkms/psmouse-alps/0.1/source...
Loading /var/lib/dkms/psmouse-alps/0.1/2.6.38-11-generic/x86_64...

DKMS: ldtarball Completed.
First Installation: checking all kernels...
Building for 2.6.32-24-generic-pae and 2.6.32-33-generic
Building for architecture i386
Building initial module for 2.6.32-24-generic-pae

Error! Bad return status for module build on kernel: 2.6.32-24-generic-pae (i386)
Consult the make.log in the build directory
/var/lib/dkms/psmouse-alps/0.1/build/ for more information.
dpkg: Fehler beim Bearbeiten von psmouse-alps-dkms (--install):
 Unterprozess installiertes post-installation-Skript gab den Fehlerwert 10 zurück
Fehler traten auf beim Bearbeiten von:
 psmouse-alps-dkms

dkms build log:
DKMS make.log for psmouse-alps-0.1 for kernel 2.6.32-24-generic-pae (i386)
Fr 2. Sep 10:52:44 CEST 2011
make: Gehe in Verzeichnis '/usr/src/linux-headers-2.6.32-24-generic-pae'
  LD /var/lib/dkms/psmouse-alps/0.1/build/src/built-in.o
  CC [M] /var/lib/dkms/psmouse-alps/0.1/build/src/psmouse-base.o
/var/lib/dkms/psmouse-alps/0.1/build/src/psmouse-base.c:44: error: variable ‘param_ops_proto_abbrev’ has initializer but incomplete type
/var/lib/dkms/psmouse-alps/0.1/build/src/psmouse-base.c:45: error: unknown field ‘set’ specified in initializer
/var/lib/dkms/psmouse-alps/0.1/build/src/psmouse-base.c:45: warning: excess elements in struct initializer
/var/lib/dkms/psmouse-alps/0.1/build/src/psmouse-base.c:45: warning: (near initialization for ‘param_ops_proto_abbrev’)
/var/lib/dkms/psmouse-alps/0.1/build/src/psmouse-base.c:46: error: unknown field ‘get’ specified in initializer
/var/lib/dkms/psmouse-alps/0.1/build/src/psmouse-base.c:46: warning: excess elements in struct initializer
/var/lib/dkms/psmouse-alps/0.1/build/src/psmouse-base.c:46: warning: (near initialization for ‘param_ops_proto_abbrev’)
/var/lib/dkms/psmouse-alps/0.1/build/src/psmouse-base.c:49: error: ‘param_set_proto_abbrev’ undeclared here (not in a function)
/var/lib/dkms/psmouse-alps/0.1/build/src/psmouse-base.c:49: error: ‘param_get_proto_abbrev’ undeclared here (not in a function)
/var/lib/dkms/psmouse-alps/0.1/build/src/psmouse-base.c: In function ‘psmouse_attr_set_protocol’:
/var/lib/dkms/psmouse-alps/0.1/build/src/psmouse-base.c:1587: error: ‘struct serio’ has no member named ‘children’
make[2]: *** [/var/lib/dkms/psmouse-alps/0.1/build/src/psmouse-base.o] Fehler 1
make[1]: *** [/var/lib/dkms/psmouse-alps/0.1/build/src] Fehler 2
make: *** [_module_/var/lib/dkms/psmouse-alps/0.1/build] Fehler 2
make: Verlasse Verzeichnis '/usr/src/linux-headers-2.6.32-24-generic-pae'

Revision history for this message
nbubis (nbubis) wrote :

florian, you might need to upgrade your kernel to 3.0.* for it to work.

The easiest way is to upgrade to oneiric, but you might want to wait until the final version comes out. Alternativly, you could just upgrade the kernel and try out the patch.

Revision history for this message
durroon (m-rieke) wrote :

Thanks for this great patch, Seth! The actual patch works perfect for my setup (Dell latitude E5510, ubuntu natty, 2.6.38-11-generic).

Though, I took notice of Vladimirs observations regarding suspend mode (comment #344). Unfortunately when your module is installed I got now and then hung in suspend mode. I did not recognize this behaviour before installing your patch. So, the patch works great (sensitivity is a bit high for my liking) but I had to switch back, cause hanging in suspend is more annoying for me than tap-click activated. Now suspend-resume works again safe. Any idea how this could be related to your patch?

Revision history for this message
C de-Avillez (hggdh2) wrote :

For those of you experiencing a hang after 'sudo rmmod psmouse': this is most probably unrelated to the new DKMS module (you are _removing_ the currently in-use module, so it should not matter at all if there is a different module available). Easy way to validate: boot the system with the standard psmouse, then try 'sudo rmmod psmouse'.

This is a different issue. Please open a bug on it -- and here I mean please *each* of you open a *new* bug. This sounds like a kernel issue, and may be hardware-related, so duplicating bugs should only be done after triage.

Revision history for this message
benste (benste) wrote :

Sony Vaio Vpc-sb1c5e

No inputs possible after trying to remove thw module in a running natty
system.
Even recovery mode doesnt help anymore=-O

Revision history for this message
Vladimir Prus (vladimir-prus) wrote :

I have more comments (again on Dell E6410).

1. Based on offlist suggestion I've tried to use
xinput --set-prop <device-corresponding-to-trackstick> "Device Accel Constant Deceleration" <number around 2>
I could reduce speed of trackstick, but still find it hard to hit some targets. It looks like oversensitivity and jitter is to blame here, not speed per se.

2. Two-finger scrolling works, but suffers from the same over-sensitivity and jitter. For example, as I raise fingers after scrolling, the view sometimes jumps back. Also, I sometimes get right click registered when raising the fingers.

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

Thanks to everyone who has tested the patch! One note -- when you include the
dmesg output please don't just grep for alps, as some of the messages of
interest don't contain that string.

A few of things are becoming clear. First, there are at least a couple of
different versions of the touchpads that reply to the E7 report with 73 02 64.
The patch will work to varying degrees with some of them and won't work at all
with the others. I've an Acer netbook that falls into the latter category, and
I'll be working to find out what needs to be done with these.

Second, the patch is probably failing for any machines without a trackstick.
This should be fairly easy to fix.

Third, not all of these touchpads have the same resolution. This accounts for
at least part of the sensitivity problems being seen (with the touchpads, not
with the tracksticks).

I've written a quick-and-dirty program to dump the full register space from
these devices. I'd appreciate if you could all run it on your machines, capture
the output, and email it to me (seth dot forshee at canonical dot com). Please
also include the model of your machine and the maximum ABS_X and ABS_Y values
reported by your machine (a description of how to determine these is below).
N.B.: this program may leave your touchpad in a non-functional state,
especially if its execution is interrupted. If this happens you can try
running:

  echo -n "psmouse" | sudo tee /sys/bus/serio/devices/serio<n>/drvctl

Using the sysfs path printed in the "Found serio mouse at" message at the top
of the output. If that doesn't work you should reboot. Also note that this will
take quite a while to run.

A executable is available at:

   http://people.canonical.com/~sforshee/alps-touchpad/alps-reg-dump/alps-reg-dump

And the source is available at:

  http://kernel.ubuntu.com/git?p=sforshee/alps-reg-dump.git;a=summary

To capture the maximum ABS_X and ABS_Y values from the touchpad, you must be
using my driver changes. Run "sudo lsinput" and identify the input device named
"AlpsPS/2 ALPS DualPoint TouchPad", then run "sudo input-events <n> | grep
'ABS_[XY]'", where <n> is the input device number. While this is running, touch
on the lower-right corner of the touchpad, and tell me the maximum values you
see reported.

I've tested the dkms module build on 2.6.38 and 3.0 kernels, so it ought to work for anything of approximately that vintage.

Thanks everyone!

Revision history for this message
cement_head (andorjkiss) wrote :

Fails to build on Maverick Meerkat: (make.log attached).

@Seth can you help me troubleshoot the patch?

sudo dpkg -i psmouse-alps-dkms_0.1_all.deb

Unpacking psmouse-alps-dkms ...
Setting up psmouse-alps-dkms (0.1) ...
Loading new psmouse-alps-0.1 DKMS files...

Loading tarball for module: psmouse-alps / version: 0.1

Creating /var/lib/dkms/psmouse-alps/0.1/source
Copying dkms.conf to /var/lib/dkms/psmouse-alps/0.1/source...
Loading /var/lib/dkms/psmouse-alps/0.1/2.6.38-11-generic/x86_64...

DKMS: ldtarball Completed.
First Installation: checking all kernels...
Building only for 2.6.35-30-generic-pae
Building for architecture i686
Building initial module for 2.6.35-30-generic-pae

Error! Bad return status for module build on kernel: 2.6.35-30-generic-pae (i686)
Consult the make.log in the build directory
/var/lib/dkms/psmouse-alps/0.1/build/ for more information.
dpkg: error processing psmouse-alps-dkms (--install):
 subprocess installed post-installation script returned error exit status 10
Errors were encountered while processing:
 psmouse-alps-dkms

Revision history for this message
LiKwiiD (lik-wid-) wrote :

Hi Seth, I tried your psmouse-alps-dkms. It didnt work in either case (reboot or the sudo rmmod psmouse and sudo modprobe psmouse. The touchpad was completely unusable.

I uninstalled your package and the touchpad is still unusable. An external mouse via USB works fine.

Computer: Dell N5040
Natty
2.6.38-11-generic #48-Ubuntu SMP Fri Jul 29 19:02:55 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux

Revision history for this message
LiKwiiD (lik-wid-) wrote :

update to my post 354:
Doing a restart, was not enough to reset the touchpad to be useable in another OS. I needed to do a complete shutdown and then I was able to use it in Win7.

Revision history for this message
Lucas Cavalcanti (lucas-mr-tuner) wrote :

I had the same problem as LiKwiiD, on my Dell Vostro 3550, ubuntu 11.04.

LiKwiiD, I could fix the mouse doing:

sudo apt-get remove --purge xserver-xorg

sudo apt-get install xserver-xorg

then reboot.

Revision history for this message
rjmackay (rjmackay) wrote :

I've had the same issue as LiKwiiD.
I installed the psmouse-alps-dkms and couldn't get it to work.
sudo rmmod psmouse and sudo modprobe psmouse hung the system. On reboot the mouse wasn't detected.
After purging the package, but the touchpad is still not usable, it's not appearing at all in 'xinput list' now.

Computer : Dell E5410
Natty
2.6.38-11-generic #48-Ubuntu SMP Fri Jul 29 19:02:55 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux

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

I've posted a new version of alps-reg-dump that should get it working with more touchpads. If the previous version didn't work for you, please give this one a try and email me your output (seth dot forshee at canonical dot com).

Executable:

  http://people.canonical.com/~sforshee/alps-touchpad/alps-reg-dump/alps-reg-dump

Source:

  http://kernel.ubuntu.com/git?p=sforshee/alps-reg-dump.git

Note that it's a good idea to ensure the serio_raw module is loaded before running the program (sudo modprobe serio_raw), otherwise you might see a message like "Error writing to /sys/bus/serio/...".

Revision history for this message
Bob Sleys (bsleys) wrote :

I tried the newly posted alps-reg-dump above and got an endless string of output to the terminal. I had to ctrl-c to end it. Note I also totally lost support for the trackpad. end of out and xpinut --list below xpint is taken after running apls-reg-dump obvoisly, note how the trackpad is gone.

06cf 00
06d0 00
06d1 00
06d2 00
06d3 00
06d4 00
06d5 00
06d6 00
06d7 00
06d8 00
06d9 00
06da 00
06db 00
06dc 00
06dd 00
06de 00
06df 00
06e0 00
06e1 00
06e2 00
06e3 00
^Cbsleys-Satellite-R845:~/Downloads $ xinput --list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [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)]
    ↳ Power Button id=8 [slave keyboard (3)]
    ↳ CNF9055 id=9 [slave keyboard (3)]
    ↳ AT Translated Set 2 keyboard id=10 [slave keyboard (3)]
    ↳ Toshiba input device id=13 [slave keyboard (3)]
bsleys-Satellite-R845:~/Downloads $

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

Bob: It will finish, it just takes a while to complete. Yours wasn't even halfway done :)

You want to capture the output to a file, i.e. 'alps-reg-dump > reg-dump.txt'. If you let it run to completion it will restore your touchpad functionality, but if you interrupt it your touchpad will fail to work. When this happens the following should get it back.

  for f in /sys/bus/serio/devices/serio*; do
      desc=$(cat "${f}/description");
      if [ "$desc" = "i8042 AUX port" ]; then
          echo -n "psmouse" | sudo tee "${f}/drvctl";
      fi;
  done

You will be prompted for your sudo password when running the above.

Revision history for this message
Bob Sleys (bsleys) wrote :
  • reg-dump.txt Edit (512.1 KiB, text/plain; charset=US-ASCII; name="reg-dump.txt")

Ok I let it run to end and attached the resulting output.

FYI it took over 20 min to run to finsh

Bob

On Wed, Sep 14, 2011 at 9:35 AM, Seth Forshee <email address hidden>wrote:

> Bob: It will finish, it just takes a while to complete. Yours wasn't
> even halfway done :)
>
> You want to capture the output to a file, i.e. 'alps-reg-dump > reg-
> dump.txt'. If you let it run to completion it will restore your touchpad
> functionality, but if you interrupt it your touchpad will fail to work.
> When this happens the following should get it back.
>
> for f in /sys/bus/serio/devices/serio*; do
> desc=$(cat "${f}/description");
> if [ "$desc" = "i8042 AUX port" ]; then
> echo -n "psmouse" | sudo tee "${f}/drvctl";
> fi;
> done
>
> You will be prompted for your sudo password when running the above.
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (849138).
> https://bugs.launchpad.net/bugs/550625
>
> Title:
> Alps touchpad is recognized but synaptics clients and scrolling do not
> work
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/linux/+bug/550625/+subscriptions
>

Revision history for this message
Hemanti (henrikmarcel) wrote :

Hi everyone, my problem was that the touchpad was recognized and showed up in mouse settings and gpointing devices as "AlpsPS/2 ALPS GlidePoint" (additionally to a PS/2 mouse I hadn't even connected), but still I wasn't able to scroll (neither edge nor 2-finger ) no matter if I switched that setting on or not. The touchpad even worked when I disabled it using gpointing-devices. Now, I tried your driver, Seth, but after reboot, I couldn't use the touchpad anymore at all. So unfortunately, I couldn't use the dump program or the x_y-values either. If you need that information, I could find it out with a live cd though.

I'm using a HP dm4-2000sg and am currently on a natty live usb to try since on the oneiric I have on my hard drive neither the mouse nor the keyboard work anymore in X11 after installing the driver. Not even after removing it and reinstalling xserver-xorg and xserver-xorg-input*.

Attached you'll find my dmesg output. Is it possible the driver isn't even written for my touchpad? I just noted a difference in the name (GlidePoint vs. DualPoint). Note that it still registers as 73 02 64 according to dmesg. Or is that because of the driver?

~$ xinput list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ PS/2 ALPS DualPoint TouchPad id=12 [slave pointer (2)]
⎜ ↳ HID 04d9:0499 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)]
    ↳ HP Truevision HD id=10 [slave keyboard (3)]
    ↳ AT Translated Set 2 keyboard id=11 [slave keyboard (3)]
    ↳ HP WMI hotkeys id=13 [slave keyboard (3)]

Revision history for this message
Hemanti (henrikmarcel) wrote :

I'm experiencing the same problem as LiKwiiD now. The touchpad is working in no OS anymore (live USB, Win7, Oneiric, freshly installed Natty). Various shutdowns do not help as it doesn't to reinstall Natty on my hard drive (where there was Oneiric before). How can I reactivate it? Even in Windows, I don't see a setting to do that. Reinstalling the windows driver didn't help.

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

Hemanti: I think the driver failed for you because your machine doesn't have a trackstick. From there your touchpad was probably left in a bad state. I think I have both of these fixed for the next update, but it's strange that shutdown doesn't clear up the symptoms. Have you tried turning off the computer and removing all power, including the battery?

Revision history for this message
Hemanti (henrikmarcel) wrote :

Thank you Seth! Removing the battery worked. Booting into the freshly installed Natty, the touchpad worked as before. After booting the live usb (which I installed and removed your driver before) - where the touchpad didn't work - it worked in no OS again. So I just took out the battery again, and reinstalled Natty on the usb drive. The touchpad now works again. So this is where I am now.

Unfortunately, I can't help you with your dumps or xy_values. Attached you'll find what sudo lsinput tells me.

$ sudo modprobe serio_raw

$ sudo ./alps-reg-dump
Error: Could not locate serio mouse

$ sudo input-events 10
/dev/input/event10
   bustype : BUS_I8042
   vendor : 0x2
   product : 0x8
   version : 0
   name : "PS/2 Mouse"
   phys : "isa0060/serio4/input1"
   bits ev : EV_SYN EV_KEY EV_REL

waiting for events
17:44:36.446555: EV_REL REL_Y 1
17:44:36.446572: EV_SYN code=0 value=0
17:44:40.084143: EV_REL REL_Y 1
17:44:40.084158: EV_SYN code=0 value=0
17:44:40.103916: EV_REL REL_Y 1
17:44:40.103925: EV_SYN code=0 value=0

$ sudo input-events 11
/dev/input/event11
   bustype : BUS_I8042
   vendor : 0x2
   product : 0x8
   version : 29478
   name : "AlpsPS/2 ALPS GlidePoint"
   phys : "isa0060/serio4/input0"
   bits ev : EV_SYN EV_KEY EV_ABS

waiting for events

This is all. I think the problem is related to the following three bug reports (I'm experiencing the same issue) so it might help you understanding what happens on my computer: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/747092 and https://bugs.launchpad.net/ubuntu/+source/linux/+bug/773165 and https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-input-synaptics/+bug/782259

When do you think the next update of your driver will be available? I'm thinking about returning the HP (if this annoying scrolling issue can't be solved) for which I have about one more week of time. I'm happy to test any new releases. :)

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

On Thu, Sep 15, 2011 at 06:07:14PM -0000, Hemanti wrote:
> $ sudo ./alps-reg-dump
> Error: Could not locate serio mouse

That's odd -- what output do you get from the following:

  for f in /sys/bus/serio/devices/serio*/description; do
    echo -n "${f}: "
    cat $f
  done

> $ sudo input-events 10

The output of this is only interesting in conjunction with the new
driver, if it works.

> When do you think the next update of your driver will be available? I'm
> thinking about returning the HP (if this annoying scrolling issue can't
> be solved) for which I have about one more week of time. I'm happy to
> test any new releases. :)

I'm hoping to get a new version out later today :)

Revision history for this message
Hemanti (henrikmarcel) wrote :

Good to hear about that new version. :) In the meantime, I have some more output for you:

$ for f in /sys/bus/serio/devices/serio*/description; do
> echo -n "${f}: "
> cat $f
> done
/sys/bus/serio/devices/serio0/description: i8042 KBD port
/sys/bus/serio/devices/serio1/description: i8042 AUX0 port
/sys/bus/serio/devices/serio2/description: i8042 AUX1 port
/sys/bus/serio/devices/serio3/description: i8042 AUX2 port
/sys/bus/serio/devices/serio4/description: i8042 AUX3 port

Revision history for this message
Max Rose (xorsema) wrote :

Since kernel.org is down, including their bugzilla, can someone post a patch file, rather then an Ubuntu package? That would be much appreciated.

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

I've uploaded a new version of the driver, available at:

  http://people.canonical.com/~sforshee/alps-touchpad/psmouse-alps-0.2/psmouse-alps-dkms_0.2_all.deb

(Max: you can find patches in the same directory as the deb package, which is true for the previous version as well.)

What's new in this release:

* The driver will now work on machines without tracksticks (hopefully, I don't have hardware to test this on).

* The driver now supports more hardware than previously. Specifically, it supports the touchpad on the Acer Aspire One 532h, and hopefully there are other machines using similar devices.

* Trackstick sensitivity has been tuned down. I'm not usually a trackstick user, so feedback on the performance is appreciated.

* Multitouch support has been temporarily removed. It needs reworking in light of some limitations of the Aspire One 532h touchpad.

* The driver fails more gracefully when something goes wrong. This should mean that you won't be left with a non-functional touchpad if the driver doesn't work on your machine.

Please test and let me know how it works. I'm still accepting alps-reg-dump reports as well, preferably including the max ABS_X and ABS_Y values reported by input-events. Note that input-events needs to be run in a virtual terminal to produce output, as Xorg prevents any other application from getting events from the touchpad. To switch to a virtual terminal, press Ctrl-Alt-F1, and when your done press Ctrl-Alt-F7 to get back to your graphical environment.

Thanks for testing!

Revision history for this message
bishoptf (bishoptf) wrote :
Download full text (5.7 KiB)

Seth I've been holding out trying the driver since I read that you were
coming out with a newer one, I have a Acer Timelinex 1830T series, I see you
also have an acer, do you think this new version is the one to try with us
that do not have the trackstick? If so I will try it tonight and see what
kind of results I get...Thanks for working on this :)

On Thu, Sep 15, 2011 at 2:54 PM, Seth Forshee <email address hidden>wrote:

> I've uploaded a new version of the driver, available at:
>
> http://people.canonical.com/~sforshee/alps-touchpad/psmouse-alps-0.2
> /psmouse-alps-dkms_0.2_all.deb
>
> (Max: you can find patches in the same directory as the deb package,
> which is true for the previous version as well.)
>
> What's new in this release:
>
> * The driver will now work on machines without tracksticks (hopefully, I
> don't have hardware to test this on).
>
> * The driver now supports more hardware than previously. Specifically,
> it supports the touchpad on the Acer Aspire One 532h, and hopefully
> there are other machines using similar devices.
>
> * Trackstick sensitivity has been tuned down. I'm not usually a
> trackstick user, so feedback on the performance is appreciated.
>
> * Multitouch support has been temporarily removed. It needs reworking in
> light of some limitations of the Aspire One 532h touchpad.
>
> * The driver fails more gracefully when something goes wrong. This
> should mean that you won't be left with a non-functional touchpad if the
> driver doesn't work on your machine.
>
> Please test and let me know how it works. I'm still accepting alps-reg-
> dump reports as well, preferably including the max ABS_X and ABS_Y
> values reported by input-events. Note that input-events needs to be run
> in a virtual terminal to produce output, as Xorg prevents any other
> application from getting events from the touchpad. To switch to a
> virtual terminal, press Ctrl-Alt-F1, and when your done press Ctrl-
> Alt-F7 to get back to your graphical environment.
>
> Thanks for testing!
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/550625
>
> Title:
> Alps touchpad is recognized but synaptics clients and scrolling do not
> work
>
> Status in The Linux Kernel:
> Confirmed
> Status in “linux” package in Ubuntu:
> Fix Released
> Status in “xserver-xorg-input-synaptics” package in Ubuntu:
> Invalid
> Status in “linux” source package in Lucid:
> Triaged
> Status in “xserver-xorg-input-synaptics” source package in Lucid:
> Confirmed
> Status in “linux” source package in Maverick:
> Triaged
> Status in “xserver-xorg-input-synaptics” source package in Maverick:
> Confirmed
> Status in Baltix GNU/Linux:
> New
> Status in “linux” package in Fedora:
> New
>
> Bug description:
> SRU Justification:
>
> Impact: The end result of the commit is loss of scroll support, with no
> extra functionality gained.
>
> How addressed: By reverting the commit, the previously enabled scroll
> support is reestablished through the ImPS/2 extension.
>
> Reproduction: Run current Ubuntu kernel on affected hardware. Scroll
> functionality present in previous Ubuntu relea...

Read more...

Revision history for this message
Hemanti (henrikmarcel) wrote :

Yes!!! It works. :) Thank you Seth!

Well, at least edge scrolling works. Unfortunately, disabling the touchpad while typing and, as you said, two-finger-scroll still doesn't work. However, I'm sure you'll manage that, as well. Again: good job! :)

y value: 1325
x value: 1865

--> Now the touchpad itself creates the events. :)

Unfortunately, alps-reg-dump still doesn't work:

$ sudo modprobe serio_raw
$ sudo ./alps-reg-dump
Error: Could not locate serio mouse

Revision history for this message
Hemanti (henrikmarcel) wrote :

  for f in /sys/bus/serio/devices/serio*/description; do
    echo -n "${f}: "
    cat $f
  done

says the same as before.

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

On Thu, Sep 15, 2011 at 08:08:44PM -0000, bishoptf wrote:
> Seth I've been holding out trying the driver since I read that you were
> coming out with a newer one, I have a Acer Timelinex 1830T series, I see you
> also have an acer, do you think this new version is the one to try with us
> that do not have the trackstick? If so I will try it tonight and see what
> kind of results I get...Thanks for working on this :)

Honestly, the only way we'll know is if you try it. I think any issues
around not supporting tracksticks are worked out, but as I said I don't
have any of that generation of hardware without a trackstick to test.
And if it's similar to the touchpad on the Acer I'm working with it
won't matter, as there's no trackstick support at all in the driver for
that generation of hardware.

Revision history for this message
Hemanti (henrikmarcel) wrote :

I rebooted and now the touchpad doesn't work anymore at all. lsinput doesn't list it anymore. Even reinstalling didn't work. :(

I'll go to bed now and am happy to try your solutions tomorrow.

Revision history for this message
george panta (adgeruy) wrote :

Hello Seth,

Great work, I just compiled my kernel with your patches and it works great.
This is on a Sony VAIO VPC-F11M1E.

dmesg | grep -i alps (If you want the full dmesg or any other log please tell me so I can send them to you)
[ 12.601378] input: AlpsPS/2 ALPS GlidePoint as /devices/platform/i8042/serio1/input/input11

The maximum ABS_X and ABS_Y I could see were:

ABS_X=1848
ABS_Y=1332

Sensitivity is fine for me, no problem. If I understood your message correctly, multitouch is supported but limited on ALPS_V4, right?
If you need any other specific test, I'll be glad to do it.

Thanks once more:)

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

Hemanti: Please send me the output of the dmesg command when the
touchpad isn't working for you.

George: In the current verions there's no multitouch for v3 or v4.

Revision history for this message
Hemanti (henrikmarcel) wrote :

Two reboots later, this morning it works again. Strange, but fine. ;-) I'll dmesg when it doesn't.

Revision history for this message
aa-hcl (aa-hcl) wrote :

Hi,

Firstly, many-many thanks to Seth for a very nice work!

My system:

Dell Latitude Laptop E6520

ubuntu 11.04
@aa-i7:~$ uname -a
Linux aa-i7 2.6.38-11-generic #48-Ubuntu SMP Fri Jul 29 19:02:55 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux

Dual touchpad with the stick

I have installed the driver through package manager. The laptop failed to shut down properly (hard reboot was required), but that might totally unrelated to the driver installation since it happed sometime before and it might related to the fact that the laptop was on suspend before. (Further several reboot were fine)

The system booted up properly, the touchpad is properly recognised:

 Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ DualPoint Stick id=12 [slave pointer (2)]
⎜ ↳ AlpsPS/2 ALPS DualPoint TouchPad id=13 [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)]
    ↳ Power Button id=8 [slave keyboard (3)]
    ↳ Sleep Button id=9 [slave keyboard (3)]
    ↳ Laptop_Integrated_Webcam_FHD id=10 [slave keyboard (3)]
    ↳ AT Translated Set 2 keyboard id=11 [slave keyboard (3)]
    ↳ Dell WMI hotkeys id=14 [slave keyboard (3)]
aa@aa-i7:~$

In the "mouse" preferences there is now a touchpad part which has got the options:

General
disable touchpad while typing
enable mouse clicks with touchpad

Scrolling
Disable / Enable edge scrolling / Two-finger scrolling
Enable horizontal scrolling

If choosing two-finger scrolling then the scrolling does not work at all.

But both horizontal and vertical work when "Enable edge scrolling" is chosen.

In general touchpad is feeling much better now. I did not use the stick before, so I can not comment on that, but generally it seems quite fine.

I also compared the touchpad and stick performance under Win7 and ubuntu and now I do not see much difference.

However, it would be nice to add:

- separate sensitivity and speed tuning for the stick and the touchpad !!!

Many-Many thanks !!!!

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

aa-hcl: Thanks for testing. I'm glad the driver is working for you.

> If choosing two-finger scrolling then the scrolling does not work at
> all.

Yes, that's because of the missing multitouch support that I mentioned.
I'm working on that now.

> I also compared the touchpad and stick performance under Win7 and ubuntu
> and now I do not see much difference.

Good to know.

> However, it would be nice to add:
>
> - separate sensitivity and speed tuning for the stick and the touchpad
> !!!

That would be a higher-level feature, and thus not part of the driver
changes I'm working on.

Revision history for this message
Bob Sleys (bsleys) wrote :

Just wanted to say thanks. This latest driver is working as advertised (edgle scrolling both vert and horz but no 2 finger scrolling). It makes the touch pad much more usable.

FYI system info - Toshiba Satellite R845-S80

Looking forward to 2-finger scrolling

FYI: after installing at first nothing changed. I rebooted and noticed edge scrolling still not working so I opened the mouse properties and noticed 2 finger was on and edge off so I switched it to edge and tried testing it only to have the system quickly lockup after just a few seconds of edge scrolling a web page in Chrome. It appears the processer was going full speed cause the system fan kicked into high gear. I hit the power button and after rebooting and resetting the touchpad to edge scrolling it's been fine no more issues.

Revision history for this message
Alex Samorukov (samm-os2) wrote :

Thank you for this driver - it works nice on my Dell E6410. Tested vertical/horizontal scrolling and it works fine. 2 fingers scrolling seems to be non functional but everything else works fine. Also my machine completely hanged when i tried to do "rmmod psmouse" using an old driver, but it is not problem of your one :)

LSB Version: core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch:core-4.0-amd64:core-4.0-noarch
Distributor ID: Ubuntu
Description: Ubuntu 11.04
Release: 11.04
Codename: natty

Revision history for this message
Alex Samorukov (samm-os2) wrote :

Forgot to add driver info (in case if you need it):
samm@samm-dell:~$ dmesg |grep -i alps
[ 178.318326] alps.c: E6 report: 00 00 64
[ 178.338028] alps.c: E7 report: 73 02 64
[ 178.373725] alps.c: E6 report: 00 00 64
[ 178.393156] alps.c: E7 report: 73 02 64
[ 178.505635] alps.c: trackstick E7 report: 42 02 14
[ 178.902023] input: AlpsPS/2 ALPS DualPoint TouchPad as /devices/platform/i8042/serio1/input/input15

Revision history for this message
Francisco Cribari (cribari) wrote :

The driver works fine on my DELL Latitude E6510. Will it be in Ubuntu 11.10?

cribari@darwin:~$ dmesg |grep -i alps
[ 5.566571] alps.c: E6 report: 00 00 64
[ 5.585184] alps.c: E7 report: 73 02 64
[ 5.655899] alps.c: E6 report: 00 00 64
[ 5.742175] alps.c: E7 report: 73 02 64
[ 5.876003] alps.c: trackstick E7 report: 42 02 14
[ 6.276427] input: AlpsPS/2 ALPS DualPoint TouchPad as /devices/platform/i8042/serio1/input/input9
[ 1628.883840] alps.c: E6 report: 00 00 64
[ 1628.902763] alps.c: E7 report: 73 02 64
[ 1629.016014] alps.c: trackstick E7 report: 42 02 14
[ 5835.788546] alps.c: E6 report: 00 00 64
[ 5835.807612] alps.c: E7 report: 73 02 64
[ 5835.921497] alps.c: trackstick E7 report: 42 02 14
[11412.689509] alps.c: E6 report: 00 00 64
[11412.708413] alps.c: E7 report: 73 02 64
[11412.821983] alps.c: trackstick E7 report: 42 02 14
[36919.520356] alps.c: E6 report: 00 00 64
[36919.540212] alps.c: E7 report: 73 02 64
[36919.654563] alps.c: trackstick E7 report: 42 02 14
[41294.675918] alps.c: E6 report: 00 00 64
[41294.694873] alps.c: E7 report: 73 02 64
[41294.808652] alps.c: trackstick E7 report: 42 02 14

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

On Sat, Sep 17, 2011 at 10:49:24AM -0000, Francisco Cribari wrote:
> The driver works fine on my DELL Latitude E6510. Will it be in Ubuntu
> 11.10?

11.10 is already at feature freeze, meaning only bug fixes from now
until release. The dkms package should continue working just fine though
until the driver changes are fully ready.

Revision history for this message
Niko Celis (niko-celis) wrote :

Downloaded the .deb packages, did a sudo dpkg -i, but the following error message returned:
First Installation: checking all kernels...
Building only for 2.6.35-30-generic
Building for architecture x86_64
Building initial module for 2.6.35-30-generic
Error! Bad return status for module build on kernel: 2.6.35-30-generic (x86_64)
Consult the make.log in the build directory
/var/lib/dkms/psmouse-alps/0.2/build/ for more information.
Traceback (most recent call last):
  File "/usr/share/apport/package-hooks/dkms.py", line 57, in <module>
    report.write(open(apport.fileutils.make_report_path(report), 'w'))
IOError: [Errno 2] No such file or directory: '/var/crash/psmouse-alps-dkms.0.crash'
dpkg: error processing psmouse-alps-dkms (--install):
 subprocess installed post-installation script returned error exit status 10
Errors were encountered while processing:
 psmouse-alps-dkms

By no means I'm an expert, but yet very eager to contribute!

Revision history for this message
César Izurieta (cesarizu) wrote :

Hi Seth, thanks a lot for the patches. On my computer (Dell Inspiron N5110, opensuse 11.4 kernel 3.0.4, just touchpad, no trackstick) it's working well. Just 3 problems:

1. When leaving my finger over the touchpad without movement, the cursor moves erratically ±1 pixel (but stays in the same place), maybe it does have something to do with sensitivity to high. I'll try to get the max X and Y and send them to you.

2. Sometimes when moving the cursor with one finger only on the touchpad, click events are fired, though I can't find a way to reproduce this.

3. I don't have a trackstick but two devices are registered:

[16344.104227] alps.c: E6 report: 00 00 64
[16344.122210] alps.c: E7 report: 73 02 64
[16344.158879] alps.c: E6 report: 00 00 64
[16344.176855] alps.c: E7 report: 73 02 64
[16344.501991] input: DualPoint Stick as /devices/platform/i8042/serio1/input/input25
[16344.516096] input: AlpsPS/2 ALPS DualPoint TouchPad as /devices/platform/i8042/serio1/input/input26

I saw that this is defined in alps_model_info using the command mode response. In my case the command mode response is 9d. This doesn't seem to affect the use of the touchpad whatsoever. Setting the alps_model_info to 0 instead of ALPS_DUALPOINT works without a problem.

Once again, thanks a lot for your work!

Revision history for this message
César Izurieta (cesarizu) wrote :

Here are my maximum X and Y:
ABS_X=1908
ABS_Y=1329

Revision history for this message
Tom (tlinsky) wrote :

Seth's patch version 0.2 works as advertised (everything but multitouch) on my HP dm1z (E7 report: 73 02 64). Thanks very much for your work!

Revision history for this message
rjmackay (rjmackay) wrote :

Hi Seth,
Version 0.2 worked fine.
Laptop: Dell Latitude E5410
Edge scroll works. Disable touchpad while typing works.

I did have to enable scrolling via gpointing-device-settings, just standard gnome mouse settings didn't seem to work.
I also noticed that xinput list is reporting a 'DualPoint Stick' now too, even though my hardware doesn't have a pointing stick.

⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ Microsoft Microsoft Basic Optical Mouse id=11 [slave pointer (2)]
⎜ ↳ DualPoint Stick id=15 [slave pointer (2)]
⎜ ↳ AlpsPS/2 ALPS DualPoint TouchPad id=16 [slave pointer (2)]

Is it useful to send you dmesg output and reg-dump output too?

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

On Sat, Sep 17, 2011 at 04:10:03PM -0000, César Izurieta wrote:
> Hi Seth, thanks a lot for the patches. On my computer (Dell Inspiron
> N5110, opensuse 11.4 kernel 3.0.4, just touchpad, no trackstick) it's
> working well. Just 3 problems:
>
> 1. When leaving my finger over the touchpad without movement, the cursor
> moves erratically ±1 pixel (but stays in the same place), maybe it does
> have something to do with sensitivity to high. I'll try to get the max X
> and Y and send them to you.

In my past experience this is fixed by some filtering added in newer
versions of the Xorg synaptics module. It doesn't really seem
appropriate to filter the hardware-reported values in the driver.

> 2. Sometimes when moving the cursor with one finger only on the
> touchpad, click events are fired, though I can't find a way to reproduce
> this.

I've seen something like this with two-finger touch. If the problem is
the same, it's caused by these occassional odd reports from the hardware
that the pressure is zero, and the next release of the driver will have
a fix in place.

> 3. I don't have a trackstick but two devices are registered:

That's just the way that the driver is already set up. In fact, when you
set ALPS_DUALPOINT to 0 you probably still get 2 devices, one is just
named "PS/2 mouse" or something similar. It won't cause any issues
though.

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

On Mon, Sep 19, 2011 at 10:04:18AM -0000, rjmackay wrote:
> Is it useful to send you dmesg output and reg-dump output too?

dmesg isn't necessary, but the alps-reg-dump output along with the
maximum ABS_X and ABS_Y values would be helpful. Thanks!

Revision history for this message
aa-hcl (aa-hcl) wrote :

Some interesting fact about the driver performance when additional monitors are added:

(system: Dell Latitude E6520, ubuntu 11.04, stick and touchpad):

When I changed the screen resolution from 1920x1080 to one big screen of two monitors (1920x1080 as laptop screen and connected through Matrox Dual box two monitors of 1920x1200 each) of resolution 5940x1200 (with some "dead area" since my laptop screen only 1080) I found that touchpad cursor started to move much faster in horizontal direction only.

It means that apparently the driver somehow adjusted the horizontal speed according to the new size of the screen. The external USB mouse does not do that.

This "scaling" of the horizontal speed does not seems to be a problem for me, I think it is quite nice.

Please let me know if you need any further info about my system if you think it is useful.

Many thanks!

Revision history for this message
Lucas Cavalcanti (lucas-mr-tuner) wrote :

Seth, I couldn't run the alps-reg-dump on my vostro 3550, ubuntu 11.04:

$ ./alps-reg-dump
bash: ./alps-reg-dump: cannot execute binary file
$ sudo ./alps-reg-dump
./alps-reg-dump: 1: ELF: not found
./alps-reg-dump: 2: Syntax error: word unexpected (expecting ")")

The 0.2 driver works fine though =)

Revision history for this message
Raedwulf (tcmreastwood-gmail) wrote :

Neat, some progress! I've started do have a look at this problem too and have patched Qemu to allow direct communication with /dev/serio_raw devices.
This could be useful to whoever else has affected hardware and wants to communicate with the windows drivers (tested with Windows XP guest), and log it.

https://github.com/raedwulf/qemu-ps2mouse/tree/chardev-ps2

Revision history for this message
durroon (m-rieke) wrote :

Hi Seth,

many thanks for your second release. It seems that my problems with being stuck in the suspend mode are now history! Great! It all works now like a charm (on dell latitude e5510, natty 64-bit). I additionally sent you an email with my alps-reg-dump output and max ABS_XY values.

Revision history for this message
Hemanti (henrikmarcel) wrote :

Hi Seth,

I'm quite happy with your driver. As long as it works, all is wonderful. Unfortunately, however, at times it won't work after a reboot (touchpad not recognized --> no reaction of mouse cursor). The only thing that helps then (at least most of the times - sometimes I have to do it a few times) is taking out the battery for a few minutes. Then everything works fine again until that problem occurs again. I hope you'll get this fixed as you have already done an awesome job on the driver. If you need any more information about that issue, let me know.

Revision history for this message
Hemanti (henrikmarcel) wrote :

Additional note: When the touchpad's not recognized by Ubuntu Oneiric, it doesn't work with Win7 either.

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

On Tue, Sep 20, 2011 at 08:54:40PM -0000, Hemanti wrote:
> Hi Seth,
>
> I'm quite happy with your driver. As long as it works, all is wonderful.
> Unfortunately, however, at times it won't work after a reboot (touchpad
> not recognized --> no reaction of mouse cursor). The only thing that
> helps then (at least most of the times - sometimes I have to do it a few
> times) is taking out the battery for a few minutes. Then everything
> works fine again until that problem occurs again. I hope you'll get this
> fixed as you have already done an awesome job on the driver. If you need
> any more information about that issue, let me know.

I haven't seen this; I'll try to reproduce. Again, please provide dmesg
when this is happening. I think it would be best if you could provide
the dmesg from the first boot when the issue occurs. Thanks!

Revision history for this message
Hemanti (henrikmarcel) wrote :

The bug occurred again twice, so I'm attaching my dmesg output from the first time. Hope you can work with that.

Revision history for this message
Israel Basurto (ibasurto) wrote :

Seth Forshee's patched driver version 0.2 work as expected with my sony VPC EB 4X8E
(previously I have to use the proto=imps module option)

thank you Seth

I attached alps reg dump from my computer and these are my maximum X and Y:
ABS_X=1827
ABS_Y=1329

how about a multitouch version?

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

Version 0.3 of the psmouse-alps-dkms package is now available at:

  http://people.canonical.com/~sforshee/alps-touchpad/psmouse-alps-0.3/psmouse-alps-dkms_0.3_all.deb

Changes since v2:

* Improved cleanup after trackstick initialization errors

* Driver should still load if trackstick initialization fails

* Multitouch support for v3 protocol touchpads

* Filter out occasional "zero pressure" reports from hardware. These were causing random release events to be sent to userspace, which could appear as apparent clicks when dragging on the touchpad.

Hemanti: The first two changes are targeted at your issues. Even though you don't have a trackstick, it appears that occasionally on your hardware something is gong wrong with the trackstick check. As long as that's all that's going wrong the new version shouldn't cause the complete failures you were seeing before, but there could be a deeper underlying problem. Please let me know how it works, and keep an eye out for "trackstick E7 report failed" messages in dmesg.

Note that multitouch support is for *v3 only.* v4 has some difficulties that need to be overcome, and I plan to focus on getting everything else solid before working on that.

I think the driver is currently very close to finished, so everyone please give this newest version a try and let me know how it works. Thanks!

Revision history for this message
Hemanti (henrikmarcel) wrote :

Wow, thank you so much for that new version! I noticed that the problem is reproducible whenever I do a reboot from Ubuntu and boot into Ubuntu again (all other combinations of rebooting seem to work fine). I'll give the new version a shot, try again and tell you about my results.

Revision history for this message
Alex Samorukov (samm-os2) wrote :

Thank you so much! I just compiled 0.3 version and tried it (without reboot, unloading 0.2 works fine). Both track-stick and TouchPad are working perfectly. Compared to 0.2 version mutlitouch seems to work, at least "two fingers scrolling" is now working as expected (was broken on 0.2).
This is a part of the dmesg if you need it:

[ 7194.041367] alps.c: E7 report: 73 02 64
[ 7194.078140] alps.c: E6 report: 00 00 64
[ 7194.097249] alps.c: E7 report: 73 02 64
[ 7194.210941] alps.c: trackstick E7 report: 42 02 14

[ 7194.022111] alps.c: E6 report: 00 00 64
[ 7194.041367] alps.c: E7 report: 73 02 64
[ 7194.078140] alps.c: E6 report: 00 00 64
[ 7194.097249] alps.c: E7 report: 73 02 64
[ 7194.210941] alps.c: trackstick E7 report: 42 02 14
[ 7194.597653] input: DualPoint Stick as /devices/platform/i8042/serio1/input/input16
[ 7194.610567] input: AlpsPS/2 ALPS DualPoint TouchPad as /devices/platform/i8042/serio1/input/input17

Module load/unload also works fine.

My laptop is Latitude E6410 and OS - Ubuntu 11.04 x86_64

Revision history for this message
César Izurieta (cesarizu) wrote :

The 0.3 patch is working for me, multitouch enabled. But there are some problems I see:

1. When enabling two finger scrolling it works but lots of middle clicks are fired, specially on horizontal scroll.
2. Hovering the finger very close over the touchpad without actually touching it moves the cursor and fires lots of clicks.

Revision history for this message
Hemanti (henrikmarcel) wrote :

Okay, it seems I was too happy too early. :-( I'm noticing that disabling the touchpad while typing works now (though I'm not sure if that already worked before). Still, the touchpad won't work after reboot and only removing the battery works then. I'm attaching my dmesg output again. There's still that E7 error in there. I really hope yo can fix this, because otherwise I quite like your driver.

Btw, multitouch still doesn't work, but I don't really care since I don't wanna use that.

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

César, Hemanti: I've uploaded a 0.4 package for both of you to test. In only adds two things -- some debug output and a reset prior to initialization.

http://people.canonical.com/~sforshee/alps-touchpad/psmouse-alps-0.4/psmouse-alps-dkms_0.4_all.deb

César, what I need from you is for you to open a terminal, make it full screen, and ensure it has focus. Generate the stray middle click problem and stop touching the touchpad as soon as it happens. Then, without touching the touchpad, run the command "dmesg > dmesg-stray-click.txt". Then attach the dmesg-stray-click.txt file here.

Hemanti, I added a reset before initializing the touchpad to see if it gets your hardware out of whatever goofy state it's in following a reboot. I really don't know why this happens (I don't see it on any of the machines I'm testing with), but the reset might help. Please test and let me know.

Everyone else: unless you are experiencing one of the problems César or Hemanti are seeing and want to help debug, just stick with the 0.3 version.

Revision history for this message
David Cramer (david-thingbag) wrote :

Hi Seth,

I'll be very happy to have multi-touch. Thank you for working on this.

For me, when I install psmouse-alps-dkms

1. Nothing changes until I reboot
2. After rebooting and before logging in, the touchpad works as before.
3. After logging in, the touchpad stops working completely, but:
    a. The pointer still works.
    b. I now see a Touchpad tab in the mouse preferences, but changing settings had no effect on the non working touchpad.

I've attached the output of dmesg.txt.

Dell Latitude E6510
Ubuntu Natty, 64bit
Linux anatine 2.6.38-11-generic #50-Ubuntu SMP Mon Sep 12 21:17:25 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux

Let me know if you need any more information.

Thanks,
David

Revision history for this message
César Izurieta (cesarizu) wrote :

Seth, I've attached dmesg-stray-click.txt after following your instructions. Two middle clicks where fired during the test. I used two fingers and made an horizontal scroll for about one second.

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

On Thu, Sep 22, 2011 at 07:57:42PM -0000, David Cramer wrote:
> Hi Seth,
>
> I'll be very happy to have multi-touch. Thank you for working on this.

Note that "multi-touch" for this device is basically going to be
two-fingered scrolling. The data isn't good enough to do much more with
it.

> For me, when I install psmouse-alps-dkms
>
> 1. Nothing changes until I reboot

Yes, installing the dkms package doesn't load the new driver.
Theoretically you just need to unload/load the psmouse driver, but that
might hang your machine if it's using the Ubuntu IMPS/2 emulation
support (a fix for this was recently put into oneiric, but I don't think
it's been released yet).

> 2. After rebooting and before logging in, the touchpad works as before.
> 3. After logging in, the touchpad stops working completely, but:
> a. The pointer still works.
> b. I now see a Touchpad tab in the mouse preferences, but changing settings had no effect on the non working touchpad.

If it works in the window manager but not on the desktop, I don't think
the driver is to blame. You can prove this by switching to a virtual
console (e.g. Ctrl-Alt-F1) and running 'sudo lsinput', finding the Alps
touchpad device, and then running 'sudo input-events' with the device
number of the touchpad. If you see output spewing on the screen then you
move your finger on the touchpad, the driver is probably working
correctly.

If it is working correctly, the problem would seem to be elsewhere. I'm
not very familiar with debugging problems in those areas, but I'll share
what I do know. Return to the desktop (Ctrl-Alt-F7), open a terminal,
and run 'xinput list'. You should see an "ALPS DualPoint Touchpad"
device listed, followed by an id number. Run 'xinput --list-props <id>'
using the id for the touchpad. At the top there should be a line labeled
"Device Enabled", and the value should be 1. If it's not, run 'xinput
--set-prop <id> "Device Enabled" 1' and see if your touchpad works.

If your device isn't listed or it still doesn't work, I'm not sure what
to look at next. Probably the best thing is if you attach
/var/log/Xorg.0.log, and I'll take a look at it.

> I've attached the output of dmesg.txt.

Okay, you're using v4 with the extra debugging, so I can see that the
driver is processing packets from the touchpad. There are several large
gaps in the timestamps, which I'd guess means that some of them are
after you logged into the desktop environment. Which is what I'd expect
to see.

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

On Thu, Sep 22, 2011 at 08:30:45PM -0000, César Izurieta wrote:
> Seth, I've attached dmesg-stray-click.txt after following your
> instructions. Two middle clicks where fired during the test. I used two
> fingers and made an horizontal scroll for about one second.

What I see in the logs indicates that when you were scrolling your
fingers you get a couple of data points sometimes where the touchpad is
telling the driver that there was only a single contact on the touchpad.
So basically you end up with the following sequence for the number of
contact points being reported:

  1 -> 2 -> 1 -> 2 -> 1 -> 2 -> 0

I have a hard time understanding how any of that is getting interpreted
as a two-finger tap, but that's all I see that could conceivably be
causing the events. I've been trying to reproduce it on the hardware I
have, but I can't.

Well, I guess there is one other thing. If something in the packet is
getting misinterpreted as a button then I guess the driver could
literally be sending a button event. To check this, switch to a virtual
terminal and identify your touchpad in lsinput, then run

  sudo input-events <devnr> | grep BTN_MIDDLE

While this is running, do the motions on the touchpad that are giving
you middle clicks. If you see any output then the driver is interpreting
some of the data in the packets incorrectly.

If it doesn't generate output, and the driver is reporting the data from
the hardware correctly, then I don't know what can be done. I'll see if
I can find more out about how the synaptics client is identifying two
finger taps.

Revision history for this message
Hemanti (henrikmarcel) wrote :

Thanks Seth, it works now. :-) I just had to install the new version in all my Ubuntu systems (Natty and Oneiric) and rebooting now works fine under all circumstances (at least those I have tested).

Now, I'm curious about the backgrounds: How can I find out if I'm using v3 or v4? Do the touchpads which share the same version have the same firmware or are even identical? Or do they just communicate with the rest of the system, including the software, in the same way?

Revision history for this message
César Izurieta (cesarizu) wrote :

This is what I'm getting for input-events while doing an horizontal two finger scroll:

16:58:09.093818: EV_KEY BTN_TOUCH pressed
16:58:09.258420: EV_KEY BTN_LEFT pressed
16:58:09.258421: EV_KEY BTN_RIGHT pressed
16:58:09.258421: EV_KEY BTN_MIDDLE pressed
16:58:09.276344: EV_KEY BTN_TOOL_FINGER released
16:58:09.276345: EV_KEY BTN_TOOL_DOUBLETAP pressed
16:58:09.276347: EV_KEY BTN_LEFT released
16:58:09.276347: EV_KEY BTN_RIGHT released
16:58:09.276347: EV_KEY BTN_MIDDLE released
16:58:09.311885: EV_KEY BTN_TOOL_FINGER pressed
16:58:09.311886: EV_KEY BTN_TOOL_DOUBLETAP released
16:58:09.319516: EV_KEY BTN_LEFT pressed
16:58:09.319517: EV_KEY BTN_RIGHT pressed
16:58:09.319517: EV_KEY BTN_MIDDLE pressed
16:58:09.336340: EV_KEY BTN_TOOL_FINGER released
16:58:09.336342: EV_KEY BTN_TOOL_DOUBLETAP pressed
16:58:09.820013: EV_KEY BTN_LEFT released
16:58:09.820013: EV_KEY BTN_RIGHT released
16:58:09.820013: EV_KEY BTN_MIDDLE released
16:58:10.237457: EV_KEY BTN_TOOL_FINGER pressed
16:58:10.237459: EV_KEY BTN_TOOL_DOUBLETAP released
16:58:10.294048: EV_KEY BTN_TOUCH released

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

On Thu, Sep 22, 2011 at 09:46:22PM -0000, Hemanti wrote:
> Thanks Seth, it works now. :-) I just had to install the new version in
> all my Ubuntu systems (Natty and Oneiric) and rebooting now works fine
> under all circumstances (at least those I have tested).

Great! I plan to get out a new release with this and a few other minor
changes tomorrow.

> Now, I'm curious about the backgrounds: How can I find out if I'm using
> v3 or v4? Do the touchpads which share the same version have the same
> firmware or are even identical? Or do they just communicate with the
> rest of the system, including the software, in the same way?

I can tell you -- you have v3 :)

In the 0.4 software it will print out the protocol version right after
it loads. The reason I know you have v3 though is that you're hitting
the code paths for initializing the trackstick, which don't exist in the
v4 protocol support.

v3 and v4 are just what I'm calling them, based on the order in which I
encountered them. It's entirely possible that v4 hardware predates v3.
But they almost certainly have different firmware. The distinctions are
that the data they emit is formatted differently and that they use
different register layouts internally. There may well be other
differences too, but those are the ones I know about.

Revision history for this message
David Cramer (david-thingbag) wrote : Re: [Bug 550625] Re: Alps touchpad is recognized but synaptics clients and scrolling do not work

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 09/22/2011 04:13 PM, Seth Forshee wrote:
> On Thu, Sep 22, 2011 at 07:57:42PM -0000, David Cramer wrote:
>> Hi Seth,
>>
>> I'll be very happy to have multi-touch. Thank you for working on this.
>
> Note that "multi-touch" for this device is basically going to be
> two-fingered scrolling. The data isn't good enough to do much more with
> it.

That's fine. Two-fingered scrolling is all I really care about.

>
>> 2. After rebooting and before logging in, the touchpad works as before.
>> 3. After logging in, the touchpad stops working completely, but:
>> a. The pointer still works.
>> b. I now see a Touchpad tab in the mouse preferences, but changing settings had no effect on the non working touchpad.
>
> If it works in the window manager but not on the desktop, I don't think
> the driver is to blame. You can prove this by switching to a virtual
> console (e.g. Ctrl-Alt-F1) and running 'sudo lsinput', finding the Alps
> touchpad device, and then running 'sudo input-events' with the device
> number of the touchpad. If you see output spewing on the screen then you
> move your finger on the touchpad, the driver is probably working
> correctly.

Yes, that test indicates that the driver is working.

> If it is working correctly, the problem would seem to be elsewhere. I'm
> not very familiar with debugging problems in those areas, but I'll share
> what I do know. Return to the desktop (Ctrl-Alt-F7), open a terminal,
> and run 'xinput list'. You should see an "ALPS DualPoint Touchpad"
> device listed, followed by an id number. Run 'xinput --list-props <id>'
> using the id for the touchpad. At the top there should be a line labeled
> "Device Enabled", and the value should be 1. If it's not, run 'xinput
> --set-prop <id> "Device Enabled" 1' and see if your touchpad works.

Ok. When I do that, I see:

dcramer@anatine ~
$ xinput --list-props 13
Device 'AlpsPS/2 ALPS DualPoint TouchPad':
 Device Enabled (121): 0
...

When I run:

dcramer@anatine ~
$ xinput --set-prop 13 "Device Enabled" 1

The command completes without any error or output, but the touchpad
doesn't start working and when I run --list-props again, "Device Enable"
is still set to 0. If I do --set-prop while tailing /var/log/Xorg.0.log,
I see:

[ 9830.351] (--) AlpsPS/2 ALPS DualPoint TouchPad: touchpad found

Let me know if there are any other things I can try or if there's any
other information I can provide.

Thanks,
David

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJOe8yLAAoJEMHeSXG7afUhDhUH+QF9NgyqRwSUQIVybvqyFNMr
1lGfwRlHOMGSPlWSAexUhOrGjWM0WqFry7mw55dPzEjfI5OYludYA+WJMHAwHXKK
GtDOls/jD/TUNqdvbVwA/OXRnvdXYIYDDyqZcfw+nEkNJQtRaQ+3pqkxmv5z29sC
fobK8LpojIYfZ61Vj+ErcVNqt11cusXGVguByfblwd7apdm/McPcizu0lQc78BSe
k+xqtLqXjDYS0PAArRQ+wfiKMO4nqO31TLmH4aXjJWqIH4oFgpBBGtNJFDUhZYG2
bkpF1ewC+EO0Ava7+mdGh70FP7ZMjxN2IKCWrnj8BpZSi3XCNQ5nDAGNJk45OhY=
=CDUh
-----END PGP SIGNATURE-----

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

César: It appears your hardware is sending different data. I put up a new version for you that will dump the raw packets so I can take a look at it. Please install the package at the link below, then do the following.

Open two terminal windows. In the first, run 'sudo modprobe -r psmouse' followed by 'tail -f -n0 /var/log/kern.log > alps-data.txt'. Now go to the second window and run 'sudo moprobe psmouse'. Do the gesture that's causing you to see the clicks, then press Ctrl-C in the window running the tail command. It's probably best if you give that window focus before doing the two finger drag so that the relevant data appears at the end of the log.

If you don't mind, just email me alps-data.txt to avoid cluttering up this bug even more (seth dot forshee at canonical dot com). Also, will you let me know specifically what is and isn't working for you. Thanks!

Everyone else: Please don't install this version, it's just going to clutter up your logs. Stick with version 0.3 for now. I plan to release an update within the next day for general consumption.

http://people.canonical.com/~sforshee/alps-touchpad/psmouse-alps-0.5/psmouse-alps-dkms_0.5_all.deb

Revision history for this message
Walter Garcia-Fontes (walter-garcia) wrote :

Here is a another DELL Lattitude 6410 happy user after one year and half of having bought it with a jumping cursor in all my editing. Not any more. Kudos Seth, the module works perfectly for this machine.

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

A new version of the psmouse-dkms package is available at:

http://people.canonical.com/~sforshee/alps-touchpad/psmouse-alps-0.6/psmouse-alps-dkms_0.6_all.deb

Changes since version 0.3 (since the intermediate builds were just for collecting debug information):

* Add a reset of the touchpad prior to initialization

* Minor improvements to v3 packet type detection

* Improvements to v3 multitouch data in some corner cases

Please give it a try and let me know how it works!

Hemanti, please verify that your device continues working across resets.

César, there's a chance that the packet type detection improvements could fix your stray click issues. Probably it won't, but there's a chance. I found a case where it's theoretically possible for one type of packet to be processed as though it were a different type of packet, but it's a situation I've never seen on any hardware I'm testing with.

Revision history for this message
Hemanti (henrikmarcel) wrote :

FYI, my touchpad still works fine after several reboots across multiple OSs using the 0.6 driver version.

Revision history for this message
César Izurieta (cesarizu) wrote :

Seth: the version 0.5 and 0.6 are working much better, no more middle clicks when doing a two finger scrolling. I'm still seeing some left clicks in some cases, I'll try to reproduce them, and send you the data.

Revision history for this message
njdove (njdove) wrote :

Dell Latitude E6520, Ubuntu 11.10 x64, just upgraded to 0.6. Two hours in and I haven't received an accidental right-click when two-finger scrolling. Tap-to-click work great, and it's precise enough that I can two-finger right-click with a good degree of accuracy. Part of that may be my recent move from 11.04 to 11.10.

In any event, great job! 0.6 feels production-ready, at least on my setup.

Revision history for this message
mio75 (mio75) wrote :

I wanted to try the 0.6 .deb, but got the error message described in #385 upon installation with dpkg -i.

Revision history for this message
David Cramer (david-thingbag) wrote : Re: [Bug 550625] Re: Alps touchpad is recognized but synaptics clients and scrolling do not work
Download full text (3.4 KiB)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Update: when I log in using KDE, the touchpad continues to work and
two-finger scrolling works. If I log in using Gnome, however, even in
Safe Mode or with "No Effects", the touchpad to stop working.

Any idea what in Gnome could be causing the problem or how to figure
that out?

Thanks,
David

On 09/22/2011 07:02 PM, David Cramer wrote:
> On 09/22/2011 04:13 PM, Seth Forshee wrote:
>> On Thu, Sep 22, 2011 at 07:57:42PM -0000, David Cramer wrote:
>>> Hi Seth,
>>>
>>> I'll be very happy to have multi-touch. Thank you for working on this.
>
>> Note that "multi-touch" for this device is basically going to be
>> two-fingered scrolling. The data isn't good enough to do much more with
>> it.
>
> That's fine. Two-fingered scrolling is all I really care about.
>
>
>>> 2. After rebooting and before logging in, the touchpad works as before.
>>> 3. After logging in, the touchpad stops working completely, but:
>>> a. The pointer still works.
>>> b. I now see a Touchpad tab in the mouse preferences, but changing settings had no effect on the non working touchpad.
>
>> If it works in the window manager but not on the desktop, I don't think
>> the driver is to blame. You can prove this by switching to a virtual
>> console (e.g. Ctrl-Alt-F1) and running 'sudo lsinput', finding the Alps
>> touchpad device, and then running 'sudo input-events' with the device
>> number of the touchpad. If you see output spewing on the screen then you
>> move your finger on the touchpad, the driver is probably working
>> correctly.
>
> Yes, that test indicates that the driver is working.
>
>> If it is working correctly, the problem would seem to be elsewhere. I'm
>> not very familiar with debugging problems in those areas, but I'll share
>> what I do know. Return to the desktop (Ctrl-Alt-F7), open a terminal,
>> and run 'xinput list'. You should see an "ALPS DualPoint Touchpad"
>> device listed, followed by an id number. Run 'xinput --list-props <id>'
>> using the id for the touchpad. At the top there should be a line labeled
>> "Device Enabled", and the value should be 1. If it's not, run 'xinput
>> --set-prop <id> "Device Enabled" 1' and see if your touchpad works.
>
> Ok. When I do that, I see:
>
> dcramer@anatine ~
> $ xinput --list-props 13
> Device 'AlpsPS/2 ALPS DualPoint TouchPad':
> Device Enabled (121): 0
> ...
>
> When I run:
>
> dcramer@anatine ~
> $ xinput --set-prop 13 "Device Enabled" 1
>
> The command completes without any error or output, but the touchpad
> doesn't start working and when I run --list-props again, "Device Enable"
> is still set to 0. If I do --set-prop while tailing /var/log/Xorg.0.log,
> I see:
>
> [ 9830.351] (--) AlpsPS/2 ALPS DualPoint TouchPad: touchpad found
>
> Let me know if there are any other things I can try or if there's any
> other information I can provide.
>
> Thanks,
> David
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJOffhtAAoJEMHeSXG7afUhOhQH/jVwXRg478joizLVgOqMVGJM
OP6cYb7+1WVd7gr2or6+Y1EYabb59/3hoxRt6FLe12gq6qE1onbgNimKQUoSJnQ2
vR34xIzVL++8O+411c5glNatM+...

Read more...

Revision history for this message
pitboss (pitboss2000) wrote :

Ubuntu 11.04 on Latitude e6410. After I upgraded to 0.6 version, two finger scrolling stopped working. It's enabled from the settings but it doesn't work. Everything else seems to work fine.

Revision history for this message
mio75 (mio75) wrote :

I just upgraded from 10.10 to 11.04, then dpkg -i worked without error for the driver 0.6.

Everything's working for me: the mouse settinigs dialog shows a "Touchpad" tab, two-finger scrolling and disable while typing work.

Awesome job! Thank you so much!

Dell Precision M4500, 11.04 64bit.

Revision history for this message
Marja Erwin (marja-e) wrote :

I was unable to install the package on Ubuntu 11.04.

Revision history for this message
masjan (masjan) wrote :

I have Dell N5110 (Dell Inspiron 15R) and unfortunately your driver doesn't work for me :(
Ubuntu 11.04 amd64

After installing 0.6 version
sudo rmmod psmouse
sudo modprobe psmouse
dmesg:
[ 3709.329414] alps.c: E6 report: 00 00 64
[ 3709.348726] alps.c: E7 report: 73 03 50
[ 3709.903977] input: PS/2 Generic Mouse as /devices/platform/i8042/serio1/input/input13

Tried to dump with your tool: sudo ./alps-reg-dump
Found serio mouse at /sys/bus/serio/devices/serio1/
E7 report: 73 03 50
Not a v3 ALPS touchpad

Do you need some more information? What can I do to help you get it work?

Although it doesn't work for me (yet) I want to thank you for what you are doing.

Revision history for this message
Ed S (ed-spittles) wrote :

Hi,
  jzachariou at comment #182
  adrian-wechner at comment #341

I notice you both see
  E7 report: 10 00 64
and the fix doesn't work for you. This report matches bug 755518 - please could you add your observations to that bug?

(I think there's a Synaptics touchpad hardware version which also needs a driver fix, affecting Dell Inspiron N5110 / 15R amongst others)

Thanks
Ed

Revision history for this message
Seth Forshee (sforshee) wrote : Re: [Bug 550625] Re: Alps touchpad is recognized but synaptics clients and scrolling do not work

On Sat, Sep 24, 2011 at 03:34:08PM -0000, David Cramer wrote:
> Update: when I log in using KDE, the touchpad continues to work and
> two-finger scrolling works. If I log in using Gnome, however, even in
> Safe Mode or with "No Effects", the touchpad to stop working.
>
> Any idea what in Gnome could be causing the problem or how to figure
> that out?

Sorry, I really have no idea. If I had to guess I'd say it sounds like
something in the Gnome settings has become messed up somehow, but I
don't know what to tell you to look for. It doesn't sound like the
problem is an the driver or Xserver level though, since both the display
manager and KDE can use the touchpad just fine.

Revision history for this message
Seth Forshee (sforshee) wrote : Re: [Bug 550625] Re: Alps touchpad is recognized but synaptics clients and scrolling do not work

On Sat, Sep 24, 2011 at 01:36:48PM -0000, mio75 wrote:
> I wanted to try the 0.6 .deb, but got the error message described in
> #385 upon installation with dpkg -i.

mio75: I take it you are running something earlier than natty? Others
have reported such failures. The package is based off of a 3.0 kernel,
and it sounds like there are some source-level incompatibilities with
older kernels. I'm probably not going to get a chance to try and fix
this, since I'm targeting newer kernels with this support.

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

On Sat, Sep 24, 2011 at 07:07:23PM -0000, Marja Erwin wrote:
> I was unable to install the package on Ubuntu 11.04.

Marja: Could you please provide more information about what went wrong?
Error messages and log files would be helpful. Thanks!

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

On Sun, Sep 25, 2011 at 12:40:52AM -0000, masjan wrote:
> I have Dell N5110 (Dell Inspiron 15R) and unfortunately your driver doesn't work for me :(
> Ubuntu 11.04 amd64
>
> After installing 0.6 version
> sudo rmmod psmouse
> sudo modprobe psmouse
> dmesg:
> [ 3709.329414] alps.c: E6 report: 00 00 64
> [ 3709.348726] alps.c: E7 report: 73 03 50
> [ 3709.903977] input: PS/2 Generic Mouse as /devices/platform/i8042/serio1/input/input13

masjan: It looks like your hardware is different, but I can't tell how
different based on just this information. We can try a couple of things
to see if we can get it working, but I'd like to do so in the context of
a different bug since this bug is already extrememly noise. Would you
please run 'ubuntu-bug linux' in a terminal to file a new bug? Thanks.

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

On Sat, Sep 24, 2011 at 04:14:00PM -0000, pitboss wrote:
> Ubuntu 11.04 on Latitude e6410. After I upgraded to 0.6 version, two
> finger scrolling stopped working. It's enabled from the settings but it
> doesn't work. Everything else seems to work fine.

pitboss: Please do the following. Switch to a virtual terminal (e.g.
Ctrl-Alt-F1), log in, and identify the id of your device using lsinput.
Then run 'input-events id > two-finger-drag.txt', then do a two-finger
vertical scroll motion on your touchpad. When you're done press Ctrl-C,
then attach or email me the two-finger-drag.txt file. Ctrl-Alt-F7 will
get you back to your desktop when you are done. Thanks!

Revision history for this message
David Cramer (david-thingbag) wrote : Re: [Bug 550625] Re: Alps touchpad is recognized but synaptics clients and scrolling do not work

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 09/26/2011 09:10 AM, Seth Forshee wrote:
> Sorry, I really have no idea. If I had to guess I'd say it sounds like
> something in the Gnome settings has become messed up somehow, but I
> don't know what to tell you to look for. It doesn't sound like the
> problem is an the driver or Xserver level though, since both the display
> manager and KDE can use the touchpad just fine.

Hi Seth,

I'd been considering switching to KDE anyway and after using it for the
past few days am getting used to it. It's really nice having
two-fingered scrolling.

Here are the things I've noticed about the driver:

* I occasionally get a stray palm press while typing, which switches the
focus or moves my cursor. The problem isn't nearly as bad as it was
before your driver. Previously, I used the patch from comments #307 and
#154 to disable tap-to-click and retain my sanity. Eliminating all stray
palm presses is my only real request about the driver.

* Two-fingered tap to right-click works, but is very difficult to get
right. I have to try several times to get a contextual menu to appear,
but then other times I accidentally invoke it. For now, I've disabled
this. I can never get it to detect a three-fingered tap. Neither of
these are big deals for me.

* I just now mastered tapping the corner to right click (for me it's set
to bottom right corner). I have to tap and lift immediately. Still, a
little tricky to get right (tap and lift seems to help with two fingered
tap too).

* When I hold my finger to the touchpad, the pointer quivers slightly. I
believe you mentioned that this behavior would be improved in Oneric
(I'm using Natty).

* Horizontal scrolling with two fingers works. Single fingered scrolling
on the bottom edge invokes vertical scrolling however (left = down,
right = up). Strange, but not a big deal since two fingered horizontal
scrolling works.

* I thing "Horizontal circular scrolling" is working: if I start at any
edge and move at an angle, I get vertical scrolling.

* I can't seem to get "Continue edge scrolling automatically" to work
(e.g. I have "Continue edge scrolling, while the finger stays in an edge
corner" checked but that doesn't happen, but I'm not confident I'm doing
it right).

* "Continue cursor motion when hitting the touchpad edge" works just fine.

Thanks so much for working on this. It was depressing to have this fancy
touchpad and have to use it with such limited functionality. Let me know
if there's anything I can do to help you in your debugging efforts.

Kind regards,
David
- --
Latitude E6510
Natty, 64 bit.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJOgJppAAoJEMHeSXG7afUhpisH/jAtdxUHjsZeBOjHs7LpGfoM
Qbdw2pJL4zrucAD2t1KcnYr+3h32oHRMkdVMSlIWvnqd6IZKLCQguvaZLU4s2Tik
nWkZPv92FnBlhAjTRjBrt4RdxPimwUJoBiOotE8CnOvSt8teArJ4a7N4kUO45zV0
QK6UfqavXLLTVbbuGtKxPDJqkr5nqif5IBZjG3va0IaOGXpl+yRZyTPwcwR3EFHq
dsnLfAdIcC43CaXjiZKhvFENlsVAeAPNcdUBtXr0Lkb2hhkDUYEVn4IpinQ9cZG4
XpnK3+QA/zh6ez+zgMHyNgPax4SCt9xIwhDQyuc3D6ixwO7+fmRwezpbGecrJbo=
=gP9L
-----END PGP SIGNATURE-----

Revision history for this message
Seth Forshee (sforshee) wrote : Re: [Bug 550625] Re: Alps touchpad is recognized but synaptics clients and scrolling do not work

David: Thanks for testing! Almost everything you've mentioned is a
desktop issue more than a driver issue. The driver mostly just passes
the raw data from the touchpad up to the desktop, and the desktop
translates this data into motion or scrolling or tapping. Specifically,
I think most of the things you mention are features of the Xorg
synaptics module. So they aren't issues with the driver, and as
such they're really topics for separate bug reports.

I have addressed a couple of specific points in the comments below.

> * Two-fingered tap to right-click works, but is very difficult to get
> right. I have to try several times to get a contextual menu to appear,
> but then other times I accidentally invoke it. For now, I've disabled
> this. I can never get it to detect a three-fingered tap. Neither of
> these are big deals for me.

As I understand it, becuase this has limited multitouch capabilities the
Xorg synaptics module doesn't support three-finger taps. I've been told
that it might be possible to special-case the driver to support it for
specific touchpads, but I haven't investigated.

> * When I hold my finger to the touchpad, the pointer quivers slightly. I
> believe you mentioned that this behavior would be improved in Oneric
> (I'm using Natty).

Yes, this just reflects that the data from the touchpad is jittery. The
version of the synaptics module in oneiric adds some filtering that I've
seen eliminates this with some touchpads, although I haven't verified
this with ALPS speicifically. I'm not seeing such jitter with ALPS
touchpads under oneiric.

Revision history for this message
Michal (mikeos) wrote :

One more observation. When using the driver my glidepoint (DualPoint Stick) lacks sensitivity. It's perfectly sensitive without the driver. When moving at longer distances the mouse cursor behaves pretty much the same way like before - it seems it's less sensitive, but it does not actually matter. On short distances, under mild pressure of the finger, the cursor jumps over too many pixels - which is annoying. Lost sensitivity can't be fixed by changing "Pointer acceleration" or "Pointer threshold" in mouse preferences.

DELL E6410, Kubuntu Oneiric nightly

Revision history for this message
Vladimir Prus (vladimir-prus) wrote :

Seth,

I can sure wait for Oneric to have the jitter fixed, but any ideas why it was not there previously (with the driver hacks to put the touchpad/trackstick combo to whatever compatibility mode). Was it that hardware, in that mode, is less sensitive, or there's something else going on?

Revision history for this message
Vladimir Prus (vladimir-prus) wrote :

Also, one more question. Except for jitter, things work fine for me on E6410, except that tap settings are reset after resume. Is this something that driver is responsible for, or it's up for userland to reset those settings?

Revision history for this message
Seth Forshee (sforshee) wrote : Re: [Bug 550625] Re: Alps touchpad is recognized but synaptics clients and scrolling do not work

Speaking to the jitter, I haven't looked into it but a couple of
possiblities come to mind. First, the new driver changes the way the
data is reported, and perhaps the data is higher resolution and more
sensitive. It was also using different code on the X server side of
things, so something in there could have an effect as well.

> Also, one more question. Except for jitter, things work fine for me on
> E6410, except that tap settings are reset after resume. Is this
> something that driver is responsible for, or it's up for userland to
> reset those settings?

What tap settings are you referring to? If they're properties of the
Xorg "Synaptics TouchPad" device or something found in the mouse
pereferences, those are userland and don't involve the driver at all.

Revision history for this message
Hemanti (henrikmarcel) wrote :

Using the 0.6 driver in Natty and Oneiric I also notice that rarely (3 times in three days now) right or middle clicks are fired when moving the cursor on the touchpad or tapping on it.

Revision history for this message
Petr Běhan (huancz) wrote :

Your v6 patch mostly works for me (3.1.0_rc7). What I am having trouble with is this comment in the code:

  /*
   * Bits in the upper nibble of byte 3 represent the trackstick
   * buttons on some models, but on other models the trackstick
   * buttons are reported in the trackstic packets. If we try to
   * report the buttons on the trackstick device from here it can
   * lead to conflicts, so we treat any buttons reported in the
   * touchpad packets as belonging to the touchpad.
   */

I have such laptop that reports button events in touchpad packets (Dell E6420), and your approach causes two problems with my usage pattern:

1) ever since I got this computer, I've been dreaming about disabling that infernal device (touchpad) and use only the trackstick. With current code, I loose buttons.

2) even if I decide to live with touchpad enabled (your driver + syndaemon make it much more bearable) it breaks mouse wheel emulation with middle button. In Xorg, trackstick device is handled by evdev, touchpad by synaptic_drv. Only evdev knows how to do the wheel emulation, AFAIK, but it doesn't get the button events.

I have put together a small patch, here:

https://github.com/huancz/linux/commit/34fa799dee824b44c79b0b7641f14944dffadef7.patch

So far it works OK on my computer, and the autodetection should probably work on all ALPS devices, but I lack the hardware to test it.

Revision history for this message
masjan (masjan) wrote :

Seth, thank you for your reply!

I filed new bug #860025 (https://bugs.launchpad.net/bugs/860025)

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

I've posted a new version with just a few changes for debugging problems that have been reported, available at:

http://people.canonical.com/~sforshee/alps-touchpad/psmouse-alps-0.7/psmouse-alps-dkms_0.7_all.deb

Anyone whose machine has a trackstick, please check that the mouse buttons just below the keyboard (above the tochpad) are working and let me know if they do not. Especially anyone using a Dell Latitude E6510.

Hemanti: For your stray click problem I added in optional packet dumping, disabled by default. To enable it on your machine, run the command:

  echo "options psmouse alps_dump_packets=1" | sudo tee /etc/modprobe.d/psmouse.conf

Then install the 0.7 package, and finally unload and reload the psmouse module. The next time you see a stray click after this, stop using the touchpad *immediately*, switch to a virtual terminal (e.g. Ctrl-Alt-F1), and run 'dmesg > dmesg-stray-click.txt'. Then you can switch back to your desktop using Ctrl-Alt-F7, and dmesg-stray-click.txt here. To stop logging the packets you can remove the /etc/modprobe.d/psmouse.conf file.

Petr: I actually only have one report of the trackstick buttons being reported in the trackstick packet, but the hardware was no longer in the possession of the reporter. So in this build I've removed the reporting of buttons from the trackstick packet and am only looking in the touchpad packets, reporting them on the trackstick device. Can you verify this fixes your issue?

Revision history for this message
David Cramer (david-thingbag) wrote :

On 09/26/2011 04:50 PM, Seth Forshee wrote:
> I've posted a new version with just a few changes for debugging problems
> that have been reported, available at:
>
> http://people.canonical.com/~sforshee/alps-touchpad/psmouse-alps-0.7
> /psmouse-alps-dkms_0.7_all.deb
>
> Anyone whose machine has a trackstick, please check that the mouse
> buttons just below the keyboard (above the tochpad) are working and let
> me know if they do not. Especially anyone using a Dell Latitude E6510.

On my E6510, the trackstick buttons do work with 0.6. Am I understanding
correctly that you want us to confirm that they still work with 0.7?

David

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

On Mon, Sep 26, 2011 at 10:10:02PM -0000, David Cramer wrote:
> On my E6510, the trackstick buttons do work with 0.6. Am I understanding
> correctly that you want us to confirm that they still work with 0.7?

Yes. 0.7 changes the way the trackstick buttons are handled in a way
that should fix the issues in comment #440 but could break it on some
machines. Specifically, some of the information I have indicates it
could break them on the E6510, so it would be helpful if you could
verify whether or not these buttons work with the 0.7 driver. Thanks!

Revision history for this message
Petr Běhan (huancz) wrote :

Confirming, everything works like a charm with version 0.7, even with touchpad disabled. Thanks for your work.

Revision history for this message
jcat (nysasounds) wrote :

Hi Seth,

You patch doesn't work for my new Dell Laptop, it's an XPS 15z.

When I load the dell i8k module, it reports this info about the model.

[ 297.412044] i8k: vendor=Dell Inc. , model=Dell System XPS 15Z, version=A05

It's a large touchpad with no stick, only buttons.

I get this error in dmesg:

[ 10.836407] alps.c: E6 report: 01 00 64

What information do you need from me to add support my touchapd?

Thanks in advance.

Cheers,
jcat

Revision history for this message
cement_head (andorjkiss) wrote :

@Seth Forshee

What's the likelihood of getting this deb rolled (backported/PPA'd) against Lucid / Maverick?

Thanks,
CH

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

On Tue, Sep 27, 2011 at 08:29:29PM -0000, jcat wrote:
> Hi Seth,
>
>
> You patch doesn't work for my new Dell Laptop, it's an XPS 15z.
>
> When I load the dell i8k module, it reports this info about the model.
>
> [ 297.412044] i8k: vendor=Dell Inc. , model=Dell System XPS
> 15Z, version=A05
>
> It's a large touchpad with no stick, only buttons.
>
> I get this error in dmesg:
>
> [ 10.836407] alps.c: E6 report: 01 00 64

jcat: When I look up your model on Dell's website it gives a driver for
a Cypress touchpad, not ALPS. Since the E6 report doesn't match that of
an ALPS touchpad, I'm inclined to believe that your touchpad is made by
Cypress, not ALPS.

I don't have access to any hardware with a Cypress touchpad or any
protocol specifications, so it will be difficult to make a driver for
it. You can open a new bug for your hardware if you wish, but discussion
of it on this bug is off-topic.

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

On Tue, Sep 27, 2011 at 08:52:23PM -0000, cement_head wrote:
> @Seth Forshee
>
> What's the likelihood of getting this deb rolled (backported/PPA'd)
> against Lucid / Maverick?

I'm focused on getting these driver updates ready in time for the next
Ubuntu release, and I won't be backporting the changes. Nothing is
stopping someone else from backporting them to an older version and
supplying a dkms package though.

Revision history for this message
Francisco Cribari (cribari) wrote :

Hardware: DELL Latitude E6510.

The 3 buttons above the touchpad (which correspond to the left, middle and right mouse buttons) no longer work after I installed version 0.7.

Revision history for this message
Loewi (nonphotochemicalquenching) wrote :

Same as #450. Buttons above touchpad stop working with version 0.7. DELL Latitude E6510, Natty, psmouse-alps-dkms version 0.7

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

I may have found a way to detect where to look for the trackstick buttons. I've uploaded a new driver to:

http://people.canonical.com/~sforshee/alps-touchpad/psmouse-alps-0.8/psmouse-alps-dkms_0.8_all.deb

Please, *everyone* with a trackstick test this new version and let me know if you see any issues with the trackstick buttons (the ones between the touchpad and the keyboard). Thanks!

Hemanti: This version still has the packet dumping support. If you could get a packet dump for your stray click issue as described in comment #442 it would be very helpful.

Revision history for this message
jcat (nysasounds) wrote :

Hi Seth.

Apologies, I was looking around for support for this when it din't work and just assumed it was the usual Alps on a Dell.

I have found someone who has created an initial stab at a driver for the Cypress, I'm going to test it shortly.

http://lwn.net/Articles/456366/

I miss the kernel bug tracker :(

Cheers,
jcat

Revision history for this message
Francisco Cribari (cribari) wrote :

Hardware: DELL Latitude E6510.

Seth: With version 0.8 of your driver the 3 buttons located above the touchpad are working again. Thanks!

Revision history for this message
Alex Samorukov (samm-os2) wrote :

Tested on Dell 6410 - everything works fine, including 3 buttons above touchpad. Thank you again )

Revision history for this message
Ben Romer (bromer) wrote :

Works great on Vaio EB11FX!

Revision history for this message
Loewi (nonphotochemicalquenching) wrote :

No issues with the trackpad buttons any more using version 0.8. Works fine. Dell Latitude E6510. Thanks

Revision history for this message
Karol Szkudlarek (karol-mikronika) wrote :

Hi! I have Dell E6510 and I would like to try 0.8 on Lucid, is it possible to make it on 2.6.32-33 kernel?
Regards,

Revision history for this message
Niko Celis (niko-celis) wrote :

Recently switched from Ubuntu 10.10 to Kubuntu 11.04 with kernel 2.6.38-11-generic and 0.8 patch works flawlessley so far! Thanks Seth!

Revision history for this message
mio75 (mio75) wrote :

0.8 works on Dell Precision M4500 as well, with all buttons. No difference to 0.6.

$ dmesg|grep alps
[ 13.230844] alps.c: E6 report: 00 00 64
[ 13.261674] alps.c: E7 report: 73 02 64
[ 13.707441] alps.c: E6 report: 00 00 64
[ 13.726185] alps.c: E7 report: 73 02 64
[ 13.839750] alps.c: trackstick E7 report: 42 02 14
[ 13.839753] alps.c: enabling trackstick button quirk

Revision history for this message
fritz276 (fritz276) wrote :

Trackstick buttons do not work with 0.8 - Toshiba R840-116

They did work with 0.2, eventhough that version did not work perfect for me, somehow, it had glitches when I accidently touched the trackstick while typing (I dont know if my trackstick supports 'double-clicks' itself).

Revision history for this message
Staffan Flink (staffan-flink) wrote :

Using 0.8 on a Dell Latitude E6410 running Ubuntu 11.04 x64. Everything seems to work well.
Thank you Seth for providing this patch.

$ uname -r
2.6.38-11-generic
$ dpkg -l | grep alps
ii psmouse-alps-dkms 0.8 psmouse-alps driver in DKMS format.
$ dmesg | grep alps
[ 6.734285] alps.c: E6 report: 00 00 64
[ 6.755369] alps.c: E7 report: 73 02 64
[ 6.798268] alps.c: E6 report: 00 00 64
[ 6.822131] alps.c: E7 report: 73 02 64
[ 6.953009] alps.c: trackstick E7 report: 42 02 14

Revision history for this message
fritz276 (fritz276) wrote :

Sorry I forgot:

[ 3.868594] alps.c: E6 report: 00 00 64
[ 3.885476] alps.c: E7 report: 73 02 64
[ 4.321806] alps.c: E6 report: 00 00 64
[ 4.340268] alps.c: E7 report: 73 02 64
[ 4.447187] alps.c: trackstick E7 report: 32 01 28

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

On Thu, Sep 29, 2011 at 09:25:42AM -0000, fritz276 wrote:
> Trackstick buttons do not work with 0.8 - Toshiba R840-116
>
> They did work with 0.2, eventhough that version did not work perfect for
> me, somehow, it had glitches when I accidently touched the trackstick
> while typing (I dont know if my trackstick supports 'double-clicks'
> itself).

fritz276: Can you send me dmesg when you are running with the 0.8
version? Thanks!

Revision history for this message
cb (cbaptista) wrote :

Hi,

Woks perfectly with Dell E4310 / Kubuntu 11.04

Thanks
Carlos

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

Thanks everyone for testing! Here's another new version to address fritz276's issue. Again, everyone with tracksticks is encouraged to test and make sure all buttons continue to function.

http://people.canonical.com/~sforshee/alps-touchpad/psmouse-alps-0.9/psmouse-alps-dkms_0.9_all.deb

Revision history for this message
Francisco Cribari (cribari) wrote :

Hardware: DELL Latitude E6510.

The three buttons located above the touchpad continue to work with version 0.9 of your driver. Thanks a zillion for this, Seth!

Revision history for this message
mio75 (mio75) wrote :

0.9 is perfect. Everything works like in 0.8, plus the pointer jitter on the touchpad is gone.

Dell Precision M4500, 11.04 64-bit

Revision history for this message
Andrew Skalski (askalski) wrote :

Hi Seth,

Thanks for your work on this. I'm trying out 0.9 right now, and ran into a problem (Dell Precision M4600). It was working fine for about 40 minutes, until the driver (apparently) lost synchronization with the event data. The mouse pointer began jittering slightly, without me touching the touchpad. Putting my finger on the touchpad generated stray click events and wild movement of the pointer.

Doing an rmmod+modprobe restored it to proper behavior. Nothing interesting was written to the kernel log.

(The first time loading the module after building 0.9)
[400791.992874] alps.c: E6 report: 00 00 64
[400792.011962] alps.c: E7 report: 73 02 64
[400792.456794] alps.c: E6 report: 00 00 64
[400792.476472] alps.c: E7 report: 73 02 64
[400792.590917] alps.c: trackstick E7 report: 42 02 3c
[400792.976807] input: DualPoint Stick as /devices/platform/i8042/serio1/input/input26
[400792.990906] input: AlpsPS/2 ALPS DualPoint TouchPad as /devices/platform/i8042/serio1/input/input27

(Reloading the module after it desynchronized)
[403319.694156] alps.c: E6 report: 00 00 64
[403319.713112] alps.c: E7 report: 73 02 64
[403320.165631] alps.c: E6 report: 00 00 64
[403320.185529] alps.c: E7 report: 73 02 64
[403320.306583] alps.c: trackstick E7 report: 42 02 3c
[403320.711547] input: DualPoint Stick as /devices/platform/i8042/serio1/input/input28
[403320.726815] input: AlpsPS/2 ALPS DualPoint TouchPad as /devices/platform/i8042/serio1/input/input29

Revision history for this message
David Cramer (david-thingbag) wrote :

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Latitude E6510. Everything is working fine with 0.9, including
trackstick and the trackstick buttons.

Btw., with 0.6 after spending a few days in KDE and then rebooting into
Gnome, it started working in Gnome too. Go figure.

Seth, thank you so much for all your work on this! You've removed the
only real annoyance I was experiencing using Ubuntu on my E6510.

David
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJOhSbTAAoJEMHeSXG7afUhbIsH/3WsY1IO7tImH+gX2BzcuhpP
bg3BOLaQhe478LcQQD/0ZLWshHN5cgRc4eTY7B48LsyLzMTjTjR/lnC7igK4HqCh
EaCJxXvbfzjUsKOgWnrw54xnU90n3h9Gtb1qhqXiWr+GvNrG0NMdjpzeuHzpi0TU
IhqhEJu18NaLIc8laNnLY6TLO3C/YGLWBjTwLSkZXMSkbxJX9iBZ0tY8rcD5aSMw
wv5+fHEFmZIMpua//q4TLNiIKYaVXJjIqO+cWd4y9c4qUFNLBnCXlUhWySf5Aata
E+jwf7K+A/kO1/C0H5XxFTKQ1AjIjqKFCSR4+YpU/blF3FenCU9Lcb8PveM3/8Q=
=Ussh
-----END PGP SIGNATURE-----

Revision history for this message
fritz276 (fritz276) wrote :

@seth: Trackstick buttons do work now with 0.9! Thanks for your great (and fast!) help!

Revision history for this message
aa-hcl (aa-hcl) wrote :

System: Dell Latitude E6520

Configuration: ALPS Touchpad (2 buttons) and Stick (3 buttons)

List of touchpad problems for Win7/linux:

1. Windows 7 64 bit, old DELL driver v7.1208.101.116

1.1 middle stick button does NOT work as scrolling
1.2 "the zooming" (designed as left-side scrolling) does not work well, zooming is jumpy, it look like that the sensitivity of this tool is very low and I had to really press hard my finger to get it at least somehow working
1.3 it is NOT possible to change the speed and sensitivity of the touchpad and the stick independently

2. Windows 7 64 bit, latest DELL driver (A08)

2.1 same as 1.1
2.2 same as 1.2
(problem 1.3 is fixed in a new driver)

3. Linux ubuntu 11.04, all latest updates, latest Seth's driver

issues:
3.1 when changing sensitivity of the touchpad and the stick, it apparently does not have any noticable effect (unlike in windows)
3.2 the same problem as in early windows driver: touchpad and stick speed can not be changed independently.

4. General comments on comparison:

4.1 Both in win7 and linux the touchpad and stick are working "fine", it is possible to work.
4.2.in BOTH systems it is possible to enable/disable touchpad and stick independently
4.3 Irritating in Windows: vertical scrolling is very bad/insensitive and it is not possible to tune well; Works fine in linux
4.4 in linux, however it is not effectively possible to change the sensitivity of the touchpad and stick and it would be nice to have an opportunity to change that separately as in latest Windows driver.

Conclusions: I personally like performance under linux (because of scrolling); it is now possible to disable touchpad and use the stick only (the left and right stick buttons now work; the middle stick button seems not working, but this also does not work under windows)

MANY-MANY thanks Seth !!!

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

On Fri, Sep 30, 2011 at 02:06:03AM -0000, Andrew Skalski wrote:
> Hi Seth,
>
> Thanks for your work on this. I'm trying out 0.9 right now, and ran
> into a problem (Dell Precision M4600). It was working fine for about 40
> minutes, until the driver (apparently) lost synchronization with the
> event data. The mouse pointer began jittering slightly, without me
> touching the touchpad. Putting my finger on the touchpad generated
> stray click events and wild movement of the pointer.
>
> Doing an rmmod+modprobe restored it to proper behavior. Nothing
> interesting was written to the kernel log.

That's strange. I kind of doubt it truly lost sync, as there's code
there to reject packets if (byte_0 & 0x8f) != 0x8f or bit 7 is set in
any subsequent byte of the packet. This just doesn't make sense -- the
pointer shouldn't move at all if you aren't touching the touchpad
because the hardware shouldn't be sending any data.

If you can get this to happen again, could you please write 1 to
/sys/module/psmouse/parameters/alps_dump_packets. Let it sit for a few
seconds, then run 'dmesg -c > dmesg-notouch.txt', then move your finger
around on the touchpad again and run 'dmesg -c > dmesg-touch.txt'. Give
me both of the files so I can take a look.

Thanks!

Revision history for this message
PeterPall (peterpall) wrote :

Did try the dkms module on Oneiric Ozelot and an HP Mini 311. Is the first time I am actually able to type two sentences in a row without the cursor jumping somwhere I don't want it to and without a chance to argue with the machine that I didn't even get near to the touchpad all this time.

Great work!

...Did encounter a (solvable) problem, though. don't know if it is my fault:
After installing the package and rebooting my computer seemed to still use the shipped psmouse.ko. So I did a
sudo depmod -a
sudo update-initramfs -u
since I thought the initramfs could still hold the old module.

Didn't do any good, that. Renaming psmouse.ko to psmouse2.ko and adding a
rmmod psmouse
modprobe psmouse2
to /etc/rc.local did help.

Don't know what went wrong. But as I said: Might be entirely my fault.

Revision history for this message
Ruben (info-rubenfelix) wrote : Re: [Bug 550625] Re: Alps touchpad is recognized but synaptics clients and scrolling do not work

Hey!

Bedankt voor je mail! Ik ben er even tussenuit geknepen naar een lekker warm land! Ik beantwoord je mail na mijn vakantie (11 oktober).

Groetjes!

Ruben

Revision history for this message
Wolfgang Schnerring (wosc) wrote :

Just another voice of confirmation: Dell Latitude E6410, couldn't configure squat about the touchpad, installed psmouse-alps-dkms_0.9_all.deb (from https://bugs.launchpad.net/ubuntu/+source/linux/+bug/550625/comments/466). Configuring the Touchpad now works fine, and the Trackpoint scrolling function also kept working (which it didn't with 0.3 or thereabouts). Thanks so much, Seth, for fixing this!

Quick aside question: is it possible to adjust the sensitivity of the trackpoint stick?

Revision history for this message
ruben lensvelt (rubenlensvelt) wrote :

I confirm too. I own a Lenovo G550 which has an/the ALPS touchpad. The package mentioned above works like a charm so I can finally bin my mouse!
Also; this means that every single piece of hardware on this laptop is now properly supported! Pretty awesome. Thank you everyone.

Revision history for this message
Vladimir Hidalgo (vlad88sv) wrote :

I came from +bug/56554.

Thank you very much Seth Forshee, just tested your driver 0.9 in 3.0.0-12-generic #19-Ubuntu SMP Fri Sep 23 21:18:13 UTC 2011 i686 i686 i386 and works perfectly!.

Laptop is Sony VPCEB15E.

Tested reported as good: vertical scroll & horizontal scroll.
Tested and does not work: two finger scroll. (This ALPS in this notebook is multitouch) and left click button stopped from working.

Click on tap is working, also right click button.

Thanks a lot

Revision history for this message
Stanislav Yadykin (tosick) wrote :

Yes, the same for me (touchpad reported only one finger) on Sony VAIO VPCF1390X except left button works correctly.

Revision history for this message
Seth Forshee (sforshee) wrote : Re: [Bug 550625] Re: Alps touchpad is recognized but synaptics clients and scrolling do not work

On Mon, Oct 03, 2011 at 02:54:16PM -0000, Vladimir Hidalgo wrote:
> I came from +bug/56554.
>
> Thank you very much Seth Forshee, just tested your driver 0.9 in
> 3.0.0-12-generic #19-Ubuntu SMP Fri Sep 23 21:18:13 UTC 2011 i686 i686
> i386 and works perfectly!.
>
> Laptop is Sony VPCEB15E.
>
> Tested reported as good: vertical scroll & horizontal scroll.
> Tested and does not work: two finger scroll. (This ALPS in this notebook is multitouch) and left click button stopped from working.

Vladimir: Thanks for testing. Please report back the results from the
following to help debug your left-click issue.

Switch to a virtual terminal (e.g. Ctrl-Alt-F1) and log in. Run 'sudo
lsinput' and identify the touchpad device in the output, noting the
number of the input device, then run 'sudo input-events <device_number>'
(you need the input-utils package installed for lsinput and
input-events). Press the left button while input-events is running. Does
it produce any output?

If no output is produced, please additionally do the following. Run the
command 'echo 1 | sudo tee
/sys/module/psmouse/parameters/alps_dump_packets', then press and
release the left mouse button. Now run 'dmesg > dmesg-left-click.txt'
and attach dmesg-left-click.txt to this bug.

When you are done Ctrl-Alt-F7 will return you to your desktop.

Two-finger scroll and tap probably isn't supported for your model yet.
There's some work that needs to be done to get this working correctly
for some touchpads, but that work will be a follow-on to the current
effort.

Revision history for this message
pauljohn32 (pauljohn32) wrote :

Greetings.

do you get accidental "grabs" as you try to move the cursor? I never noticed this in the psmouse dkms patch version 0.2, but in 0.9, it happens often. Moving the cursor toward top with a few finger brushes does not always select a region, but sometimes it does.

Is that likely related to this weird thing that happens sometimes. I remove hands from typing, lifting them off the laptop entirely. WHen I start typing again, the cursor is in an entirely different spot. It is as if the protection from palm brushes had failed, but in a worse than usual way.

This is a Dell Precision M4600.

Here are my synaptics settings right now:

~$ synclient -l
Parameter settings:
    LeftEdge = 300
    RightEdge = 1750
    TopEdge = 210
    BottomEdge = 1190
    FingerLow = 93
    FingerHigh = 98
    FingerPress = 250
    MaxTapTime = 180
    MaxTapMove = 107
    MaxDoubleTapTime = 180
    SingleTapTimeout = 180
    ClickTime = 100
    FastTaps = 0
    EmulateMidButtonTime = 75
    EmulateTwoFingerMinZ = 139
    EmulateTwoFingerMinW = 7
    VertScrollDelta = 48
    HorizScrollDelta = 48
    VertEdgeScroll = 1
    HorizEdgeScroll = 0
    CornerCoasting = 0
    VertTwoFingerScroll = 1
    HorizTwoFingerScroll = 0
    MinSpeed = 1
    MaxSpeed = 1.75
    AccelFactor = 0.0819336
    TrackstickSpeed = 40
    EdgeMotionMinZ = 14
    EdgeMotionMaxZ = 79
    EdgeMotionMinSpeed = 1
    EdgeMotionMaxSpeed = 195
    EdgeMotionUseAlways = 0
    TouchpadOff = 0
    LockedDrags = 0
    LockedDragTimeout = 5000
    RTCornerButton = 0
    RBCornerButton = 0
    LTCornerButton = 0
    LBCornerButton = 0
    TapButton1 = 1
    TapButton2 = 3
    TapButton3 = 3
    ClickFinger1 = 1
    ClickFinger2 = 1
    ClickFinger3 = 1
    CircularScrolling = 0
    CircScrollDelta = 0.1
    CircScrollTrigger = 0
    CircularPad = 0
    PalmDetect = 1
    PalmMinWidth = 20
    PalmMinZ = 99
    CoastingSpeed = 100
    CoastingFriction = 50
    PressureMotionMinZ = 14
    PressureMotionMaxZ = 79
    PressureMotionMinFactor = 1
    PressureMotionMaxFactor = 1
    GrabEventDevice = 1
    TapAndDragGesture = 1
    AreaLeftEdge = 0
    AreaRightEdge = 0
    AreaTopEdge = 0
    AreaBottomEdge = 0

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

On Tue, Oct 04, 2011 at 05:11:13AM -0000, pauljohn32 wrote:
> Greetings.
>
> do you get accidental "grabs" as you try to move the cursor? I never
> noticed this in the psmouse dkms patch version 0.2, but in 0.9, it
> happens often. Moving the cursor toward top with a few finger brushes
> does not always select a region, but sometimes it does.
>
> Is that likely related to this weird thing that happens sometimes. I
> remove hands from typing, lifting them off the laptop entirely. WHen I
> start typing again, the cursor is in an entirely different spot. It is
> as if the protection from palm brushes had failed, but in a worse than
> usual way.

I haven't seen accidental grabs. The cursor jumping is probably a result
of the multitouch support. If your palm is detected as multiple touches,
which wouldn't be surprising based on my observations, then it could be
that the absolute position reported by the touchpad jumps as your palm
looses contact. You can probably produce the same behavior by placing
two fingers on the touchpad and then lifting one of them (it won't
happen every time, but if you do it repeatedly you should see the cursor
jump).

If you can consistently reproduce the accidently grabs, it would be
useful if you could capture some data in a virtual terminal. First
run 'sudo dmesg -c > /dev/null' to clear out the kernel log, then run

  echo 1 | sudo tee /sys/module/psmouse/parameters/alps_dump_packets

Next start capturing the touchpad events to a file using input-events
(I've described this several times already on this bug, so I won't
repeat it again here). Do the actions that trigger the grabs, press
Ctrl-C to stop input-events, then run 'dmesg > dmesg-grabs.txt'. Attach
the input-events log and dmesg-grabs.txt here so I can take a look.

Thanks!

Revision history for this message
Dixon Xavier (dixoncx) wrote :

http://people.canonical.com/~sforshee/alps-touchpad/psmouse-alps-0.9/psmouse-alps-dkms_0.9_all.deb
Fixed vertical scrolling issue in my Sony vaio vpceh15 laptop.
Two finger scrolling also works well..
But there remains jitter which is quiet annoying..
Anyway thanks to Seth Forshee for the fixes..

Revision history for this message
Michal (mikeos) wrote :

Using this driver the track-stick sensitivity is still incorrect and impossible to tweak. Otherwise perfect on Dell Latitude E6410.
Seth, I'd gladly execute some testing scenarios in order to provide you with debugging info.

Revision history for this message
Johan Fornander (fornander-johan) wrote :

Thanks a lot Seth! Just tried this on my Acer Aspire 3820TG

What works:
* Vertical scrolling
* Emulated Middle button

Does not work yet:
* Two-finger scrolling
* Horizontal scrolling

If I can help you out with log files I'd be more than glad to.

Revision history for this message
Brian (x-brian) wrote :
Download full text (4.0 KiB)

v0.9 seems to work well on my Dell E6410 now that I'm running Natty. (Just upgraded from Maverick--and had to fight with a broken GRUB due to the upgrade! There's a reason I'm 6 months out of date.)

Two-finger scrolling works, horizontal and vertical edge scrolling work, and it seems to disable the touchpad when typing. I cannot seem to affect the pointer speed with the "Sensitivity" adjustment on the "General" tab of Mouse preferences, but the "Acceleration" slider definitely has an effect. No problems with jitter.

$ uname -srvmo
Linux 2.6.38-11-generic #50-Ubuntu SMP Mon Sep 12 21:17:25 UTC 2011 x86_64 GNU/Linux

$ sudo lshw -short -sanitize

H/W path Device Class Description
======================================================
                               system Latitude E6410 ()
/0 bus 0K42JR
/0/0 memory 64KiB BIOS
/0/4 processor Intel(R) Core(TM) i7 CPU M 620 @ 2.67GHz
/0/4/5 memory 32KiB L1 cache
/0/4/6 memory 512KiB L2 cache
/0/4/7 memory 4MiB L3 cache
/0/19 memory 8GiB System Memory
/0/19/0 memory 4GiB SODIMM DDR3 Synchronous 1067 MHz (0.9 ns)
/0/19/1 memory 4GiB SODIMM DDR3 Synchronous 1067 MHz (0.9 ns)
/0/100 bridge Core Processor DRAM Controller
/0/100/1 bridge Core Processor PCI Express x16 Root Port
/0/100/1/0 display GT218 [NVS 3100M]
/0/100/1/0.1 multimedia High Definition Audio Controller
/0/100/19 eth0 network 82577LM Gigabit Network Connection
/0/100/1a bus 5 Series/3400 Series Chipset USB2 Enhanced Host Controller
/0/100/1b multimedia 5 Series/3400 Series Chipset High Definition Audio
/0/100/1c bridge 5 Series/3400 Series Chipset PCI Express Root Port 1
/0/100/1c.1 bridge 5 Series/3400 Series Chipset PCI Express Root Port 2
/0/100/1c.1/0 wlan0 network Centrino Advanced-N 6200
/0/100/1c.2 bridge 5 Series/3400 Series Chipset PCI Express Root Port 3
/0/100/1c.2/0 generic MMC/SD Host Controller
/0/100/1c.2/0.4 bus FireWire Host Controller
/0/100/1c.3 bridge 5 Series/3400 Series Chipset PCI Express Root Port 4
/0/100/1d bus 5 Series/3400 Series Chipset USB2 Enhanced Host Controller
/0/100/1e bridge 82801 Mobile PCI Bridge
/0/100/1f bridge Mobile 5 Series Chipset LPC Interface Controller
/0/100/1f.2 scsi0 storage Mobile 82801 SATA RAID Controller
/0/100/1f.2/0 /dev/sda disk 160GB INTEL SSDSA2M160
/0/100/1f.2/0/1 /dev/sda1 volume 29GiB EXT4 volume
/0/100/1f.2/0/3 /dev/sda3 volume 119GiB Extended partition
/0/100/1f.2/0/3/5 /dev/sda5 volume 104GiB Linux filesystem partiti...

Read more...

Revision history for this message
Petr Běhan (huancz) wrote :

Report on Dell E6420, alps version 0.9

Trackstick - perfect
- buttons work, including wheel emulation with middle one
- trackstick works

Touchpad
- usual one finger movement works
- two finger scroll works (only in vertical direction, not sure if it's supposed to work in horizontal too)
- side scroll doesn't work in either direction
- tap to click doesn't work, cursor just jumps a little, no button event is generated
- disable while typing doesn't work (works when I run syndaemon, which is probably better way to do it anyway)

One little suggestion, could you please add alps module version to the stuff it prints on modprobe? After few days of using it, I wasn't sure which version I had and had to recompile to do the tests.

Thanks

----

alps.c: E6 report: 00 00 64
alps.c: E7 report: 73 02 64
alps.c: E6 report: 00 00 64
alps.c: E7 report: 73 02 64
alps.c: trackstick E7 report: 42 02 3c
input: DualPoint Stick as /devices/platform/i8042/serio1/input/input16
input: AlpsPS/2 ALPS DualPoint TouchPad as /devices/platform/i8042/serio1/input/input17

Revision history for this message
Artyom Ash (artyom108) wrote :

Hi Seth.

Thanks for your great work. I can't wait to try!

I just tried to install 0.9 and had a problem on the install. I'm probably missing something simple:

First Installation: checking all kernels...
Building only for 2.6.32-34-generic
Building for architecture x86_64
Building initial module for 2.6.32-34-generic

Error! Bad return status for module build on kernel: 2.6.32-34-generic (x86_64)
Consult the make.log in the build directory
/var/lib/dkms/psmouse-alps/0.9/build/ for more information.
dpkg: error processing psmouse-alps-dkms (--install):
 subprocess installed post-installation script returned error exit status 10
Errors were encountered while processing:
 psmouse-alps-dkms

Revision history for this message
Artyom Ash (artyom108) wrote :

Sorry, forgot the actual make log

DKMS make.log for psmouse-alps-0.9 for kernel 2.6.32-34-generic (x86_64)
Sat Oct 8 10:30:55 PDT 2011
make: Entering directory `/usr/src/linux-headers-2.6.32-34-generic'
  LD /var/lib/dkms/psmouse-alps/0.9/build/src/built-in.o
  CC [M] /var/lib/dkms/psmouse-alps/0.9/build/src/psmouse-base.o
/var/lib/dkms/psmouse-alps/0.9/build/src/psmouse-base.c:44: error: variable ‘param_ops_proto_abbrev’ has initializer but incomplete type
/var/lib/dkms/psmouse-alps/0.9/build/src/psmouse-base.c:45: error: unknown field ‘set’ specified in initializer
/var/lib/dkms/psmouse-alps/0.9/build/src/psmouse-base.c:45: warning: excess elements in struct initializer
/var/lib/dkms/psmouse-alps/0.9/build/src/psmouse-base.c:45: warning: (near initialization for ‘param_ops_proto_abbrev’)
/var/lib/dkms/psmouse-alps/0.9/build/src/psmouse-base.c:46: error: unknown field ‘get’ specified in initializer
/var/lib/dkms/psmouse-alps/0.9/build/src/psmouse-base.c:46: warning: excess elements in struct initializer
/var/lib/dkms/psmouse-alps/0.9/build/src/psmouse-base.c:46: warning: (near initialization for ‘param_ops_proto_abbrev’)
/var/lib/dkms/psmouse-alps/0.9/build/src/psmouse-base.c:49: error: ‘param_set_proto_abbrev’ undeclared here (not in a function)
/var/lib/dkms/psmouse-alps/0.9/build/src/psmouse-base.c:49: error: ‘param_get_proto_abbrev’ undeclared here (not in a function)
/var/lib/dkms/psmouse-alps/0.9/build/src/psmouse-base.c: In function ‘psmouse_attr_set_protocol’:
/var/lib/dkms/psmouse-alps/0.9/build/src/psmouse-base.c:1587: error: ‘struct serio’ has no member named ‘children’
make[2]: *** [/var/lib/dkms/psmouse-alps/0.9/build/src/psmouse-base.o] Error 1
make[1]: *** [/var/lib/dkms/psmouse-alps/0.9/build/src] Error 2
make: *** [_module_/var/lib/dkms/psmouse-alps/0.9/build] Error 2
make: Leaving directory `/usr/src/linux-headers-2.6.32-34-generic'

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

On Sat, Oct 08, 2011 at 11:48:37AM -0000, Petr Běhan wrote:
> Report on Dell E6420, alps version 0.9

I'm testing on E6320 and E6520, which I'd guess to have essentially the
same hardware as your machine, so I'm surprised to see you say some
things aren't working on your hardware that are working on my test
hardware.

> Touchpad
> - usual one finger movement works
> - two finger scroll works (only in vertical direction, not sure if it's supposed to work in horizontal too)
> - side scroll doesn't work in either direction

Two-finger scrolling should work horizontally and vertically, and it
does work on my test machines. There is a seperate option you need to
enable to get horizontal scrolling, so double-check that it is enabled.

> - tap to click doesn't work, cursor just jumps a little, no button event is generated

What do you mean by "no button event"? The driver doesn't generate any
button events in this case, only absolute position events, which gets
interpreted as "tap to click" by userspace.

I can get tap to click, but I find that it requires tapping twice pretty
quickly.

> - disable while typing doesn't work (works when I run syndaemon, which is probably better way to do it anyway)

This isn't a driver feature, so I think it's a userspace problem (unless
the device isn't being identified as a touchpad, but that doesn't seem
to be the case).

> One little suggestion, could you please add alps module version to the
> stuff it prints on modprobe? After few days of using it, I wasn't sure
> which version I had and had to recompile to do the tests.

If you're using the dkms package, either of the following will tell you
what version is installed.

  apt-cache showpkg psmouse-alps-dkms
  dkms status psmouse-alps

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

On Sat, Oct 08, 2011 at 05:34:49PM -0000, Artyom Ash wrote:
> Hi Seth.
>
> Thanks for your great work. I can't wait to try!
>
> I just tried to install 0.9 and had a problem on the install. I'm
> probably missing something simple:
>
>
> First Installation: checking all kernels...
> Building only for 2.6.32-34-generic

It doesn't build against kernels that old. It is known to work with
kernels 2.6.38 onward (i.e. natty and later).

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

Version 0.10 of the psmouse-alps-dkms package is available at

  http://people.canonical.com/~sforshee/alps-touchpad/psmouse-alps-0.10/psmouse-alps-dkms_0.10_all.deb

Changes since version 0.9 include:

 * Changing the way the trackstick buttons are quirked on v3 models to fix a false positive on the Dell Latitude E6320. If your model has a trackstick, please verify that the trackstick buttons continue to work.

 * Stricter criteria for identifying touchpad position packets on v3 hardware.

Please test and let me know if you encounter any problems.

If you are one of the few seeing occasional erratic behavior from the touchpad, I *really* need to get some packet dumps in order to see what's going on. I've been trying to reproduce this behavior without any success. When you see this behavior, please do the following steps:

 1. Switch to a virtual terminal by pressing Ctrl-Alt-F1

 2. Log in, then run 'echo 1 | sudo tee /sys/module/psmouse/parameters/alps_dump_packets'

 3. Identify the touchpad device in the output of the lsinput command, then run 'input-events device_number > input-events.txt', replacing device_number with the number of the touchpad event device in the lsinput output.

 4. Do whatever causes the erratic behavior. It won't show up on the screen when in a virtual terminal, but the data will still be collected.

 5. Press Ctrl-C to quit input-events

 6. Run 'dmesg > dmesg.txt'

 7. You might try running 'sudo modprobe -r psmouse; sudo modprobe psmouse' here, as this might get your touchpad functioning normally again.

 8. Type 'exit' to log out, then press Ctrl-Alt-F7 to return to your desktop. Give me the input-event.txt and dmesg.txt files.

Thanks!

Revision history for this message
Stan Schymanski (schymans) wrote :

Great work, Seth! I've been following https://bugs.launchpad.net/ubuntu/+source/linux/+bug/760142, as my Alps touchpad was not recognised at all, so I thought that this was a different problem. I applied your patch out of curiosity and now my Alps touchpad is recognised correctly and works.
Not sure if this is related, but after the first reboot, when I tried to post a comment, my computer froze completely (unresponsive to touchpad, trackpoint and keyboard) and I had to shut down using the power button. After reboot, touchpad was disabled, but I could re-enable it using my trackpoint and now everything seems to be working. Hope the freeze was just a last hickup...

Would it be possible to change the title of this bug to reflect that the fix also works if the touchpad was NOT recognised at all?

Cheers
Stan

Revision history for this message
Gaurav Padia (gaurav-padia14u) wrote :

Thanks a lot Sheth!

I was also following bug 760142 and like Mr. Stan my Alsp touchpad was not recognised at all on Dell Inspiron N5110.

It is working fine after reboot. Sheth, Can zoom with touchpad like in windows will work ?

Revision history for this message
mio75 (mio75) wrote :

tried 0.10 on Dell M4500, Ubuntu 11.04 x64

Everything still works, only the touchpad is a bit over-sensitive (pointer jitters even before touching it), so the touchpad is hard to use.

Revision history for this message
Stan Schymanski (schymans) wrote :

Using 0.10 on Dell Latitude E6320 with Ubuntu 11.04 x64. Touchpad recognised correctly and I can mange it using the "Mouse" or the "Pointing Devices" settings. A few things I noticed:
- Whenever I reboot, the touchpad is unresponsive and I have to turn it off and on again in "Pointing Devices" before it works. In fact, gpointing device settings does not seem to remember some of the settings. E.g. if I click on "Disable while any other devices are conncected", it is indeed disabled, but when I re-open "Pointing Devices", the checkbox is unchecked again and I need to check and uncheck it again before the touchpad is activated again.
- Palm detection does not seem to have an effect. No matter what I set there, I can move the mouse cursor with my palm.

Maybe these are gpointing issues and unrelated to the driver, but I thought I let you know.

Thanks again for the great improvement!

Revision history for this message
Bob Sleys (bsleys) wrote :

Just wanted to say thanks again for all the hard work on the diver.

Also wanted to mention that we need a way to adjust the sensitivity of the toughpad. I can move the mouse pointer simply by moving my finger very close to the toughpad without actually touching it. This makes it very hard to click or double click on smaller items like a window border because the mouse pointer moves a bit as your finger raises up and lower down when it gets close to toughing the pad.

Bob

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

On Wed, Oct 12, 2011 at 05:57:20PM -0000, Bob Sleys wrote:
> Also wanted to mention that we need a way to adjust the sensitivity of
> the toughpad. I can move the mouse pointer simply by moving my finger
> very close to the toughpad without actually touching it. This makes it
> very hard to click or double click on smaller items like a window border
> because the mouse pointer moves a bit as your finger raises up and lower
> down when it gets close to toughing the pad.

Adjusting the sensitivity isn't a driver issue. The driver reports that
values given by the hardware, and it's up to the userland input
processing to decide how these values are translated into cursor motion.

The exception to this would be if the max values the driver specifies
are inaccurate. If you will use input-events to determine the maximum
ABS_X/ABS_Y values the driver reports, I'll check to see if there's a
problem here. I've described how to get the ABS_X/ABS_Y in previous
comments, so I won't repeat it here.

Revision history for this message
pauljohn32 (pauljohn32) wrote :
Download full text (5.2 KiB)

To users who say "touchpad is too sensitive", do not bother Seth about the driver. Instead, learn how to properly configure your device.

synclient is a command line program you use to interact with the ALPS touchpad. Do not bother with the Gnome Menu system->mouse-> touchpad settings. Those are just a small sliver of settings you can adjust.

Run "synclient -l" to review your current settings. If your touchpad is too sensitive (mine was) or you don't have vertical scrolling (I did not) or you want two finger taps, then test the settings with synclient and then make them permanent by putting a configuration file into your system.

If "too sensitive" is your situation, look at the setting for FingerLow and FingerHigh. That fixed it for me. I also had no "right side vertical scroll" because the measurement of my touchpad was far from the default settings. My RightEdge is 1750, and touches to the right of that point will work for vertical scroll.

For the record, on my Dell Precision M4600, these are the settings I use now, and they are mostly correct, except for the "accidental grab" problem I described, but cannot re-produce reliably.

$ synclient -l
Parameter settings:
    LeftEdge = 300
    RightEdge = 1750
    TopEdge = 210
    BottomEdge = 1190
    FingerLow = 93
    FingerHigh = 98
    FingerPress = 250
    MaxTapTime = 180
    MaxTapMove = 107
    MaxDoubleTapTime = 180
    SingleTapTimeout = 180
    ClickTime = 100
    FastTaps = 0
    EmulateMidButtonTime = 75
    EmulateTwoFingerMinZ = 139
    EmulateTwoFingerMinW = 7
    VertScrollDelta = 48
    HorizScrollDelta = 48
    VertEdgeScroll = 1
    HorizEdgeScroll = 0
    CornerCoasting = 0
    VertTwoFingerScroll = 1
    HorizTwoFingerScroll = 0
    MinSpeed = 1
    MaxSpeed = 1.75
    AccelFactor = 0.0819336
    TrackstickSpeed = 40
    EdgeMotionMinZ = 14
    EdgeMotionMaxZ = 79
    EdgeMotionMinSpeed = 1
    EdgeMotionMaxSpeed = 195
    EdgeMotionUseAlways = 0
    TouchpadOff = 0
    LockedDrags = 0
    LockedDragTimeout = 5000
    RTCornerButton = 0
    RBCornerButton = 0
    LTCornerButton = 0
    LBCornerButton = 0
    TapButton1 = 1
    TapButton2 = 3
    TapButton3 = 3
    ClickFinger1 = 1
    ClickFinger2 = 1
    ClickFinger3 = 1
    CircularScrolling = 0
    CircScrollDelta = 0.1
    CircScrollTrigger = 0
    CircularPad = 0
    PalmDetect = 1
    PalmMinWidth = 20
    PalmMinZ = 99
    CoastingSpeed = 100
    CoastingFriction = 50
    PressureMotionMinZ = 14
    PressureMotionMaxZ = 79
    PressureMotionMinFactor = 1
    PressureMotionMaxFactor = 1
    GrabEventDevice = 1
    TapAndDragGesture = 1
    AreaLeftEdge = ...

Read more...

Revision history for this message
Yann Salmon (yannsalmon) wrote :

As far as I can tell, version 0.10 works very well after a reboot on my Dell E6420 with Ubuntu 11.04 x64. I have not yet been able to detect a misbehaviour. Thanks a lot !

Revision history for this message
elPraga (elpraga) wrote :

On Acer Aspire One 532h with Ubuntu 11.04 using the version 0.10 works vertical and horizontal scrolling and TURNING THE TOUCHPAD OFF WHILE TYPING!! Big thanks! That was the feature that I was really missing compared to using modprobe psmouse proto=imps.

Two finger scrolls seem not to work.

Revision history for this message
Stafford Ritchie (stafford-ritchie) wrote :

thank you sforshee, you have done great work. sony vaio vpceh14fm, ubuntu 11.10, two finger scroll works, vertical edge scroll works, disable tap to click works, makes typing much easier.

i still have some issues with scrolling while typing but this is great work, thank you, thank you, thank you!

ps thank you, thank you, thank you where do i buy you a cup of coffee?

Revision history for this message
David Cramer (david-thingbag) wrote :

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

As you predicted Seth, after upgrading to Oneiric all shakiness in the
pointer while using the touchpad has disappeared. This is very nice!

Thanks again,
David
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJOmEI1AAoJEMHeSXG7afUhTNYIAIu8q9+YyRSz4uGSN/DZw7ji
HoJWKHo+Tl0YD3ckFvmNg9/4NrrsE4qkVswoYVdSCwDk7aNLnVz3G9sQJkGvdjEf
4zB+ltwbCx9Jdwl0jfeYC2IP2suvrJkWL8YhNbXmms6tBgbTFgtlmd6mzYcFFcc1
yKfU7BcqjLACWjWcFVh709Xaha80Jxlvzfgfstyxk9zE8w69ad61fxhsCy2HtpAd
+9vZR69Y0Xa2UibFRYCdUh9pn29VSTLYJgUHiXhb9oXC3chlvKBKTuVZX2lC6rp8
n2/u1OGaOabzGJ+4r6GqlgMYci575tggQbv3t30dn9WmxK55fpBvfXeuaAsNlU4=
=PEPW
-----END PGP SIGNATURE-----

Revision history for this message
Pep (teleki-farkas-peter) wrote :

Thanks Seth!

Two finger scrolling works for me too on Sony VPCEH 1Z1E, with my brand new Ubuntu 11.10!
Love you all :)

Revision history for this message
Alexis de Lattre (alexis-via) wrote :

Thanks Seth for this great work !

I have a Dell Latitude Z600 with an Alps touchpad :
[5.866717] input: AlpsPS/2 ALPS GlidePoint as /devices/platform/i8042/serio1/input/input12

With version 0.10 of psmouse-alps-dkms under Ubuntu 11.10, my touchpad is detected as a synaptic touchpad. When I do "synclient PalmDetect=1", I have palm detection working, which is really really great ! When I set VertTwoFingerScroll=1, the two-finger vertical scrolling doesn't work... but it's not a big issue for me.

Thanks again ! Palm detection is a must !

Revision history for this message
Jarkko Sakkinen (jarkko-sakkinen) wrote :

Fix in #466 works for me. Thank you! I reported # 795349, which was marked as duplicate for this.

Revision history for this message
J.P.Casainho (casainho) wrote :
  • log_alps.txt Edit (49.3 KiB, text/plain; charset=US-ASCII; name="log_alps.txt")
  • dmesg.txt Edit (241.5 KiB, text/plain; charset=US-ASCII; name="dmesg.txt")

2011/10/12 mio75 <email address hidden>:
> tried 0.10 on Dell M4500, Ubuntu 11.04 x64
>
> Everything still works, only the touchpad is a bit over-sensitive
> (pointer jitters even before touching it), so the touchpad is hard to
> use.

Yes, that's what I am seeing! Looks like that having my fingers 1cm
over touchpad is enough to trigger it.

I am sending the log file of Alps output + dmesg. I hope it can help
you finding the problem. But let me say that over a week I didn't have
this problem, until today again I started doing JTAG debug with an ARM
board... I verified that when I connect the ARM board with JTAG USB
cable, the touch pad goes crazy!!! -- I guess the problem could be due
to electronics noise or something, since the board is powered from
mains power... there could be some power loop that puts Alps touch pad
crazy....

Ok, it's for sure due to this ARM board connected to power mains. I
just connected other board but this time powered from batteries and
all is ok.

Many thanks and sorry.

Revision history for this message
Krzysztof Kwasniak (krzysztof-kwasniak) wrote :

Thank You so much!
I've been trying to get it working for months. I have to confirm that this worked perfectly on my LENOVO G550 (now touchpad is detected as AlpsPS/2 ALPS DualPoint TouchPad) and ubuntu 11.10. Great job.

Revision history for this message
Sukhikh Nick (mk-) wrote :

Thanks for nice driver!
I tried it on Dell Latitude E6410 with openSUSE 11.4, kernel 2.6.37 (I needed some upstream patches in order to compile the driver with this kernel).
Almost all things works fine, including two-finger scrolls. Track-stick scrolling works after adjusting Xorg settings (https://wiki.archlinux.org/index.php/Xorg#Example:_Wheel_Emulation_.28for_a_Trackpoint.29).

But there is jitter, adjusting touchpad settings doesn't help. Maybe I should install newer kernel? However, it seems like there is no jitter issue with touchpads that works out-of-the-box on openSUSE 11.4

Also, on windows I can tap on a track-stick to produce mouse clicks. Can this behavior be achieved in linux? I attached debug logs with track-stick taps.

Revision history for this message
pauljohn32 (pauljohn32) wrote :

Dell Precision M4600 Debian 3.0.0-1-amd64

I've after alps-dkms version 0.6 or so, I have noticed occasional weird behaviors. Sometimes cursor flies to far left of screen, sometimes the touchpad seems to become nonresponsive for a moment. Often it wakes up and works again, sometimes I have to remove and reload the module. Two times tonight I've noticed this and have looked into the input-events output. It turns out the Debian input-utils is not build correctly for their kernel, but the Ubuntu input-events will install and so it seems to work.

I can't say if these files are going to help, but I followed Seth's instructions and I am attaching 2 sets of files in a tarball (since I can't find a way to attach more than one file in this interface). OK?

Revision history for this message
clemmy (luca-clem) wrote :

Thank you very much Seth Forshee, good job!

AlpsPS/2 ALPS DualPoint TouchPad on Sony Vaio VPCSB laptop
Ubuntu 11.10
Version 0.10 of the psmouse-alps-dkms as per comment #492

Touchpad correctly recognized and fully working, including two finger scrolling.

Before I was using the standard psmouse driver with the option proto=imps to have side-scrolling, but two finger scrolling is much better! :)

The only downside I have found is that I need to be very precise with my finger.. this apply to both:
* two-finger scrolling
* double tap-and hold for selecting some text (don't know if there is a better definition)
I don't know if this is implicit in the driver, or if there is some settings that I can tweak with synclient (will do some research later)

I'll give the link to this bugreport to some users on ubuntuforums how have my same notebook, because we all have the same problem. They'll be very happy! Just a suggestion: you should consider preparing a small webpage to present your patched driverd, with newest version at the top of the page. It will be more straightforward for new users to get there, as well as for old users to check if there are any updates available. (Or at least, if you are allowed, update the description of the bug, putting a direct link to the comment with the latest version available)

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

On Sun, Oct 16, 2011 at 09:22:41AM -0000, J.P.Casainho wrote:
> Ok, it's for sure due to this ARM board connected to power mains. I
> just connected other board but this time powered from batteries and
> all is ok.

Thanks for following up. It sounds like an electrical issue, not a
driver problem.

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

On Mon, Oct 17, 2011 at 01:22:29AM -0000, Sukhikh Nick wrote:
> But there is jitter, adjusting touchpad settings doesn't help. Maybe I
> should install newer kernel? However, it seems like there is no jitter
> issue with touchpads that works out-of-the-box on openSUSE 11.4

A newer kernel won't help, but a newer Xorg synaptics driver might. The
jitter is due to the data the touchpad is reporting, but newer versions
of the Xorg synaptics driver include filtering that helps.

> Also, on windows I can tap on a track-stick to produce mouse clicks. Can
> this behavior be achieved in linux? I attached debug logs with track-
> stick taps.

I'm not aware of any way to do this in Linux. If this were to be
supported I think it would a feature of the Xorg input drivers and not
the touchpad driver itself.

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

On Mon, Oct 17, 2011 at 03:04:09AM -0000, pauljohn32 wrote:
> Dell Precision M4600 Debian 3.0.0-1-amd64
>
> I've after alps-dkms version 0.6 or so, I have noticed occasional weird
> behaviors. Sometimes cursor flies to far left of screen, sometimes the
> touchpad seems to become nonresponsive for a moment. Often it wakes up
> and works again, sometimes I have to remove and reload the module. Two
> times tonight I've noticed this and have looked into the input-events
> output. It turns out the Debian input-utils is not build correctly for
> their kernel, but the Ubuntu input-events will install and so it seems
> to work.
>
> I can't say if these files are going to help, but I followed Seth's
> instructions and I am attaching 2 sets of files in a tarball (since I
> can't find a way to attach more than one file in this interface). OK?

Thanks pauljohn32, that's exactly what I need to help debug erratic
behaviors. Do I understand correctly that these logs represent the
behavior where the touchpad becomes unresponsive? It's odd that you
would see data from input-events but no movement from the cursor.

One possible reason for the cursor jumping could be that a second
finger or other point of contact is touching the touchpad, or getting
close enough to register as a touch. The ALPS touchpads don't seem to
have good finger tracking, so sometimes when there are multiple touches
the position reported by the touchpad will suddenly jump from one
contact to the other, which can translate to a sudden quick movement of
the cursor. Any chance this is that you are seeing?

Serg Alexv (agel)
tags: added: oneiric
Revision history for this message
lessoffensive (lessoffensive) wrote :

Thanks so much for the work Seth! I'm unfortunately unable to try it as I'm running a newer kernel (3.1.0-rc7), which seems to have non trivial changes to the elantech driver. Do you think this patch is going to go into the mainline anytime soon? If not, would you be potentially willing to create a patch for the 3.1 kernel?

Thanks for the attention to this long standing bug, regardless!!

Revision history for this message
Paulo J. S. Silva (pjssilva) wrote :

lessoffensive:

That's funny. I am using 3.1.0-0301rc9-generic from the mainline kernel ppa:

http://kernel.ubuntu.com/~kernel-ppa/mainline/

And the version 0.10 of the driver installs just fine.

Revision history for this message
lessoffensive (lessoffensive) wrote :

Hey Paulo,

That's interesting--perhaps there was a patch applied to the kernel tree I was using. I'm getting the vanilla sources now and will try again and post then.

Thanks for the response!

Revision history for this message
teranex (teranex) wrote :

I just tested the package (version 0.10) from https://bugs.launchpad.net/ubuntu/+source/linux/+bug/550625/comments/492 and I can confirm that it fixes the problems on my Dell e6510. Now my touchpad is detected as a real touchpad and i can scroll with two fingers

Revision history for this message
Alexandre Jasmin (alexandre-jasmin) wrote :

Thanks Seth. Installing the deb in comment #492 finally enables touchpad scrolling on my Asus 1830T. Edge scrolling work fine now.

Two finger scrolling is a bit more difficult. Perhaps I'm just not familiar with the gesture and the touch pad is so small. I haven't fiddle with the other settings yet.

Revision history for this message
tempo500 (philip-ballinger) wrote : manual compile for fedora?

is there some guide / howto somewhere explaining the process of patching
this on fedora 14?
thanks, phil

Revision history for this message
Larry Reid (lcreid) wrote :

#492 fixed my Dell Vostro 1440 running 11.04.

Revision history for this message
Marja Erwin (marja-e) wrote :

I recently reinstalled Ubuntu 10.10 after a buggy install of Xubuntu 11.10. (Most likely partly because of installer bugs, not just Xubuntu bugs.) I immediately tried to install the psmouse-alps-dkms patch I had on my backups. This was version 0.9 and there was some bug during installation. I am unable to properly install or remove the patch, and encounter aptdaemon bugs on each attempt.

Revision history for this message
Clark C. Evans (clarkevans) wrote :

I think we have _2_ completely different issues here. The first one
is (exclusively) on Dell hardware where the Tracpad isn't recognized
and shows up as a PS/2 mouse. For this bug (which I have), the patch
here doesn't seem to help at all. The second bug (fixed by the patch)
seems to be where the trackpad was recognized... see title of this bug,
but is mis-behaving. This case affects some Dells and Sony alike.

Unfortunately, many of the tickets marked as a duplicate of this one
are really not a duplicate, since the trackpad isn't recognized at all.
Here are the ones I think should be broken off into another related,
but different bug report. I recommend #606238 be the primary.

#601035
#601113
#603439
#605855
#606238
#606448
#611079
#660001
#688276
#749508
#754015
#754344
#760142
#773305
#795349

I'd really prefer if these tickets were *unmarked* as a duplicate
of this one. This ticket says the tracpad is recognized, in these
tickets the trackpad shows up as a fallback psmouse.

Revision history for this message
Ed S (ed-spittles) wrote :

I agree, Bug 606238 looks different from this - I've unmarked it as duplicate and taken the liberty of subscribing Seth. I'm not certain about all the other bugs listed.

It might be useful if anyone with those possible duplicates could load the DKMS package attached to comment 492 on this Bug 550625 and report the E6 and E7 IDs and, generally, the results they get (reporting into a comment on their own bug)

Revision history for this message
Clark C. Evans (clarkevans) wrote :

Ed,

There is another ticket, Bug 760142 (69 affected) that
seems similar/identical to Bug 606238 (53 affected) . It
is trying to be more generic though, while Bug 606238
limits itself to the Latitude E6510 (which I have).

Best,

Clark

Revision history for this message
Ed S (ed-spittles) wrote :

I've added a comment to that bug. I don't think marking as duplicate, or removing or adjusting such a mark, is a privileged operation, but it must be best if it's done by someone familiar with their symptoms. So I won't dive in and adjust a lot of bugs.

(I suffer from a different bug, but I'm hoping to get some benefit from this renewed interest and Seth's good work. Bug 755518, probably Synaptics not ALPS chip.)

Revision history for this message
Luciano Panepucci (lpanebr) wrote :

Hello Seth,

I have 11.10 installed on a Dell Inspiron N5110:

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

When I try to install I get:

$ sudo dpkg -i psmouse-alps-dkms_0.10_all.deb
Selecting previously deselected package psmouse-alps-dkms.
(Reading database ... 138565 files and directories currently installed.)
Unpacking psmouse-alps-dkms (from psmouse-alps-dkms_0.10_all.deb) ...
dpkg: dependency problems prevent configuration of psmouse-alps-dkms:
 psmouse-alps-dkms depends on dkms (>= 1.95); however:
  Package dkms is not installed.
dpkg: error processing psmouse-alps-dkms (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 psmouse-alps-dkms

Any Idea?

My touchpad works the most basic may: move, right edge vertical scroll.
None of the multi touch works.. :-(

thanks,

Luciano

Revision history for this message
Luciano Panepucci (lpanebr) wrote :

Sorry.

I tryed againg and it worked!

Thanks!

Revision history for this message
scubajeff (scubajeffrey) wrote :

Hello Seth,

the lastest 0.10 driver works on my sony vaio x118lc running with i386 version of Oneiric. edge scrolling and disable touchpad while typing works. but two finger scrolling is not working.

Jeff
http://1798.co/p/jeff

Revision history for this message
quarara (classic-art-showcase) wrote :

Hi,

I've installed Seth .deb twice but it didn't improved my situation. I own a Dell Inspiron 15r and the touchpad is not recognized as such. I am currently using Ubuntu 11.10.

Luigi

Revision history for this message
Luciano Panepucci (lpanebr) wrote :

Hi quarara,

I have the same hardware (Dell Inspiron 15r) and ubuntu 11.10 release.

My touchpad was working in a super basic (move and click) mode.

After reading all the comments I got it working by installing Seth's psmouse-alps-dkms_0.10_all.deb from comment #492.

Now I have:
 - touchpad preferences in system settings
 - two finger vertical and horizontal scroll
 - tow finger right-click

Seth Rocks!

Luciano

Revision history for this message
quarara (classic-art-showcase) wrote :

Hi Luciano,

I'm glad that you've got your hardware fully working with Oneiric Ocelot! :)
Maybe your Inspron 15r it's different from mine. I bought it a couple of weeks ago, my model has a nice chiclet keyboard. The Inspiron's pre-2011 have a "old school" keyboard in it. When have you bought your pc? If it is from 2010 or so maybe your touchpad is slightly different from mine.

Let me know!

Luigi

Revision history for this message
BitBurners.com (lasse-penttinen) wrote :

Seth,

Unfortunately the patch did not have any impact on a Dell XT2 (Ocelot 64)

Revision history for this message
quarara (classic-art-showcase) wrote :

For what it's worth I'm running Oneiric at 32bit too.

Revision history for this message
quarara (classic-art-showcase) wrote :

Errata corrige: I meant, obviously, 64bit.

Revision history for this message
Luciano Panepucci (lpanebr) wrote :

Hi Luigi,

My inspiron 15r is less than 2 months old! :-) There might be some diff because mine was bought in Brasil...

What do you get from running the following command on your shell?

xinput list

Luciano

Revision history for this message
quarara (classic-art-showcase) wrote :

Hi Luciano,

Thanks for your help.
This is what I get with xinput list:

luigi@luigi-Inspiron-N5110:~$ xinput list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ PS/2 Generic Mouse 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)]
    ↳ Power Button id=8 [slave keyboard (3)]
    ↳ Sleep Button id=9 [slave keyboard (3)]
    ↳ Laptop_Integrated_Webcam_HD id=10 [slave keyboard (3)]
    ↳ AT Translated Set 2 keyboard id=11 [slave keyboard (3)]
    ↳ Dell WMI hotkeys id=13 [slave keyboard (3)]

Regards,
Luigi

Revision history for this message
AndyVBrown (andyvbrown) wrote :
Download full text (5.8 KiB)

I am running a Dell E6410, with A09 Dell BIOS update.

Ubuntu 11.10 amd64 with Gnome 3.2

Linux doofen2 3.1.0-030100-generic #201110240535 SMP Mon Oct 24 09:35:56 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux

Was running Henk's psmouse-0.2-1.all.deb package and a python script workaround (https://bugs.launchpad.net/ubuntu/+source/linux/+bug/606238/comments/40).

sudo python ./keyboarddetector3.py /dev/input/event4

The python script workaround was needed to stop the cursor jumping around everytime I typed and annoying me immensely.

With this I could vertical scroll and a tap in the top right of the touchpad would act as a right mouse click....no horizontal scroll but I was happy the mouse sensitivity was steady and not jittery.... did not have a touchpad tab in the mouse and touchpad configuration either.

Decided it was time to update the touchpad package so I remove dkms and Henk's package. Restarted then reinstalled dkms and installed psmouse-alps-dkms_0.10_all.deb.

Vertical and horizontal scroll worked beautifully.

lsinput provided the following output:

/dev/input/event6
   bustype : BUS_I8042
   vendor : 0x2
   product : 0x8
   version : 0
   name : "DualPoint Stick"
   phys : "isa0060/serio1/input1"
   bits ev : EV_SYN EV_KEY EV_REL

/dev/input/event7
   bustype : BUS_I8042
   vendor : 0x2
   product : 0x8
   version : 29478
   name : "AlpsPS/2 ALPS DualPoint TouchPad"
   phys : "isa0060/serio1/input0"
   bits ev : EV_SYN EV_KEY EV_ABS

After the update to 0.10 I found the touchpad sensitivity to be too much for myself, I also lost the right click functionality at the top right of the touchpad. The touchpad tab in mouse and tachpad configuration was there but no amount of tuning changed the sensitivity to my liking.

I tried various other changes using synclient as suggested in this bug, in an attempt to tune the nervousness out of the touchpad but to no avail. Some setting like FingerLow and FingerHigh would error when I attempted to change the parameters.

Synclient error when tuning FingerLow/High:

X Error of failed request: BadValue (integer parameter out of range for operation)
  Major opcode of failed request: 141 (XInputExtension)
  Minor opcode of failed request: 37 (X_ChangeDeviceProperty)
  Value in failed request: 0x10e
  Serial number of failed request: 22
  Current serial number in output stream: 25

The only synclient setting of relevance that I could change were MinSpeed from "1" down to "0.5", MaxSpeed from 1.75 down to "0.5" and AccelFactor from "0.0819336" to "0.04". These were just tuning guesses to see if the speed and jitters and erratic touchpad behaviour would settle down.

However it was just a little to touchy for my personal liking.

Seth your work on this driver is excellent and enabled many features that were previously unavailable, thank you. On my laptop I was just unable to tune the jitters out of the touchpad.

I have since reverted back to Henk's psmouse-0.2-1.all.deb package and the python script workaround and the sensitivity is back to my liking. Right click has returned.

sudo lsinput displays when running this older driver.

/dev/input/event6
   bustype : BUS_I8042
   vend...

Read more...

Revision history for this message
Sukhikh Nick (mk-) wrote :

I've compiled a kernel (2.6.37) with latest Seth's patches for openSUSE 11.4 in OBS. SUSE users can install it from http://download.opensuse.org/repositories/home:/akadabra:/branches:/openSUSE:/11.4:/Update:/Test/standard/

Revision history for this message
kmare (pioann) wrote :

hello,
I just wanted to add that the deb from Seth (#492) works great for me on my HP pavilion dm1 on Ubuntu 11.10.
Hopefully it'll be integrated upstream since it looks like it's working for quite a few (unfortunally not everyone yet). With this patch, it's the first time i fully enjoy everything my laptop has to offer since I bought it.

Thank you Seth

Revision history for this message
jreyes33 (jonathan-reyes33) wrote :

Hi,

I've installed the 0.10 version of Seth's fix on my Sony VAIO VPCF1290X but the ALPS touchpad isn't detected yet. These are the lines concerning the issue on the dmesg output:
[ 21.929137] input: ImPS/2 Generic Wheel Mouse as /devices/platform/i8042/serio1/input/input10
[ 307.378904] input: ImPS/2 Generic Wheel Mouse as /devices/platform/i8042/serio1/input/input15

Attached is the full dmesg output.

Thanks

Revision history for this message
pauljohn32 (pauljohn32) wrote :

Hello, Seth

It's me again, still trying to get good diagnostic output for the driver. I have 2 files attached here, as you ask for.

In the previous post, I said that sometimes the mouse flies off to the top left, and you asked if perhaps I'm touching the left part of the touchpad. I've been checking. Definitely, I'm not touching the left side. That still happens intermittently. And here's the weirdest part. If I plug in a USB mouse and keyboard, sometimes the cursor flies about wild up to the left, even if I don't touch the touchpad at all. Just using the mouse does that.

The other weird problem is periodic "sluggishness". Sometimes touching the pad just doesn't move the pointer much. Sometimes it will stay sluggish for a long while and I modprobe the psmouse to shake it loose. But sometimes it goes away after 5 or 10 seconds. I don't see any pattern in it. I've been trying to get diagnostic output for those moments. I change to the VT1 and create the diagnostic files, but I fear the output will not help you because the sluggishness may be cured by the act of hitting Alt-Ctl-F1. I mean, by the time I get there and run input-events, I can't say for sure if the mouse is still sluggish or not.

But I just have to rely on your best guess!

On Debian, my kernel is 3.0.0-1-amd64 and the psmouse patch is version 10.

Revision history for this message
Scott Testerman (scott-testerman) wrote :

I'm running the package from comment 492 on an Acer Aspire 7552G-6436 and it's working quite well. I haven't played with all of the settings yet to determine what works and doesn't, but basic functionality is flawless. I've marked bug 747123 as a duplicate of this one.

Revision history for this message
BlogCrawler (blogcrawler) wrote :

the patch provided in #492 doesn't work on my Dell n5110 laptop. I am using 64bit ubuntu 11.10.
<code>
$uname -a
Linux m-Inspiron-N5110 3.0.0-12-generic #20-Ubuntu SMP Fri Oct 7 14:56:25 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
</code>

The 'echo 1 | sudo tee /sys/module/psmouse/parameters/alps_dump_packets' command returns:
<code>
tee: /sys/module/psmouse/parameters/alps_dump_packets: No such file or directory
1
</code>

dmesg (see attachment) shows the following error:
<code>
psmouse.c: Failed to enable mouse on isa0060/serio1
</code>

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

Everyone: I'm happy to report that the ALPS patches we've been testing have been accepted by the mainline input subsystem maintainer and should show up in kernel version 3.3. We also plan to include them in the Ubuntu kernel for the 12.04 release. Thanks for your help in testing!

pauljohn32: In at least one case so far erratic mouse behavior has been shown to be caused by apparent electrical interference from other hardware, and since you say that plugging in USB devices causes the behavior it makes me wonder if you have a similar situation. This probably wouldn't create very dramatic movements when the touchpad was reporting relative motion events, so it may have been there all along but only became noticeable with the new driver as it reports absolute position events. Do I understand correctly that the dumps you gave were taken right after you saw sluggish cursor movement? If so I'll look and see if the data offer any explanation.

BlogCrawler: In your log I see a typo that was fixed prior to the 0.10 version of the driver, so I don't think you're actually using the version from coment #492. You can check what version you have installed by running 'apt-cache showpkg psmouse-alps-dkms' in a terminal. If it shows the 0.10 version installed, you could still be using a previous version if you haven't rebooted or reloaded the driver since installing. To be safe, I suggest that after you verify you have the 0.10 package installed you power off your machine, remove all power (including the battery) for several seconds, then put the battery back in and boot up. Some of the old versions of the driver could leave the touchpad in a bad state when the driver initialization failed where your log shows the failure, and removing all power will ensure that the touchpad is fully reset.

Revision history for this message
Michal (mikeos) wrote :

I already remarked here that trackstick sensitivity becomes broken when this ALPS patches get applied. While it was an optional package I was okay with it. However I would disagree about getting the patches obligatorily.
There was no reaction about it, I could speculate that people using touchpad usually don't care much about trackstick or based on some technical argumentation the developer believes the trackstick sensitivity problem cannot be related to this patch. If I am the vast minority with my Latitude E6410 I would take the time to remove the patched driver during kernel upgrade. Obviously I am very thankful and appreciate all the hard work which Seth devoted to the driver implementation. Just for the moment I would disagree that this patch is ready for mainline.

Revision history for this message
Seth Forshee (sforshee) wrote : Re: [Bug 550625] Re: Alps touchpad is recognized but synaptics clients and scrolling do not work

On Thu, Nov 10, 2011 at 04:46:30PM -0000, Michal wrote:
> I already remarked here that trackstick sensitivity becomes broken when this ALPS patches get applied. While it was an optional package I was okay with it. However I would disagree about getting the patches obligatorily.
> There was no reaction about it, I could speculate that people using touchpad usually don't care much about trackstick or based on some technical argumentation the developer believes the trackstick sensitivity problem cannot be related to this patch. If I am the vast minority with my Latitude E6410 I would take the time to remove the patched driver during kernel upgrade. Obviously I am very thankful and appreciate all the hard work which Seth devoted to the driver implementation. Just for the moment I would disagree that this patch is ready for mainline.

I did make some adjustments to sensitivity early on based on feedback. I
apologize if I overlooked any subsequent comments. It's not true that
trackstick sensitivity can't be adjusted in the driver, but it is true
that these devices appear to report very different values for the
trackstick once the touchpad is put in absolute mode, which causes the
observed jump in sensitivity.

Just becuase the driver changes have been merged doesn't mean we can't
continue to improve it. The difficulty with the sensitivity is that it's
partly personal preference, and from the comments I've seen I suspect
that it might also vary from machine to machine. On the machines I'm
testing with the sensitivity seems fine, and further reduction of the
sensitivity in the driver actually impairs the ability to make fine
adjustments to the cursor position. Actually it's _less_ sensitive than
when I load the driver with proto=bare. It also seems to respond to
adjusting the Acceleration setting on the Mouse tab of the Mouse and
Touchpad settings. Have you tried this?

Revision history for this message
quarara (classic-art-showcase) wrote :

Hi Seth,
I own a Dell Inspiron too and the patch you've provided us doesn't help with my touchpad neither.
BlogCrawler and I are not the only ones with this issue unresolved. See bug #606238 for further information.

Thanks for your hard work and expertise.
Regards,
Luigi

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

On Thu, Nov 10, 2011 at 09:12:54PM -0000, quarara wrote:
> Hi Seth,
> I own a Dell Inspiron too and the patch you've provided us doesn't help with my touchpad neither.
> BlogCrawler and I are not the only ones with this issue unresolved. See bug #606238 for further information.

Yes, there are still touchpads which the driver doesn't support. I've
added support for the models for which I could obtain hardware and
reverse-engineer the protocol, but unfortunately that still doesn't
cover every model of ALPS touchpad that is available.

Revision history for this message
quarara (classic-art-showcase) wrote :

Thanks for your reply. Unfortunately I am not an expert user so I don't know exactly what I should do to provide you the correct information to analyze my touchpad behaviour.
If you think I could help in the development of a more functional driver, please let me know. I would be honoured to help you with this project.

Revision history for this message
Michal (mikeos) wrote :

Seth, thanks for your extensive feedback regarding the trackstick.

Perceived behavior after patch application is that it's hard to point exact pixels. It feels like the cursor is too fast no matter how gently the trackstick is pushed.

Changing the acceleration factor does actually have expected effect, i.e. changed acceleration. However no matter whether the acceleration is set towards higher values or lower values, one feels a significant (and constant) loss of "pointing precision" in the pointer while it is controlled via trackstick.

If I understood correctly various touchpad revisions installed by different manufacturers report the same signature thus one has to use very compromise settings because the driver doesn't know which touchpad revision is installed (unless e.g. DMI table is inspected for retrieving more information about laptop). If it is the case I can understand it must be pain to satisfy everyone.

Would you mind mentioning some few hints for anyone willing to poke around the trackstick sensitivity in the source code coming with the debian package of the driver?

Revision history for this message
pauljohn32 (pauljohn32) wrote :

Hi, Seth.

The dumps I posted yesterday are when I see the slow down, and I'm not near any other electronic devices.

I'm going to have to keep a journal of the "mouse flying off to the left" problem and see if it correlates to things I'm next to.

pj

Revision history for this message
BlogCrawler (blogcrawler) wrote :

Seth,
Thanks a lot for the comments. I had mistakenly installed a wrong version and now the touchpad works fine. Even Fn+F3 disables the touchpad as expected. There are a few issues like two-finger zoom and the touchpad LED (supposed to be turned on when the touchpad is disabled) but this is a huge update and I really appreciate your work.

quarara,
I think you have a similar problem to mine. Uninstall the deb package, update your system, download again the deb package provided in comment #492, install it, shut down your laptop, remove power sources (the cord and battery) for a few seconds, and then turn on your laptop. NOTICE that shutting down is VERY IMPORTANT. Hope this helps.

Revision history for this message
quarara (classic-art-showcase) wrote :

BlogCrawler,
Thanks for your suggestion. I've followed this procedure but it didn't help.

Thanks for your time.

Revision history for this message
quarara (classic-art-showcase) wrote :

However, just out of curiosity I have tried the Fn+F3 that disables the touchpad. Strangely enough it appeared the popup to notify the touchpad is disabled. The touchpad is not recognized yet, but could that be a hint that something actually happened?

Revision history for this message
Federico (f-ghigo) wrote :

Package DKMS at #492 works fine for me, Sony VAIO VPVEC3Z1E
Thank you !

Revision history for this message
BlogCrawler (blogcrawler) wrote :

quarara,
Does you laptop's touchpad works like a basic mouse? Please post your dmesg and also 'xinput list'.
Mine was detected as a mouse before installing this patch and pressing Fn+F3 was showing an empty notification while the touchpad was still functional (enabled).

Revision history for this message
quarara (classic-art-showcase) wrote :

This is it.

luigi@luigi-Inspiron-N5110:~$ xinput list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ PS/2 Generic Mouse 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)]
    ↳ Power Button id=8 [slave keyboard (3)]
    ↳ Sleep Button id=9 [slave keyboard (3)]
    ↳ Laptop_Integrated_Webcam_HD id=10 [slave keyboard (3)]
    ↳ AT Translated Set 2 keyboard id=11 [slave keyboard (3)]
    ↳ Dell WMI hotkeys id=13 [slave keyboard (3)]

Thank you so much.

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

> The dumps I posted yesterday are when I see the slow down, and I'm not
> near any other electronic devices.
>
> I'm going to have to keep a journal of the "mouse flying off to the
> left" problem and see if it correlates to things I'm next to.

Note that it could be interference from internal devices as well. The
driver simply reports the values from the hardware unmodified, so unless
there's some problem with interpreting the data (which seems unlikely at
this stage, but not impossible) the jump indicates a sudden change in
the position being reported by the touchpad. If you can enable the
packet dump and collect the dmesg data (*immediately* after you see the
jump, switch to a VT and collect the data without touching the touchpad
or trackstick) I'll take a look and see if I can identify what's
happening.

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

On Fri, Nov 11, 2011 at 01:09:47PM -0000, quarara wrote:
> However, just out of curiosity I have tried the Fn+F3 that disables the
> touchpad. Strangely enough it appeared the popup to notify the touchpad
> is disabled. The touchpad is not recognized yet, but could that be a
> hint that something actually happened?

The mechanism for enabling/disabling the touchpad is completely separate
from the touchpad driver itself. I don't think the notification
indicates anything about the touchpad driver.

Revision history for this message
quarara (classic-art-showcase) wrote :

Thank you, Seth.
In the meanwhile I've installed your drivers several times following the aforementioned procedure but I wasn't able to make my touchpad work. The patch worked on a friend's laptop, though.

Revision history for this message
Gunnar Thielebein (lorem-ipsum) wrote :

I have installed the package from #492 within "Ubuntu 11.10/x86_64" on "Dell/E5420" with "ImPS/2 ALPS GlidePoint" and now the disable tap on click works good AFAIS.

Thank you very much Seth for your commitment. Is some data collection required for this type/model?

Revision history for this message
quarara (classic-art-showcase) wrote :

I hate to crosspost, but it looks like the patch posted by Seth in comment #492 could be modified to make more touchpad recongnized by the system. See comment #62 of bug #606238 for further reference.

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

On Mon, Nov 14, 2011 at 10:54:38AM -0000, quarara wrote:
> I hate to crosspost, but it looks like the patch posted by Seth in
> comment #492 could be modified to make more touchpad recongnized by the
> system. See comment #62 of bug #606238 for further reference.

Not necessarily; see my response on that bug. It's not clear whether the
modifications really support the touchpad, or just cause it to be
identified as ALPS while the touchpad continues to report PS/2 relative
event data.

Revision history for this message
Vladimir Hidalgo (vlad88sv) wrote :

Can't compile 0.10 into kernel 3.2 (from kernel mainline ppa)

$ cat /var/lib/dkms/psmouse-alps/0.10/build/make.log

DKMS make.log for psmouse-alps-0.10 for kernel 3.2.0-999-generic (i686)
vie nov 18 20:00:36 CST 2011
make: se ingresa al directorio «/usr/src/linux-headers-3.2.0-999-generic»
  LD /var/lib/dkms/psmouse-alps/0.10/build/src/built-in.o
  CC [M] /var/lib/dkms/psmouse-alps/0.10/build/src/psmouse-base.o
  CC [M] /var/lib/dkms/psmouse-alps/0.10/build/src/synaptics.o
  CC [M] /var/lib/dkms/psmouse-alps/0.10/build/src/alps.o
/var/lib/dkms/psmouse-alps/0.10/build/src/alps.c:135:33: error: expected ‘)’ before ‘int’
make[2]: *** [/var/lib/dkms/psmouse-alps/0.10/build/src/alps.o] Error 1
make[1]: *** [/var/lib/dkms/psmouse-alps/0.10/build/src] Error 2
make: *** [_module_/var/lib/dkms/psmouse-alps/0.10/build] Error 2
make: se sale del directorio «/usr/src/linux-headers-3.2.0-999-generic»

Revision history for this message
aproposnix (aproposnix) wrote :

@Seth

Thanks for the driver on post #466. for over a year now I've been using the imps hack in /etc/modprobe.d

With this, I am even now able to use touchpad indicator as it correctly sees the touchpad as a touchpad and not a ps2 mouse. Thank you!!!

I'm running Ubuntu 11.04 on an Acer TimelineX 3820TG.

Revision history for this message
Francisco Cribari (cribari) wrote :

@Seth, has your patch been included in the Ubuntu kernel 3.0.0-13? If not, will it be available in a Ubuntu kernel prior to 3.2? Thank you.

Revision history for this message
Steven (svanpoeck) wrote :
Download full text (4.1 KiB)

Hi @seth,

First off, thanks for the patch, it works like a charm on my DELL Latitude E6510.

I just acquired a Dell Precision M6400. The default Mouse and Touchpad settings don't give me the possibility to deactivate the touchapd alltogether, so I installed your patch from comment #492. But it does not seem to install correctly: no gpointing-device-settings binary is available...

Here are the hardware details:
* uname -a:
Linux mt-lap-04 3.0.0-13-generic #22-Ubuntu SMP Wed Nov 2 13:27:26 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux

* xinput list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ DualPoint Stick id=13 [slave pointer (2)]
⎜ ↳ AlpsPS/2 ALPS DualPoint TouchPad id=14 [slave pointer (2)]
⎜ ↳ MLK Trust Mouse 16536 id=11 [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)]
    ↳ Power Button id=8 [slave keyboard (3)]
    ↳ Sleep Button id=9 [slave keyboard (3)]
    ↳ Laptop_Integrated_Webcam_FHD id=10 [slave keyboard (3)]
    ↳ AT Translated Set 2 keyboard id=12 [slave keyboard (3)]
    ↳ Dell WMI hotkeys id=15 [slave keyboard (3)]

* 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:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
00:16.3 Serial controller: Intel Corporation 6 Series/C200 Series Chipset Family KT Controller (rev 04)
00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (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.1 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 2 (rev b4)
00:1c.2 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 3 (rev b4)
00:1c.3 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 4 (rev b4)
00:1c.7 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 8 (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 QM67 Express Chipset Family LPC Controller (rev 04)
00:1f.2 RAID bus controller: Intel Corporation Mobile 82801 SATA RAID Controller (rev 04)
00:1f...

Read more...

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

On Sat, Dec 03, 2011 at 09:59:00PM -0000, Francisco Cribari wrote:
> @Seth, has your patch been included in the Ubuntu kernel 3.0.0-13? If
> not, will it be available in a Ubuntu kernel prior to 3.2? Thank you.

No, there are no plans to include the driver updates in the kernels for
11.10 due to the risk associated with so large a change. The new driver
support has already been applied to the kernel for 12.04.

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

On Sun, Dec 04, 2011 at 12:50:02PM -0000, Steven wrote:
> Hi @seth,
>
> First off, thanks for the patch, it works like a charm on my DELL
> Latitude E6510.
>
> I just acquired a Dell Precision M6400. The default Mouse and Touchpad
> settings don't give me the possibility to deactivate the touchapd
> alltogether, so I installed your patch from comment #492. But it does
> not seem to install correctly: no gpointing-device-settings binary is
> available...

Steven: The changes I worked on only add support for a subset of Dell
hardware, albeit a fairly large subset. If you have a model that isn't
supported, I'd suggest you check and see if anyone has opened a bug
specific to your model already, and if not file a new bug.

Revision history for this message
Sampo Saarela (sopsaare-gmail) wrote :

Is it possible to make this driver available for other distributions as well?

If I'm right it is just about the packaging because this is fix is in fact for kernel?
Though I'm not capable of repackaging this driver or patching my kernel someone else might be?

I'm using Fedora and I have HP DM3z and I'm quite sure that this pug is the one affecting me.

And somehow I get the feeling of this launchpad page that it somehow is related to fedora (my url is https://bugs.launchpad.net/fedora/+source/linux/+bug/550625?comments=all) yet there is only talk about different Ubuntu variants and .deb packages going around.

Revision history for this message
pauljohn32 (pauljohn32) wrote :

Sampo Saarela: The RedHat/Fedora folks have been a little late to the party on this problem. In fact, they tried to close work on it, arguing that it was an impossible problem because ALPS would not cooperate. It was really quite disappointing to me.

That's why I'm so impressed and delighted that Seth Forshee found a way to make it work.

Now there are packages for their distros, however. I think the best place to track that is here:

https://bugzilla.redhat.com/show_bug.cgi?id=590880

Revision history for this message
Charles Nepote (charles-nepote) wrote :

V. 010 work great with Toshiba Satellite R840-139.

Revision history for this message
ndkhoi168 (ndkhoi168) wrote :

I tried your suggestion on #492, every steps are ok. Unfortunately, multitouch and scroll don't work on my touchpad, Fn+F3 to disable touchpad doesn't work as well. I'm using Laptop DELL N5110 15R and Ubuntu 11.10 32 bit.

I also removed all power sources after install your alps-mouse package.

I attach lsinput, xinput list, input-events and dmesg output.

Please help me soon. Thank so much

Revision history for this message
ndkhoi168 (ndkhoi168) wrote :

I attach the output. Please look for that

Revision history for this message
pauljohn32 (pauljohn32) wrote :
Download full text (3.6 KiB)

ndkhoi168: There's no way for us to know that you have the particular kind of touchpad that this driver supports. Supposing it is, you need to use the synclient program to review and set the options. Simply installing the d river does not necessarily do any good. You need to be sure the kernel module is loading and then configure everything.

I don't see any attachments with your post, but I'm not sure they would help me anyway. I want to see the output of

$ synclient -l

I see this output.
~$ synclient -l
Parameter settings:
    LeftEdge = 300
    RightEdge = 1750
    TopEdge = 210
    BottomEdge = 1190
    FingerLow = 93
    FingerHigh = 98
    FingerPress = 250
    MaxTapTime = 180
    MaxTapMove = 107
    MaxDoubleTapTime = 180
    SingleTapTimeout = 180
    ClickTime = 100
    FastTaps = 0
    EmulateMidButtonTime = 75
    EmulateTwoFingerMinZ = 141
    EmulateTwoFingerMinW = 7
    VertScrollDelta = 48
    HorizScrollDelta = 0
    VertEdgeScroll = 1
    HorizEdgeScroll = 0
    CornerCoasting = 0
    VertTwoFingerScroll = 1
    HorizTwoFingerScroll = 0
    MinSpeed = 1
    MaxSpeed = 1.75
    AccelFactor = 0.0819336
    TrackstickSpeed = 40
    EdgeMotionMinZ = 15
    EdgeMotionMaxZ = 80
    EdgeMotionMinSpeed = 1
    EdgeMotionMaxSpeed = 195
    EdgeMotionUseAlways = 0
    TouchpadOff = 0
    LockedDrags = 0
    LockedDragTimeout = 5000
    RTCornerButton = 0
    RBCornerButton = 0
    LTCornerButton = 0
    LBCornerButton = 0
    TapButton1 = 1
    TapButton2 = 3
    TapButton3 = 3
    ClickFinger1 = 1
    ClickFinger2 = 1
    ClickFinger3 = 1
    CircularScrolling = 0
    CircScrollDelta = 0.1
    CircScrollTrigger = 0
    CircularPad = 0
    PalmDetect = 1
    PalmMinWidth = 20
    PalmMinZ = 99
    CoastingSpeed = 100
    CoastingFriction = 50
    PressureMotionMinZ = 15
    PressureMotionMaxZ = 80
    PressureMotionMinFactor = 1
    PressureMotionMaxFactor = 1
    GrabEventDevice = 1
    TapAndDragGesture = 1
    AreaLeftEdge = 0
    AreaRightEdge = 0
    AreaTopEdge = 0
    AreaBottomEdge = 0

 If, after a system restart, you can do this to see if the psmouse module is running.

$ /sbin/lsmod

will list all modules loaded. make sure psmouse is in there.

If not, run

$ /sbin/modprobe psmouse

When I force the mouse driver to be removed and restarted, I see this in dmesg output:

[284927.600654] alps.c: E6 report: 00 00 64
[284927.619964] alps.c: E7 report: 73 02 64
[284928.066718] alps.c: E6 report: 00 00 64
[284928.085731] alps.c: E7 report: 73 02 64
[284928.201449] alps.c: trackstick E7 report: 42 02 3c
[284928.626809] input: DualPoi...

Read more...

Revision history for this message
Francisco Cribari (cribari) wrote :

When upgrading to kernel 3.2.0-15 via PPA (Linux Mint 12, 64 bit) I got:

Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms 3.2.0-15-generic /boot/vmlinuz-3.2.0-15-generic
Error! Bad return status for module build on kernel: 3.2.0-15-generic (x86_64)
Consult /var/lib/dkms/psmouse-alps/0.10/build/make.log for more information.
Error! Bad return status for module build on kernel: 3.2.0-15-generic (x86_64)
Consult /var/lib/dkms/virtualbox-guest/4.1.2/build/make.log for more information.

The contents of /var/lib/dkms/psmouse-alps/0.10/build/make.log:

cribari@darwin ~ $ cat /var/lib/dkms/psmouse-alps/0.10/build/make.log
DKMS make.log for psmouse-alps-0.10 for kernel 3.2.0-15-generic (x86_64)
Wed Feb 8 13:17:51 BRT 2012
make: Entering directory `/usr/src/linux-headers-3.2.0-15-generic'
  LD /var/lib/dkms/psmouse-alps/0.10/build/src/built-in.o
  CC [M] /var/lib/dkms/psmouse-alps/0.10/build/src/psmouse-base.o
  CC [M] /var/lib/dkms/psmouse-alps/0.10/build/src/synaptics.o
  CC [M] /var/lib/dkms/psmouse-alps/0.10/build/src/alps.o
/var/lib/dkms/psmouse-alps/0.10/build/src/alps.c:135:33: error: expected ‘)’ before ‘int’
make[2]: *** [/var/lib/dkms/psmouse-alps/0.10/build/src/alps.o] Error 1
make[1]: *** [/var/lib/dkms/psmouse-alps/0.10/build/src] Error 2
make: *** [_module_/var/lib/dkms/psmouse-alps/0.10/build] Error 2
make: Leaving directory `/usr/src/linux-headers-3.2.0-15-generic'

Revision history for this message
Walter Garcia-Fontes (walter-garcia) wrote :

I've got this same error when updating to Ubuntu 12.04 Beta 1 from 11.10. But I think the current kernel in this version (3.2.0-17-generic #27-Ubuntu) already incorporates the new module since the touchpad is perfectly recognized and working correctly. Can this bug be marked as fixed released and may be ask to SRU it to previous Ubuntu releases if there is interest?

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

It _is_ marked fix released where appropriate. The other bug statues ought to be updated though. I'll go ahead and do that.

This isn't the type of change we'd normally backport though, and I don't have plans to do so.

Changed in xserver-xorg-input-synaptics (Ubuntu Lucid):
status: Confirmed → Invalid
Revision history for this message
Seth Forshee (sforshee) wrote :

Ugh, I got one updated and now launchpad times out every time I try. I give up.

Changed in touchpad-indicator:
status: New → Invalid
Changed in baltix:
status: New → Invalid
Changed in linux (Ubuntu Lucid):
status: Triaged → Invalid
Changed in linux (Ubuntu Maverick):
status: Triaged → Invalid
Changed in xserver-xorg-input-synaptics (Ubuntu Maverick):
status: Confirmed → Invalid
Revision history for this message
Luke (lukeckelly) wrote :

This command did not work "gconftool-2 --set --type boolean
/desktop/gnome/peripherals/touchpad/touchpad_enabled true"

I was also getting a lot of "module psmouse does not exist in proc/modules".

The only thing which worked was "sudo modprobe -r psmouse; sudo modprobe psmouse".

I am running an Asus Eee PC with Ubuntu 11.10 32-bit. Asus Eee PC has 1GB or RAM and an Intel Atom 1.66Ghz single-core.

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/550625

tags: added: laptop-testing
Revision history for this message
george panta (adgeruy) wrote :

Hello everyone,

I have made a patch that adds semi-mt support to v4 Alps touchpads.
Unfortunately it is quite buggy.

On my Vaio the Left Half of the Touchpad is quite erratic (synclient -m 10
shows f alternating constantly between 1 and 2 fingers with one finger touching
it).

The right Half of the Touchpad (i.e. if x>1000 in synclient -m x) works as
intended (two finger scrolling/taps and three fingers are recognized).

I have used the Documentation from Seth Forshee and essentially copied his
work.

I would really appreciate it if someone could finalize the patch.
I hope Seth could revisit this :)

P.S. I am not a programmer (I guess programmers will understand this) :)

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

george: I suggest you use bug #954109 for the v4 semi-MT support.

Changed in linux:
status: Confirmed → Fix Released
Revision history for this message
quarara (classic-art-showcase) wrote :

The fix doesn't work on Dell Inspiron N5110 15R.

Revision history for this message
earthmeLon (earthmelon) wrote :

* Linux x64 3.0.0-17-generic
* Sony Vaio VPCF126FM

I have installed the latest package (10) and removed/added the module from the kernel.
dmesg shows "ImPS/2 Generic Wheel Mouse as /devices/platform/i8042/serio1/input/input18"

I would be very grateful if anybody could provide me with any additional information that may get my touchpad working.
I am more than willing to provide any information that may help.

My ultimate goal is to disable the touchpad while typing, but I really do want to experiment with multi-touch features.

Thanks for everybody who has contributed thus far.

Revision history for this message
earthmeLon (earthmelon) wrote :

* Linux 3.3.0-030300-generic #201203182135 SMP Mon Mar 19
* Sony Vaio VPCF126FM

Now I am unable to install your packages (I've tried 10 and 11).

sudo dpkg -i psmouse-alps-dkms_0.10_all.deb
Selecting previously deselected package psmouse-alps-dkms.
(Reading database ... 419345 files and directories currently installed.)
Unpacking psmouse-alps-dkms (from psmouse-alps-dkms_0.10_all.deb) ...
Setting up psmouse-alps-dkms (0.10) ...

Loading tarball for psmouse-alps-0.10
Loading /var/lib/dkms/psmouse-alps/0.10/2.6.38-11-generic/x86_64...

DKMS: ldtarball Completed.

Creating symlink /var/lib/dkms/psmouse-alps/0.10/source ->
                 /usr/src/psmouse-alps-0.10

DKMS: add Completed.
First Installation: checking all kernels...
Building only for 3.3.0-030300-generic
Building for architecture x86_64
Building initial module for 3.3.0-030300-generic
ERROR (dkms apport): unable to determine source package for psmouse-alps-dkms
Error! Bad return status for module build on kernel: 3.3.0-030300-generic (x86_64)
Consult /var/lib/dkms/psmouse-alps/0.10/build/make.log for more information.

Revision history for this message
Sesquipedalian Overtones (sesquipedalian-overtones) wrote :

@Seth, thanks for the driver. Great job.

I have an HP Pavilion dm4-2075 running Ubuntu 11.10.

After installing version 0.10 of your driver (post #492), I got the following results:

  + Two-finger vertical scrolling works

  + Two-finger horizontal scrolling works

  + Disabled while typing works

None of these worked before.

Once again, thanks. I was so impressed by the way this community works
that I finally decided to join. I have been using Ubuntu for over
5 years now, and I feel I should contribute to this great project
somehow. Don't know how yet, but I'll find a way.

Revision history for this message
Martin Bartlett (martin-j-bartlett) wrote :
Revision history for this message
Cliff Wells (cliff-develix) wrote :

Martin, that's a 404.

Revision history for this message
Steffen Neumann (sneumann) wrote :

Hi,
I am coming from bug #1041916, where the ALPS device on Fujitsu Lifebook AH530 is not recognized
by psmouse.ko, neither on precise, quantal, nor mainline linux-image-3.6.0-999-generic 3.6.0-999.20120830405,
Since psmouse-alps-dkms has helped some people to have their ALPS detected,
does it make sense to check that ? Where did it go ?

Steffen

Revision history for this message
Hemanti (henrikmarcel) wrote :

Hi,

I was very glad, when I could finally use my touchpad on my HP Pavillion dm4-2000sg. Thank you again very much for that great work and your great support here, Seth.

Unfortunately, I have upgraded my system to Ubuntu 12.04 the other day and the touchpad stopped working. I tried uninstalling, reinstalling the driver, rebooted after each change loaded the module manually, but nothing helped. :( What can I do?

Btw, I still have the debug outputs about those random clicks that just happen from time to time on my hard drive. Are you still interested, Seth?

Regards,
Henrik

Revision history for this message
Hemanti (henrikmarcel) wrote :

After an upgrade to Quantal, it still does not work. :( Any ideas, anyone?

Henrik

Revision history for this message
Owais Idris (owaistnt) wrote :

I have Updraded to 15.04 at HP pavilion 14 Notebook pc. With Apls touchpad but still touch works Scroll doesnt.
Without scroll life is not easy and with extra mouse laptop is not so much independent.
Please help I have been searching this from months now.

Revision history for this message
Owais Idris (owaistnt) wrote :

Yes I solved this problem All You need to do is

Install latest kernal 4.1 for linux [Kernal 4.1.6][1]http://ubuntuportal.com/2015/08/kernel-4-1-6-lts-ubuntu.html

Reboot

Now you will find Touchpad setting in your mouse setting which for previously not there

But incase your Wireless might not work: here is solution [Download latest bcmwl or Bradcom wireless Firmware(If it apply to you)]

https://launchpad.net/ubuntu/+source/bcmwl/6.30.223.248+bdcom-0ubuntu3/+build/7418309

Download deb file and execute(Open Terminal go to folder path).

sudo dpkg -i bcmwl*.deb

Your wireless will now appear. Thats it.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Bug attachments

Remote bug watches

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