All of lore.kernel.org
 help / color / mirror / Atom feed
* psmouse serio4: bad data from KBC - timeout
@ 2012-04-03  9:43 ` Borislav Petkov
  0 siblings, 0 replies; 12+ messages in thread
From: Borislav Petkov @ 2012-04-03  9:43 UTC (permalink / raw)
  To: linux-input; +Cc: Alessandro Rubini, Dmitry Torokhov, LKML

Hi guys,

I'm running 3.4-rc1 on a thinkpad x121e and it builds and boots just
fine. However, after resuming from disk I get (this is the tail of
dmesg):

[  905.857412] i8042: failed to resume active multiplexor, mouse won't work
[  905.965568] usb 3-2: reset low-speed USB device number 2 using ohci_hcd
[  907.626998] psmouse serio4: bad data from KBC - timeout
[  907.675385] PM: restore of devices complete after 2358.155 msecs
[  908.227481] Restarting tasks ... done.
[  908.266229] video LNXVIDEO:01: Restoring backlight state
[  917.628792] psmouse serio4: Failed to deactivate mouse on isa0060/serio4
[  917.880639] psmouse serio4: Failed to enable mouse on isa0060/serio4
[  919.867982] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input19
[  947.277011] atl1c 0000:02:00.0: atl1c: eth0 NIC Link is Up<100 Mbps Full Duplex>
[  996.231116] Bluetooth: Core ver 2.16
[  996.231262] NET: Registered protocol family 31
[  996.231273] Bluetooth: HCI device and connection manager initialized
[  996.231559] Bluetooth: HCI socket layer initialized
[  996.231575] Bluetooth: L2CAP socket layer initialized
[  996.231630] Bluetooth: SCO socket layer initialized

and after that the keyboard and the mouse touchpad don't work. The
connected USB mouse works fine though.

Any help is appreciated,
thanks.

-- 
Regards/Gruss,
Boris.

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

* psmouse serio4: bad data from KBC - timeout
@ 2012-04-03  9:43 ` Borislav Petkov
  0 siblings, 0 replies; 12+ messages in thread
From: Borislav Petkov @ 2012-04-03  9:43 UTC (permalink / raw)
  To: linux-input; +Cc: Alessandro Rubini, Dmitry Torokhov, LKML

Hi guys,

I'm running 3.4-rc1 on a thinkpad x121e and it builds and boots just
fine. However, after resuming from disk I get (this is the tail of
dmesg):

[  905.857412] i8042: failed to resume active multiplexor, mouse won't work
[  905.965568] usb 3-2: reset low-speed USB device number 2 using ohci_hcd
[  907.626998] psmouse serio4: bad data from KBC - timeout
[  907.675385] PM: restore of devices complete after 2358.155 msecs
[  908.227481] Restarting tasks ... done.
[  908.266229] video LNXVIDEO:01: Restoring backlight state
[  917.628792] psmouse serio4: Failed to deactivate mouse on isa0060/serio4
[  917.880639] psmouse serio4: Failed to enable mouse on isa0060/serio4
[  919.867982] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input19
[  947.277011] atl1c 0000:02:00.0: atl1c: eth0 NIC Link is Up<100 Mbps Full Duplex>
[  996.231116] Bluetooth: Core ver 2.16
[  996.231262] NET: Registered protocol family 31
[  996.231273] Bluetooth: HCI device and connection manager initialized
[  996.231559] Bluetooth: HCI socket layer initialized
[  996.231575] Bluetooth: L2CAP socket layer initialized
[  996.231630] Bluetooth: SCO socket layer initialized

and after that the keyboard and the mouse touchpad don't work. The
connected USB mouse works fine though.

Any help is appreciated,
thanks.

-- 
Regards/Gruss,
Boris.

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

* Re: psmouse serio4: bad data from KBC - timeout
  2012-04-03  9:43 ` Borislav Petkov
@ 2012-04-03 17:06   ` Dmitry Torokhov
  -1 siblings, 0 replies; 12+ messages in thread
From: Dmitry Torokhov @ 2012-04-03 17:06 UTC (permalink / raw)
  To: Borislav Petkov; +Cc: linux-input, Alessandro Rubini, LKML

Hi Borislav,

