On Tuesday, August 7, 2012 11:30:13 AM UTC+3, Ilya wrote:
>
>
>
> On Wednesday, June 6, 2012 1:25:03 PM UTC+3, Ilya wrote:
>>
>> I'm getting flashing color in lower half of image at resolutions
>> 640x480 and 320x240. Resolution 160x120 is fine. TEAC webcamera USB ID
>> 0c45:6270, stock 3.2.0-2-amd64 kernel. (I guess it may actually be
>> hardware problem.)
>
> I tried kernel 2.6.35.4, in it everything seems to work.
>
It seems that in 3.2 kernel much smaller packet size is allocated than in
2.6 kernel.
There must have been some change in the USB subsistem. The following patch
works for
me but it must affect too many cameras to put it in public system:
--- gspca.c.orig 2012-08-08 09:15:41.000000000 +0300
+++ gspca.c 2012-08-08 09:17:14.000000000 +0300
@@ -839,7 +839,7 @@
/* do the specific subdriver stuff before endpoint selection */
intf = usb_ifnum_to_if(gspca_dev->dev, gspca_dev->iface);
- gspca_dev->alt = gspca_dev->cam.bulk ? intf->num_altsetting : 0;
+ gspca_dev->alt = intf->num_altsetting;
if (gspca_dev->sd_desc->isoc_init) {
ret = gspca_dev->sd_desc->isoc_init(gspca_dev);
if (ret < 0)
--
Lets make microdia webcams plug'n play, (currently plug'n pray)
To post to this group, send email to [email protected]
Visit us online https://groups.google.com/group/microdia