On Tuesday 19 July 2011 14:56:36 Matt Dawson wrote:
> Hi all,
> Apologies if I'm posting to the wrong list, but this one looks to
> have more USB knowledge than general ports. Just LART me if I'm
> mistaken and I'll post to ports@. I'm trying to port this:
> to FreeBSD and have run into a brick wall (my lack of knowledge,
> basically). It uses Linux' hiddev to communicate with the
> OpenProgrammer hardware, which isn't compatible with our usbhid. The
> ioctls and structs are very different. The programmer itself has a
> uhidX device node and seems to be fine under FreeBSD.
There are many ways to achieve your goal. The simplest one might be to compile
the Linux HID layer into the webcamd deamon and have a compatible interface.
This means no porting effort.
You will have to checkout and install the linux_make tool from the I4B SVN,
referred to from the webcamd (/usr/ports/multimedia/webcamd) homepage:
And add some config entries to the config file for the HID layer, and possibly
also resolve a few compile issues.
> Can some kind soul give me some pointers? Specifically, some clue as
> to how to translate from hiddev to usbhid would be most helpful.
> There's also a GTK based GUI which I suspect will all fall into place
> once I have the CLI sussed. Any help at all on this would be most
> gratefully received as this device is much, *much* more reliable and
> intuitive than the JDM type programmers that picprog supports, along
> with having some very useful Atmel and I2C device support. It also
> doesn't rely on the disappearing RS232 port.
> Thanks in advance,
firstname.lastname@example.org mailing list
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"