Re: [Spca50x-devs] spca50x-20060501 works on 2.4.22-6mdk - for sure!
- Date: Mon, 1 May 2006 23:11:49 +0200
- From: michel Xhaard <mxhaard@xxxxxxxx>
- Subject: Re: [Spca50x-devs] spca50x-20060501 works on 2.4.22-6mdk - for sure!
Le Lundi 1 Mai 2006 19:59, Ulisses Penna a écrit :
> 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:
Cool :) I just say that some distro with kernel 2.4.22 did not compiled, but i
have box here set with kernel 2.4.17 working fine with
spca5xx-v4l1-Goodbye :))
> [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.
Ooops i have forget that one, thanks Ulisses :)
> 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.
Kernel 2.6 did not used procfs that is why the compiler did not complain.
>> I have already compiled and
> tested the driver there. I will reboot again and
> investigate a little.
Like others packages with a strong history, , spca5xx suffer for lot of
variables not in used or not necessarry. I have start to clean up, but that
is a lot of works, to follow the change try to make a diff between that
revision and the last one :)
Best regards
--
Michel Xhaard
http://mxhaard.free.fr
-------------------------------------------------------
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&kid0709&bid&3057&dat1642
_______________________________________________
Spca50x-devs mailing list
Spca50x-devs@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/spca50x-devs