libhid is not run on 8-current and 7.2-RELEASE

Hans Petter Selasky hselasky at c2i.net
Tue Jun 9 14:59:23 UTC 2009


On Tuesday 09 June 2009 15:41:15 MIHIRA Sanpei Yoshiro wrote:
> >If your application and the HID library is linked with libusb, it will
> > work. Can you check the source code for the HID library and find out 
what
> > backend it is using?
>
> I check latest 8-current enviroment.
> I think libhid uses /usr/lib/libusb.
>
> # ldd amfm
> amfm:
>         libhid.so.0 => /usr/local/lib/libhid.so.0 (0x2808d000)
>         libc.so.7 => /lib/libc.so.7 (0x2809a000)
>         libusb.so.1 => /usr/lib/libusb.so.1 (0x281ad000)
>

Hi,

Are you sure the USB device is accessible to the application.

chown or chmod /dev/usb/X.Y.*  according to output from usbconfig.

--HPS



More information about the freebsd-usb mailing list