Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Sep 2009 18:21:34 -0400
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        Daniel Eischen <deischen@freebsd.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: hald spins in a poll/read loop against /dev/usb with CURRENT
Message-ID:  <1253917294.1274.30.camel@shumai.marcuscom.com>
In-Reply-To: <Pine.GSO.4.64.0909251812550.17362@sea.ntplx.net>
References:  <426bed110909250623j44c25ba8o97ded8393f5297a9@mail.gmail.com> <20090925153212.67247375@ernst.jennejohn.org> <426bed110909251459p50ca5564mee568e14bd26d8cd@mail.gmail.com> <1253916251.1274.25.camel@shumai.marcuscom.com> <Pine.GSO.4.64.0909251812550.17362@sea.ntplx.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-kVi/d0INLhe8VFW4IIQ7
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

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.
>=20
> 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

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

--=-kVi/d0INLhe8VFW4IIQ7
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (FreeBSD)

iEYEABECAAYFAkq9Qm0ACgkQb2iPiv4Uz4c+wQCfU9dpSNmJn4mNa2kAIYuvZsbu
TtMAnid763QKymL5YRQzHRlChXOGZ9Gm
=VHv3
-----END PGP SIGNATURE-----

--=-kVi/d0INLhe8VFW4IIQ7--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1253917294.1274.30.camel>