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

2004-12-12 Thread Klaus Ethgen
-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.0 +0100
+++ discover2004-12-12 18:59:45.0 +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:
:00:00.0 0600: 1106:0691 (rev 44)
:00:00.0 Host bridge: VIA Technologies, Inc. VT82C693A/694x [Apollo 
PRO133x] (rev 44)
:00:01.0 0604: 1106:8598
:00:01.0 PCI bridge: VIA Technologies, Inc. VT82C598/694x [Apollo 
MVP3/Pro133x AGP]
:00:07.0 0601: 1106:0596 (rev 23)
:00:07.0 ISA bridge: VIA Technologies, Inc. VT82C596 ISA [Mobile South] 
(rev 23)
:00:07.1 0101: 1106:0571 (rev 10)
:00:07.1 IDE interface: VIA Technologies, Inc. 
VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 10)
:00:07.2 0c03: 1106:3038 (rev 11)
:00:07.2 USB Controller: VIA Technologies, Inc. VT82x UHCI USB 1.1 
Controller (rev 11)
:00:07.3 0600: 1106:3050 (rev 30)
:00:07.3 Host bridge: VIA Technologies, Inc. VT82C596 Power Management (rev 
30)
:00:08.0 0400: 109e:0350 (rev 12)
:00:08.0 Multimedia video controller: Brooktree Corporation Bt848 Video 
Capture (rev 12)
:00:09.0 0100: 9004:7178
:00:09.0 SCSI storage controller: Adaptec AHA-2940/2940W / AIC-7871
:00:0a.0 0200: 10b7:9200 (rev 78)
:00:0a.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] 
(rev 78)
:00:0b.0 0401: 1274:5880 (rev 02)
:00:0b.0 Multimedia audio controller: Ensoniq 5880 AudioPCI (rev 02)
:00:0c.0 0200: 100b:0020
:00:0c.0 Ethernet controller: National Semiconductor Corporation DP83815 
(MacPhyter) Ethernet Controller
:01:00.0 0300: 102b:0521 (rev 01)
: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  dash0.5.1-3  The Debian Almquist Shell
ii  debconf 1.4.30.10Debian 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  libdiscover11.7.5hardware identification library

- -- debconf information:
* discover/manage_cdrom_devices: false
  discover/cdrom_base_mountpoint: /media/
  discover/cdrom_base_mountpoint_error:
- -- 
Klaus Ethgenhttp://www.ethgen.de/
pub  2048R/D1A4EDE5 2000-02-26 Klaus Ethgen [EMAIL PROTECTED]
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-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



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

2004-12-12 Thread Frans Pop
severity 285345 normal
tags 284223 + patch
merge 285345 284223
thanks

Thought I remembered seeing almost exactly the same patch recently...


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



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

2004-12-12 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

 severity 285345 normal
Bug#285345: dosn't work properly with modules including -
Severity set to `normal'.

 tags 284223 + patch
Bug#284223: discover1: modules with dash in name are not properly handled 
(patch)
Tags were: patch
Tags added: patch

 merge 285345 284223
Bug#284223: discover1: modules with dash in name are not properly handled 
(patch)
Bug#285345: dosn't work properly with modules including -
Merged 284223 285345.

 thanks
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]