Re: psmouse doesn't seem to reinitialize after mem suspend (acpi) when using i8042 on ALi M1553 ISA bridge with 2.6.11.11 or 2.6.12-rc5?

Adam Morley
2005-06-06T07:29:37Z

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

Hi Dimitry,

On 6/5/05, Dmitry Torokhov <dtor_core@ameritech.net> wrote:
> On Sunday 05 June 2005 21:24, Adam Morley wrote:
> > When I do a mem suspend (echo mem > /sys/power/state), either through
> > a lid switch ACPI action, or manually echo'ing the parameter, the
> > mouse doesn't work after un-suspending. It seems like it is no longer
> > detected/initialized. cat'ing the device file doesn't produce output,
> > and gpm and X don't get mouse inputs.
>
> Could you please try booting 2.6.12-rc5 with "i8042.debug" on the kernel
> command line; suspend, resume and post your dmesg?

Sure. Here it is. Suspend was done using acpid using a lid action.
psmouse was modprobe -r'ed before suspend and modprobe'ed back in
after resume.

dmesg -s 16384 is attached.

Thanks!

--
adam

[-- Attachment #2: dmesg.i8042.debug --]
[-- Type: application/octet-stream, Size: 15694 bytes --]

i8042 (interrupt, AUX, 12) [198692]
drivers/input/serio/i8042.c: 00 <- i8042 (interrupt, AUX, 12) [198694]
drivers/input/serio/i8042.c: 18 <- i8042 (interrupt, AUX, 12) [198702]
drivers/input/serio/i8042.c: fd <- i8042 (interrupt, AUX, 12) [198704]
drivers/input/serio/i8042.c: 00 <- i8042 (interrupt, AUX, 12) [198705]
drivers/input/serio/i8042.c: 18 <- i8042 (interrupt, AUX, 12) [198713]
drivers/input/serio/i8042.c: fd <- i8042 (interrupt, AUX, 12) [198715]
drivers/input/serio/i8042.c: 00 <- i8042 (interrupt, AUX, 12) [198716]
drivers/input/serio/i8042.c: 38 <- i8042 (interrupt, AUX, 12) [198724]
drivers/input/serio/i8042.c: fd <- i8042 (interrupt, AUX, 12) [198726]
drivers/input/serio/i8042.c: ff <- i8042 (interrupt, AUX, 12) [198727]
drivers/input/serio/i8042.c: 18 <- i8042 (interrupt, AUX, 12) [198735]
drivers/input/serio/i8042.c: fc <- i8042 (interrupt, AUX, 12) [198737]
drivers/input/serio/i8042.c: 00 <- i8042 (interrupt, AUX, 12) [198739]
drivers/input/serio/i8042.c: 18 <- i8042 (interrupt, AUX, 12) [198747]
drivers/input/serio/i8042.c: fd <- i8042 (interrupt, AUX, 12) [198748]
drivers/input/serio/i8042.c: 00 <- i8042 (interrupt, AUX, 12) [198750]
drivers/input/serio/i8042.c: 18 <- i8042 (interrupt, AUX, 12) [198758]
drivers/input/serio/i8042.c: fe <- i8042 (interrupt, AUX, 12) [198760]
drivers/input/serio/i8042.c: 00 <- i8042 (interrupt, AUX, 12) [198761]
drivers/input/serio/i8042.c: 18 <- i8042 (interrupt, AUX, 12) [198769]
drivers/input/serio/i8042.c: fd <- i8042 (interrupt, AUX, 12) [198771]
drivers/input/serio/i8042.c: 00 <- i8042 (interrupt, AUX, 12) [198772]
drivers/input/serio/i8042.c: 18 <- i8042 (interrupt, AUX, 12) [198780]
drivers/input/serio/i8042.c: fe <- i8042 (interrupt, AUX, 12) [198782]
drivers/input/serio/i8042.c: 00 <- i8042 (interrupt, AUX, 12) [198783]
drivers/input/serio/i8042.c: 18 <- i8042 (interrupt, AUX, 12) [198791]
drivers/input/serio/i8042.c: fd <- i8042 (interrupt, AUX, 12) [198793]
drivers/input/serio/i8042.c: 00 <- i8042 (interrupt, AUX, 12) [198795]
drivers/input/serio/i8042.c: 18 <- i8042 (interrupt, AUX, 12) [198803]
drivers/input/serio/i8042.c: fc <- i8042 (interrupt, AUX, 12) [198804]
drivers/input/serio/i8042.c: 00 <- i8042 (interrupt, AUX, 12) [198806]
drivers/input/serio/i8042.c: 18 <- i8042 (interrupt, AUX, 12) [198814]
drivers/input/serio/i8042.c: fc <- i8042 (interrupt, AUX, 12) [198816]
drivers/input/serio/i8042.c: 00 <- i8042 (interrupt, AUX, 12) [198817]
drivers/input/serio/i8042.c: 18 <- i8042 (interrupt, AUX, 12) [198825]
drivers/input/serio/i8042.c: fc <- i8042 (interrupt, AUX, 12) [198827]
drivers/input/serio/i8042.c: 00 <- i8042 (interrupt, AUX, 12) [198828]
drivers/input/serio/i8042.c: 18 <- i8042 (interrupt, AUX, 12) [198836]
drivers/input/serio/i8042.c: fe <- i8042 (interrupt, AUX, 12) [198838]
drivers/input/serio/i8042.c: 00 <- i8042 (interrupt, AUX, 12) [198839]
drivers/input/serio/i8042.c: 18 <- i8042 (interrupt, AUX, 12) [198847]
drivers/input/serio/i8042.c: ff <- i8042 (interrupt, AUX, 12) [198849]
drivers/input/serio/i8042.c: 00 <- i8042 (interrupt, AUX, 12) [198850]
drivers/input/serio/i8042.c: 18 <- i8042 (interrupt, AUX, 12) [198858]
drivers/input/serio/i8042.c: ff <- i8042 (interrupt, AUX, 12) [198860]
drivers/input/serio/i8042.c: 00 <- i8042 (interrupt, AUX, 12) [198861]
drivers/input/serio/i8042.c: 18 <- i8042 (interrupt, AUX, 12) [198922]
drivers/input/serio/i8042.c: ff <- i8042 (interrupt, AUX, 12) [198923]
drivers/input/serio/i8042.c: 00 <- i8042 (interrupt, AUX, 12) [198924]
drivers/input/serio/i8042.c: 08 <- i8042 (interrupt, AUX, 12) [198932]
drivers/input/serio/i8042.c: 01 <- i8042 (interrupt, AUX, 12) [198934]
drivers/input/serio/i8042.c: 00 <- i8042 (interrupt, AUX, 12) [198935]
drivers/input/serio/i8042.c: 60 -> i8042 (command) [204556]
drivers/input/serio/i8042.c: 45 -> i8042 (parameter) [204556]
drivers/input/serio/i8042.c: 60 -> i8042 (command) [204557]
drivers/input/serio/i8042.c: 47 -> i8042 (parameter) [204557]
drivers/input/serio/i8042.c: d4 -> i8042 (command) [204558]
drivers/input/serio/i8042.c: f2 -> i8042 (parameter) [204558]
drivers/input/serio/i8042.c: fa <- i8042 (interrupt, AUX, 12) [204567]
drivers/input/serio/i8042.c: 00 <- i8042 (interrupt, AUX, 12) [204568]
drivers/input/serio/i8042.c: 60 -> i8042 (command) [205348]
drivers/input/serio/i8042.c: 45 -> i8042 (parameter) [205348]
Stopping tasks: =====================================|
drivers/input/serio/i8042.c: 60 -> i8042 (command) [207183]
drivers/input/serio/i8042.c: 47 -> i8042 (parameter) [207183]
eth1: Orinoco-PCI entering sleep mode (state=3)
hwsleep-0306 [03] acpi_enter_sleep_state: Entering sleep state [S3]
Back to C!
ACPI: PCI Interrupt 0000:00:02.0[A] -> Link [LNKU] -> GSI 11 (level, low) -> IRQ 11
ACPI: PCI Interrupt 0000:00:04.0[A] -> Link [LNKH] -> GSI 9 (level, low) -> IRQ 9
pci_irq-0370 [07] acpi_pci_irq_derive : Unable to derive IRQ for device 0000:00:0f.0
ACPI: PCI Interrupt 0000:00:0f.0[A]: no GSI - using IRQ 0
eth1: Orinoco-PCI waking up
ACPI: PCI Interrupt 0000:00:14.0[A] -> Link [LNKD] -> GSI 9 (level, low) -> IRQ 9
drivers/input/serio/i8042.c: 20 -> i8042 (command) [220618]
drivers/input/serio/i8042.c: 47 <- i8042 (return) [220618]
drivers/input/serio/i8042.c: 60 -> i8042 (command) [220619]
drivers/input/serio/i8042.c: 56 -> i8042 (parameter) [220619]
drivers/input/serio/i8042.c: 60 -> i8042 (command) [220619]
drivers/input/serio/i8042.c: 47 -> i8042 (parameter) [220619]
drivers/input/serio/i8042.c: 60 -> i8042 (command) [220620]
drivers/input/serio/i8042.c: 47 -> i8042 (parameter) [220620]
drivers/input/serio/i8042.c: f2 -> i8042 (kbd-data) [220621]
drivers/input/serio/i8042.c: fa <- i8042 (interrupt, KBD, 1) [220624]
drivers/input/serio/i8042.c: ab <- i8042 (interrupt, KBD, 1) [220631]
drivers/input/serio/i8042.c: 54 <- i8042 (interrupt, KBD, 1) [220636]
drivers/input/serio/i8042.c: ed -> i8042 (kbd-data) [220637]
drivers/input/serio/i8042.c: fa <- i8042 (interrupt, KBD, 1) [220640]
drivers/input/serio/i8042.c: 00 -> i8042 (kbd-data) [220640]
drivers/input/serio/i8042.c: fa <- i8042 (interrupt, KBD, 1) [220644]
drivers/input/serio/i8042.c: f3 -> i8042 (kbd-data) [220644]
drivers/input/serio/i8042.c: fa <- i8042 (interrupt, KBD, 1) [220647]
drivers/input/serio/i8042.c: 00 -> i8042 (kbd-data) [220648]
drivers/input/serio/i8042.c: fa <- i8042 (interrupt, KBD, 1) [220651]
drivers/input/serio/i8042.c: f4 -> i8042 (kbd-data) [220651]
drivers/input/serio/i8042.c: fa <- i8042 (interrupt, KBD, 1) [220655]
drivers/input/serio/i8042.c: ed -> i8042 (kbd-data) [220655]
drivers/input/serio/i8042.c: fa <- i8042 (interrupt, KBD, 1) [220658]
drivers/input/serio/i8042.c: 00 -> i8042 (kbd-data) [220659]
drivers/input/serio/i8042.c: fa <- i8042 (interrupt, KBD, 1) [220662]
Restarting tasks...<7>drivers/input/serio/i8042.c: 60 -> i8042 (command) [220701]
drivers/input/serio/i8042.c: 47 -> i8042 (parameter) [220701]
drivers/input/serio/i8042.c: d4 -> i8042 (command) [220703]
drivers/input/serio/i8042.c: f2 -> i8042 (parameter) [220703]
done
drivers/input/serio/i8042.c: fe <- i8042 (interrupt, AUX, 12, timeout) [220725]
drivers/input/serio/i8042.c: d4 -> i8042 (command) [220726]
drivers/input/serio/i8042.c: ed -> i8042 (parameter) [220726]
drivers/input/serio/i8042.c: fe <- i8042 (interrupt, AUX, 12, timeout) [220747]
drivers/input/serio/i8042.c: 60 -> i8042 (command) [220748]
drivers/input/serio/i8042.c: 45 -> i8042 (parameter) [220748]
usb 1-3: USB disconnect, address 2
drivers/input/serio/i8042.c: 60 -> i8042 (command) [220943]
drivers/input/serio/i8042.c: 47 -> i8042 (parameter) [220943]
drivers/input/serio/i8042.c: d4 -> i8042 (command) [220943]
drivers/input/serio/i8042.c: f2 -> i8042 (parameter) [220943]
drivers/input/serio/i8042.c: fe <- i8042 (interrupt, AUX, 12, timeout) [220965]
drivers/input/serio/i8042.c: 60 -> i8042 (command) [220965]
drivers/input/serio/i8042.c: 45 -> i8042 (parameter) [220965]
usb 1-3: new low speed USB device using ohci_hcd and address 3
input: USB HID v1.00 Mouse [Fujitsu Takamisawa USB Touch Panel] on usb-0000:00:02.0-3
drivers/input/serio/i8042.c: 20 <- i8042 (interrupt, KBD, 1) [227398]
drivers/input/serio/i8042.c: a0 <- i8042 (interrupt, KBD, 1) [227541]
drivers/input/serio/i8042.c: 32 <- i8042 (interrupt, KBD, 1) [227588]
drivers/input/serio/i8042.c: 12 <- i8042 (interrupt, KBD, 1) [227670]
drivers/input/serio/i8042.c: b2 <- i8042 (interrupt, KBD, 1) [227726]
drivers/input/serio/i8042.c: 1f <- i8042 (interrupt, KBD, 1) [227829]
drivers/input/serio/i8042.c: 92 <- i8042 (interrupt, KBD, 1) [227900]
drivers/input/serio/i8042.c: 22 <- i8042 (interrupt, KBD, 1) [227931]
drivers/input/serio/i8042.c: 9f <- i8042 (interrupt, KBD, 1) [228023]
drivers/input/serio/i8042.c: a2 <- i8042 (interrupt, KBD, 1) [228126]
drivers/input/serio/i8042.c: 39 <- i8042 (interrupt, KBD, 1) [228131]
drivers/input/serio/i8042.c: b9 <- i8042 (interrupt, KBD, 1) [228295]
drivers/input/serio/i8042.c: 0c <- i8042 (interrupt, KBD, 1) [228761]
drivers/input/serio/i8042.c: 8c <- i8042 (interrupt, KBD, 1) [228915]
drivers/input/serio/i8042.c: 1f <- i8042 (interrupt, KBD, 1) [229007]
drivers/input/serio/i8042.c: 9f <- i8042 (interrupt, KBD, 1) [229176]
drivers/input/serio/i8042.c: 39 <- i8042 (interrupt, KBD, 1) [229284]
drivers/input/serio/i8042.c: b9 <- i8042 (interrupt, KBD, 1) [229422]
drivers/input/serio/i8042.c: 02 <- i8042 (interrupt, KBD, 1) [230631]
drivers/input/serio/i8042.c: 82 <- i8042 (interrupt, KBD, 1) [230769]
drivers/input/serio/i8042.c: 07 <- i8042 (interrupt, KBD, 1) [230826]
drivers/input/serio/i8042.c: 87 <- i8042 (interrupt, KBD, 1) [230939]
drivers/input/serio/i8042.c: 04 <- i8042 (interrupt, KBD, 1) [231641]
drivers/input/serio/i8042.c: 84 <- i8042 (interrupt, KBD, 1) [231764]
drivers/input/serio/i8042.c: 09 <- i8042 (interrupt, KBD, 1) [231774]
drivers/input/serio/i8042.c: 89 <- i8042 (interrupt, KBD, 1) [231871]
drivers/input/serio/i8042.c: 05 <- i8042 (interrupt, KBD, 1) [231922]
drivers/input/serio/i8042.c: 85 <- i8042 (interrupt, KBD, 1) [232045]
drivers/input/serio/i8042.c: 39 <- i8042 (interrupt, KBD, 1) [233178]
drivers/input/serio/i8042.c: b9 <- i8042 (interrupt, KBD, 1) [233347]
drivers/input/serio/i8042.c: 2a <- i8042 (interrupt, KBD, 1) [233680]
drivers/input/serio/i8042.c: 2a <- i8042 (interrupt, KBD, 1) [233931]
drivers/input/serio/i8042.c: 2a <- i8042 (interrupt, KBD, 1) [233967]
drivers/input/serio/i8042.c: 2a <- i8042 (interrupt, KBD, 1) [234003]
drivers/input/serio/i8042.c: 2a <- i8042 (interrupt, KBD, 1) [234039]
drivers/input/serio/i8042.c: 2a <- i8042 (interrupt, KBD, 1) [234074]
drivers/input/serio/i8042.c: 2a <- i8042 (interrupt, KBD, 1) [234110]
drivers/input/serio/i8042.c: 2a <- i8042 (interrupt, KBD, 1) [234146]
drivers/input/serio/i8042.c: 2a <- i8042 (interrupt, KBD, 1) [234182]
drivers/input/serio/i8042.c: 2a <- i8042 (interrupt, KBD, 1) [234218]
drivers/input/serio/i8042.c: 2a <- i8042 (interrupt, KBD, 1) [234254]
drivers/input/serio/i8042.c: 2a <- i8042 (interrupt, KBD, 1) [234290]
drivers/input/serio/i8042.c: 2a <- i8042 (interrupt, KBD, 1) [234326]
drivers/input/serio/i8042.c: 2a <- i8042 (interrupt, KBD, 1) [234361]
drivers/input/serio/i8042.c: 2a <- i8042 (interrupt, KBD, 1) [234397]
drivers/input/serio/i8042.c: 2a <- i8042 (interrupt, KBD, 1) [234433]
drivers/input/serio/i8042.c: 2a <- i8042 (interrupt, KBD, 1) [234469]
drivers/input/serio/i8042.c: 2a <- i8042 (interrupt, KBD, 1) [234505]
drivers/input/serio/i8042.c: 2a <- i8042 (interrupt, KBD, 1) [234541]
drivers/input/serio/i8042.c: 2a <- i8042 (interrupt, KBD, 1) [234577]
drivers/input/serio/i8042.c: 2a <- i8042 (interrupt, KBD, 1) [234612]
drivers/input/serio/i8042.c: 2a <- i8042 (interrupt, KBD, 1) [234648]
drivers/input/serio/i8042.c: 2a <- i8042 (interrupt, KBD, 1) [234684]
drivers/input/serio/i8042.c: 2a <- i8042 (interrupt, KBD, 1) [234720]
drivers/input/serio/i8042.c: 2a <- i8042 (interrupt, KBD, 1) [234756]
drivers/input/serio/i8042.c: 2a <- i8042 (interrupt, KBD, 1) [234792]
drivers/input/serio/i8042.c: 2a <- i8042 (interrupt, KBD, 1) [234828]
drivers/input/serio/i8042.c: 2a <- i8042 (interrupt, KBD, 1) [234864]
drivers/input/serio/i8042.c: 2a <- i8042 (interrupt, KBD, 1) [234899]
drivers/input/serio/i8042.c: 2a <- i8042 (interrupt, KBD, 1) [234935]
drivers/input/serio/i8042.c: 2a <- i8042 (interrupt, KBD, 1) [234971]
drivers/input/serio/i8042.c: 2a <- i8042 (interrupt, KBD, 1) [235007]
drivers/input/serio/i8042.c: 2a <- i8042 (interrupt, KBD, 1) [235043]
drivers/input/serio/i8042.c: 2a <- i8042 (interrupt, KBD, 1) [235079]
drivers/input/serio/i8042.c: 2a <- i8042 (interrupt, KBD, 1) [235115]
drivers/input/serio/i8042.c: 2a <- i8042 (interrupt, KBD, 1) [235150]
drivers/input/serio/i8042.c: 2a <- i8042 (interrupt, KBD, 1) [235186]
drivers/input/serio/i8042.c: 34 <- i8042 (interrupt, KBD, 1) [235212]
drivers/input/serio/i8042.c: b4 <- i8042 (interrupt, KBD, 1) [235309]
drivers/input/serio/i8042.c: aa <- i8042 (interrupt, KBD, 1) [235422]
drivers/input/serio/i8042.c: 39 <- i8042 (interrupt, KBD, 1) [236134]
drivers/input/serio/i8042.c: b9 <- i8042 (interrupt, KBD, 1) [236298]
drivers/input/serio/i8042.c: 35 <- i8042 (interrupt, KBD, 1) [236918]
drivers/input/serio/i8042.c: 2f <- i8042 (interrupt, KBD, 1) [237046]
drivers/input/serio/i8042.c: b5 <- i8042 (interrupt, KBD, 1) [237067]
drivers/input/serio/i8042.c: 1e <- i8042 (interrupt, KBD, 1) [237108]
drivers/input/serio/i8042.c: 13 <- i8042 (interrupt, KBD, 1) [237195]
drivers/input/serio/i8042.c: af <- i8042 (interrupt, KBD, 1) [237246]
drivers/input/serio/i8042.c: 35 <- i8042 (interrupt, KBD, 1) [237287]
drivers/input/serio/i8042.c: 9e <- i8042 (interrupt, KBD, 1) [237293]
drivers/input/serio/i8042.c: 93 <- i8042 (interrupt, KBD, 1) [237379]
drivers/input/serio/i8042.c: b5 <- i8042 (interrupt, KBD, 1) [237415]
drivers/input/serio/i8042.c: 14 <- i8042 (interrupt, KBD, 1) [237989]
drivers/input/serio/i8042.c: 32 <- i8042 (interrupt, KBD, 1) [238107]
drivers/input/serio/i8042.c: 94 <- i8042 (interrupt, KBD, 1) [238117]
drivers/input/serio/i8042.c: 19 <- i8042 (interrupt, KBD, 1) [238204]
drivers/input/serio/i8042.c: b2 <- i8042 (interrupt, KBD, 1) [238276]
drivers/input/serio/i8042.c: 99 <- i8042 (interrupt, KBD, 1) [238363]
drivers/input/serio/i8042.c: 35 <- i8042 (interrupt, KBD, 1) [238563]
drivers/input/serio/i8042.c: b5 <- i8042 (interrupt, KBD, 1) [238727]
drivers/input/serio/i8042.c: 20 <- i8042 (interrupt, KBD, 1) [239301]
drivers/input/serio/i8042.c: a0 <- i8042 (interrupt, KBD, 1) [239403]
drivers/input/serio/i8042.c: 32 <- i8042 (interrupt, KBD, 1) [239424]
drivers/input/serio/i8042.c: 12 <- i8042 (interrupt, KBD, 1) [239506]
drivers/input/serio/i8042.c: b2 <- i8042 (interrupt, KBD, 1) [239557]
drivers/input/serio/i8042.c: 1f <- i8042 (interrupt, KBD, 1) [239573]
drivers/input/serio/i8042.c: 22 <- i8042 (interrupt, KBD, 1) [239690]
drivers/input/serio/i8042.c: 92 <- i8042 (interrupt, KBD, 1) [239701]
drivers/input/serio/i8042.c: 9f <- i8042 (interrupt, KBD, 1) [239741]
drivers/input/serio/i8042.c: a2 <- i8042 (interrupt, KBD, 1) [239849]
drivers/input/serio/i8042.c: 34 <- i8042 (interrupt, KBD, 1) [239864]
drivers/input/serio/i8042.c: b4 <- i8042 (interrupt, KBD, 1) [239982]
drivers/input/serio/i8042.c: 1f <- i8042 (interrupt, KBD, 1) [242518]
drivers/input/serio/i8042.c: 16 <- i8042 (interrupt, KBD, 1) [242641]
drivers/input/serio/i8042.c: 9f <- i8042 (interrupt, KBD, 1) [242657]
drivers/input/serio/i8042.c: 1f <- i8042 (interrupt, KBD, 1) [242739]
drivers/input/serio/i8042.c: 96 <- i8042 (interrupt, KBD, 1) [242770]
drivers/input/serio/i8042.c: 9f <- i8042 (interrupt, KBD, 1) [242872]
drivers/input/serio/i8042.c: 1c <- i8042 (interrupt, KBD, 1) [243051]