On Tue, Apr 03, 2012 at 11:43:25AM +0200, Borislav Petkov wrote:
> Hi guys,
> 
> I'm running 3.4-rc1 on a thinkpad x121e and it builds and boots just
> fine. However, after resuming from disk I get (this is the tail of
> dmesg):
> 
> [  905.857412] i8042: failed to resume active multiplexor, mouse won't work
> [  905.965568] usb 3-2: reset low-speed USB device number 2 using ohci_hcd
> [  907.626998] psmouse serio4: bad data from KBC - timeout
> [  907.675385] PM: restore of devices complete after 2358.155 msecs
> [  908.227481] Restarting tasks ... done.
> [  908.266229] video LNXVIDEO:01: Restoring backlight state
> [  917.628792] psmouse serio4: Failed to deactivate mouse on isa0060/serio4
> [  917.880639] psmouse serio4: Failed to enable mouse on isa0060/serio4
> [  919.867982] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input19
> [  947.277011] atl1c 0000:02:00.0: atl1c: eth0 NIC Link is Up<100 Mbps Full Duplex>
> [  996.231116] Bluetooth: Core ver 2.16
> [  996.231262] NET: Registered protocol family 31
> [  996.231273] Bluetooth: HCI device and connection manager initialized
> [  996.231559] Bluetooth: HCI socket layer initialized
> [  996.231575] Bluetooth: L2CAP socket layer initialized
> [  996.231630] Bluetooth: SCO socket layer initialized
> 
> and after that the keyboard and the mouse touchpad don't work. The
> connected USB mouse works fine though.

There weren't any changes to i8042 for a while so I'd look into recent
ACPI/PM merges. You can also try booting with i8042.nomux to see if it
will work better with i8042 in legacy multiplexing mode.

Thanks.

-- 
Dmitry

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

* Re: psmouse serio4: bad data from KBC - timeout
@ 2012-04-03 17:06   ` Dmitry Torokhov
  0 siblings, 0 replies; 12+ messages in thread
From: Dmitry Torokhov @ 2012-04-03 17:06 UTC (permalink / raw)
  To: Borislav Petkov; +Cc: linux-input, Alessandro Rubini, LKML

Hi Borislav,

On Tue, Apr 03, 2012 at 11:43:25AM +0200, Borislav Petkov wrote:
> Hi guys,
> 
> I'm running 3.4-rc1 on a thinkpad x121e and it builds and boots just
> fine. However, after resuming from disk I get (this is the tail of
> dmesg):
> 
> [  905.857412] i8042: failed to resume active multiplexor, mouse won't work
> [  905.965568] usb 3-2: reset low-speed USB device number 2 using ohci_hcd
> [  907.626998] psmouse serio4: bad data from KBC - timeout
> [  907.675385] PM: restore of devices complete after 2358.155 msecs
> [  908.227481] Restarting tasks ... done.
> [  908.266229] video LNXVIDEO:01: Restoring backlight state
> [  917.628792] psmouse serio4: Failed to deactivate mouse on isa0060/serio4
> [  917.880639] psmouse serio4: Failed to enable mouse on isa0060/serio4
> [  919.867982] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input19
> [  947.277011] atl1c 0000:02:00.0: atl1c: eth0 NIC Link is Up<100 Mbps Full Duplex>
> [  996.231116] Bluetooth: Core ver 2.16
> [  996.231262] NET: Registered protocol family 31
> [  996.231273] Bluetooth: HCI device and connection manager initialized
> [  996.231559] Bluetooth: HCI socket layer initialized
> [  996.231575] Bluetooth: L2CAP socket layer initialized
> [  996.231630] Bluetooth: SCO socket layer initialized
> 
> and after that the keyboard and the mouse touchpad don't work. The
> connected USB mouse works fine though.

There weren't any changes to i8042 for a while so I'd look into recent
ACPI/PM merges. You can also try booting with i8042.nomux to see if it
will work better with i8042 in legacy multiplexing mode.

Thanks.

-- 
Dmitry

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

* Re: psmouse serio4: bad data from KBC - timeout
  2012-04-03 17:06   ` Dmitry Torokhov
