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

Bug#387602: xdebconfigurator: Unable to work with discover v2

Package: xdebconfigurator
Version: 1.24
Severity: important

When running xdebconfigurator while discover v2 is installed, it is
unable to get any info out of discover.  This is printed when I try:

  # xdebconfigurator
  Detected Xorg server
  discover: Bus not found.
  Use of uninitialized value in string eq at /usr/sbin/xdebconfigurator line 882.
  /usr/sbin/kudzu NOT found!

The reason is that discover is called like this:

  discover --format="%V %M:%D:%S\n" video 

The video argument only work with discover1.  An example no how to
handle both discover1 and discover can be found it
/var/lib/dpkg/info/xserver-xorg.config.  The idea is to detect which
version is available, and then  call it like this:

  discover --data-path=xfree86/server/device/driver \
           --data-version=${SOURCE_VERSION%-*} display

The video card database in discover v2 is better then the one in
discover1, so I recommend using version 2.

Petter Reinholdtsen

Reply to: