Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jun 2009 17:03:34 +0200
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        MIHIRA Sanpei Yoshiro <sanpei@sanpei.org>
Cc:        freebsd-usb@freebsd.org
Subject:   Re: libhid is not run on 8-current and 7.2-RELEASE
Message-ID:  <200906091703.35094.hselasky@c2i.net>
In-Reply-To: <20090609.224115.35811802.sanpei@sanpei.org>
References:  <20090606.075537.116369290.sanpei@sanpei.org> <200906080037.43588.hselasky@c2i.net> <20090609.224115.35811802.sanpei@sanpei.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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