@ 2012-04-04  4:54     ` Borislav Petkov
  -1 siblings, 0 replies; 12+ messages in thread
From: Borislav Petkov @ 2012-04-04  4:54 UTC (permalink / raw)
  To: Dmitry Torokhov; +Cc: linux-input, Alessandro Rubini, LKML

Hi Dmitry,

On Tue, Apr 03, 2012 at 10:06:59AM -0700, Dmitry Torokhov wrote:
> > I'm running 3.4-rc1 on a thinkpad x121e and it builds and boots just
> > fine. However, after resuming from disk I get (this is the tail of
> > dmesg):
> > 
> > [  905.857412] i8042: failed to resume active multiplexor, mouse won't work
> > [  905.965568] usb 3-2: reset low-speed USB device number 2 using ohci_hcd
> > [  907.626998] psmouse serio4: bad data from KBC - timeout
> > [  907.675385] PM: restore of devices complete after 2358.155 msecs
> > [  908.227481] Restarting tasks ... done.
> > [  908.266229] video LNXVIDEO:01: Restoring backlight state
> > [  917.628792] psmouse serio4: Failed to deactivate mouse on isa0060/serio4
> > [  917.880639] psmouse serio4: Failed to enable mouse on isa0060/serio4
> > [  919.867982] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input19
> > [  947.277011] atl1c 0000:02:00.0: atl1c: eth0 NIC Link is Up<100 Mbps Full Duplex>
> > [  996.231116] Bluetooth: Core ver 2.16
> > [  996.231262] NET: Registered protocol family 31
> > [  996.231273] Bluetooth: HCI device and connection manager initialized
> > [  996.231559] Bluetooth: HCI socket layer initialized
> > [  996.231575] Bluetooth: L2CAP socket layer initialized
> > [  996.231630] Bluetooth: SCO socket layer initialized
> > 
> > and after that the keyboard and the mouse touchpad don't work. The
> > connected USB mouse works fine though.
> 
> There weren't any changes to i8042 for a while so I'd look into recent
> ACPI/PM merges. You can also try booting with i8042.nomux to see if it
> will work better with i8042 in legacy multiplexing mode.

thanks for looking into this.

So, I just tested the "i8042.nomux" command line option and it seems to
work. Even the touchpad went on after rubbing on it a couple of times
initially.

Then, I booted back into 3.4-rc1 without the above option and here's
what I got again:

[    0.924424] i8042: PNP: PS/2 Controller [PNP0303:KBC0,PNP0f13:MSE0] at 0x60,0x64 irq 1,12
[    0.928313] i8042: Detected active multiplexing controller, rev 1.1
[    0.929966] serio: i8042 KBD port at 0x60,0x64 irq 1
[    0.930628] serio: i8042 AUX0 port at 0x60,0x64 irq 12
[    0.930890] serio: i8042 AUX1 port at 0x60,0x64 irq 12
[    0.931175] serio: i8042 AUX2 port at 0x60,0x64 irq 12
[    0.931343] serio: i8042 AUX3 port at 0x60,0x64 irq 12
[    0.971523] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
[    2.086110] psmouse serio4: synaptics: Touchpad model: 1, fw: 8.0, id: 0x1e2b1, caps: 0xd001a3/0x940300/0x121c00
[    2.086378] psmouse serio4: synaptics: serio: Synaptics pass-through port at isa0060/serio4/input0
[    2.127547] input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio4/input/input1
[    7.880045] input: TPPS/2 IBM TrackPoint as /devices/platform/i8042/serio4/serio5/input/input2
[  193.757348] i8042: failed to resume active multiplexor, mouse won't work

It seems the mux controller doesn't resume properly (doh, it says so
:)) so not only mousepad but keyboard is not working too.

Actually, that's not 100% correct: the keyboard does work for a short
period of time (a couple of seconds, judging by the printk timestamps
below) right after I resume and then it stops ...

[  195.526425] psmouse serio4: bad data from KBC - timeout
[  205.532397] psmouse serio4: Failed to deactivate mouse on isa0060/serio4
[  205.772260] psmouse serio4: Failed to enable mouse on isa0060/serio4
[  207.447644] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input15

.. with the above being the last line on dmesg.

So, I'm ready for suggestions.

Thanks.

-- 
Regards/Gruss,
    Boris.

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

* Re: psmouse serio4: bad data from KBC - timeout
@ 2012-04-04  4:54     ` Borislav Petkov
  0 siblings, 0 replies; 12+ messages in thread
From: Borislav Petkov @ 2012-04-04  4:54 UTC (permalink / raw)
  To: Dmitry Torokhov; +Cc: linux-input, Alessandro Rubini, LKML

Hi Dmitry,

On Tue, Apr 03, 2012 at 10:06:59AM -0700, Dmitry Torokhov wrote:
> > I'm running 3.4-rc1 on a thinkpad x121e and it builds and boots just
> > fine. However, after resuming from disk I get (this is the tail of
> > dmesg):
> > 
> > [  905.857412] i8042: failed to resume active multiplexor, mouse won't work
> > [  905.965568] usb 3-2: reset low-speed USB device number 2 using ohci_hcd
> > [  907.626998] psmouse serio4: bad data from KBC - timeout
> > [  907.675385] PM: restore of devices complete after 2358.155 msecs
> > [  908.227481] Restarting tasks ... done.
> > [  908.266229] video LNXVIDEO:01: Restoring backlight state
> > [  917.628792] psmouse serio4: Failed to deactivate mouse on isa0060/serio4
> > [  917.880639] psmouse serio4: Failed to enable mouse on isa0060/serio4
> > [  919.867982] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input19
> > [  947.277011] atl1c 0000:02:00.0: atl1c: eth0 NIC Link is Up<100 Mbps Full Duplex>
> > [  996.231116] Bluetooth: Core ver 2.16
> > [  996.231262] NET: Registered protocol family 31
> > [  996.231273] Bluetooth: HCI device and connection manager initialized
> > [  996.231559] Bluetooth: HCI socket layer initialized
> > [  996.231575] Bluetooth: L2CAP socket layer initialized
> > [  996.231630] Bluetooth: SCO socket layer initialized
> > 
> > and after that the keyboard and the mouse touchpad don't work. The
> > connected USB mouse works fine though.
> 
> There weren't any changes to i8042 for a while so I'd look into recent
> ACPI/PM merges. You can also try booting with i8042.nomux to see if it
> will work better with i8042 in legacy multiplexing mode.

