Web lists-archives.org

[Spca50x-devs] spca50x-20060501 works on 2.4.22-6mdk - for sure!




Michel,

    I know you explicit said in the README file the
kernel 2.4.22 is not supported, but I have a Mandrake
9.2RC2 with the following kernel:

[ulisses@localhost LG-LIC100.logs]$ uname -a
Linux localhost 2.4.22-6mdk #1 Sun Sep 7 18:11:19 EDT
2003 i686 unknown unknown GNU/Linux

and the spca50x-20060501 (aka goodbye ;)) works for
me!!! 
    The only one correction I did was for compilation
(follows in case you want to apply):

[root@localhost usb]# diff -u spca5xx.c-original
spca5xx.c
--- spca5xx.c-original  2006-05-01 07:04:09.000000000
-0300
+++ spca5xx.c   2006-05-01 07:01:22.000000000 -0300
@@ -1092,8 +1092,8 @@
 //                spca50x->avg_lum,
spca50x->avg_lum);
     for (i = 0; i < SPCA50X_NUMFRAMES; i++) {
        out += sprintf(out, "frame           : %d\n",
i);
-       out +=
-           sprintf(out, "  sequence      : %d\n",
spca50x->frame[i].seq);
+/*     out +=
+           sprintf(out, "  sequence      : %d\n",
spca50x->frame[i].seq);*/
        out +=
            sprintf(out, "  grabstate     : %d\n",
                    spca50x->frame[i].grabstate);

     In case the patch is broken because of the mail
"newlines" I only put a comment at lines 1095 and 1096
for spca5xx.c for the spca50x->frame[i].seq
     That field is commented at the spca50x_frame
struct at the spca5xx.h. 
     The webcam is working!!
     I also have a Mandriva 2006 with a 2.6.x kernel
series but the compiler had not complained about the
missing "seq" field. I have already compiled and
tested the driver there. I will reboot again and
investigate a little.

Regards. Ulisses



		
_______________________________________________________ 
Abra sua conta no Yahoo! Mail: 1GB de espaço, alertas de e-mail no celular e anti-spam realmente eficaz. 
http://br.info.mail.yahoo.com/


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Spca50x-devs mailing list
Spca50x-devs@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/spca50x-devs