Web lists-archives.com

Re: [Spca50x-devs] Would 0C45:613A work?




On Thu, 2008-11-06 at 01:45 -0300, Pablo da Palma wrote:
> Hello, 

Hello Pablo,

> I'm the owner of a Sonix/Microdia webcam:
> USBID 0C45:613A
> Bridge SN9C120
> Image sensor OV7648
> 
> I've seen here http://mxhaard.free.fr/spca5xx.html that spca50x and
	[snip]

The driver gspca v1 is not maintained anymore. You should switch to the
gspca v2 which is included in the kernel 2.6.27.

> I'm wondering if this project would add support for this webcam soon.
> I'm kinda newbie and don't have any skills for developement, but I
> would like to help and get this webcam working. I've got the datasheet
> for OV7648 sensor (22 pages, rev1.2, 20/Feb/2003) with it's registers
> description, if it's useful for anyone, just tell me.

I'd be glad to get this document.

> I've used to get it working with sn9c1xx-1.48 driver from
> www.linux-projects.org for 2.6.22 and 2.6.24 kernel... but now can't
> compile that thing for 2.6.26 or 2.6.27 kernel.

Your webcam may work with the driver sn9c102 which is included in the
kernel 2.6.27, but also with gspca v2 thanks to the little patch I
attached to this mail.

Take care in kernel generation: if you generate the driver sn9c102,
gspca will not handle your webcam. You should disable sn9c102 and enable
gspca + sonixj (plus aplying the patch) for it _may_ work.

Cheers.

-- 
Ken ar c'hentañ |             ** Breizh ha Linux atav! **
Jef             |               http://moinejf.free.fr/

diff -r e0b06b01146c linux/drivers/media/video/gspca/sonixj.c
--- a/linux/drivers/media/video/gspca/sonixj.c	Fri Oct 31 09:30:49 2008 +0100
+++ b/linux/drivers/media/video/gspca/sonixj.c	Thu Nov 06 08:52:48 2008 +0100
@@ -1729,7 +1729,7 @@
 #endif
 	{USB_DEVICE(0x0c45, 0x6138), BSI(SN9C120, MO4000, 0x21)},
 #if !defined CONFIG_USB_SN9C102 && !defined CONFIG_USB_SN9C102_MODULE
-/*	{USB_DEVICE(0x0c45, 0x613a), BSI(SN9C120, OV7648, 0x??)}, */
+	{USB_DEVICE(0x0c45, 0x613a), BSI(SN9C120, OV7648, 0x21)},
 	{USB_DEVICE(0x0c45, 0x613b), BSI(SN9C120, OV7660, 0x21)},
 	{USB_DEVICE(0x0c45, 0x613c), BSI(SN9C120, HV7131R, 0x11)},
 /*	{USB_DEVICE(0x0c45, 0x613e), BSI(SN9C120, OV7630, 0x??)}, */
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Spca50x-devs mailing list
Spca50x-devs@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/spca50x-devs