thanks for looking into this.

So, I just tested the "i8042.nomux" command line option and it seems to
work. Even the touchpad went on after rubbing on it a couple of times
initially.

Then, I booted back into 3.4-rc1 without the above option and here's
what I got again:

[    0.924424] i8042: PNP: PS/2 Controller [PNP0303:KBC0,PNP0f13:MSE0] at 0x60,0x64 irq 1,12
[    0.928313] i8042: Detected active multiplexing controller, rev 1.1
[    0.929966] serio: i8042 KBD port at 0x60,0x64 irq 1
[    0.930628] serio: i8042 AUX0 port at 0x60,0x64 irq 12
[    0.930890] serio: i8042 AUX1 port at 0x60,0x64 irq 12
[    0.931175] serio: i8042 AUX2 port at 0x60,0x64 irq 12
[    0.931343] serio: i8042 AUX3 port at 0x60,0x64 irq 12
[    0.971523] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
[    2.086110] psmouse serio4: synaptics: Touchpad model: 1, fw: 8.0, id: 0x1e2b1, caps: 0xd001a3/0x940300/0x121c00
[    2.086378] psmouse serio4: synaptics: serio: Synaptics pass-through port at isa0060/serio4/input0
[    2.127547] input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio4/input/input1
[    7.880045] input: TPPS/2 IBM TrackPoint as /devices/platform/i8042/serio4/serio5/input/input2
[  193.757348] i8042: failed to resume active multiplexor, mouse won't work

It seems the mux controller doesn't resume properly (doh, it says so
:)) so not only mousepad but keyboard is not working too.

Actually, that's not 100% correct: the keyboard does work for a short
period of time (a couple of seconds, judging by the printk timestamps
below) right after I resume and then it stops ...

[  195.526425] psmouse serio4: bad data from KBC - timeout
[  205.532397] psmouse serio4: Failed to deactivate mouse on isa0060/serio4
[  205.772260] psmouse serio4: Failed to enable mouse on isa0060/serio4
[  207.447644] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input15

.. with the above being the last line on dmesg.

So, I'm ready for suggestions.

Thanks.

-- 
Regards/Gruss,
    Boris.

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

* Re: psmouse serio4: bad data from KBC - timeout
  2012-04-04  4:54     ` Borislav Petkov
@ 2012-04-04  6:40       ` Dmitry Torokhov
  -1 siblings, 0 replies; 12+ messages in thread
From: Dmitry Torokhov @ 2012-04-04  6:40 UTC (permalink / raw)
  To: Borislav Petkov, linux-input, Alessandro Rubini, LKML

