From owner-freebsd-usb@FreeBSD.ORG Sat Mar 10 08:27:31 2012 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0D766106564A for ; Sat, 10 Mar 2012 08:27:31 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe03.c2i.net [212.247.154.66]) by mx1.freebsd.org (Postfix) with ESMTP id 8A8E28FC13 for ; Sat, 10 Mar 2012 08:27:30 +0000 (UTC) X-T2-Spam-Status: No, hits=-1.0 required=5.0 tests=ALL_TRUSTED Received: from [176.74.212.201] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe03.swip.net (CommuniGate Pro SMTP 5.4.2) with ESMTPA id 83237861; Sat, 10 Mar 2012 09:27:21 +0100 From: Hans Petter Selasky To: hartzell@alerce.com Date: Sat, 10 Mar 2012 09:25:46 +0100 User-Agent: KMail/1.13.5 (FreeBSD/8.3-PRERELEASE; KDE/4.4.5; amd64; ; ) References: <20310.51557.331624.617177@gargle.gargle.HOWL> <201203092023.36474.hselasky@c2i.net> <20314.27693.938073.545073@gargle.gargle.HOWL> In-Reply-To: <20314.27693.938073.545073@gargle.gargle.HOWL> X-Face: 'mmZ:T{)),Oru^0c+/}w'`gU1$ubmG?lp!=R4Wy\ELYo2)@'UZ24N@d2+AyewRX}mAm; Yp |U[@, _z/([?1bCfM{_"B<.J>mICJCHAzzGHI{y7{%JVz%R~yJHIji`y>Y}k1C4TfysrsUI -%GU9V5]iUZF&nRn9mJ'?&>O MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201203100925.46615.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: radioSHARK, libusbhid and 'Device not configured' 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: Sat, 10 Mar 2012 08:27:31 -0000 On Friday 09 March 2012 21:46:37 George Hartzell wrote: > Hans Petter Selasky writes: > > On Friday 09 March 2012 19:58:32 George Hartzell wrote: > > > Hans Petter Selasky writes: > > > > On Wednesday 07 March 2012 03:35:17 George Hartzell wrote: > > > > > here: > > > > > http://shrimp.alerce.com/radioSHARK/usbconfig-output.txt > > > > > > > > Hi, > > > > > > > > I see that there are two interrupt endpoints on the HID device. By > > > > default the /dev/uhidX will use the control endpoint to transmit > > > > the report data. Maybe that isn't supported. Have you tried > > > > sending the protocol data on the interrupt OUT endpoint? > > > > > > Hi HPS, > > > > > > I don't know how to do that. I've tried /dev/uhid0, which does not > > > work. I've tried /dev/ugen1.2 and I get 'Inappropriate ioctl for > > > device'. > > > > > > Can you give me some hints? > > > > Hi, > > > > You need to write a program using libusb in FreeBSD, getting and putting > > those bytes. Then get the return code of usb_intr_write(). You should > > be able to find some example applications if you Google a bit. > > Ok, I've seen libusb examples, I can take a go at that. > > Does it trouble you that the MacOS hidapi library can talk to it > (presumably via the HID interface) but that it fails in 9.0-STABLE? No, it is probably something we miss support for in FreeBSD. --HPS