linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Bug#679750: Lenovo G360: ALPS Touchpad Recognized as "PS/2 Generic Mouse"
@ 2012-07-05  2:58 littlebat
  2012-07-05  3:20 ` Jonathan Nieder
  0 siblings, 1 reply; 5+ messages in thread
From: littlebat @ 2012-07-05  2:58 UTC (permalink / raw)
  To: linux-input; +Cc: seth.forshee, 679750, jrnieder

[-- Attachment #1: Type: text/plain, Size: 6451 bytes --]

found 679750 linux-2.6/2.6.32-45 , linux-2.6/3.2.4-1 , linux/3.4.4-1
quit

Hi,
Dear kernel developers.

According to the advice at " http://bugs.debian.org/679750 ", I report a
kernel bug about ALPS touchpad to you.

My lenovo G360 has an ALPS touchpad, show in Windows 7 Home Editition
OEM in this laptop. Under Debian Squeeze or Ubuntu 12.04 LTS LiveCD in same
laptop, the left and
right key, single and double tap, tracking  of touchpad works well.
But, there isn't touchpad tab in gnome mouse setting dialog, so I
can't setup edge scrolling and disable touchpad on typing. xinput
shows it is a "PS/2 Generic Mouse". Below is the detail information.

System information:

Debian Squeeze, tried kernel: 2.6.32-45, 3.2.4-1~bpo60+1,
3.4.4-1~experimental.1
And tried Ubuntu 12.04 LTS LiveCD, kernel: 3.2 (has the same bug as in
Debian)

The below information come from Debian Squeeze with 3.2.4-1~bpo60+1 kernel.
The other kerneld and sytem tried above should has the same result.

"synclient -l" shows:

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

"xinput --list" shows:

 ⎡ Virtual core pointer                        id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                  id=4    [slave  pointer
(2)]
⎜   ↳  USB OPTICAL MOUSE                          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)]
    ↳ Video Bus                                   id=8    [slave  keyboard
(3)]
    ↳ Power Button                                id=9    [slave  keyboard
(3)]
    ↳ Sleep Button                                id=10    [slave  keyboard
(3)]
    ↳ Lenovo EasyCamera                           id=12    [slave  keyboard
(3)]
    ↳ AT Translated Set 2 keyboard                id=13    [slave  keyboard
(3)]
    ↳ Ideapad extra buttons                       id=15    [slave  keyboard
(3)]
    ↳ ACPI Virtual Keyboard Device                id=16    [slave  keyboard
(3)]


"cat /proc/bus/input/devices" shows (only post the section of "PS/2 Generic
Mouse"):
I: Bus=0011 Vendor=0002 Product=0001 Version=0000
N: Name="PS/2 Generic Mouse"
P: Phys=isa0060/serio4/input0
S: Sysfs=/devices/platform/i8042/serio4/input/input9
U: Uniq=
H: Handlers=mouse1 event9
B: PROP=0
B: EV=7
B: KEY=70000 0 0 0 0
B: REL=3

Some related section in "/var/log/Xorg.0.log" is:

[    30.929] (II) config/udev: Adding input device PS/2 Generic Mouse
(/dev/input/event9)
[    30.929] (**) PS/2 Generic Mouse: Applying InputClass "evdev pointer
catchall"
[    30.929] (II) Using input driver 'evdev' for 'PS/2 Generic Mouse'
[    30.929] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[    30.929] (**) PS/2 Generic Mouse: always reports core events
[    30.929] (**) PS/2 Generic Mouse: Device: "/dev/input/event9"
[    30.929] (--) PS/2 Generic Mouse: Found 3 mouse buttons
[    30.929] (--) PS/2 Generic Mouse: Found relative axes
[    30.929] (--) PS/2 Generic Mouse: Found x and y relative axes
[    30.929] (II) PS/2 Generic Mouse: Configuring as mouse
[    30.929] (**) PS/2 Generic Mouse: YAxisMapping: buttons 4 and 5
[    30.929] (**) PS/2 Generic Mouse: EmulateWheelButton: 4,
EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[    30.929] (**) Option "config_info"
"udev:/sys/devices/platform/i8042/serio4/input/input9/event9"
[    30.929] (II) XINPUT: Adding extended input device "PS/2 Generic Mouse"
(type: MOUSE)
[    30.929] (II) PS/2 Generic Mouse: initialized for relative axes.
[    30.929] (**) PS/2 Generic Mouse: (accel) keeping acceleration scheme 1
[    30.929] (**) PS/2 Generic Mouse: (accel) acceleration profile 0
[    30.929] (**) PS/2 Generic Mouse: (accel) acceleration factor: 2.000
[    30.929] (**) PS/2 Generic Mouse: (accel) acceleration threshold: 4
[    30.930] (II) config/udev: Adding input device PS/2 Generic Mouse
(/dev/input/mouse1)

There is no touchpad or synaptics information in the "/var/log/Xorg.0.log"

I have tried too many methods found on internet, such as:

1, add "psmouse.proto=imps(or exps)" into kernel parameters;

2, add file "etc/X11/xorg.d/10-synaptics.conf", the content as below:

Section "InputClass"
    Identifier      "touchpad catchall"
    Driver          "synaptics"
    MatchIsTouchpad "on"
    MatchDevicePath "/dev/input/event*"
    Option          "SHMConfig" "on"
    Option          "TapButton1" "1"
    Option          "TapButton2" "2"
    Option          "TapButton3" "3"
    Option          "VertTwoFingerScroll" "on"
    Option          "HorizTwoFingerScroll" "on"
EndSection

3, Thanks to the help of "How to disable Alps touchpad while typing or when
using an external mouse in Linux" at:
http://www.imega.cz/Linux-Alps-Touchpad-Dell-E6410/Linux-Alps-touchpad-disable.php
I resolved the problem of "disable touchpad on typing" by using a python
script, but I can't make edge scrolling work yet.

According to the advice of the page above, I downloaded linux-source-3.2,
and applied patch at " https://patchwork.kernel.org/patch/118834/ "), I
have not use cat *.patch | patch -p1, just copy the modified code into
linux-source-3.2 and recompile psmouse.ko. But no lucky, edge scrolling
can't work.

4, etc..

My DMI information:

me@debian:/sys/class/dmi/id$ for file in *; do if [ -f "$file" -a -r
"$file" ]; then echo $file: `cat $file` ; fi; done
bios_date: 10/27/2011
bios_vendor: LENOVO
bios_version: 61CN06WW
board_asset_tag:
board_name: LL1
board_vendor: Lenovo
board_version: Rev 1.0
chassis_asset_tag: No Asset Tag
chassis_type: 10
chassis_vendor: Lenovo
chassis_version: Rev 1.0
modalias:
dmi:bvnLENOVO:bvr61CN06WW:bd10/27/2011:svnLENOVO:pnG360:pvrRev1.0:rvnLenovo:rnLL1:rvrRev1.0:cvnLenovo:ct10:cvrRev1.0:
product_name: G360
product_version: Rev 1.0
sys_vendor: LENOVO
uevent:
MODALIAS=dmi:bvnLENOVO:bvr61CN06WW:bd10/27/2011:svnLENOVO:pnG360:pvrRev1.0:rvnLenovo:rnLL1:rvrRev1.0:cvnLenovo:ct10:cvrRev1.0:

Tell me If need more detail information.

Thanks.

[-- Attachment #2: Type: text/html, Size: 7985 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Lenovo G360: ALPS Touchpad Recognized as "PS/2 Generic Mouse"
  2012-07-05  2:58 Bug#679750: Lenovo G360: ALPS Touchpad Recognized as "PS/2 Generic Mouse" littlebat
@ 2012-07-05  3:20 ` Jonathan Nieder
  2012-07-05  7:45   ` littlebat
  0 siblings, 1 reply; 5+ messages in thread
From: Jonathan Nieder @ 2012-07-05  3:20 UTC (permalink / raw)
  To: littlebat; +Cc: linux-input, seth.forshee

(dropping Debian bug from cc list)
Hi,

littlebat wrote:

>                                                               I report a
> kernel bug about ALPS touchpad to you.
>
> My lenovo G360 has an ALPS touchpad, show in Windows 7 Home Editition
> OEM in this laptop. Under Debian Squeeze or Ubuntu 12.04 LTS LiveCD in same
> laptop, the left and
> right key, single and double tap, tracking  of touchpad works well.
> But, there isn't touchpad tab in gnome mouse setting dialog, so I
> can't setup edge scrolling and disable touchpad on typing. xinput
> shows it is a "PS/2 Generic Mouse".
[...]
> Tell me If need more detail information.

Thanks.  Forgive me for being dense: can you spell this out a little
more for me?

Is the following summary correct?

 - 2.6.32.y (Debian squeeze) works well, using xinput or synclient to
   configure
 - 3.2.y (Ubuntu 12.04 LTS) sees a generic mouse, unconfigurable
 - 3.2.y (Debian squeeze-backports) is likewise unconfigurable
 - 3.4.4 (Debian experimental) is also unconfigurable

Could you provide full "dmesg" output from booting a working and
non-working kernel?

Hope that helps,
Jonathan

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Lenovo G360: ALPS Touchpad Recognized as "PS/2 Generic Mouse"
@ 2012-07-05  3:30 littlebat
  0 siblings, 0 replies; 5+ messages in thread
From: littlebat @ 2012-07-05  3:30 UTC (permalink / raw)
  To: linux-input; +Cc: seth.forshee, 679750, jrnieder

found 679750 linux-2.6/2.6.32-45 , linux-2.6/3.2.4-1 , linux/3.4.4-1
quit

Because send by web gmail.com has html content so failed send to
linux-input@vger.kernel.org at first time, so send again.

Hi,
Dear kernel developers.

According to the advice at " http://bugs.debian.org/679750 ", I report
a kernel bug about ALPS touchpad to you.

My lenovo G360 has an ALPS touchpad, show in Windows 7 Home Editition
OEM in this laptop. Under Debian Squeeze in same laptop, the left and
right key, single and double tap, tracking  of touchpad works well.
But, there isn't touchpad tab in gnome mouse setting dialog, so I
can't setup edge scrolling and disable touchpad on typing. xinput
shows it is a "PS/2 Generic Mouse". Below is the detail information.

System information:

Debian Squeeze, tried kernel: 2.6.32-45, 3.2.4-1~bpo60+1,
3.4.4-1~experimental.1 And tried Ubuntu 12.04 LTS LiveCD, kernel: 3.2
(has the same bug as in Debian)

"synclient -l" shows:

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

"xinput --list" shows:
⎡ Virtual core pointer                    	id=2	[master
pointer  (3)] ⎜   ↳ Virtual core XTEST pointer
id=4	[slave  pointer  (2)] ⎜   ↳ USB
Mouse                               	id=10	[slave
pointer  (2)] ⎜   ↳ ETPS/2 Elantech Touchpad
id=14	[slave  pointer  (2)] ⎣ Virtual core
keyboard                   	id=3	[master keyboard (2)] ↳
Virtual core XTEST keyboard             	id=5	[slave
keyboard (3)] ↳ Power Button
id=6	[slave  keyboard (3)] ↳ Video
Bus                               	id=7	[slave  keyboard
(3)] ↳ Power Button                            	id=8
[slave  keyboard (3)] ↳ Sleep Button
id=9	[slave  keyboard (3)] ↳
Digital_Camera                          	id=11	[slave
keyboard (3)] ↳ Asus EeePC extra buttons
id=12	[slave  keyboard (3)] ↳ AT Translated Set 2
keyboard            	id=13	[slave  keyboard (3)] ↳ ACPI
Virtual Keyboard Device            	id=15	[slave
keyboard (3)]

"cat /proc/bus/input/devices" shows (only post the section of "PS/2
Generic Mouse"):
I: Bus=0011 Vendor=0002 Product=0001 Version=0000
N: Name="PS/2 Generic Mouse"
P: Phys=isa0060/serio4/input0
S: Sysfs=/devices/platform/i8042/serio4/input/input9
U: Uniq=
H: Handlers=mouse1 event9
B: PROP=0
B: EV=7
B: KEY=70000 0 0 0 0
B: REL=3

Some related section in "/var/log/Xorg.0.log" is:

[    30.929] (II) config/udev: Adding input device PS/2 Generic Mouse
(/dev/input/event9)
[    30.929] (**) PS/2 Generic Mouse: Applying InputClass "evdev pointer
catchall"
[    30.929] (II) Using input driver 'evdev' for 'PS/2 Generic Mouse'
[    30.929] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[    30.929] (**) PS/2 Generic Mouse: always reports core events
[    30.929] (**) PS/2 Generic Mouse: Device: "/dev/input/event9"
[    30.929] (--) PS/2 Generic Mouse: Found 3 mouse buttons
[    30.929] (--) PS/2 Generic Mouse: Found relative axes
[    30.929] (--) PS/2 Generic Mouse: Found x and y relative axes
[    30.929] (II) PS/2 Generic Mouse: Configuring as mouse
[    30.929] (**) PS/2 Generic Mouse: YAxisMapping: buttons 4 and 5
[    30.929] (**) PS/2 Generic Mouse: EmulateWheelButton: 4,
EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[    30.929] (**) Option "config_info"
"udev:/sys/devices/platform/i8042/serio4/input/input9/event9"
[    30.929] (II) XINPUT: Adding extended input device "PS/2 Generic
Mouse" (type: MOUSE)
[    30.929] (II) PS/2 Generic Mouse: initialized for relative axes.
[    30.929] (**) PS/2 Generic Mouse: (accel) keeping acceleration
scheme 1 [    30.929] (**) PS/2 Generic Mouse: (accel) acceleration
profile 0 [    30.929] (**) PS/2 Generic Mouse: (accel) acceleration
factor: 2.000 [    30.929] (**) PS/2 Generic Mouse: (accel)
acceleration threshold: 4 [    30.930] (II) config/udev: Adding input
device PS/2 Generic Mouse (/dev/input/mouse1)

There is no touchpad or synaptics information in the
"/var/log/Xorg.0.log"

I have tried too many methods found on internet, such as:

1, add "psmouse.proto=imps(or exps)" into kernel parameters;

2, add file "etc/X11/xorg.d/10-synaptics.conf", the content as below:

Section "InputClass"
    Identifier      "touchpad catchall"
    Driver          "synaptics"
    MatchIsTouchpad "on"
    MatchDevicePath "/dev/input/event*"
    Option          "SHMConfig" "on"
    Option          "TapButton1" "1"
    Option          "TapButton2" "2"
    Option          "TapButton3" "3"
    Option          "VertTwoFingerScroll" "on"
    Option          "HorizTwoFingerScroll" "on"
EndSection

3, Thanks to the help of "How to disable Alps touchpad while typing or
when using an external mouse in Linux" at:
http://www.imega.cz/Linux-Alps-Touchpad-Dell-E6410/Linux-Alps-touchpad-disable.php
I resolved the problem of "disable touchpad on typing" by using a
python script, but I can't make edge scrolling work yet. 

According to the advice of the page above, I downloaded
linux-source-3.2, and applied patch at "
https://patchwork.kernel.org/patch/118834/ ": patch name:
Resend-Add-support-for-Intellimouse-Mode-in-ALPS-touchpad-on-Dell-E2-series-Laptops.patch,
see attachment), I have not use cat *.patch | patch -p1, just copy the
modified code into linux-source-3.2 and recompile psmouse.ko. But no
lucky, edge scrolling can't work.

My DMI information:

me@debian:/sys/class/dmi/id$ for file in *; do if [ -f "$file" -a -r
"$file" ]; then echo $file: `cat $file` ; fi; done
bios_date: 10/27/2011
bios_vendor: LENOVO
bios_version: 61CN06WW
board_asset_tag:
board_name: LL1
board_vendor: Lenovo
board_version: Rev 1.0
chassis_asset_tag: No Asset Tag
chassis_type: 10
chassis_vendor: Lenovo
chassis_version: Rev 1.0
modalias:
dmi:bvnLENOVO:bvr61CN06WW:bd10/27/2011:svnLENOVO:pnG360:pvrRev1.0:rvnLenovo:rnLL1:rvrRev1.0:cvnLenovo:ct10:cvrRev1.0:
product_name: G360 product_version: Rev 1.0
sys_vendor: LENOVO
uevent:
MODALIAS=dmi:bvnLENOVO:bvr61CN06WW:bd10/27/2011:svnLENOVO:pnG360:pvrRev1.0:rvnLenovo:rnLL1:rvrRev1.0:cvnLenovo:ct10:cvrRev1.0:

Tell me If need more detail information.

Thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Lenovo G360: ALPS Touchpad Recognized as "PS/2 Generic Mouse"
  2012-07-05  3:20 ` Jonathan Nieder