On Wed, Apr 04, 2012 at 06:54:40AM +0200, Borislav Petkov wrote:
> Hi Dmitry,
> 
> On Tue, Apr 03, 2012 at 10:06:59AM -0700, Dmitry Torokhov wrote:
> > > I'm running 3.4-rc1 on a thinkpad x121e and it builds and boots just
> > > fine. However, after resuming from disk I get (this is the tail of
> > > dmesg):
> > > 
> > > [  905.857412] i8042: failed to resume active multiplexor, mouse won't work
> > > [  905.965568] usb 3-2: reset low-speed USB device number 2 using ohci_hcd
> > > [  907.626998] psmouse serio4: bad data from KBC - timeout
> > > [  907.675385] PM: restore of devices complete after 2358.155 msecs
> > > [  908.227481] Restarting tasks ... done.
> > > [  908.266229] video LNXVIDEO:01: Restoring backlight state
> > > [  917.628792] psmouse serio4: Failed to deactivate mouse on isa0060/serio4
> > > [  917.880639] psmouse serio4: Failed to enable mouse on isa0060/serio4
> > > [  919.867982] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input19
> > > [  947.277011] atl1c 0000:02:00.0: atl1c: eth0 NIC Link is Up<100 Mbps Full Duplex>
> > > [  996.231116] Bluetooth: Core ver 2.16
> > > [  996.231262] NET: Registered protocol family 31
> > > [  996.231273] Bluetooth: HCI device and connection manager initialized
> > > [  996.231559] Bluetooth: HCI socket layer initialized
> > > [  996.231575] Bluetooth: L2CAP socket layer initialized
> > > [  996.231630] Bluetooth: SCO socket layer initialized
> > > 
> > > and after that the keyboard and the mouse touchpad don't work. The
> > > connected USB mouse works fine though.
> > 
> > There weren't any changes to i8042 for a while so I'd look into recent
> > ACPI/PM merges. You can also try booting with i8042.nomux to see if it
> > will work better with i8042 in legacy multiplexing mode.
> 
> thanks for looking into this.
> 
> So, I just tested the "i8042.nomux" command line option and it seems to
> work. Even the touchpad went on after rubbing on it a couple of times
> initially.
> 
> Then, I booted back into 3.4-rc1 without the above option and here's
> what I got again:
> 
> [    0.924424] i8042: PNP: PS/2 Controller [PNP0303:KBC0,PNP0f13:MSE0] at 0x60,0x64 irq 1,12
> [    0.928313] i8042: Detected active multiplexing controller, rev 1.1
> [    0.929966] serio: i8042 KBD port at 0x60,0x64 irq 1
> [    0.930628] serio: i8042 AUX0 port at 0x60,0x64 irq 12
> [    0.930890] serio: i8042 AUX1 port at 0x60,0x64 irq 12
> [    0.931175] serio: i8042 AUX2 port at 0x60,0x64 irq 12
> [    0.931343] serio: i8042 AUX3 port at 0x60,0x64 irq 12
> [    0.971523] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
> [    2.086110] psmouse serio4: synaptics: Touchpad model: 1, fw: 8.0, id: 0x1e2b1, caps: 0xd001a3/0x940300/0x121c00
> [    2.086378] psmouse serio4: synaptics: serio: Synaptics pass-through port at isa0060/serio4/input0
> [    2.127547] input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio4/input/input1
> [    7.880045] input: TPPS/2 IBM TrackPoint as /devices/platform/i8042/serio4/serio5/input/input2
> [  193.757348] i8042: failed to resume active multiplexor, mouse won't work
> 
> It seems the mux controller doesn't resume properly (doh, it says so
> :)) so not only mousepad but keyboard is not working too.
> 
> Actually, that's not 100% correct: the keyboard does work for a short
> period of time (a couple of seconds, judging by the printk timestamps
> below) right after I resume and then it stops ...
> 
> [  195.526425] psmouse serio4: bad data from KBC - timeout
> [  205.532397] psmouse serio4: Failed to deactivate mouse on isa0060/serio4
> [  205.772260] psmouse serio4: Failed to enable mouse on isa0060/serio4
> [  207.447644] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input15
> 
> .. with the above being the last line on dmesg.
> 
> So, I'm ready for suggestions.
> 

As I said I would start at the latest ACPI and PM merges and try
reverting them - i8042 may interact in funny ways with embedded
controller since it is usually the same piece of firmware.

I assume it works fine in 3.3, right?

Thanks.

-- 
Dmitry

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

