radioSHARK, libusbhid and 'Device not configured'

Hans Petter Selasky hselasky at c2i.net
Fri Mar 9 19:25:21 UTC 2012


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.

--HPS


More information about the freebsd-usb mailing list