Web lists-archives.com

Re: [Spca50x-devs] gspca v4l2




> Hello everybody,
>
> I finished to rewrite gspca for v4l version 2 (see in my page).
> It works for my 2 webcams and Michel said some Vimicro work too.
>
> As the code is somewhat different compared to gspca v1, and as
> there are over 200 webcams, I need alpha testers. Any volunteer?
>
> Cheers.

Great work !

First bug:

look on 
static int zcxx_probeSensor(struct gspca_device *gspca_dev)  in zc3xx.c

dead loop here:

	    while (chipset_revision_sensor[j].revision) {
		if (chipset_revision_sensor[j].revision == checkword) {
			zc3->chip_revision = checkword;
			spca5xxRegRead(dev, 0xa1, 0x01, 0x0010, &retbyte);
			spca5xxRegWrite(dev, 0xa0, 0x01, 0x0000);
			spca5xxRegWrite(dev, 0xa0, 0x0d, 0x003a);
			spca5xxRegWrite(dev, 0xa0, 0x02, 0x003b);
			spca5xxRegWrite(dev, 0xa0, 0x00, 0x0038);
			return chipset_revision_sensor[j].internal_sensor_id;
		}


-- 
Regards,
Serge A. Suchkov
--
Gosh that takes me back... or is it forward?  That's the trouble with
time travel, you never can tell."
		-- Doctor Who "Androids of Tara"

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Spca50x-devs mailing list
Spca50x-devs@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/spca50x-devs