Web lists-archives.com

[Spca50x-devs] Fwd: Some more news about PAC7311

I sent my test results directly to Thomas, but on second thought, it's
probably best for the whole list to hear about them in case anyone is
having similar results with Thomas' latest driver.  See below for


---------- Forwarded message ----------
From: Denver Gingerich <denver@xxxxxxxxxx>
Date: Apr 23, 2007 7:44 PM
Subject: Re: Some more news about PAC7311
To: Thomas Kaiser <spca5xx@xxxxxxxxxxxxxxx>

Hi Thomas,

Thanks for all the work you're doing on this; it's really great to see
this kind of progress on the driver.

I tried out the latest driver on your page and it works ok the first
time I use an app on the camera (camorama starts immediately and ends
immediately), but the second time I use the camera, it takes 10
seconds from the time I tell camorama to exit until the time it
returns me back to the command prompt.  After that, when I try to
start camorama, it says "Could not connect to video device
(/dev/video0)."  If I rmmod the module and insmod it again, then I get
the same problem.  See the attached dmesg output for details.  It's
annotated with the commands I used.  It seems like the interesting
error messages are "[gspca_set_isoc_ep:894] Set interface err -75" and
"[spca5xx_open:1934]  DEALLOC error on init_Isoc".  I think those are
related to the problem.

The only way I've found to get the camera working again is to reboot
my system.  It seems like the driver causes something strange to
happen in the kernel so the kernel doesn't work right with the driver
until you reboot.

When I do see a picture on the screen, it's fairly dark and seems to
be in black and white, but I can fix it a bit by adjusting the
contrast.  Also, the picture seems to be flashing rapidly, which I
think might be caused by my incandescent lightbulbs (I've heard this
can be a problem with webcams if they are synchronized with the
electrical frequency of the lightbulbs; being in North America, this
is 60Hz for me).

Also, I had to make a minor change to gspca_core.c to get my camera to
work (since it's PCI ID 093a:260e).  You added my PCI ID to the switch
statement (thanks very much), but it's not in the device_table struct.
Could you please add it?  I've attached a patch that will do that.
Also, you may want to add PCI ID 093a:2600, which you handle in the
switch statement but haven't put in the device_table struct.

Let me know if you have any comments or questions about any of this.
I'd be happy to do more testing if you tell me what to test.  Thanks
for all your work on this!


On 4/23/07, Thomas Kaiser <spca5xx@xxxxxxxxxxxxxxx> wrote:
Hello All

The "Pixart JPEG" is now decoded in the gspca driver module :-)
More informations here: http://www.kaiser-linux.li/index.php/PAC7311



Attachment: dmesg
Description: Binary data

--- gspca_core.c.000	2007-04-23 09:02:01.000000000 -0700
+++ gspca_core.c	2007-04-23 18:28:09.000000000 -0700
@@ -780,6 +780,7 @@
 	{USB_DEVICE(0x0ac8, 0xc001)},	/* Sony embedded vimicro*/
 	{USB_DEVICE(0x093a, 0x2600)},	/* PAC7311 Typhoon */
 	{USB_DEVICE(0x093a, 0x2608)},	/* PAC7311 Trust WB-3300p */
+	{USB_DEVICE(0x093a, 0x260e)},	/* PAC7311 Gigaware VGA PC Camera */
 	{USB_DEVICE(0x0000, 0x0000)},	/* MystFromOri Unknow Camera */
 	{}			/* Terminating entry */
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