Re: gspca v4l2

"Serge A. Suchkov" <[email protected]>
Newsgroups gmane.linux.drivers.spca50x.devel
Organization Bauman Moscow State Technical University
Message-ID <[email protected]>
> 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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.