Web lists-archives.com

[Spca50x-devs] Fwd: webcam recognized by driver but freeze the apps




Hi
i post again as i still don't have found a solution or even a clue.
Sorry to insist

Emmanuel

----------  Message transmis  ----------

Subject: [Spca50x-devs] webcam recognized by driver but freeze the apps
Date: samedi 31 mars 2007 08:40
From: emmanuel simonnet <manusim1@xxxxxxx>
To: spca50x-devs@xxxxxxxxxxxxxxxxxxxxx

Hi

I have a no-brand webcam id 04fc:0561 recognized as a Sunplus Flexcam 100.As
this type of cam is in the list of cams supported by the driver,i installed
gspca on my system (Mandriva 2007.0 kernel 2.6.17-5).
The cam is recognized by the driver (spca561) but every app i tried freeze.

The output of spcaview looks like it takes only 2 frames and wait.

I join the output of var/log/messages with debug=4.

Any help to solve this pb would be appreciated.If you need any other info or
test,just ask

Thanks
Emmanuel

-------------------------------------------------------
Mar 31 08:31:09 ordimanu kernel: /home/manu/dwnld/gspcav1-20070110/gspca_core.c: [spca5xx_open:1894] opening
Mar 31 08:31:09 ordimanu kernel: /home/manu/dwnld/gspcav1-20070110/gspca_core.c: [spca50x_alloc:1653] entered
Mar 31 08:31:09 ordimanu kernel: /home/manu/dwnld/gspcav1-20070110/gspca_core.c: [spca50x_alloc:1673] frame[0] @ fab01000
Mar 31 08:31:09 ordimanu kernel: /home/manu/dwnld/gspcav1-20070110/gspca_core.c: [spca50x_alloc:1673] frame[1] @ fac2d008
Mar 31 08:31:09 ordimanu kernel: /home/manu/dwnld/gspcav1-20070110/gspca_core.c: [spca50x_alloc:1679] leaving
Mar 31 08:31:09 ordimanu kernel: /home/manu/dwnld/gspcav1-20070110/Sunplus/spca561.h: [spca561_init:493] Find spca561 USB Product ID 561
Mar 31 08:31:09 ordimanu kernel: /home/manu/dwnld/gspcav1-20070110/gspca_core.c: [spca5xx_setMode:1259] spca5xx set mode asked w 320 h 240 p 4
Mar 31 08:31:09 ordimanu kernel: /home/manu/dwnld/gspcav1-20070110/gspca_core.c: [spca5xx_setMode:1338] Found code 1 method 0
Mar 31 08:31:09 ordimanu kernel: /home/manu/dwnld/gspcav1-20070110/gspca_core.c: [spca5xx_setMode:1340] Soft Win width height 320 x 240
Mar 31 08:31:09 ordimanu kernel: /home/manu/dwnld/gspcav1-20070110/gspca_core.c: [spca5xx_setMode:1342] Hard Win width height 320 x 240
Mar 31 08:31:09 ordimanu kernel: /home/manu/dwnld/gspcav1-20070110/gspca_core.c: [spca5xx_set_light_freq:1858] Sensor currently not support light frequency banding filters.
Mar 31 08:31:09 ordimanu kernel: /home/manu/dwnld/gspcav1-20070110/gspca_core.c: [gspca_init_transfert:957] get iso nbalt 13
Mar 31 08:31:09 ordimanu kernel: /home/manu/dwnld/gspcav1-20070110/gspca_core.c: [gspca_set_isoc_ep:866] enter get iso ep
Mar 31 08:31:09 ordimanu kernel: /home/manu/dwnld/gspcav1-20070110/gspca_core.c: [gspca_set_isoc_ep:873] test ISO EndPoint  129
Mar 31 08:31:09 ordimanu kernel: /home/manu/dwnld/gspcav1-20070110/gspca_core.c: [gspca_set_isoc_ep:881] ISO EndPoint found 0x81 AlternateSet 13
Mar 31 08:31:09 ordimanu kernel: /home/manu/dwnld/gspcav1-20070110/gspca_core.c: [gspca_init_transfert:964] packet size 845
Mar 31 08:31:09 ordimanu kernel: /home/manu/dwnld/gspcav1-20070110/gspca_core.c: [gspca_init_transfert:1011] Submit URB Now
Mar 31 08:31:09 ordimanu kernel: /home/manu/dwnld/gspcav1-20070110/gspca_core.c: [spca5xx_open:1940] Open done
Mar 31 08:31:09 ordimanu kernel: /home/manu/dwnld/gspcav1-20070110/gspca_core.c: [spca5xx_do_ioctl:1997] do_IOCtl: 0x803C7601
Mar 31 08:31:09 ordimanu kernel: /home/manu/dwnld/gspcav1-20070110/gspca_core.c: [spca5xx_do_ioctl:2004] VIDIOCGCAP e5595e14 :
Mar 31 08:31:09 ordimanu kernel: /home/manu/dwnld/gspcav1-20070110/gspca_core.c: [spca5xx_do_ioctl:1997] do_IOCtl: 0xC0307602
Mar 31 08:31:09 ordimanu kernel: /home/manu/dwnld/gspcav1-20070110/gspca_core.c: [spca5xx_do_ioctl:1997] do_IOCtl: 0x40307603
Mar 31 08:31:09 ordimanu kernel: /home/manu/dwnld/gspcav1-20070110/gspca_core.c: [spca5xx_do_ioctl:1997] do_IOCtl: 0xC0307602
Mar 31 08:31:09 ordimanu kernel: /home/manu/dwnld/gspcav1-20070110/gspca_core.c: [spca5xx_do_ioctl:1997] do_IOCtl: 0x80887614
Mar 31 08:31:09 ordimanu kernel: /home/manu/dwnld/gspcav1-20070110/gspca_core.c: [spca5xx_do_ioctl:2180] VIDIOCGMBUF: f6695080
Mar 31 08:31:09 ordimanu kernel: /home/manu/dwnld/gspcav1-20070110/gspca_core.c: [spca5xx_mmap:2491] mmap: 2461696 (259000) bytes
Mar 31 08:31:09 ordimanu kernel: /home/manu/dwnld/gspcav1-20070110/gspca_core.c: [spca5xx_do_ioctl:1997] do_IOCtl: 0x40107613
Mar 31 08:31:09 ordimanu kernel: /home/manu/dwnld/gspcav1-20070110/gspca_core.c: [spca5xx_do_ioctl:2193] CMCAPTURE
Mar 31 08:31:09 ordimanu kernel: /home/manu/dwnld/gspcav1-20070110/gspca_core.c: [spca5xx_do_ioctl:2195] CM frame: 0, size: 320x240, format: 15
Mar 31 08:31:09 ordimanu kernel: /home/manu/dwnld/gspcav1-20070110/gspca_core.c: [spca5xx_do_ioctl:1997] do_IOCtl: 0x40107613
Mar 31 08:31:09 ordimanu kernel: /home/manu/dwnld/gspcav1-20070110/gspca_core.c: [spca5xx_do_ioctl:2193] CMCAPTURE
Mar 31 08:31:09 ordimanu kernel: /home/manu/dwnld/gspcav1-20070110/gspca_core.c: [spca5xx_do_ioctl:2195] CM frame: 1, size: 320x240, format: 15
Mar 31 08:31:09 ordimanu kernel: /home/manu/dwnld/gspcav1-20070110/gspca_core.c: [spca5xx_do_ioctl:1997] do_IOCtl: 0x800E7606
Mar 31 08:31:09 ordimanu kernel: /home/manu/dwnld/gspcav1-20070110/gspca_core.c: [spca5xx_do_ioctl:2078] VIDIOCGPICT: depth=12, palette=4
Mar 31 08:31:09 ordimanu kernel: /home/manu/dwnld/gspcav1-20070110/Sunplus/spca561.h: [spca561_getcontrast:729] get contrast 38464
Mar 31 08:31:09 ordimanu kernel:
Mar 31 08:31:10 ordimanu kernel: /home/manu/dwnld/gspcav1-20070110/gspca_core.c: [spca5xx_do_ioctl:1997] do_IOCtl: 0x400E7607
Mar 31 08:31:10 ordimanu kernel: /home/manu/dwnld/gspcav1-20070110/gspca_core.c: [spca5xx_do_ioctl:2090] VIDIOCSPICT
Mar 31 08:31:10 ordimanu kernel: /home/manu/dwnld/gspcav1-20070110/gspca_core.c: [spca5xx_do_ioctl:2097] Setting depth=24, palette=15
Mar 31 08:31:10 ordimanu kernel: /home/manu/dwnld/gspcav1-20070110/gspca_core.c: [spca5xx_do_ioctl:1997] do_IOCtl: 0x40047612
Mar 31 08:31:10 ordimanu kernel: /home/manu/dwnld/gspcav1-20070110/gspca_core.c: [spca5xx_do_ioctl:2273] syncing to frame 0, grabstate = 1
Mar 31 08:31:12 ordimanu kernel: /home/manu/dwnld/gspcav1-20070110/gspca_core.c: [spca5xx_do_ioctl:1997] do_IOCtl: 0x40107613
Mar 31 08:31:12 ordimanu kernel: /home/manu/dwnld/gspcav1-20070110/gspca_core.c: [spca5xx_do_ioctl:2193] CMCAPTURE
Mar 31 08:31:12 ordimanu kernel: /home/manu/dwnld/gspcav1-20070110/gspca_core.c: [spca5xx_do_ioctl:2195] CM frame: 0, size: 320x240, format: 15
Mar 31 08:31:12 ordimanu kernel: /home/manu/dwnld/gspcav1-20070110/gspca_core.c: [spca5xx_do_ioctl:1997] do_IOCtl: 0x40047612
Mar 31 08:31:12 ordimanu kernel: /home/manu/dwnld/gspcav1-20070110/gspca_core.c: [spca5xx_do_ioctl:2273] syncing to frame 1, grabstate = 1
Mar 31 08:31:13 ordimanu kernel: /home/manu/dwnld/gspcav1-20070110/gspca_core.c: [spca5xx_do_ioctl:1997] do_IOCtl: 0x40107613
Mar 31 08:31:13 ordimanu kernel: /home/manu/dwnld/gspcav1-20070110/gspca_core.c: [spca5xx_do_ioctl:2193] CMCAPTURE
Mar 31 08:31:13 ordimanu kernel: /home/manu/dwnld/gspcav1-20070110/gspca_core.c: [spca5xx_do_ioctl:2195] CM frame: 1, size: 320x240, format: 15
Mar 31 08:31:13 ordimanu kernel: /home/manu/dwnld/gspcav1-20070110/gspca_core.c: [spca5xx_close:1957] spca50x_close
Mar 31 08:31:13 ordimanu kernel: /home/manu/dwnld/gspcav1-20070110/gspca_core.c: [spca50x_stop_isoc:1128] *** Stopping capture ***
Mar 31 08:31:13 ordimanu kernel: /home/manu/dwnld/gspcav1-20070110/gspca_core.c: [spca50x_isoc_irq:1095] device not open
Mar 31 08:31:13 ordimanu kernel: /home/manu/dwnld/gspcav1-20070110/gspca_core.c: [spca50x_stop_isoc:1133] *** Capture stopped ***
Mar 31 08:31:13 ordimanu kernel: /home/manu/dwnld/gspcav1-20070110/gspca_core.c: [spca5xx_dealloc:1699] entered dealloc
Mar 31 08:31:13 ordimanu kernel: /home/manu/dwnld/gspcav1-20070110/gspca_core.c: [spca5xx_dealloc:1712] buffer memory deallocated
Mar 31 08:31:13 ordimanu kernel: /home/manu/dwnld/gspcav1-20070110/gspca_core.c: [spca5xx_dealloc:1715] leaving dealloc
Mar 31 08:31:13 ordimanu kernel: /home/manu/dwnld/gspcav1-20070110/gspca_core.c: [spca5xx_close:1974] Release ressources done
[user@localhost ~] spcaview -s 320x240
 Spcaview version: 1.1.4 date: 27:11:2005 (C) mxhaard@xxxxxxxx
 size width: 320 height: 240
Initializing SDL.
SDL initialized.
bpp 3 format 15
Using video device /dev/video0.
Initializing v4l.
**************** PROBING CAMERA *********************
Camera found: Flexcam 100 Camera
Bridge found: SPCA561
Bridge find SPCA561 number 9
StreamId: GBRG Camera
Bridge find SPCA561 number 9
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 2457616  frames 2  offets[0]=0 offsets[1]=1228808
VIDIOCGPICT
brightnes=1920 hue=0 color=0 contrast=38464 whiteness=0
depth=12 palette=15
VIDIOCSPICT
brightness=1920 hue=0 color=0 contrast=38464 whiteness=0
depth=24 palette=15

cvsync err
: Interrupted system call
cvsync err
: Interrupted system call

Used 10121ms for 2 images => 5060ms/image 0fps.
Quiting SDL.
Decoded frames:2 Average decode time: 0.000000
unmapping
closing
closed
Destroy Picture thread ...
Quiting....
-------------------------------------------------------------------------
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.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Spca50x-devs mailing list
Spca50x-devs@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/spca50x-devs