anyway, my real question is this. i noticed the new options for
hotplug, and am wondering if i can use this with my laptop. the
Latitude CS has a port on the side, with which you can connect a cable
that hooks up to either a floppy drive or a CDROM.
if you boot the machine cold with the CDROM attached, linux notices it
on a second IDE bus (/dev/hdc). if you boot without it, /dev/hdc
isn't there. if you plug in the CDROM while the system is running,
there is a noticeable pause for a couple seconds, which seems to imply
some kind of BIOS action or interrupt or something happens which could
be caught.
back in 2.2.x, i used to build IDE as a module, and after plugging up
the CDROM do a 'rmmod ide-probe; modprobe ide-probe' which had a
pretty good success rate. i'm hoping maybe the 2.4.x hotplug features
have made this obsolete.
(plugging up the floppy drive always works, because PC floppy
controllers are too dumb to care if they actually have a drive
attached).
ian
-- ---- Ian Soboroff ian@cs.umbc.edu University of MD Baltimore County http://www.cs.umbc.edu/~ian - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/