diff options
author | Mystery Man <unknown@mandriva.org> | 2005-03-17 22:05:21 +0000 |
---|---|---|
committer | Mystery Man <unknown@mandriva.org> | 2005-03-17 22:05:21 +0000 |
commit | bd0bf987a7fecfc348c88fb12a58d519a2d37e4e (patch) | |
tree | c90b11a8dcb4ef2e725f5db604d587fea36b2880 | |
parent | e2537ebea05d65b2348f7a4c83ea1eedd7ffa1ce (diff) | |
download | ldetect-lst-bd0bf987a7fecfc348c88fb12a58d519a2d37e4e.tar ldetect-lst-bd0bf987a7fecfc348c88fb12a58d519a2d37e4e.tar.gz ldetect-lst-bd0bf987a7fecfc348c88fb12a58d519a2d37e4e.tar.bz2 ldetect-lst-bd0bf987a7fecfc348c88fb12a58d519a2d37e4e.tar.xz ldetect-lst-bd0bf987a7fecfc348c88fb12a58d519a2d37e4e.zip |
This commit was manufactured by cvs2svn to create tag 'MDK10_1'.MDK10_1
-rw-r--r-- | convert/verify_MonitorsDB | 16 | ||||
-rw-r--r-- | ldetect-lst.spec | 2 |
2 files changed, 17 insertions, 1 deletions
diff --git a/convert/verify_MonitorsDB b/convert/verify_MonitorsDB new file mode 100644 index 00000000..9da8ec6f --- /dev/null +++ b/convert/verify_MonitorsDB @@ -0,0 +1,16 @@ +#!/usr/bin/perl + +use lib qw(/usr/lib/libDrakX); +use Xconfig::monitor; + +my $monitors_db = Xconfig::monitor::readMonitorsDB("../lst/MonitorsDB"); +foreach (@$monitors_db) { + if ($_->{EISA_ID} =~ /^\w{3}[0-9a-f]{4}$/i) { + # perfect! + } elsif ($_->{EISA_ID} =~ /^([a-z]{3})([0-9a-f]{0,3})$/i) { + # we can correct this + printf "$_->{EISA_ID} should be %s%04x\n", $1, hex($2); + } else { + print "bad EISA_ID $_->{EISA_ID}\n"; + } +} diff --git a/ldetect-lst.spec b/ldetect-lst.spec index 94c73782..d0abf2ba 100644 --- a/ldetect-lst.spec +++ b/ldetect-lst.spec @@ -73,7 +73,7 @@ fi * Thu Oct 28 2004 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 0.1.22-1mdk - add nVidia Quadro FX 1100 card ID -- add support for FreeBox via USB link (buggy device make kernel +- add support for FreeBox v4 via USB link (buggy device make kernel failed to map usbnet to it) [ Thierry Vignaud ] * Thu Oct 21 2004 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 0.1.21-1mdk |