Bug 11860

Summary: Camera no longer works with gspca driver provided by kernel-2.6.27 while it works fine with gspcav1 and kernel-2.6.26
Product: Drivers Reporter: Pacho Ramos (pachoramos1)
Component: OtherAssignee: Jean-Francois Moine (moinejf)
Status: CLOSED INVALID    
Severity: normal CC: moinejf
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 2.6.27 Subsystem:
Regression: --- Bisected commit-id:
Attachments: config.gz
lsusb -vv output

Description Pacho Ramos 2008-10-26 07:06:19 UTC
Latest working kernel version:2.6.26 (with driver from http://mxhaard.free.fr/)
Earliest failing kernel version: 2.6.27
Distribution:Gentoo
Hardware Environment: 
Bus 002 Device 002: ID 0471:0325 Philips SPC 200NC PC Camera

(I attach lsusb -vv output)

Software Environment:
Problem Description:
With gspcav1 driver from mshaard.free.fr in kernels <2.6.27 my camera works fine, but it no longer works with 2.6.27 and gspca driver provided by the kernel
camorama shows me that it cannot take pictures, spcaview reports a lot of following messages:
 Spcaview version: 1.1.7 date: 06:11:2006 (C) mxhaard@magic.fr 
Initializing SDL.
SDL initialized.
bpp 3 format 15
Using video device /dev/video0.
Initializing v4l.
**************** PROBING CAMERA *********************
Camera found: SPC 200NC       
Bridge found: zc3xx 
Unable to find a StreamId !!
StreamId: -1 Unknow Camera
Available Resolutions width 640  heigth 480 native  
Available Resolutions width 352  heigth 288 native  
Available Resolutions width 320  heigth 240 native *
Available Resolutions width 176  heigth 144 native  
Available Resolutions width 160  heigth 120 native  
unable to probe size !!
*****************************************************
 grabbing method default MMAP asked 
VIDIOCGMBUF size 163840  frames 4  offets[0]=0 offsets[1]=40960
VIDIOCGPICT
brightnes=32896 hue=0 color=0 contrast=32768 whiteness=39321 
depth=8 palette=0
VIDIOCSPICT
brightness=32896 hue=0 color=0 contrast=32768 whiteness=39321 
depth=24 palette=15 

cvsync err
: Invalid argument
cmcapture: Invalid argument
>>cmcapture err -1
cvsync err
: Invalid argument
cmcapture: Invalid argument
>>cmcapture err -1
cvsync err
: Invalid argument
cmcapture: Invalid argument
>>cmcapture err -1
cvsync err
: Invalid argument
cvsync err
...

Thanks a lot
Comment 1 Pacho Ramos 2008-10-26 07:06:50 UTC
Created attachment 18448 [details]
config.gz

My kernel config
Comment 2 Pacho Ramos 2008-10-26 07:07:12 UTC
Created attachment 18449 [details]
lsusb -vv output
Comment 3 Pacho Ramos 2008-10-26 07:32:03 UTC
Cheese doesn't work also :-(
Comment 4 Jean-Francois Moine 2008-10-26 12:28:06 UTC
The driver gspca v2 does not work without the v4l library.

Please, have a look at my page:
   http://moinejf.free.fr
and read carefully the gspca README (gspca_README.txt).
Comment 5 Pacho Ramos 2008-10-26 12:38:03 UTC
You are true, sorry for the inconvenience, now it works ok with:
LD_PRELOAD=/usr/lib64/libv4l/v4l2convert.so cheese

Thanks a lot