From owner-freebsd-current@FreeBSD.ORG Thu Feb 12 11:18:44 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0332E106564A for ; Thu, 12 Feb 2009 11:18:44 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe01.swip.net [212.247.154.1]) by mx1.freebsd.org (Postfix) with ESMTP id 621358FC0A for ; Thu, 12 Feb 2009 11:18:43 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=7mdv1hh8KW0A:10 a=kw03RjmKpLm8ql5X2xOdcA==:17 a=8kQB0OdkAAAA:8 a=6I5d2MoRAAAA:8 a=AQOCufLK2YYQtnp0RWYA:9 a=DWrLbdOKEB1w1zQ2EFjy8c-dHD4A:4 a=LY0hPdMaydYA:10 a=9aOQ2cSd83gA:10 Received: from [85.19.218.115] (account mc467741@c2i.net HELO laptop) by mailfe01.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 144054818; Thu, 12 Feb 2009 12:18:41 +0100 From: Hans Petter Selasky To: freebsd-current@freebsd.org, jylefort@FreeBSD.org Date: Thu, 12 Feb 2009 12:21:05 +0100 User-Agent: KMail/1.9.7 References: <1878.1234435909@critter.freebsd.dk> In-Reply-To: <1878.1234435909@critter.freebsd.dk> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200902121221.07622.hselasky@c2i.net> Cc: Max Laier , Poul-Henning Kamp Subject: Re: @188498: u3g works, Xorg does not X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Feb 2009 11:18:44 -0000 On Thursday 12 February 2009, Poul-Henning Kamp wrote: > In message <200902121125.57378.hselasky@c2i.net>, Hans Petter Selasky writes: > >Before enabling hald and USB2 at the same time, read the USB wiki: > > > >http://wiki.freebsd.org/USB > > I added the following two lines to libmap.conf: > > libusb-0.1.so libusb20.so > libusb-0.1.so.8 libusb20.so.1 > > But that does not seem to help much. > > hald(8) does not seem to be linked (dynamically) against libusb ? > > critter# ldd /usr/local/sbin/hald | grep -i usb > critter# > > So is it statically linked ? No, dnl Check libusb AC_ARG_ENABLE([usb], AS_HELP_STRING([--disable-usb], [Do not use libusb]), [use_usb=$enableval], [use_usb=yes]) if test "x$use_usb" = "xyes" ; then AC_CHECK_HEADERS([usb.h], [USE_LIBUSB=yes], [USE_LIBUSB=no]) if test "x$USE_LIBUSB" = "xyes"; then AC_CHECK_LIB([usb], [usb_find_devices], [USE_LIBUSB=yes], [USE_LIBUSB=no]) fi else USE_LIBUSB=no fi You need to have libusb0.1.x installed before building hald. The following file is no longer useful with USB2. I could make some patches for HAL, but I don't know where to send them. /usr/ports/sysutils/hal/work/hal-0.5.11/hald/freebsd/hf-usb.c > > In that case the Wiki should state that libmap.conf is not going to help. > > Why doesn't the wiki have a libmap.conf examble btw ? Fixed. --HPS