Date: Mon, 24 Nov 2003 09:25:52 -0500 From: "Dan Langille" <dan@langille.org> To: hackers@freebsd.org Subject: using devel/libusb to access USB Message-ID: <3FC1CEA0.28542.14DD8CEF@localhost>
next in thread | raw e-mail | index | archive | help
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/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3FC1CEA0.28542.14DD8CEF>