@ 2012-07-05  7:45   ` littlebat
  2012-07-05 13:30     ` Seth Forshee
  0 siblings, 1 reply; 5+ messages in thread
From: littlebat @ 2012-07-05  7:45 UTC (permalink / raw)
  To: Jonathan Nieder; +Cc: linux-input, seth.forshee, 679750

On Wed, 4 Jul 2012 22:20:09 -0500
Jonathan Nieder <jrnieder@gmail.com> wrote:

> (dropping Debian bug from cc list)
> Hi,
> 
> littlebat wrote:
> 
> >                                                               I
> > report a kernel bug about ALPS touchpad to you.
> >
> > My lenovo G360 has an ALPS touchpad, show in Windows 7 Home
> > Editition OEM in this laptop. Under Debian Squeeze or Ubuntu 12.04
> > LTS LiveCD in same laptop, the left and
> > right key, single and double tap, tracking  of touchpad works well.
> > But, there isn't touchpad tab in gnome mouse setting dialog, so I
> > can't setup edge scrolling and disable touchpad on typing. xinput
> > shows it is a "PS/2 Generic Mouse".
> [...]
> > Tell me If need more detail information.
> 
> Thanks.  Forgive me for being dense: can you spell this out a little
> more for me?
> 
> Is the following summary correct?
> 
>  - 2.6.32.y (Debian squeeze) works well, using xinput or synclient to
>    configure
>  - 3.2.y (Ubuntu 12.04 LTS) sees a generic mouse, unconfigurable
>  - 3.2.y (Debian squeeze-backports) is likewise unconfigurable
>  - 3.4.4 (Debian experimental) is also unconfigurable

