linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Paul Hedderly <paul@mjr.org>
To: linux-hotplug@vger.kernel.org
Subject: Re: hotpluggable ide cd-rom drive?
Date: Wed, 19 Mar 2003 10:30:31 +0000	[thread overview]
Message-ID: <marc-linux-hotplug-104807009916246@msgid-missing> (raw)
In-Reply-To: <marc-linux-hotplug-104790612323451@msgid-missing>

On Mon, Mar 17, 2003 at 11:09:32AM -0800, Greg KH wrote:
> On Mon, Mar 17, 2003 at 08:05:21PM +0100, Oliver Neukum wrote:
> > Am Montag, 17. März 2003 18:50 schrieb Greg KH:
> 
> Oh, forgot, some laptops support this if you suspend to ram, swap out
> the drive, and then resume.  Works for some APM based laptops, don't
> know about ACPI based ones.

With my thinkpad, I find a utility called "idectl" usefull. The
expansion tray can take an extra ide device which is helpfully on the
second IDE channel - idectl can turn that channel on off (ie force
detection or drop a detected drive) allowing me to suspend and
change/add/remove the tray or drive.

> > What happens if we suspend to disk and wake up with a changed drive ?
> 
> Heh, I don't want to think about that :)

Can of worms that. I just make sure nothing is mounted and that ide-scsi
/ ide-cd are not loaded when I do 'idectl 1 off' and suspend.

--
Paul


-------------------------------------------------------
This SF.net email is sponsored by: Does your code think in ink? 
You could win a Tablet PC. Get a free Tablet PC hat just for playing. 
What are you waiting for?
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

  parent reply	other threads:[~2003-03-19 10:30 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-17 12:56 hotpluggable ide cd-rom drive? Kari Karhi
2003-03-17 17:50 ` Greg KH
2003-03-17 19:05 ` Oliver Neukum
2003-03-17 19:09 ` Greg KH
2003-03-17 20:44 ` Oliver Neukum
2003-03-18 13:17 ` Kari Karhi
2003-03-18 17:56 ` Greg KH
2003-03-19 10:30 ` Paul Hedderly [this message]
2003-03-19 10:47 ` Paul Hedderly

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=marc-linux-hotplug-104807009916246@msgid-missing \
    --to=paul@mjr.org \
    --cc=linux-hotplug@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;
as well as URLs for NNTP newsgroup(s).