summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-04-22 11:27:16 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-04-22 11:27:16 +0000
commit12f94a380466ec3a55d20cdef129b87ef9f2e2c4 (patch)
tree668535d09ac433175c10955c5db0d0bca053df1b
parent9759e6587e6bae5522c56aeabe69d0330a2a2079 (diff)
downloaddrakx-backup-do-not-use-12f94a380466ec3a55d20cdef129b87ef9f2e2c4.tar
drakx-backup-do-not-use-12f94a380466ec3a55d20cdef129b87ef9f2e2c4.tar.gz
drakx-backup-do-not-use-12f94a380466ec3a55d20cdef129b87ef9f2e2c4.tar.bz2
drakx-backup-do-not-use-12f94a380466ec3a55d20cdef129b87ef9f2e2c4.tar.xz
drakx-backup-do-not-use-12f94a380466ec3a55d20cdef129b87ef9f2e2c4.zip
split usb ports from usb controllers (arnaud request)
-rw-r--r--perl-install/harddrake/data.pm11
1 files changed, 10 insertions, 1 deletions
diff --git a/perl-install/harddrake/data.pm b/perl-install/harddrake/data.pm
index c2662cdfa..f49e3b2eb 100644
--- a/perl-install/harddrake/data.pm
+++ b/perl-install/harddrake/data.pm
@@ -307,7 +307,16 @@ our @tree =
string => N("USB controllers"),
icon => "usb.png",
configurator => "",
- detector => sub { f(grep { $_->{media_type} =~ /SERIAL_USB|Hub/ } @devices) },
+ detector => sub { f(grep { $_->{media_type} eq 'SERIAL_USB' } @devices) },
+ checked_on_boot => 0,
+ },
+
+ {
+ class => "USB_HUB",
+ string => N("USB ports"),
+ icon => "usb.png",
+ configurator => "",
+ detector => sub { f(grep { $_->{media_type} =~ /Hub/ } @devices) },
checked_on_boot => 0,
},