Web lists-archives.org

Re: [Spca50x-devs] Problem with my X10 Cameras and the Spca5xx driver




Hi Michel

Look, according your last email, are you telling me that i have to download the latest stable version of the Linux kernel which is 2.6.16.18, and compile it? Then install again the driver with the new Kernel? and with this it's going to work? I'm asking you this because i'm new on linux and i really don't know if i catch your idea, neither recompile the kernel.  Before receive your last email i have already did an upgrade to 2.6.16-1.2122_FC5. But using yum install and it didn't work either.

Well i'll wait your answer.
Thanks
Andrey

On 5/30/06, michel Xhaard < mxhaard@xxxxxxx> wrote:
Le Mardi 30 Mai 2006 16:20, Andrey Bottoni a écrit:
> Sorry for the another email. I've pressed Enter and i didn't finish the
> email
>
> Hi all
>
> I'm writing cuz i have a problem with my X10 Cameras. I downloaded the last
> version of spca5xx driver ( spca5xx-20060501.tar.gz). I have Fedora Core 5
> with kernel 2.6.15-1.2054_FC5. I've unpacked the tar.gz and then did these
> steps:
>
> $> make clean
> $> make
>
> When i did make, appeared this error:
> /root/Desktop/spca5xx-20060501/drivers/usb/spca5xx.c:5643: error: unknown
> field 'owner' specified in initializer
> /root/Desktop/spca5xx-20060501/drivers/usb/spca5xx.c:5643: aviso:
> inicialización desde un tipo de puntero incompatible
>
> I commented the line and no problem with the compilation.
>
> $> make install
>
> Without problem.
>
> After these steps i did:
>
> $> modprobe spca5xx usbgrabber=1
> $> modprobe videodev
>
> The result of lsmod | grep spca is:
>
> spca5xx               643536  0
> videodev                9409  1 spca5xx
>
> When i did lsusb it detected the Video Receiver of my cameras:
>
> Bus 003 Device 003: ID 0bc7:0002 X10 Wireless Technology, Inc.
> Bus 003 Device 002: ID 04fa:2490 Dallas Semiconductor DS1490F 2-in-1 Fob,
> 1-Wire adapter
> Bus 003 Device 001: ID 0000:0000
> Bus 004 Device 001: ID 0000:0000
> Bus 002 Device 004: ID 0733:0430 ViewQuest Technologies, Inc. Intel Pro
> Share WebCam
> Bus 002 Device 001: ID 0000:0000
> Bus 001 Device 001: ID 0000:0000
>
> And the result of dmesg | grep spca is:
>
> /root/Desktop/spca5xx-20060501/drivers/usb/spca5xx.c: USB SPCA5XX camera
> found. Type Intel PC Camera Pro (SPCA505)
> /root/Desktop/spca5xx-20060501/drivers/usb/spca5xx.c: [spca5xx_probe:5480]
> Camera type YYUV
> /root/Desktop/spca5xx-20060501/drivers/usb/spca5xx.c:
> [spca5xx_getcapability:1765] maxw 352 maxh 288 minw 160 minh 120
> usbcore: registered new driver spca5xx
>
> In all the web pages i've checked said that the results of all the steps
> i've already did, finish in the good installation of the cameras.
>
> I've used two video viewer (spcaview and motion)
>
> $> spcaview -d /dev/video0 -f jpeg
> $> motion
>
> and i only get a black image. I would like to know which can be the
> problem. I have two days trying to fix this but i still get black image.
>
> I'll appreciate your help.
> Thanks
> Andrey
People should used Fedora Core carefully :) the FC kernel claim tobe a 2.6.15
but include patch from 2.6.16. That is impossible to follow from driver
maintener point of vue. That is why i have set in the readme "only support
vanilla kernel from http://www.kernel.org".
Your usb grabber did not support jpeg stream.  You should used yuv420p
instead. This device need channel and norme to be set The best should be to
read the readme:)
regards
--
Michel Xhaard
http://mxhaard.free.fr