summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2004-08-18 11:03:52 +0000
committerOlivier Blin <oblin@mandriva.org>2004-08-18 11:03:52 +0000
commita74e817b04ba465b6760d92c318656476087a46e (patch)
treeb7d9cf1580ec3e40862db824ea4a29017bb1f2ff
parent2d5dc71ea97e7054f023371b9735701fe749f983 (diff)
downloaddrakx-backup-do-not-use-a74e817b04ba465b6760d92c318656476087a46e.tar
drakx-backup-do-not-use-a74e817b04ba465b6760d92c318656476087a46e.tar.gz
drakx-backup-do-not-use-a74e817b04ba465b6760d92c318656476087a46e.tar.bz2
drakx-backup-do-not-use-a74e817b04ba465b6760d92c318656476087a46e.tar.xz
drakx-backup-do-not-use-a74e817b04ba465b6760d92c318656476087a46e.zip
check usb controllers on boot
-rw-r--r--perl-install/harddrake/data.pm2
-rwxr-xr-xperl-install/standalone/service_harddrake3
2 files changed, 4 insertions, 1 deletions
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, {});