Thread (2 messages) 2 messages, 1 author, 2012-07-05

Re: Bug#679750: Lenovo G360: ALPS Touchpad Recognized as "PS/2 Generic Mouse"

From: littlebat <hidden>
Date: 2012-07-05 07:43:11

Very sorry, I post the wrong "xinput --list" information, it's my Asus
EEEPC. Here's the correct "xinput --list" information of my Lenovo G360:

 ⎡ 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)]

On Thu, 5 Jul 2012 11:30:57 +0800
littlebat [off-list ref] wrote:
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, send mail to 679750-unsubscribe@bugs.debian.org.
--
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help