No, none of these four kernels can configure a full functional ALPS
touchpad. Under all of these four kernels:
1, "synclient -l" shows "Couldn't find synaptics properties. No
synaptics driver loaded? "
2, "xinput --list" shows it is a "PS/2 Generic Mouse"
3, "cat /proc/bus/input/devices" shows it is "N: Name="PS/2 Generic
Mouse""
4, Can't find any string like "touchpad", "synaptics" in
"/var/log/Xorg.0.log" 
5, There isn't touchpad tab in gnome mouse setting dialog, so I
can't setup edge scrolling and disable touchpad on typing.

> Could you provide full "dmesg" output from booting a working and
> non-working kernel?

The laptop isn't here, I will post full "dmesg" output under "3.4.4
(Debian experimental)" kernel later.

Thanks. 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Lenovo G360: ALPS Touchpad Recognized as "PS/2 Generic Mouse"
  2012-07-05  7:45   ` littlebat
@ 2012-07-05 13:30     ` Seth Forshee
  0 siblings, 0 replies; 5+ messages in thread
From: Seth Forshee @ 2012-07-05 13:30 UTC (permalink / raw)
  To: littlebat; +Cc: Jonathan Nieder, linux-input, 679750

On Thu, Jul 05, 2012 at 03:45:45PM +0800, littlebat wrote:
> > Is the following summary correct?
> > 
> >  - 2.6.32.y (Debian squeeze) works well, using xinput or synclient to
> >    configure
> >  - 3.2.y (Ubuntu 12.04 LTS) sees a generic mouse, unconfigurable
> >  - 3.2.y (Debian squeeze-backports) is likewise unconfigurable
> >  - 3.4.4 (Debian experimental) is also unconfigurable
> 
> No, none of these four kernels can configure a full functional ALPS
> touchpad. Under all of these four kernels:
> 1, "synclient -l" shows "Couldn't find synaptics properties. No
> synaptics driver loaded? "
> 2, "xinput --list" shows it is a "PS/2 Generic Mouse"
> 3, "cat /proc/bus/input/devices" shows it is "N: Name="PS/2 Generic
> Mouse""
> 4, Can't find any string like "touchpad", "synaptics" in
> "/var/log/Xorg.0.log" 
> 5, There isn't touchpad tab in gnome mouse setting dialog, so I
> can't setup edge scrolling and disable touchpad on typing.

ALPS refuses to provide information about their touchpad protocols, so
any support we have for ALPS touchpads is based on reverse engineering
the protocol. It's likely that yours uses some version of the protocol
that isn't supported, in which case someone with access to the hardware
will need to do the reverse engineering work.

There's a slight chance that it uses a known protocol but just has an
unknown model signature. In that case the fix is easy, but it will
require some trial and error to see if that's the case.

> > Could you provide full "dmesg" output from booting a working and
> > non-working kernel?
> 
> The laptop isn't here, I will post full "dmesg" output under "3.4.4
> (Debian experimental)" kernel later.

When you send dmesg it would help if you could use a build with the
following line added to the top of drivers/input/mouse/alps.c, before
the includes.

 #define DEBUG

This will cause the model signature for your touchpad to be included in
the log.

Thanks,
Seth


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-07-05 13:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-05  2:58 Bug#679750: Lenovo G360: ALPS Touchpad Recognized as "PS/2 Generic Mouse" littlebat
2012-07-05  3:20 ` Jonathan Nieder
2012-07-05  7:45   ` littlebat
2012-07-05 13:30     ` Seth Forshee
  -- strict thread matches above, loose matches on Subject: below --
2012-07-05  3:30 littlebat

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).