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

Hans Petter Selasky hselasky at c2i.net
Sun Jun 7 23:05:33 UTC 2009


On Saturday 06 June 2009 00:55:37 MIHIRA Sanpei Yoshiro wrote:
> Hi.
>
>   I have USB Radio(*1).
>
>   There is a application for channel selector, amfm.c which is
> for linux and use libhid.
>   I compile it with ports/devel/libhid. But it was some errors
> in 8-current and 7.2-RELEASE.
>
>   How can I fix this problem?
>
> * amfm.c(amfm.c was based on shard USB Radio)
> http://mixallow.blogdns.net/amfm/amfm.c
>
> *1 USB Radio (writtin in Japanese)
> http://www.thanko.jp/usbamfmradio/
>
> compile options for amfm.c
> cc -o amfm -I/usr/local/include -L/usr/local/lib -lhid amfm.c
>

Hi,

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?

--HPS


More information about the freebsd-usb mailing list