> It's probably because of this code:
> 
>         /* models differ in how they report themselves */
>         interface = &dev->actconfig->interface[ifnum].altsetting[0];
>         if ((interface->bInterfaceClass != USB_CLASS_PER_INTERFACE
>                 && interface->bInterfaceClass != USB_CLASS_VENDOR_SPEC)
>                         || interface->bInterfaceSubClass != 0
>                         || interface->bInterfaceProtocol != 0
>                         || interface->bNumEndpoints != 2
>                         ) {
>                 dbg ("Bogus camera interface info");
>                 return NULL;
>         }
> 
> The interface class/subclass/protocol wouldn't match.


Thanks.  I should have seen that.  I made the fix and things work now.


> 
> Aside from the minor code problems, you probably shouldn't be using a
> kernel driver anyway. Take a look at gphoto2 to see how it supports all
> of the cameras via USB.

I am aware of gphoto2 and started a driver for it, but we already a nice
cross-platform gui written in wxwindows, so the quickest path for me
was to get the dc2xx driver working, and then compile our gui on linux.
I must say that once I got the dc2xx driver assigned correctly, it was
very quick to having a fully functioning gui to our camera.  Perhaps
I will finish the gphoto2 driver when I have some spare time.


> What is Class 6 anyway? I haven't seen that yet.

Digital Camera class.



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

Reply via email to