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

Bug#285054: xdebconfigurator: Kudzu output not correctly parsed



Package: xdebconfigurator
Version: 1.13
Severity: serious

Hi,

my USB mouse is not detected properly, and the output looks like:

MOUSE DEVICE: /dev/input

instead  of

MOUSE DEVICE: /dev/input/mice

It seems that kudzu_mouse_device doesn't parse kudzu output properly.

This patch seems to solve the problem for me:

--- /usr/sbin/xdebconfigurator	2004-12-07 17:09:32.000000000 +0100
+++ xdebconfigurator	2004-12-10 11:02:55.000000000 +0100
@@ -268,7 +268,7 @@
 	  $m_flag = 1;
       }
 	
-      if ($m_flag && $line =~ /device: (\w+)/) {
+      if ($m_flag && $line =~ /device: (.*)/) {
 	  $xdebc_map{'config/inputdevice/mouse/port'} = $1;
 	  # kudzu doesn't attach the /dev/ to device.
 	  # Resulted in /dev/unknown in some cases.

Cheers,

Free
-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (901, 'testing'), (101, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.4.27-1-multimedia-686
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)

Versions of packages xdebconfigurator depends on:
ii  debconf                       1.4.30.10  Debian configuration management sy
ii  discover1                     1.7.5      hardware identification system
ii  kudzu                         1.1.67-1   The Red Hat Linux hardware probing
ii  perl-modules                  5.8.4-3    Core Perl modules

-- debconf information:
  base-config/menu/xdebconfigurator:
* xdebconfigurator/generate-at-boot: false




Reply to: