Johannes Erdfelt wrote:

>On Wed, Oct 16, 2002, Bob Lockie <[EMAIL PROTECTED]> wrote:
>  
>
>>The SANE people don't know.
>>How is the V4L driver able to detect which USB devices are video devices?
>>The SANE driver for a USB scanner requires the vendor and product ID as parameters.
>>
>>insmod scanner vendor=0x06bd product=0x208f
>>    
>>
>
>This is a generic driver. It could as easily use the same table the
>other USB drivers use and not require the command line options.
>
>  
>
>>insmod videodev
>>insmod ov511
>>    
>>
>
>This driver only supports one device so it knows the vendor/product of
>all of the hardware it is compatible with and sets up the appropriate
>table with that list.
>
So I'm lucky my vendor/product IDs are known.
Is the vendor ID in /usr/include/linux/videodev.h and the product ID is 
in the ov511 driver?

#define VID_HARDWARE_OV511      27

----------------------------------------
>From Mozilla and GNU/Linux




_______________________________________________
Video4linux-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/video4linux-list

Reply via email to