* Re: psmouse serio4: bad data from KBC - timeout
@ 2012-04-04  6:40       ` Dmitry Torokhov
  0 siblings, 0 replies; 12+ messages in thread
From: Dmitry Torokhov @ 2012-04-04  6:40 UTC (permalink / raw)
  To: Borislav Petkov, linux-input, Alessandro Rubini, LKML

On Wed, Apr 04, 2012 at 06:54:40AM +0200, Borislav Petkov wrote:
> Hi Dmitry,
> 
> On Tue, Apr 03, 2012 at 10:06:59AM -0700, Dmitry Torokhov wrote:
> > > I'm running 3.4-rc1 on a thinkpad x121e and it builds and boots just
> > > fine. However, after resuming from disk I get (this is the tail of
> > > dmesg):
> > > 
> > > [  905.857412] i8042: failed to resume active multiplexor, mouse won't work
> > > [  905.965568] usb 3-2: reset low-speed USB device number 2 using ohci_hcd
> > > [  907.626998] psmouse serio4: bad data from KBC - timeout
> > > [  907.675385] PM: restore of devices complete after 2358.155 msecs
> > > [  908.227481] Restarting tasks ... done.
> > > [  908.266229] video LNXVIDEO:01: Restoring backlight state
> > > [  917.628792] psmouse serio4: Failed to deactivate mouse on isa0060/serio4
> > > [  917.880639] psmouse serio4: Failed to enable mouse on isa0060/serio4
> > > [  919.867982] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input19
> > > [  947.277011] atl1c 0000:02:00.0: atl1c: eth0 NIC Link is Up<100 Mbps Full Duplex>
> > > [  996.231116] Bluetooth: Core ver 2.16
> > > [  996.231262] NET: Registered protocol family 31
> > > [  996.231273] Bluetooth: HCI device and connection manager initialized
> > > [  996.231559] Bluetooth: HCI socket layer initialized
> > > [  996.231575] Bluetooth: L2CAP socket layer initialized
> > > [  996.231630] Bluetooth: SCO socket layer initialized
> > > 
> > > and after that the keyboard and the mouse touchpad don't work. The
> > > connected USB mouse works fine though.
> > 
> > There weren't any changes to i8042 for a while so I'd look into recent
> > ACPI/PM merges. You can also try booting with i8042.nomux to see if it
> > will work better with i8042 in legacy multiplexing mode.
> 
> thanks for looking into this.
> 
> So, I just tested the "i8042.nomux" command line option and it seems to
> work. Even the touchpad went on after rubbing on it a couple of times
> initially.
> 
> Then, I booted back into 3.4-rc1 without the above option and here's
> what I got again:
> 
> [    0.924424] i8042: PNP: PS/2 Controller [PNP0303:KBC0,PNP0f13:MSE0] at 0x60,0x64 irq 1,12
> [    0.928313] i8042: Detected active multiplexing controller, rev 1.1
> [    0.929966] serio: i8042 KBD port at 0x60,0x64 irq 1
> [    0.930628] serio: i8042 AUX0 port at 0x60,0x64 irq 12
> [    0.930890] serio: i8042 AUX1 port at 0x60,0x64 irq 12
> [    0.931175] serio: i8042 AUX2 port at 0x60,0x64 irq 12
> [    0.931343] serio: i8042 AUX3 port at 0x60,0x64 irq 12
> [    0.971523] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
> [    2.086110] psmouse serio4: synaptics: Touchpad model: 1, fw: 8.0, id: 0x1e2b1, caps: 0xd001a3/0x940300/0x121c00
> [    2.086378] psmouse serio4: synaptics: serio: Synaptics pass-through port at isa0060/serio4/input0
> [    2.127547] input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio4/input/input1
> [    7.880045] input: TPPS/2 IBM TrackPoint as /devices/platform/i8042/serio4/serio5/input/input2
> [  193.757348] i8042: failed to resume active multiplexor, mouse won't work
> 
> It seems the mux controller doesn't resume properly (doh, it says so
> :)) so not only mousepad but keyboard is not working too.
> 
> Actually, that's not 100% correct: the keyboard does work for a short
> period of time (a couple of seconds, judging by the printk timestamps
> below) right after I resume and then it stops ...
> 
> [  195.526425] psmouse serio4: bad data from KBC - timeout
> [  205.532397] psmouse serio4: Failed to deactivate mouse on isa0060/serio4
> [  205.772260] psmouse serio4: Failed to enable mouse on isa0060/serio4
> [  207.447644] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input15
> 
> .. with the above being the last line on dmesg.
> 
> So, I'm ready for suggestions.
> 

As I said I would start at the latest ACPI and PM merges and try
reverting them - i8042 may interact in funny ways with embedded
controller since it is usually the same piece of firmware.

I assume it works fine in 3.3, right?

Thanks.

-- 
Dmitry

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

* Re: psmouse serio4: bad data from KBC - timeout
  2012-04-04  6:40       ` Dmitry Torokhov
@ 2012-04-04 10:46         ` Borislav Petkov
  -1 siblings, 0 replies; 12+ messages in thread
From: Borislav Petkov @ 2012-04-04 10:46 UTC (permalink / raw)
  To: Dmitry Torokhov; +Cc: linux-input, Alessandro Rubini, LKML

On Tue, Apr 03, 2012 at 11:40:53PM -0700, Dmitry Torokhov wrote:
> As I said I would start at the latest ACPI and PM merges and try
> reverting them - i8042 may interact in funny ways with embedded
> controller since it is usually the same piece of firmware.
> 
> I assume it works fine in 3.3, right?

Yes, it does.

Let me checkout git trees before those merges to see whether it makes
any difference.

Thanks.

-- 
Regards/Gruss,
Boris.

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

* Re: psmouse serio4: bad data from KBC - timeout
@ 2012-04-04 10:46         ` Borislav Petkov
  0 siblings, 0 replies; 12+ messages in thread
From: Borislav Petkov @ 2012-04-04 10:46 UTC (permalink / raw)
  To: Dmitry Torokhov; +Cc: linux-input, Alessandro Rubini, LKML

