Re: _at_188498: u3g works, Xorg does not

From: Hans Petter Selasky <hselasky_at_c2i.net>
Date: Thu, 12 Feb 2009 12:21:05 +0100
On Thursday 12 February 2009, Poul-Henning Kamp wrote:
> In message <200902121125.57378.hselasky_at_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
Received on Thu Feb 12 2009 - 10:18:44 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:42 UTC