PS/2 Keyboard is dead after resume.

Andrew Haninger
2005-07-15T02:35:22Z

Hello.

I'm using Linux Kernel 2.6.12.2 plus suspend 2.1.9.9 and acpi-20050408
with the hibernate-1.10 script. My machine is a Shuttle SK43G which
has a VIA KM400 chipset with an Athlon XP CPU.

Suspension seems to work well. However, when I resume, the keyboard is
dead and there is a warning in dmesg before and after suspension:

atkbd.c: Spurious ACK on isa0060/serio0. Some program, like XFree86,
might be trying access hardware directly.
Please include the following information in bug reports:
- SUSPEND core : 2.1.9.9
- Kernel Version : 2.6.12.2
- Compiler vers. : 3.3
- Attempt number : 1
- Pageset sizes : 5821 (5821 low) and 118350 (118350 low).
- Parameters : 0 32 0 1 0 5
- Calculations : Image size: 124376. Ram to suspend: 2240.
- Limits : 126960 pages RAM. Initial boot: 123894.
- Overall expected compression percentage: 0.
- Compressor lzf enabled.
Compressed 508604416 bytes into 23739845 (95 percent compression).
- Swapwriter active.
Swap available for image: 487964 pages.
- Filewriter inactive.
- Preemptive kernel.
- Max extents used: 4
- I/O speed: Write 251 MB/s, Read 198 MB/s.
Resume block device is defe0860.
Real Time Clock Driver v1.12
atkbd.c: Spurious ACK on isa0060/serio0. Some program, like XFree86,
might be trying access hardware directly.

This machine doesn't have XFree86 on it.

I am presuming that this is a bug since I've used the exact same
kernel+patches (with hibernate 1.09 script) on another machine without
issues. I'm not sure if it's a suspension bug or if it's a kernel bug
that is brought to light by the suspend2 patches. If I'm wrong and
I've made a mistake, I'd love to hear it.

Thanks.

-Andy