From owner-freebsd-usb@FreeBSD.ORG Tue Jun 9 14:59:23 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 44FFA1065676 for ; Tue, 9 Jun 2009 14:59:23 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe03.swip.net [212.247.154.65]) by mx1.freebsd.org (Postfix) with ESMTP id C9A968FC1A for ; Tue, 9 Jun 2009 14:59:22 +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=JD1Rz4xvyJgobjF897wA:9 a=C1ixh45TAIQ4PXzFZ1wA:7 a=aI4ohVOiy-1mHhWBsvtiHk3RR80A:4 Received: from [62.113.132.61] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe03.swip.net (CommuniGate Pro SMTP 5.2.13) with ESMTPA id 1259815470; Tue, 09 Jun 2009 16:59:21 +0200 From: Hans Petter Selasky To: MIHIRA Sanpei Yoshiro Date: Tue, 9 Jun 2009 17:03:34 +0200 User-Agent: KMail/1.11.4 (FreeBSD/8.0-CURRENT; KDE/4.2.4; i386; ; ) References: <20090606.075537.116369290.sanpei@sanpei.org> <200906080037.43588.hselasky@c2i.net> <20090609.224115.35811802.sanpei@sanpei.org> In-Reply-To: <20090609.224115.35811802.sanpei@sanpei.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200906091703.35094.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org 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: Tue, 09 Jun 2009 14:59:23 -0000 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