From a74e817b04ba465b6760d92c318656476087a46e Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Wed, 18 Aug 2004 11:03:52 +0000 Subject: check usb controllers on boot --- perl-install/harddrake/data.pm | 2 +- perl-install/standalone/service_harddrake | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/perl-install/harddrake/data.pm b/perl-install/harddrake/data.pm index ceb6cd2c2..fd9ed785d 100644 --- a/perl-install/harddrake/data.pm +++ b/perl-install/harddrake/data.pm @@ -337,7 +337,7 @@ our @tree = icon => "usb.png", configurator => "", detector => sub { f(grep { $_->{media_type} eq 'SERIAL_USB' } @devices) }, - checked_on_boot => 0, + checked_on_boot => 1, }, { diff --git a/perl-install/standalone/service_harddrake b/perl-install/standalone/service_harddrake index 586622f9a..2646b2cf8 100755 --- a/perl-install/standalone/service_harddrake +++ b/perl-install/standalone/service_harddrake @@ -117,6 +117,9 @@ foreach my $hw_class (@harddrake::data::tree) { } elsif ($Ident eq "AGP") { # add agpgart modules to modprobe.preload if needed: $modules_conf->write; + } elsif ($Ident eq "USB_CONTROLLER") { + modules::load_category($modules_conf, 'bus/usb'); + $modules_conf->write; } elsif ($Ident eq "VIDEO") { require harddrake::autoconf; harddrake::autoconf::xconf($modules_conf, {}); -- cgit v1.2.1