From owner-freebsd-mobile Thu Dec 30 22:25:51 1999 Delivered-To: freebsd-mobile@freebsd.org Received: from mass.cdrom.com (castles532.castles.com [208.214.165.96]) by hub.freebsd.org (Postfix) with ESMTP id 543D615192; Thu, 30 Dec 1999 22:25:47 -0800 (PST) (envelope-from msmith@mass.cdrom.com) Received: from mass.cdrom.com (localhost [127.0.0.1]) by mass.cdrom.com (8.9.3/8.9.3) with ESMTP id WAA00600; Thu, 30 Dec 1999 22:30:52 -0800 (PST) (envelope-from msmith@mass.cdrom.com) Message-Id: <199912310630.WAA00600@mass.cdrom.com> X-Mailer: exmh version 2.1.1 10/15/1999 To: nate@mt.sri.com (Nate Williams) Cc: William Woods , freebsd-mobile@FreeBSD.ORG, freebsd-questions@FreeBSD.ORG Subject: Re: Hot Swapping bay on a Thinkpad 770E In-reply-to: Your message of "Thu, 30 Dec 1999 17:24:06 MST." <199912310024.RAA26498@mt.sri.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 30 Dec 1999 22:30:52 -0800 From: Mike Smith Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > Has anyone got the hot swap bay to work on a Thinkpad 770E? I would love to > > "suspend" and swap CD and Floppy instead or power off, swap, power on every > > time.... > > It ain't gonna happen anytime soon, since FreeBSD is not (yet) ready for > swapping hardware. Warner is getting closer with his pccard work, which > should pave the way for more drivers to be loadable/unloadable. Actually, Warner's pccard work has little or nothing to do with this particular case. Depending on how the 'hot-swap' bay is implemented, it's probably hooked by the PnP BIOS as a 'docking station', or detailed by the ACPI data provided by the BIOS. Making 'hot plug' of these devices (hot swap is almost certainly not feasible) work will require proper newbus-ification of the ata and fd drivers, and some hooks to detect their departure/arrival. These are probably worth doing for docking station support as welll. Reprobe-on-resume is kinda tough; you need to refuse to suspend if any device that is marked 'removable' is open/configured (this has to include pccards) or similar... -- \\ Give a man a fish, and you feed him for a day. \\ Mike Smith \\ Tell him he should learn how to fish himself, \\ msmith@freebsd.org \\ and he'll hate you for a lifetime. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message