summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-01-22 15:27:24 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-01-22 15:27:24 +0000
commit8eae888404e965cd4e67f503884ad84c01ccf670 (patch)
tree7670bf2763642cbd39542562b2056765c080bf4b
parent43d870f7731b7e4c62c5bcb21b40388ab68a2510 (diff)
downloaddrakx-8eae888404e965cd4e67f503884ad84c01ccf670.tar
drakx-8eae888404e965cd4e67f503884ad84c01ccf670.tar.gz
drakx-8eae888404e965cd4e67f503884ad84c01ccf670.tar.bz2
drakx-8eae888404e965cd4e67f503884ad84c01ccf670.tar.xz
drakx-8eae888404e965cd4e67f503884ad84c01ccf670.zip
do not mix before and after firmware upload usb ids
-rw-r--r--perl-install/detect_devices.pm38
1 files changed, 25 insertions, 13 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index 811597dd4..18a58c054 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -428,21 +428,33 @@ sub getSagem() {
}
# generate from the following from eci driver sources:
-# perl -e 'while (<>) { print qq("$1$2$3$4",\n) if /\b([a-z\d]*)\s*([a-z\d]*)\s*([a-z\d]*)\s*([a-z\d]*)$/ }' <modems.db|sort|uniq
+# perl -e 'while (<>) { print qq("$1$2",\n"$3$4",\n) if /\b([a-z\d]*)\s*([a-z\d]*)\s*([a-z\d]*)\s*([a-z\d]*)$/ }' <modems.db|sort|uniq
sub getECI() {
my @ids =(
- "0509080109150802",
- "0547213109158000",
- "0659091509150916",
- "071dac810915ac82",
- "08ea00c9091500ca",
- "0915000109150002",
- "0baf00e6091500e7",
- "0e60010009150101",
- "0e60010109150102",
- "0fe8800009158001",
- "1690020309150204",
- "1690020509150206",
+ "05090801",
+ "05472131",
+ "06590915",
+ "071dac81",
+ "08ea00c9",
+ "09150001",
+ "09150002",
+ "091500ca",
+ "091500e7",
+ "09150101",
+ "09150102",
+ "09150204",
+ "09150206",
+ "09150802",
+ "09150916",
+ "09158000",
+ "09158001",
+ "0915ac82",
+ "0baf00e6",
+ "0e600100",
+ "0e600101",
+ "0fe88000",
+ "16900203",
+ "16900205",
);
grep { member(sprintf("%04x%04x%04x%04x", $_->{vendor}, $_->{id}, $_->{subvendor}, $_->{subid}), @ids) } usb_probe();
}