Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Mar 2012 09:25:46 +0100
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        hartzell@alerce.com
Cc:        freebsd-usb@freebsd.org
Subject:   Re: radioSHARK, libusbhid and 'Device not configured'
Message-ID:  <201203100925.46615.hselasky@c2i.net>
In-Reply-To: <20314.27693.938073.545073@gargle.gargle.HOWL>
References:  <20310.51557.331624.617177@gargle.gargle.HOWL> <201203092023.36474.hselasky@c2i.net> <20314.27693.938073.545073@gargle.gargle.HOWL>

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



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