From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Hedderly Date: Wed, 19 Mar 2003 10:30:31 +0000 Subject: Re: hotpluggable ide cd-rom drive? Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: linux-hotplug@vger.kernel.org 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=E4rz 2003 18:50 schrieb Greg KH: >=20 > 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 ? >=20 > 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?=20 You could win a Tablet PC. Get a free Tablet PC hat just for playing.=20 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