Bug 11956

Summary: psmouse.c TouchPad lost synchronisation on disabling wlan0
Product: Drivers Reporter: Jens Weibler (bugzilla-kernel)
Component: network-wirelessAssignee: drivers_network-wireless (drivers_network-wireless)
Status: REJECTED INSUFFICIENT_DATA    
Severity: normal CC: dmitry.torokhov, reinette.chatre
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 2.6.28-rc3 Subsystem:
Regression: --- Bisected commit-id:

Description Jens Weibler 2008-11-05 04:32:30 UTC
Latest working kernel version: ?
Earliest failing kernel version: ?
Distribution: Gentoo
Hardware Environment: Dell Latitude E6500

Disabling wlan0 (ifconfig wlan0 down) causes reconnect of my TouchPad:
Nov  5 13:10:41 jtb [ 1691.213008] psmouse.c: DualPoint TouchPad at isa0060/serio1/input0 lost synchronization, throwing 1 bytes away.
Nov  5 13:10:41 jtb [ 1691.232202] iwlagn 0000:0c:00.0: PCI INT A disabled
Nov  5 13:10:42 jtb [ 1691.998700] psmouse.c: resync failed, issuing reconnect request
Nov  5 13:10:43 jtb [ 1693.479513] input: PS/2 Generic Mouse as /class/input/input11

It happens if I use the TouchPad shortly after disabling wlan0. Beside the TouchPad the whole system hangs for a short while. For this reason the selected component is not Input Devices. Adding "i8042.reset i8042.nomux" to the kernel options doesn't help.


# lspci
00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07)
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
00:19.0 Ethernet controller: Intel Corporation 82567LM Gigabit Network Connection (rev 03)
00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03)
00:1a.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 (rev 03)
00:1c.3 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93)
00:1f.0 ISA bridge: Intel Corporation ICH9M-E LPC Interface Controller (rev 03)
00:1f.2 RAID bus controller: Intel Corporation Mobile 82801 SATA RAID Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 03)
03:01.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev ba)
03:01.1 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 04)
03:01.2 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 21)
03:01.3 System peripheral: Ricoh Co Ltd R5C843 MMC Host Controller (rev 11)
0c:00.0 Network controller: Intel Corporation PRO/Wireless 5300 AGN [Shiloh] Network Connection
Comment 1 Reinette Chatre 2008-11-11 13:17:55 UTC
Is this duplicate of http://www.intellinuxwireless.org/bugzilla/show_bug.cgi?id=1790 ?
Comment 2 Jens Weibler 2008-11-12 01:19:43 UTC
(In reply to comment #1)
> Is this duplicate of
> http://www.intellinuxwireless.org/bugzilla/show_bug.cgi?id=1790 ?

Yes, seems so.
Comment 3 Reinette Chatre 2008-12-02 12:25:19 UTC
Please try http://marc.info/?l=linux-wireless&m=122824886623698&w=2
Comment 4 Jens Weibler 2008-12-02 15:00:42 UTC
I manually patched my 2.6.28-rc7. The only problem was that there is only FH_TCSR_CHNL_NUM (value: 7) which I used..


The latency has improved but the error still occurs:
[  359.767911] psmouse.c: DualPoint TouchPad at isa0060/serio1/input0 lost synchronization, throwing 1 bytes away.
[  359.779827] iwlagn 0000:0c:00.0: PCI INT A disabled
[  360.536865] psmouse.c: resync failed, issuing reconnect request
Comment 5 Alex Hofbauer 2008-12-03 13:09:42 UTC
Sorry, in advance if I'm wrong.

Maybe your problem of "psmouse.c: DualPoint TouchPad at
isa0060/serio1/input0 lost synchronization..." is also related to another bug with the ALPS touchpad/-stick combination.

Please consider a look at:
http://lkml.org/lkml/2008/11/1/2
and my reply (which wasn't recorded as part of that thread)
http://lkml.org/lkml/2008/11/25/263


Thank!
Comment 6 Reinette Chatre 2008-12-11 16:35:32 UTC
(In reply to comment #3)
> Please try http://marc.info/?l=linux-wireless&m=122824886623698&w=2
> 

Please also try http://marc.info/?l=linux-wireless&m=122849275528102&w=2 in addition to the patch mentioned above.

Both of these patches can be found in wireless-testing.

Users who reported the duplicate bug in http://www.intellinuxwireless.org/bugzilla/show_bug.cgi?id=1790 are reporting that these patches solved their problem.
Comment 7 Reinette Chatre 2009-01-09 13:32:52 UTC
Almost a month has passed. Are there any results from your testing?

All patches addressing this issue is available upstream. Please close this bug unless you are still seeing the problem.
Comment 8 John W. Linville 2009-03-02 10:06:42 UTC
Closed due to lack of response...