Logitech USB PS/2 mouse is mistaken for Elantech Touchpad

Bug #318722 reported by Sergey Romanov
6
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Medium
Andy Whitcroft

Bug Description

My Logitech PS/2 USB mouse on PS/2 adapter is mistaken by 2.6.28 kernel for Elantech Touchpad

Relevant kernel patch:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=9ab7b25e6a30d2292bd6d4913b71c918ee1e21b4

I'm currently using a workaround suggested here:
http://bbs.archlinux.org/viewtopic.php?pid=482408

That is to add line

options psmouse proto=imps

into /etc/modprobe.d/options

and it works.

I've attached lshal output before and after the workaround.

Thanks,

Sergey Romanov

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
Lsusb: Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Package: linux-image-2.6.28-4-generic 2.6.28-4.11
ProcCmdLine: root=UUID=37ddd6be-875a-46a5-9bba-125f4ea30f94 ro quiet splash
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.28-4.11-generic
SourcePackage: linux

Related branches

Revision history for this message
Sergey Romanov (sml-uni) wrote :
Revision history for this message
Sergey Romanov (sml-uni) wrote :

Some additional infos

Mouse model is M-BT58

The mouse is misindentified only if attached over PS/2 adapter. If attached directly on an USB port, then it is recognised properly as Logitech USB-PS/2 Optical Mouse (lshal output for this case attached).

Revision history for this message
Sergey Romanov (sml-uni) wrote :

'udevadm info --attribute-walk' output for the mouse attached on PS/2 port.
VendorID=0002, ProductID=000E

Revision history for this message
Sergey Romanov (sml-uni) wrote :

'udevadm info --attribute-walk' output for the mouse attached on USB port.
VendorID=046D, ProductID=C03E

Changed in linux:
importance: Undecided → Medium
status: New → Triaged
Andy Whitcroft (apw)
Changed in linux:
assignee: nobody → apw
status: Triaged → In Progress
Revision history for this message
Andy Whitcroft (apw) wrote :

Ok. I have taken the a look at the patch linked from the introduction to this patch. Following that thread I have taken the patch and improved it as suggested in that thread. I have applied the improved patch to the latest Jaunty kernel and built test kernels with that patch applied. Could those of you with this hardware try this out with any workarounds disabled, and report back here. Kernels can be found at the URL below:

    http://people.ubuntu.com/~apw/lp318722-jaunty/

Changed in linux:
status: In Progress → Incomplete
Revision history for this message
Sergey Romanov (sml-uni) wrote :

Yep, it works for me. dmesg output attached. I'm also sending a comment to the folks with real Elantech hardware, affected by LP#123775 to check out that this fix doesn't bring any regressions to them.

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

@Sergey -- that sounds like an excellent plan. Will get with the partial patch reporter and find out what happened to it.

Andy Whitcroft (apw)
Changed in linux:
status: Incomplete → In Progress
Revision history for this message
Xavier ALT (dex-phx) wrote :

Hi guys,

don't know if this will help, but while searching for a solution for bugs lp:335297, i find that they're now a official patch upstream for 2.6.29+ concerning the logitech mouse which are detected as elantech touchpad.

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=9ab7b25e6a30d2292bd6d4913b71c918ee1e21b4

Revision history for this message
Sergey Romanov (sml-uni) wrote :

Thanks. Well, it's actually in 2.6.29-rc7 already:
http://lwn.net/Articles/321778/

Sergey Romanov (sml-uni)
description: updated
Andy Whitcroft (apw)
Changed in linux:
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux - 2.6.28-11.35

---------------
linux (2.6.28-11.35) jaunty; urgency=low

  [ Amit Kucheria ]

  * Updating imx51 configs

  [ Andy Whitcroft ]

  * SAUCE: hotkey quirks for various Zeptro Znote and Fujitsu Amilo laptops
    - LP: #330259

  [ Tim Gardner ]

  * Revert "SAUCE: (drop after 2.6.28) eCryptfs: Don't encrypt file key
    with filename key". Use upstream commit.
  * CONFIG_SECURITY_DEFAULT_MMAP_MIN_ADDR set to upstream defaults.
    64K for x86'en, 32K for ARM
    - LP: #344955

  [ Upstream Kernel Changes ]

  * eCryptfs: don't encrypt file key with filename key
  * libata: set NODEV_HINT for 0x7f status
    - LP: #293218
  * USB: cdc-acm: Add another conexant modem to the quirks
    - LP: #323829
  * Input: elantech - touchpad driver miss-recognising logitech mice
    - LP: #318722

 -- Tim Gardner <email address hidden> Wed, 18 Mar 2009 08:52:46 -0600

Changed in linux:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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