From owner-freebsd-current@FreeBSD.ORG Fri Feb 13 06:16:01 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 5FA6A106564A for ; Fri, 13 Feb 2009 06:16:01 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from gizmo.2hip.net (gizmo.2hip.net [64.74.207.195]) by mx1.freebsd.org (Postfix) with ESMTP id 2102E8FC0C for ; Fri, 13 Feb 2009 06:16:00 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from [192.168.1.132] (adsl-154-188-244.bna.bellsouth.net [68.154.188.244]) (authenticated bits=0) by gizmo.2hip.net (8.14.3/8.14.3) with ESMTP id n1D6EYwD015931 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 13 Feb 2009 01:14:34 -0500 (EST) (envelope-from rnoland@FreeBSD.org) From: Robert Noland To: Hans Petter Selasky In-Reply-To: <200902121221.07622.hselasky@c2i.net> References: <1878.1234435909@critter.freebsd.dk> <200902121221.07622.hselasky@c2i.net> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-8YOORRKdXp8J7UZCJmMd" Organization: FreeBSD Date: Fri, 13 Feb 2009 01:15:50 -0500 Message-Id: <1234505750.33056.12.camel@ferret.2hip.net> Mime-Version: 1.0 X-Mailer: Evolution 2.24.3 FreeBSD GNOME Team Port X-Spam-Status: No, score=-1.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_PBL, RCVD_IN_SORBS_DUL,RDNS_DYNAMIC autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gizmo.2hip.net Cc: jylefort@FreeBSD.org, Max Laier , Poul-Henning Kamp , freebsd-current@freebsd.org 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: Fri, 13 Feb 2009 06:16:01 -0000 --=-8YOORRKdXp8J7UZCJmMd Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu, 2009-02-12 at 12:21 +0100, Hans Petter Selasky wrote: > On Thursday 12 February 2009, Poul-Henning Kamp wrote: > > In message <200902121125.57378.hselasky@c2i.net>, Hans Petter Selasky=20 > 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 ? >=20 > No, >=20 > dnl Check libusb > AC_ARG_ENABLE([usb], > AS_HELP_STRING([--disable-usb], [Do not use libusb]), > [use_usb=3D$enableval], [use_usb=3Dyes]) > if test "x$use_usb" =3D "xyes" ; then > AC_CHECK_HEADERS([usb.h], [USE_LIBUSB=3Dyes], [USE_LIBUSB=3Dno]) > if test "x$USE_LIBUSB" =3D "xyes"; then > AC_CHECK_LIB([usb], [usb_find_devices], [USE_LIBUSB=3Dyes= ],=20 > [USE_LIBUSB=3Dno]) > fi > else > USE_LIBUSB=3Dno > fi >=20 > You need to have libusb0.1.x installed before building hald. We specifically disable libusb in our hal builds. See the port Makefile. > The following file is no longer useful with USB2. I could make some patch= es=20 > for HAL, but I don't know where to send them. >=20 > /usr/ports/sysutils/hal/work/hal-0.5.11/hald/freebsd/hf-usb.c This would be very useful, as hal is not useable with usb2 at the moment. The wiki entry about libmap.conf is not correct. robert. > > > > In that case the Wiki should state that libmap.conf is not going to hel= p. > > > > Why doesn't the wiki have a libmap.conf examble btw ? >=20 > Fixed. >=20 > --HPS > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org= " --=20 Robert Noland FreeBSD --=-8YOORRKdXp8J7UZCJmMd Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (FreeBSD) iEYEABECAAYFAkmVEBYACgkQM4TrQ4qfROO78gCdHUCRaw2HhiMRo2GZU7SCmANt cIkAnRIQ/tW9XT/ffRfizd/GoNmWp5Kl =QysM -----END PGP SIGNATURE----- --=-8YOORRKdXp8J7UZCJmMd--