> > It can be solved for any particular driver just by adding usb(dev)fs ioctl
> > support to that driver.
> 
> :o)
> 
> > Define a structure, say FOO, that ...
> 
> :o/ urgh, could you please be more concrete.  As a java developer I don't
> want to spam your mailing list. 

Hey, I'm the guy who did the original Java USB API (on Linux), so I'm
not going to worry about that!  (http://jusb.sourceforge.net :)  Of course
I've not done a lot with it beyond still image camera support, but that's
because the Right Way to do webcams is like you're saying:  have
the existing kernel drivers do the hard stuff, mostly wrapping V4L
with bits of Java and USB glue.


Short version of the story:  some simple kernel updates will solve your
particular issue, but someone has to write and interface and submit
patches for the webcams you're using.  One model to follow (in the
kernel) is how hub.c hooks hub_ioctl() up for HUB_PORTINFO;
"struct FOO" would be like "struct usbdevfs_hub_portinfo".

Once that's done, the ioctl and structure definition will inevitably be
easy to extract from any test code.  In fact, if someone does that I'd
like to see it all get added to jUSB ... :)

- Dave



_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to