Web lists-archives.org

[Spca50x-devs] patch for mustek MDC3500




Hi All,

Are you received my patch for Mustek MDC3500?
here is again.

--- spca5xx.c.old       Sun Apr  9 15:06:51 2006
+++ spca5xx.c   Sun Apr  9 15:17:29 2006
@@ -462,6 +462,7 @@
    PhilipsSPC600NC,
    PhilipsSPC300NC,
    Sonix6019,
+    MustekMDC3500,
    LastCamera
};
static struct cam_list clist[] = {
@@ -624,6 +625,7 @@
    {PhilipsSPC600NC, "Philips SPC600NC "},
    {PhilipsSPC300NC, "Philips SPC300NC "},
    {Sonix6019, "Sonix VGA Ov7630 "},
+    {MustekMDC3500, "Mustek MDC3500"},
    {-1, NULL}
};

@@ -894,6 +896,7 @@
       //{ 640, 480, 0x41, 1, 0, 1023 },
{464, 480, 0x01, 0, 0, 1023}, //PocketDVII unscaled resolution aspect ratio need to expand x axis {464, 352, 0x01, 0, 0, 1023}, //Gsmart LCD3 feature good aspect ratio + {464, 288, 0x01, 0, 0, 1023}, //Gsmart MDC3500 excelent aspect ratio
       {384, 288, 0x11, 5, 4, 1023},
       {352, 288, 0x11, 7, 4, 1023},
       {320, 240, 0x02, 0, 0, 1023},
@@ -6731,6 +6734,17 @@
           spca50x->i2c_trigger_on_write = 0;
           spca50x->cameratype = JPEG;
           info("USB SPCA5XX camera found. Mustek Gsmart LCD 3");
+           break;
+       case 0xc232:
+           spca50x->desc = MustekMDC3500;
+           spca50x->bridge = BRIDGE_SPCA533;
+           spca50x->sensor = SENSOR_INTERNAL;
+           spca50x->header_len = SPCA533_OFFSET_DATA;
+           spca50x->i2c_ctrl_reg = 0;
+           spca50x->i2c_base = 0;
+           spca50x->i2c_trigger_on_write = 0;
+           spca50x->cameratype = JPEG;
+           info("USB SPCA5XX camera found. Mustek MDC3500");
           break;

       case 0xc430:
--- sp5xxfw2.h.old      Sun Apr  9 15:24:12 2006
+++ sp5xxfw2.h  Sun Apr  9 15:26:26 2006
@@ -425,6 +425,13 @@
       spca50x->mode_cam[CUSTOM].pipe = 1023;
       spca50x->mode_cam[CUSTOM].method = 0;
       spca50x->mode_cam[CUSTOM].mode = 1;
+       spca50x->mode_cam[VGA].width = 464;
+       spca50x->mode_cam[VGA].height = 288;
+       spca50x->mode_cam[VGA].t_palette =
+           P_JPEG | P_RAW | P_YUV420 | P_RGB32 | P_RGB24 | P_RGB16;
+       spca50x->mode_cam[VGA].pipe = 1023;
+       spca50x->mode_cam[VGA].method = 0;
+       spca50x->mode_cam[VGA].mode = 1;
       spca50x->mode_cam[PAL].width = 384;
       spca50x->mode_cam[PAL].height = 288;
       spca50x->mode_cam[PAL].t_palette =


----- Original Message ----- From: "Thomas Kaiser" <spca5xx@xxxxxxxxxxxxxxx>
To: "Jindra Fucik" <fulda@xxxxxxxxx>
Cc: "Thomas Kaiser" <spca5xx@xxxxxxxxxxxxxxx>; <mxhaard@xxxxxxxx>
Sent: Tuesday, March 07, 2006 1:42 AM
Subject: Re: **** Canyon WCAM 21


Thomas Kaiser wrote:
Jindra Fucik wrote:

Hi guys,

On the page: http://www.qbik.ch/usb/devices/showdev.php?id=3506 I see, that you have experience with usb webcams.

I have little problems with Canyon wcam21 - I see, thet it works for anybody. I build spca5xx-20060202, webcam supported, but have any problems with decoder.

Little problem is, I'm running FreeBSD, but different cameras (Mustek MDC3500) work fine.

Please, have you any "aditional info" about this camera?

Thank you

Jindra

P.S. - anybody want "patch" for Mustek MDC3500 ???



Hello

Please, send spca5xx question to the mail list
http://sourceforge.net/mail/?group_id=28498

Regards, Thomas


Hey Jindra

Thanks for posting this to the list, so you get a bigger audience :-)
I did not recognize that the wcam21 is a PAC207 based chip. But anyway I don't have FreeBSD, so I can not test :-(. The PAC207 was reengineered from the Windoz snoops. And we did test it on Linux. But there are still some things we don't know. Maybe takaM can help you on the BSD side?

How about the patch for the Mustek MDC3500?

What did you change?

Can you please post?

Regards, Thomas


--
http://www.kaiser-linux.li

Attachment: MustekMDC3500_spca5xx-20060301.patch.gz
Description: GNU Zip compressed data