[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: libusb and phidgets
On Wed, Apr 18, 2012 at 07:13:51PM -0400, Matthew Mondor wrote:
> On Wed, 18 Apr 2012 12:18:26 -0500
> Eric Haszlakiewicz <erh%nimenees.com@localhost> wrote:
> > Can someone clue me in as to how to figure out to use "/dev/uhid0"?
> > Is this even possible on NetBSD?
> Do you men via uhid(4) ioctl(2)s? I could be wrong but I think that
> uhidev is like an attach hub for uhid...
Yeah, that's what it sounds like to me too, but there doesn't seem to
be any way to figure out what's attached to that "hub".
I tried looked at how this might work in FreeBSD, but it looks like
they don't have a uhidev device at all, uhid's just attach to a uhubX
or directly on a usbusX (their name for usbX), so I assume that they
show up when iterating over the devices on a bus.
I suppose I can just try opening each of the /dev/uhidX device files,
but then the lack of ioctl USB_GET_DEVICE_DESC makes getting the product
and vendor ID's difficult.
This is looking more and more like it's going to require some kernel
changes to get it working. :(
Main Index |
Thread Index |