Re: hald spins in a poll/read loop against /dev/usb with CURRENT

From: Joe Marcus Clarke <marcus_at_marcuscom.com>
Date: Fri, 25 Sep 2009 18:21:34 -0400
On Fri, 2009-09-25 at 18:18 -0400, Daniel Eischen wrote:
> On Fri, 25 Sep 2009, Joe Marcus Clarke wrote:
> >>
> >> I've rebuilt hald (hal-0.5.11_26) after checking out 8/stable under
> >> /usr/src/sys. Same problem. A spin loop of poll/read, with /dev/usb
> >> responding to poll() but not to read().
> >
> > Insufficient.  You need to be running on a world/kernel which are in
> > sync with each other.  You also need to make sure the libusb port is no
> > longer installed, and that you have run "make delete-old" after the
> > upgrade.  Then rebuild hal.
> 
> With regard to the libusb port problems, shouldn't the
> ports prefer/configure to use libusb20 when it is present,
> so that it wouldn't matter if libusb was installed or not?

Hal will (must) use libusb20 on a newusb system.  If the devel/libusb
port is installed, hal will fail build.  On oldusb, libusb is not used
by hal, and hal doesn't care if it's present.

Joe

> 
-- 
PGP Key : http://www.marcuscom.com/pgp.asc

Received on Fri Sep 25 2009 - 20:21:38 UTC

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