On Tue, Apr 03, 2012 at 11:40:53PM -0700, Dmitry Torokhov wrote:
> As I said I would start at the latest ACPI and PM merges and try
> reverting them - i8042 may interact in funny ways with embedded
> controller since it is usually the same piece of firmware.
> 
> I assume it works fine in 3.3, right?

Yes, it does.

Let me checkout git trees before those merges to see whether it makes
any difference.

Thanks.

-- 
Regards/Gruss,
Boris.

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

* Re: psmouse serio4: bad data from KBC - timeout
  2012-04-04 10:46         ` Borislav Petkov
@ 2012-04-04 13:11           ` Borislav Petkov
  -1 siblings, 0 replies; 12+ messages in thread
From: Borislav Petkov @ 2012-04-04 13:11 UTC (permalink / raw)
  To: Dmitry Torokhov; +Cc: linux-input, Alessandro Rubini, LKML

On Wed, Apr 04, 2012 at 12:46:43PM +0200, Borislav Petkov wrote:
> On Tue, Apr 03, 2012 at 11:40:53PM -0700, Dmitry Torokhov wrote:
> > As I said I would start at the latest ACPI and PM merges and try
> > reverting them - i8042 may interact in funny ways with embedded
> > controller since it is usually the same piece of firmware.
> > 
> > I assume it works fine in 3.3, right?
> 
> Yes, it does.
> 
> Let me checkout git trees before those merges to see whether it makes
> any difference.

Well, what do you know, I checked out the commit before Len's ACPI pull request:

git checkout a335750b9a039a9d4cd727cdccacfb90fd63c4e8~1

I.e., the tree I'm currently testing has

commit 10f3cb41d48ab30f5c754b30eea557371892b4c2
Merge: 919c840167ec 867646f246de
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date:   Fri Mar 30 16:24:38 2012 -0700

    Merge git://git.samba.org/sfrench/cifs-2.6

at its top and the mux controller resumes fine:

[    0.922202] i8042: PNP: PS/2 Controller [PNP0303:KBC0,PNP0f13:MSE0] at 0x60,0x64 irq 1,12
[    0.924542] i8042: Detected active multiplexing controller, rev 1.1
[    0.927501] serio: i8042 KBD port at 0x60,0x64 irq 1
[    0.928161] serio: i8042 AUX0 port at 0x60,0x64 irq 12
[    0.928426] serio: i8042 AUX1 port at 0x60,0x64 irq 12
[    0.928682] serio: i8042 AUX2 port at 0x60,0x64 irq 12
[    0.928963] serio: i8042 AUX3 port at 0x60,0x64 irq 12
[    0.968243] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
[    2.080993] psmouse serio4: synaptics: Touchpad model: 1, fw: 8.0, id: 0x1e2b1, caps: 0xd001a3/0x940300/0x121c00
[    2.081224] psmouse serio4: synaptics: serio: Synaptics pass-through port at isa0060/serio4/input0
[    2.125315] input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio4/input/input1
[    7.850636] input: TPPS/2 IBM TrackPoint as /devices/platform/i8042/serio4/serio5/input/input2
[  511.028833] psmouse serio4: TouchPad at isa0060/serio4/input0 lost sync at byte 1
[  511.033921] psmouse serio4: TouchPad at isa0060/serio4/input0 lost sync at byte 1
[  511.035284] psmouse serio4: TouchPad at isa0060/serio4/input0 lost sync at byte 1
[  511.036719] psmouse serio4: TouchPad at isa0060/serio4/input0 lost sync at byte 1
[  511.047286] psmouse serio4: TouchPad at isa0060/serio4/input0 - driver resynced.

IOW, I've cut off the tree before the merge commit below, now I have to
go over those patches and see which one is the offender. Stay tuned.

commit a335750b9a039a9d4cd727cdccacfb90fd63c4e8
Merge: 10f3cb41d48a d326f44e5f22
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date:   Fri Mar 30 16:45:38 2012 -0700

    Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux
    
    Pull ACPI & Power Management changes from Len Brown:
     - ACPI 5.0 after-ripples, ACPICA/Linux divergence cleanup
     - cpuidle evolving, more ARM use
     - thermal sub-system evolving, ditto
     - assorted other PM bits
    
    Fix up conflicts in various cpuidle implementations due to ARM cpuidle
    cleanups (ARM at91 self-refresh and cpu idle code rewritten into
    "standby" in asm conflicting with the consolidation of cpuidle time
    keeping), trivial SH include file context conflict and RCU tracing fixes
    in generic code.

-- 
Regards/Gruss,
Boris.

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

