Web lists-archives.com

Re: [Spca50x-devs] Trust camera [PAC7311}

Hi Boris

Boris Pavacic wrote:
> Hi!
> I have downloaded PAC7311 source code, and added device 093a:260e to the
> list of supported devices into gspca_core.c . 
> It is  Camera Web TRUST WB-3350p

Sorry, I forgot to add all the device IDs people reported, correctly.
I will add for the next version.

> gspca loads, and I am able to see the image in 320x240 mode using
> camorama, but the image colors are wrong (mostly "green"), see attached
> images (one captured with camorama, and one captured with my mobile
> phone).
> Some sliders in camorama work, but does not change the quality of
> colors.

I think the color slider is actually White Balance.
Best results for darker light condition is with color all up (255) and 
brightness all down (0). There is a strange behavior with brightness. If 
brightness is 1 you have the darkest possible picture. If brightness is 
0 you have the most bright picture?

> dmesg:
> [10410.823128] usb 5-1: new full speed USB device using uhci_hcd and
> address 9
> [10411.060413] usb 5-1: configuration #1 chosen from 1 choice
> [10411.063363] /tmp/gspcav1-PAC7311-20070423/gspca_core.c: USB SPCA5XX
> camera found. (PAC7311)
> [10411.063369] /tmp/gspcav1-PAC7311-20070423/gspca_core.c:
> [spca5xx_probe:4017] Camera type JPEG 
> [10411.075451] /tmp/gspcav1-PAC7311-20070423/gspca_core.c:
> [spca5xx_getcapability:1198] maxw 640 maxh 480 minw 160 minh 120
> lsusb:
> Bus 007 Device 001: ID 0000:0000  
> Bus 006 Device 001: ID 0000:0000  
> Bus 001 Device 001: ID 0000:0000  
> Bus 003 Device 001: ID 0000:0000  
> Bus 002 Device 001: ID 0000:0000  
> Bus 005 Device 005: ID 093a:260e Pixart Imaging, Inc. 
> Bus 005 Device 001: ID 0000:0000  
> Bus 004 Device 001: ID 0000:0000  
> spcaview does not display the image, please see attached logs.

You did use my special modified version. This version is not valid 
anymore with the newest driver version. Please use the official one from 
the gspca page: 

> Can I do anything to help? I am skilled in C

There are a lot of task to do:
- the picture is flickering -> the jpeg decoder is not working very good
- the picture is pixeled -> the jpeg decoder is not working very good 
(maybe quantization table?)
- the picture is to dark compared with the Windoz driver -> find good 
register settings (maybe also problem with jpeg decoder, too?)
- don't have much control of the cam -> find the good registers
- find the register to turn off jpeg compression and stream raw data -> 
good way to compare quality of jpeg decoding.
- And many more I think.....

> Regards and keep up the good work

Thanks :-)


PS: I cc to gspca-dev mail list.


This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
Spca50x-devs mailing list