Date: Fri, 13 Feb 2009 01:15:50 -0500 From: Robert Noland <rnoland@FreeBSD.org> To: Hans Petter Selasky <hselasky@c2i.net> Cc: jylefort@FreeBSD.org, Max Laier <max@love2party.net>, Poul-Henning Kamp <phk@phk.freebsd.dk>, freebsd-current@freebsd.org Subject: Re: @188498: u3g works, Xorg does not Message-ID: <1234505750.33056.12.camel@ferret.2hip.net> In-Reply-To: <200902121221.07622.hselasky@c2i.net> References: <1878.1234435909@critter.freebsd.dk> <200902121221.07622.hselasky@c2i.net>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] 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 > 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. 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 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 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 help. > > > > Why doesn't the wiki have a libmap.conf examble btw ? > > Fixed. > > --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" -- Robert Noland <rnoland@FreeBSD.org> FreeBSD [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (FreeBSD) iEYEABECAAYFAkmVEBYACgkQM4TrQ4qfROO78gCdHUCRaw2HhiMRo2GZU7SCmANt cIkAnRIQ/tW9XT/ffRfizd/GoNmWp5Kl =QysM -----END PGP SIGNATURE-----home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1234505750.33056.12.camel>
