Share

SPCA50X USB Camera Linux Driver

Tracker: Patches

5 working samsung q1 driver - ID: 2034113
Last Update: Attachment added ( sailbert )

I am very new to programming Linux USB drivers. My code might not be the
best.

I modified your driver to work with the back camera on the Samsung Q1U.

The Samsung Q1U has a VC0323 bridge and two sensors--a MC501CB front sensor
and a MI1320_SOC back sensor. I had no idea to to modify the drive to
work with two sensors but there is only one bridge.

The probe sensor returns the same ID as the MI1320 in the code.
I could not get vc032x_probe_sensor to work without first sending the F0FF
command to select the back camera.
// spca5xxRegWrite( spca50x->dev, 0x89, 0xF3FF, 0xFFFF, NULL, 0); //select
VGA (front) SamsungQ1
spca5xxRegWrite( spca50x->dev, 0x89, 0xF0FF, 0xFFFF, NULL, 0); //select XGA
(back) SamsungQ1



I wrote my driver to only work with the MI1320_SOC sensor.

I did not find out how to switch the camera to RGB as the setup string I
was using return data as YUV

I used the patch found at
http://helllabs.org/blog/20080204/fix-for-vc0323-webcam to rotate the image
and to decoded the YUV except I made the image type and rotate automatic if
I finds the MI1320_SOC and the USB ID is correct for the Samsung.



Ron Puckett


Ron ( sailbert ) - 2008-07-31 17:01

5

Open

None

Nobody/Anonymous

spca500

None

Public


Comments

No follow-up comments have been posted.

Attached File ( 1 )

Filename Description Download
gspcav1.tar.bz2 tar file of modified driver for Samsung Q1U Download

Change ( 1 )

Field Old Value Date By
File Added 286647: gspcav1.tar.bz2 2008-07-31 17:01 sailbert