ts-7000
[Top] [All Lists]

RE: [ts-7000] Re: Web Cam

To: <>
Subject: RE: [ts-7000] Re: Web Cam
From: "Daniel Perron" <>
Date: Wed, 26 Sep 2007 14:07:43 -0400
Oops there is also some function to change like
 
static int spcaDetectCamera(struct usb_spca50x *spca50x)                                                                                   
 
 adding the the model number
 
 File: spca5xx.c         Col 0              172779 bytes                                                                                  73%
        break;                                                                                                                             
    case 0x046d:                /* Logitech Labtec */                                                                                      
    case 0x041E:                /* Creative cameras */                                                                                     
        switch (product) {                                                                                                                  
==> case 0x401A:  add relevant code here
        case 0x400A:                                                                                                                       
                                                                                                                                           
            spca50x->desc = CreativePCCam300;                                                                                              
            spca50x->bridge = BRIDGE_SPCA500;                                                                                              
            spca50x->sensor = SENSOR_INTERNAL;                                                                                             
                                                                                                                                           
            spca50x->cameratype = JPEG;                                                                                                    
            info("USB SPCA5XX camera found. Type Creative PC-CAM 300 (SPCA500+unknown CCD)");                                              
            memcpy(&spca50x->funct,&fspca500,sizeof(struct cam_operation));                                                                
            break;                                                                                                                          
maybe the best way is to check if that model could be the same than some other and just add an case in the list. 
 
P.S. you will need to check the rest of the files also.
 
 
Daniel                                                                                                                                           
 
-----Original Message-----
From: [On Behalf Of Daniel Perron
Sent: Wednesday, September 26, 2007 1:57 PM
To:
Subject: RE: [ts-7000] Re: Web Cam

 
 
 
 The version i got ,spca5xx-20060402, doesn't have that camera.
 Check if the latest source code has that camera or  try to add it.
 
 
Try to figure out if this camera is the same than one of the manufaturer's models.
 
 Add it on  spca5xx.c files  (Check the '===> to add the stuff');
 
 
Recompile the spca5xx driver and try it.  Good chance that it will but there is no guaranty.
 
 
 
 
in files spca5xx.c
 
 
static struct cam_list clist[] = {                                                                                                         
    {UnknownCamera, "Unknown"},                                                                                                            
    {IntelPCCameraPro, "Intel PC Camera Pro"},                                                                                             
    {IntelCreateAndShare, "Intel Create and Share"},                                                                                       
    {GrandtecVcap, "Grandtec V.cap"},                  
   .....
   .....
    {PhilipsSPC600NC, "Philips SPC600NC "},                                                                                                
    {PhilipsSPC300NC, "Philips SPC300NC "},                                                                                                
    {Sonix6019, "Sonix VGA Ov7630 "},                                                                                                       
===>  {CreativePCCam300, "Creative PC-CAM PD1100"},  

    {-1, NULL}                                                                                                                             
};                                                                                                                                         
 
 
                                                                                                                                           
#if LINUX_VERSION_CODE > KERNEL_VERSION(2,3,0)                                                                                             
static __devinitdata struct usb_device_id device_table[] = {                                                                               
    {USB_DEVICE(0x0733, 0x0430)},       /* Intel PC Camera Pro */                                                                          
    {USB_DEVICE(0x0733, 0x0401)},       /* Intel Create and Share */                                                                       
    ....
    ...
    ....    (line below are similar to what you have
     {USB_DEVICE(0x041E, 0x400A)},       /* Creative PC-CAM 300 */                                    
    {USB_DEVICE(0x084D, 0x0003)},       /* D-Link DSC-350 */                                                                               
    {USB_DEVICE(0x041E, 0x400B)},       /* Creative PC-CAM 600 */                                                                           
    ....
   ....
    {USB_DEVICE(0x0c45, 0x6019)},       /* Generic Sonix OV7630 */                                                                         
    {USB_DEVICE(0x0c45, 0x6024)},       /* Generic Sonix Tas5130c */                                                                        
 
===>     {USB_DEVICE(0x041e,0x401A)},       /* this is your new camera */
 
    {USB_DEVICE(0x0000, 0x0000)},       /* MystFromOri Unknow Camera */                                                                    
    {}                          /* Terminating entry */                                                                                    
};                           
 
 
 
Daniel
 
 
 
 
 
 
 
-----Original Message-----
From: .com [mailto:ts-7000@yahoogroups.com]On Behalf Of newpants2004
Sent: Wednesday, September 26, 2007 1:16 PM
To: .com
Subject: [ts-7000] Re: Web Cam

what application snapshot you are using?

--- In .com, "Laks" <> wrote:
>
> Hi to every one
>
> I did the following to connect a Creative vista PD1100 webcam with
ts7250 board
>
> i ended up with the following message when i run an application snapshot
>
> "could not open dev/video0"
>
> "no such device"
>
> I did the following
>
> 1.insmod usbcore
> 2insmod pcipool
> 3insmod usb-ohci
> 4 insmod usb-ohci-ep93xx
> 5 insmod videodev.o
> 6 insmod spca5xx.o
>
> for all these inmoding i did not get any error
> except for the following when i inserted the usb-ohci-ep93xx "
vend/prod 041e/401a is not claimed by any active driver
> this is the vender and the product ID of my web cam
>
> i used mknod /dev/video0 c 81 0
>
> to create the dev/video0 since it was not created automatically by
inserting the driver modules
>
> when i listed the modules using lsmod
>
> i could see all the drivers inserted earlier
>
> -laks
>

__._,_.___

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe

__,_._,___
<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU