On Tue, Aug 16, 2005 at 06:44:18PM +0200, Bastian Blank wrote: > On Tue, Aug 16, 2005 at 05:12:37PM +0200, Aurelien Jarno wrote: > > Bastian Blank a écrit : > > >libusb-0.1-4 have broken checks for usb support and issues annoing > > >warnings for nothing. > > Without more explanation, it would be difficult to fix the checks... > > Could you please have a look to /var/lib/dpkg/info/libusb-0.1-4.config > > and tell me which part of the checks doesn't work on your system? > > if [ -d "/proc/bus/usb" ] || \ > [ -f "/lib/modules/`uname > -r`/kernel/drivers/usb/usbcore.o" ] || \ > [ -f "/lib/modules/`uname > -r`/kernel/drivers/usb/core/usbcore.ko" ] ; then > > This checks if the kernel is compiled with usb support, not if there is > support for usb. The check to see if there is support of usb is done in the next test. This first one is just done to issue a different message if there is no USB support in the kernel (in that case, it is sure USB won't work).
So I don't see what is wrong in this test. > This package is more or less base now so a warning that it may not work > is just annoying for anybody. The test was added because maintainers of packages using libusb were receiving too much bug reports of people having either no USB support in their kernel or /proc/bus/usb not mounted. But I could disable the error message, after all that's not me who receive such bugs. Aurelien -- .''`. Aurelien Jarno | GPG: 1024D/F1BCDB73 : :' : Debian GNU/Linux developer | Electrical Engineer `. `' [EMAIL PROTECTED] | [EMAIL PROTECTED] `- people.debian.org/~aurel32 | www.aurel32.net -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]