* Re: psmouse serio4: bad data from KBC - timeout
@ 2012-04-04 13:11           ` Borislav Petkov
  0 siblings, 0 replies; 12+ messages in thread
From: Borislav Petkov @ 2012-04-04 13:11 UTC (permalink / raw)
  To: Dmitry Torokhov; +Cc: linux-input, Alessandro Rubini, LKML

On Wed, Apr 04, 2012 at 12:46:43PM +0200, Borislav Petkov wrote:
> On Tue, Apr 03, 2012 at 11:40:53PM -0700, Dmitry Torokhov wrote:
> > As I said I would start at the latest ACPI and PM merges and try
> > reverting them - i8042 may interact in funny ways with embedded
> > controller since it is usually the same piece of firmware.
> > 
> > I assume it works fine in 3.3, right?
> 
> Yes, it does.
> 
> Let me checkout git trees before those merges to see whether it makes
> any difference.

Well, what do you know, I checked out the commit before Len's ACPI pull request:

git checkout a335750b9a039a9d4cd727cdccacfb90fd63c4e8~1

I.e., the tree I'm currently testing has

commit 10f3cb41d48ab30f5c754b30eea557371892b4c2
Merge: 919c840167ec 867646f246de
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date:   Fri Mar 30 16:24:38 2012 -0700

    Merge git://git.samba.org/sfrench/cifs-2.6

at its top and the mux controller resumes fine:

[    0.922202] i8042: PNP: PS/2 Controller [PNP0303:KBC0,PNP0f13:MSE0] at 0x60,0x64 irq 1,12
[    0.924542] i8042: Detected active multiplexing controller, rev 1.1
[    0.927501] serio: i8042 KBD port at 0x60,0x64 irq 1
[    0.928161] serio: i8042 AUX0 port at 0x60,0x64 irq 12
[    0.928426] serio: i8042 AUX1 port at 0x60,0x64 irq 12
[    0.928682] serio: i8042 AUX2 port at 0x60,0x64 irq 12
[    0.928963] serio: i8042 AUX3 port at 0x60,0x64 irq 12
[    0.968243] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
[    2.080993] psmouse serio4: synaptics: Touchpad model: 1, fw: 8.0, id: 0x1e2b1, caps: 0xd001a3/0x940300/0x121c00
[    2.081224] psmouse serio4: synaptics: serio: Synaptics pass-through port at isa0060/serio4/input0
[    2.125315] input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio4/input/input1
[    7.850636] input: TPPS/2 IBM TrackPoint as /devices/platform/i8042/serio4/serio5/input/input2
[  511.028833] psmouse serio4: TouchPad at isa0060/serio4/input0 lost sync at byte 1
[  511.033921] psmouse serio4: TouchPad at isa0060/serio4/input0 lost sync at byte 1
[  511.035284] psmouse serio4: TouchPad at isa0060/serio4/input0 lost sync at byte 1
[  511.036719] psmouse serio4: TouchPad at isa0060/serio4/input0 lost sync at byte 1
[  511.047286] psmouse serio4: TouchPad at isa0060/serio4/input0 - driver resynced.

IOW, I've cut off the tree before the merge commit below, now I have to
go over those patches and see which one is the offender. Stay tuned.

commit a335750b9a039a9d4cd727cdccacfb90fd63c4e8
Merge: 10f3cb41d48a d326f44e5f22
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date:   Fri Mar 30 16:45:38 2012 -0700

    Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux
    
    Pull ACPI & Power Management changes from Len Brown:
     - ACPI 5.0 after-ripples, ACPICA/Linux divergence cleanup
     - cpuidle evolving, more ARM use
     - thermal sub-system evolving, ditto
     - assorted other PM bits
    
    Fix up conflicts in various cpuidle implementations due to ARM cpuidle
    cleanups (ARM at91 self-refresh and cpu idle code rewritten into
    "standby" in asm conflicting with the consolidation of cpuidle time
    keeping), trivial SH include file context conflict and RCU tracing fixes
    in generic code.

-- 
Regards/Gruss,
Boris.

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

end of thread, other threads:[~2012-04-04 13:11 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-03  9:43 psmouse serio4: bad data from KBC - timeout Borislav Petkov
2012-04-03  9:43 ` Borislav Petkov
2012-04-03 17:06 ` Dmitry Torokhov
2012-04-03 17:06   ` Dmitry Torokhov
2012-04-04  4:54   ` Borislav Petkov
2012-04-04  4:54     ` Borislav Petkov
2012-04-04  6:40     ` Dmitry Torokhov
2012-04-04  6:40       ` Dmitry Torokhov
2012-04-04 10:46       ` Borislav Petkov
2012-04-04 10:46         ` Borislav Petkov
2012-04-04 13:11         ` Borislav Petkov
2012-04-04 13:11           ` Borislav Petkov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.