Web lists-archives.org

Re: [Spca50x-devs] vimicro trouble, feel like helping out?




Hi Groente,

    Some time ago I wrote a paper describing how to
find the sensor of a webcam. Take a look at:

http://zc0302.sourceforge.net/docs/HOWTO-Finding_the_sensor_type.html

    Your bridge is a zc030x because of the USB id:
0ac8

Hope this helps. Ulisses

--- anoniempje <groente@xxxxxxxxx> escreveu:

> Hey all,
> 
> Well, after some help on irc (tnx to gekl and
> lindi-), i found out the
> cam is unsupported at the moment.
> It's a Vimicro 321 (0ac8:0321), that comes built in
> with the ASUS A8F 
> laptops. I tried making an entry for it in
> spca5xx.c, added it to the 
> arrays and put in this:
> 
>         case 0x0321:
> 		spca50x->desc = Vimicro321;
> 		spca50x->bridge = BRIDGE_ZC3XX;
> 		spca50x->sensor = SENSOR_SAA7113;
> 		spca50x->cameratype = JPEG;
> 		info("testink!");
> 	
>
memcpy(&spca50x->funct,&fzc3xx,sizeof(structcam_operation));
> 		break;
> 
> and tried out several bridge and sensor types, but
> all that shows up in
> the syslog is:
> 
> usbcore: registered new driver spca5xx
>
/usr/local/src/spca5xx-20060501/drivers/usb/spca5xx.c:
> spca5xx driver
> 00.60.00 registered
> 
> So i tried usbsnoop and put the results on:
> http://puscii.nl/~groente/usbsnoop.log.bz2
> 
> All the data frames starting with ffd8 made me
> conclude the encoding must
> be JPEG. However, could you help me find out the
> right bridge (shouldn't
> there be more in the syslog if the right bridge was
> set in spca5xx?) and
> constructing the init arrays? Lacking experience
> with coding on kernel
> drivers (or analyzing usb dumps for all that
> matters), this is where it
> starts to get pretty confusing for me :)
> Thanks a lot!
> 
> Cheers,
> 
> groente
> 
> 
> 
> > Hello
> > 
> > Just for a start, load the module with "debug=5"
> ([sudo] modprobe 
> > spca5xx debug=5). You will get a lot more debug
> info logged. May be, 
> > this shows you already something. And post the
> logs here.
> > 
> > 
> > Regards, Thomas
> > 
> > 
> > -- 
> > http://www.kaiser-linux.li
> > 
> 
>
-------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get
> the chance to share your
> opinions on IT & business topics through brief
> surveys -- and earn cash
>
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Spca50x-devs mailing list
> Spca50x-devs@xxxxxxxxxxxxxxxxxxxxx
>
https://lists.sourceforge.net/lists/listinfo/spca50x-devs
> 



		
_______________________________________________________ 
Novidade no Yahoo! Mail: receba alertas de novas mensagens no seu celular. Registre seu aparelho agora! 
http://br.mobile.yahoo.com/mailalertas/ 
 


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Spca50x-devs mailing list
Spca50x-devs@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/spca50x-devs