From e400e529abf43994188100781722ed82d199f29a Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Wed, 28 Jul 2004 08:34:05 +0000 Subject: do not probe usb interface too soon, wait for the Move images to be mounted (or else usb drivers won't be automatically loaded at boot with Move) --- mdk-stage1/stage1.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/mdk-stage1/stage1.c b/mdk-stage1/stage1.c index 64ec06334..458270227 100644 --- a/mdk-stage1/stage1.c +++ b/mdk-stage1/stage1.c @@ -588,6 +588,12 @@ void finish_preparing(void) write(fd, "Killed\n", 7); close(fd); } + + /* load usb interface as soon as possible, helps usb mouse detection in stage2 + * (blino) do not probe it so soon, wait for the Move images to be mounted + * or else usb drivers won't be automatically loaded at boot with Move + */ + probe_that_type(USB_CONTROLLERS, BUS_USB); } int main(int argc __attribute__ ((unused)), char **argv __attribute__ ((unused)), char **env) @@ -630,9 +636,6 @@ int main(int argc __attribute__ ((unused)), char **argv __attribute__ ((unused)) handle_pcmcia(); #endif - // load usb interface as soon as possible, helps usb mouse detection in stage2 */ - probe_that_type(USB_CONTROLLERS, BUS_USB); - if (IS_CHANGEDISK) stg1_info_message("You are starting the installation with an alternate booting method. " "Please change your disk, and insert the Installation disk."); -- cgit v1.2.1