mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Sanjoy Mahajan <sanjoy@mrao.cam.ac.uk>
To: linux-kernel@vger.kernel.org
Cc: Andrew Robert Mitchell <andrewm@cse.unsw.edu.au>,
	Alfred Ganz <alfred-ganz@agci.com>
Subject: Thinkpad 560 suspend/hibernate requires floppy
Date: Sat, 29 Jun 2002 15:55:24 +0100	[thread overview]
Message-ID: <E17OJdE-0000ne-00@coll.ra.phy.cam.ac.uk> (raw)

[Sending again since I sent it to the wrong linux-kernel addr before.]

I almost always run into trouble suspending or hibernating my Thinkpad
560.  On some boots, it works once only.  On others it works many
times and then stops (it always stops working if I put in a Zoom modem
card).  I've tried many different kernels, all with the same problem.

Now I follow a mix of advice that I got when I mentioned this problem
before on linux-kernel, and I can now suspend/hibernate whenever I
want.  Why does the procedure below fix the problem?  Let me know if
there are diagnostics that I can run to help track down this problem.

First, the advice:

>From Alfred Ganz --

  In addition to the proper APM driver configuration, the critical
  element is that the Floppy Disk drive MUST BE configured as a module!

>From Andrew Mitchell --

  attach the floppy disk drive
  Remove any floppies from the floppy drive.
  mount /mnt/floppy
  (it gives an error)
  bingo, you can now suspend!

I have the floppy driver as a module.  I don't follow Andrew
Mitchell's advice exactly (since I just dug it out), but instead
insert a random DOS-formatted floppy into the drive and do "cat <
/dev/fd0 > /dev/null" and interrupt it soon.  Then I'm golden.

System: IBM Thinkpad 560, bios v1.11, kernel 2.4.18 (RH's 2.4.18-4
kernel without the unneeded modules).

Relevant .config lines:

CONFIG_BLK_DEV_FD=m

CONFIG_PM=y
# CONFIG_ACPI is not set
CONFIG_APM=y
# CONFIG_APM_IGNORE_USER_SUSPEND is not set
CONFIG_APM_DO_ENABLE=y
CONFIG_APM_CPU_IDLE=y
CONFIG_APM_DISPLAY_BLANK=y
CONFIG_APM_RTC_IS_GMT=y
# CONFIG_APM_ALLOW_INTS is not set
# CONFIG_APM_REAL_MODE_POWER_OFF is not set

-Sanjoy

             reply	other threads:[~2002-06-29 14:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-29 14:55 Sanjoy Mahajan [this message]
2002-06-30 17:55 ` Jan Harkes
2002-06-30 18:11   ` Jan Harkes
2002-07-05 19:03   ` Sanjoy Mahajan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E17OJdE-0000ne-00@coll.ra.phy.cam.ac.uk \
    --to=sanjoy@mrao.cam.ac.uk \
    --cc=alfred-ganz@agci.com \
    --cc=andrewm@cse.unsw.edu.au \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®