public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* T60 not coming out of suspend to RAM
@ 2006-08-22 10:37 Michael S. Tsirkin
  2006-08-25 11:04 ` Pavel Machek
  0 siblings, 1 reply; 13+ messages in thread
From: Michael S. Tsirkin @ 2006-08-22 10:37 UTC (permalink / raw)
  To: pavel, linux-pm, Linux Kernel Mailing List

Hi!
I'm running Linus' git tree on my thinkpad T60.
It generally seems to work fine after suspend to disk.
However, the system does not come out of suspend to ram,
with screen staying blank. I'm looking for hints for debugging this.

If I set suspend/resume event tracing, I see this in dmesg
after reboot:

dmesg -s 1000000 | grep 'hash matches'
  hash matches drivers/base/power/resume.c:42
  hash matches device serio2

serio2 seems to be the psmouse device:
ls /sys/bus/serio/drivers/psmouse/
bind bind_mode description serio0 serio2 unbind

Does this mean the mouse driver blocks the resume?

I've rebuilt psmouse as a module, unloaded it before suspend, and now
I see the same behaviour but after reboot:
dmesg -s 1000000 | grep 'hash matches'
  hash matches drivers/base/power/resume.c:42
  hash matches device i2c-9191

Which is somewhat weird because
ls /sys/bus/i2c/devices
does not list any i2c devices

I could continue disabling stuff - but I am looking in the
correct place even? How do you debug resume issues?

Thanks,

-- 
MST

^ permalink raw reply	[flat|nested] 13+ messages in thread
* Re: T60 not coming out of suspend to RAM
@ 2006-08-25 11:55 Thomas Glanzmann
  2006-08-25 11:58 ` Thomas Glanzmann
  0 siblings, 1 reply; 13+ messages in thread
From: Thomas Glanzmann @ 2006-08-25 11:55 UTC (permalink / raw)
  To: LKML; +Cc: Michael S. Tsirkin

Hello Michael,
I have also a T60 and for me it worked after 2 days of compiling kernels
and trying combinations.  For me suspend to ram only works with the
following: Kernel 2.6.17.7 and ipw3945-1.0.5, ATI binary driver and
*loaded* ATI Kernel Module.  With newer kernel versions or newer ipw3945
it did not work any longer (or it worked once and as soon as I tried
consecutive suspend to ram it stopped working). Oh and if you have high
latency with your e1000 network card (500ms - 1 second and laggy ssh to
a machine on the same lan segement) disable the parallel port in the
bios and irq load balancing in the kernel config. Oh and when I have
sshfs mounted it does not to suspend to ram so get sure that you umount
all sshfs mounted filesystems, if you use it at all.

With the above combination everything I need works:

        * sound
        * ati binary only driver
        * suspend to ram
        * e1000
        * wifi

When I tried newer / older kernel versions at least one of the above broke. I
sometimes still have no sound or e1000, but a reboot fixes the problem for me.
For e1000 I also "#if 0"ed the bios checksum in the driver so that it loads
often when no ethernet cable is plugged in.

Also see the notes on: http://vizzzion.org/?id=t60

Let us know, if you proceed.

        Thomas

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

end of thread, other threads:[~2006-10-04 21:52 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-22 10:37 T60 not coming out of suspend to RAM Michael S. Tsirkin
2006-08-25 11:04 ` Pavel Machek
2006-08-28 13:53   ` Michael S. Tsirkin
2006-08-28 15:42     ` Pavel Machek
2006-08-28 17:19       ` Michael S. Tsirkin
2006-08-28 19:25         ` Andrew Morton
2006-08-28 20:19           ` Michael S. Tsirkin
2006-08-30 14:46             ` Pavel Machek
2006-08-30 15:05               ` Michael S. Tsirkin
2006-10-04 21:53               ` T60 ACPI events on 78b656b8 Michael S. Tsirkin
  -- strict thread matches above, loose matches on Subject: below --
2006-08-25 11:55 T60 not coming out of suspend to RAM Thomas Glanzmann
2006-08-25 11:58 ` Thomas Glanzmann
2006-08-26 20:33   ` Michael S. Tsirkin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox