[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#285345: dosn't work properly with modules including -



-----BEGIN PGP SIGNED MESSAGE-----

Package: discover1
Version: 1.7.5
Severity: important
Tags: patch

The following patch shuld fix the problem with mapping and modules with
'-' inside (usb-uhci).

The patch must be applied to /etc/init.d/discover

- --- discover.org	2004-12-12 18:34:07.000000000 +0100
+++ discover	2004-12-12 18:59:45.000000000 +0100
@@ -156,7 +156,8 @@
         continue
     fi
 
- -    MAPPED=$(eval "echo \$map_$MODULE")
+    under=$(echo $MODULE | sed 's/-/_/g')
+    MAPPED=$(eval "echo \$map_$under")
     if [ -n "$MAPPED" ]; then
         MODULE=$MAPPED
     fi

- -- Package-specific info:
lspci:
0000:00:00.0 0600: 1106:0691 (rev 44)
0000:00:00.0 Host bridge: VIA Technologies, Inc. VT82C693A/694x [Apollo PRO133x] (rev 44)
0000:00:01.0 0604: 1106:8598
0000:00:01.0 PCI bridge: VIA Technologies, Inc. VT82C598/694x [Apollo MVP3/Pro133x AGP]
0000:00:07.0 0601: 1106:0596 (rev 23)
0000:00:07.0 ISA bridge: VIA Technologies, Inc. VT82C596 ISA [Mobile South] (rev 23)
0000:00:07.1 0101: 1106:0571 (rev 10)
0000:00:07.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 10)
0000:00:07.2 0c03: 1106:3038 (rev 11)
0000:00:07.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 11)
0000:00:07.3 0600: 1106:3050 (rev 30)
0000:00:07.3 Host bridge: VIA Technologies, Inc. VT82C596 Power Management (rev 30)
0000:00:08.0 0400: 109e:0350 (rev 12)
0000:00:08.0 Multimedia video controller: Brooktree Corporation Bt848 Video Capture (rev 12)
0000:00:09.0 0100: 9004:7178
0000:00:09.0 SCSI storage controller: Adaptec AHA-2940/2940W / AIC-7871
0000:00:0a.0 0200: 10b7:9200 (rev 78)
0000:00:0a.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] (rev 78)
0000:00:0b.0 0401: 1274:5880 (rev 02)
0000:00:0b.0 Multimedia audio controller: Ensoniq 5880 AudioPCI (rev 02)
0000:00:0c.0 0200: 100b:0020
0000:00:0c.0 Ethernet controller: National Semiconductor Corporation DP83815 (MacPhyter) Ethernet Controller
0000:01:00.0 0300: 102b:0521 (rev 01)
0000:01:00.0 VGA compatible controller: Matrox Graphics, Inc. MGA G200 AGP (rev 01)

discover:

- -- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (800, 'testing'), (70, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.28
Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=ISO-8859-1) (ignored: LC_ALL set to de_DE)

Versions of packages discover1 depends on:
ii  dash                        0.5.1-3      The Debian Almquist Shell
ii  debconf                     1.4.30.10    Debian configuration management sy
ii  discover1-data              1.2004.11.27 hardware lists for libdiscover1
ii  libc6                       2.3.2.ds1-18 GNU C Library: Shared libraries an
ii  libdiscover1                1.7.5        hardware identification library

- -- debconf information:
* discover/manage_cdrom_devices: false
  discover/cdrom_base_mountpoint: /media/
  discover/cdrom_base_mountpoint_error:
- -- 
Klaus Ethgen                            http://www.ethgen.de/
pub  2048R/D1A4EDE5 2000-02-26 Klaus Ethgen <Klaus@Ethgen.de>
Fingerprint: D7 67 71 C4 99 A6 D4 FE  EA 40 30 57 3C 88 26 2B
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iQEVAwUBQbyHrZ+OKpjRpO3lAQHP4Qf+JLb9xIRabahFEOeC3MX3ZYgk4mlSZVUf
4i3/DKIlnGB1A7EYoTnM5InBrD+t4/F2VY/f9FAyO4GW37bMVvHfA+ka65Z6N7RM
gOYXcJ3QPS+EZGzZ749yN96szjbnEmLyrbzdg9EAq0iE6NcwlpBkJI7Js3z+xvUM
rzkKIVw6indbjEucA9VNBY//fGN0ie8h/mX9Soa8Zur4PtDJtd+SyqU3LjwqzJ2t
8tMVky8dOcHp3al2h6qz7c3JUvVJhZqMddiAPN1gu42IqanoYUuAQoBy27UvMzVr
PGHL3gxX34bVRjxMKEQirI7w5ZCmKzv03L87I4lDlA3a7qIaV7DPtg==
=Yx7e
-----END PGP SIGNATURE-----



Reply to: