> Eric HENRY wrote:
> 
> Yes, in fact it depends on how is implemented your driver.
> You can see "driver/usb/scanner.c" in your kernel sources to find how to
> improve your webcam driver for it to handle many cams...

i think maybe my first email wasn't quite right (told you i was new to all 
of this).  the driver creates an PIPE_ISOCHRONOUS for reading the streaming
image data from a camera.  the machine i'm running on uses usb-uchi.

i bunged some debug code into the usb-uhci.c file and found that in my kernel
source (2.2.18) and found that both cameras are coming into process_iso()
in this file.  however, the second camera that was opened returns on line
2374 (a "return -EXDEV" line) because (desc->hw.td.status & TD_CTRL_ACTIVE)
is non-zero.  because this returns -EXDEV the driver code that handles the
completion doesn't get called for the second camera.

so i took a look at scanner.c and it would appear that this uses a different
method to the quickcam driver.

now the question i guess is: anyone got any good (entry level) linux USB
programming guides so that i can work out what to do here?  or can someone
suggest what might the problem (from my really poor description!)?

Cheers,
Matt

-----------------------------------------------------------------------------
Sessami is a trademark of Escape Velocity Technology Mobile Services Limited.
All information contained in this e-mail is confidential and for the use of
the addressee only.  If you receive this message in error please notify.

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

Reply via email to