Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Dec 1999 22:30:52 -0800
From:      Mike Smith <msmith@freebsd.org>
To:        nate@mt.sri.com (Nate Williams)
Cc:        William Woods <freebsd@cybcon.com>, freebsd-mobile@FreeBSD.ORG, freebsd-questions@FreeBSD.ORG
Subject:   Re: Hot Swapping bay on a Thinkpad 770E 
Message-ID:  <199912310630.WAA00600@mass.cdrom.com>
In-Reply-To: Your message of "Thu, 30 Dec 1999 17:24:06 MST." <199912310024.RAA26498@mt.sri.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> > 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-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199912310630.WAA00600>