tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: GSoC - USB Video Class (UVC) webcam driver



pat%polycrystal.org@localhost said:
> Just to clarify, the IAD stuff is not yet in -current? 

Right -- I've posted some patches a while ago which work
well for me but have 2 shortcomings:
-all kernel config files need to be changed
-some use cases of "ugen" fail because the intermediate
 "udev" device node is not recognized by userland programs
I hope to get it working without the extra "udev" node;
just didn't have enough time yet.

> Can you point me to a better example than uaudio?  It seems
> that umass, umidi, and uaudio all use a similar match
> scheme, using USB_IFMATCH_START(u*, uaa) and then checking
> class and subclass of uaa.

umass at least (as most of the class specific drivers)
just matches a single interface. uaudio needs two (at least),
and UVC will need two or more as well. There is nothing in
the tree yet which handles multiple interfaces cleanly.
So the best I can suggest for now is to use the methods
of uaudio, but keep all code which looks for interface
descriptors well seperated from the rest. With IAD in
the tree, you'll get a list of interface numbers or
handles, and you are not supposed to touch any other one.

best regards
Matthias





-------------------------------------------------------------------
-------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich

Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzende des Aufsichtsrats: MinDir'in Baerbel Brumme-Bothe
Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
Dr. Ulrich Krafft (stellv. Vorsitzender), Prof. Dr. Harald Bolt,
Dr. Sebastian M. Schmidt
-------------------------------------------------------------------
-------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index