using devel/libusb to access USB

From: Dan Langille (dan_at_langille.org)
Date: 11/24/03

  • Next message: Leo Bicknell: "Re: Making a FreeBSD DVD"
    To: hackers@freebsd.org
    Date: Mon, 24 Nov 2003 09:25:52 -0500
    
    

    Travis Campbell and I are looking at apcupsd to get it working with
    the APC RS/XS series of USB capable UPSs. We're concentrating on
    4.x.

    Some work has been done in this area by Riccardo Torrini. See
    http://docs.freebsd.org/cgi/getmsg.cgi?fetch=57225+0+archive/2003/free
    bsd-hardware/20030608.freebsd-hardware

    We have been looking at the devel/libusb port and experimenting with
    testlibusb which is a part of that port. We have noticed that
    usb_find_devices() does not find any devices. Looking at the usb.c
    code within libusb, we found that usb_os_find_devices() does not
    return any devices, and therefore the while loop is never entered.

    We tracked the problem down to usb_os_find_devices() (within bsd.c)
    and found that various things were preventing the list from being
    created.

    We're wondering if anyone has had success with devel/libusb for
    similar things.

    -- 
    Dan Langille : http://www.langille.org/
    _______________________________________________
    freebsd-hackers@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
    To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
    

  • Next message: Leo Bicknell: "Re: Making a FreeBSD DVD"