From owner-freebsd-usb@FreeBSD.ORG Sun Jun 7 23:05:33 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3013C106566C for ; Sun, 7 Jun 2009 23:05:33 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe12.swip.net [212.247.155.97]) by mx1.freebsd.org (Postfix) with ESMTP id BAEAA8FC25 for ; Sun, 7 Jun 2009 23:05:32 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=wkuEMt-b5_cA:10 a=xI_TxUDFK_MA:10 a=MXw7gxVQKqGXY79tIT8aFQ==:17 a=LT_k42k9AAAA:8 a=W7ptdu6xAAAA:8 a=EepH-9axdhzf-gRWML8A:9 a=4exflmvXCKVp_6nBz2nWehoMoCMA:4 Received: from [62.113.132.61] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe12.swip.net (CommuniGate Pro SMTP 5.2.13) with ESMTPA id 1082693463; Mon, 08 Jun 2009 01:05:30 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Mon, 8 Jun 2009 00:37:42 +0200 User-Agent: KMail/1.11.4 (FreeBSD/8.0-CURRENT; KDE/4.2.4; i386; ; ) References: <20090606.075537.116369290.sanpei@sanpei.org> In-Reply-To: <20090606.075537.116369290.sanpei@sanpei.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200906080037.43588.hselasky@c2i.net> Cc: MIHIRA Sanpei Yoshiro Subject: Re: libhid is not run on 8-current and 7.2-RELEASE X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Jun 2009 23:05:33 -0000 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