Web lists-archives.com

Re: [Spca50x-devs] possibly new sensor in 0x0c45:0x6130




Just wanted to say I tested this again with the newer release 
(gspcav1-20070426 patched with the patch from  
http://sourceforge.net/mailarchive/message.php?msg_name=200704280559.02377.webcam.sn9c120%40stobor.net 
a.k.a. http://tiny.pl/d522 ). The problem is still seen.

Any assistance would be appreciated. 

Cheers,

Allwyn.


More diagnostic info:
uname -a: 
Linux laptop05 2.6.11.4-21.13-default #1 Mon Jul 17 09:21:59 UTC 2006 i686 
i686 i386 GNU/Linux

/etc/issue:
Welcome to SuSE Linux 9.3 (i586) - Kernel 2.6.11.4-21.13-default (tty2).


dmesg:
gspca: module not supported by Novell, setting U taint flag.
/tmp/webcam/gspcav1-20070426/gspca_core.c: USB GSPCA camera found. SONIX JPEG 
(sn9c1xx)
/tmp/webcam/gspcav1-20070426/gspca_core.c: [spca5xx_probe:4049] Camera type 
JPEG
/tmp/webcam/gspcav1-20070426/gspca_core.c: [spca5xx_getcapability:1198] maxw 
640 maxh 480 minw 160 minh 120
usbcore: registered new driver gspca
/tmp/webcam/gspcav1-20070426/gspca_core.c: gspca driver 01.00.16 registered
/tmp/webcam/gspcav1-20070426/gspca_core.c: [spca5xx_set_light_freq:1868] 
Sensor currently not support light frequency banding filters.
/tmp/webcam/gspcav1-20070426/gspca_core.c: [gspca_set_isoc_ep:887] ISO 
EndPoint found 0x81 AlternateSet 8
/tmp/webcam/gspcav1-20070426/gspca_core.c: [spca5xx_set_light_freq:1868] 
Sensor currently not support light frequency banding filters.
/tmp/webcam/gspcav1-20070426/gspca_core.c: [gspca_set_isoc_ep:887] ISO 
EndPoint found 0x81 AlternateSet 8
usb 1-2: USB disconnect, address 3


/var/log/messages:
Apr 28 05:39:44 laptop05 kernel: usb 1-2: new full speed USB device using 
uhci_hcd and address 3
Apr 28 05:39:47 laptop05 kernel: Linux video capture interface: v1.00
Apr 28 05:39:47 laptop05 kernel: gspca: module not supported by Novell, 
setting U taint flag.
Apr 28 05:39:47 laptop05 kernel: /tmp/webcam/gspcav1-20070426/gspca_core.c: 
USB GSPCA camera found. SONIX JPEG (sn9c1xx)
Apr 28 05:39:47 laptop05 kernel: /tmp/webcam/gspcav1-20070426/gspca_core.c: 
[spca5xx_probe:4049] Camera type JPEG
Apr 28 05:39:47 laptop05 kernel: /tmp/webcam/gspcav1-20070426/gspca_core.c: 
[spca5xx_getcapability:1198] maxw 640 maxh 480 minw 160 minh 120
Apr 28 05:39:47 laptop05 kernel: usbcore: registered new driver gspca
Apr 28 05:39:47 laptop05 kernel: /tmp/webcam/gspcav1-20070426/gspca_core.c: 
gspca driver 01.00.16 registered
Apr 28 05:39:50 laptop05 kernel: /tmp/webcam/gspcav1-20070426/gspca_core.c: 
[spca5xx_set_light_freq:1868] Sensor currently not support light frequency 
banding filters.
Apr 28 05:39:50 laptop05 kernel: /tmp/webcam/gspcav1-20070426/gspca_core.c: 
[gspca_set_isoc_ep:887] ISO EndPoint found 0x81 AlternateSet 8
Apr 28 05:40:10 laptop05 kernel: /tmp/webcam/gspcav1-20070426/gspca_core.c: 
[spca5xx_set_light_freq:1868] Sensor currently not support light frequency 
banding filters.
Apr 28 05:40:10 laptop05 kernel: /tmp/webcam/gspcav1-20070426/gspca_core.c: 
[gspca_set_isoc_ep:887] ISO EndPoint found 0x81 AlternateSet 8
Apr 28 06:00:00 laptop05 kernel: usb 1-2: USB disconnect, address 3

mplayer:
$ mplayer -tv driver=v4l tv://
MPlayer 1.0rc1-SUSE Linux 9.3 (i686)-Packman-3.3.5 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 2.00GHz (Family: 15, Model: 2, Stepping: 4)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.

Playing tv://.
Cache fill:  0.00% (0 bytes)
TV file format detected.
Selected driver: v4l
 name: Video 4 Linux input
 author: Alex Beregszaszi
 comment: under development
Selected device: Sonix Pccam +
 Capabilites: capture
 Device type: 1
 Supported sizes: 160x120 => 640x480
 Inputs: 1
  0: SN9CXXX:  (tuner:0, norm:pal)
Using input 'SN9CXXX'
Selected input hasn't got a tuner!
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 160 x 120 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 160x120 => 160x120 Planar YV12
Selected video codec: [rawyv12] vfm: raw (RAW YV12)
==========================================================================
Audio: no sound
Starting playback...
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
  MJP: returning! 0%  0%  0.0% 0 0 0%

Exiting... (Quit)


On Monday 23 April 2007 08:15, Mr Allwyn Fernandes wrote:
> Hi all,
>
> I've got a new cheapie webcam (Ritmo "USB Night Vision WebCam with
> Microphone") which appears to be a recent model Sonix PCCam+. According to
> http://mxhaard.free.fr/spca5xx.html this model is "working" (green),
> although still in "Test". That page indicates that the cam uses a sn9c120
> bridge with a Mi0360 sensor.
>
> I've tried using the gspcav1-20070110 driver, which seems to recognise the
> cam, but produces nonsense images (random coloured pixels). Screenshot of
> spcaview: http://img58.imageshack.us/my.php?image=sonixsample1ik3.png
> mplayer/xawtv give something similar. The console output of spcaview is
> included below. Playing with the format (-f) and capture mode (-g) among
> others do not seem to affect the final image.
>
> I installed the cam on a Windows computer, to look at the driver files. The
> CD which came with the camera had a file called
> USBPCCamPlus_v5.14.0.100.exe and the oem228.inf file which it installed is
> attached. An interesting line is:
>
> %USBPCamV2Desc% = SN.PCamV2,USB\VID_0c45&PID_6130 ;
> 120+MI0360/MT9V111/MI0360B
>
> which seems to suggest this usb id might correspond to more than one
> sensor. I haven't seen anything on the mailing list regarding these two
> other sensors, so I'm not sure if you've seen them before... I have also
> grabbed the .reg files which are referred to in the .inf file, they appear
> to contain initialisation data for the different sensors... I don't yet
> know which sensor is contained in my cam, or whether there's a way of
> telling that, or even if there is any difference between the model numbers
> given...
>
> What information can I provide you with to help get this cam supported? Or
> is there a natural place for me to start looking, if I want to work on
> this?
>
> Cheers,
>
> Allwyn.
>
>
> ============= Output from spcaview ===========================
>
> af@laptop05:/tmp/webcam/spcaview-20061208> ./spcaview
>  Spcaview version: 1.1.7 date: 06:11:2006 (C) mxhaard@xxxxxxxx
> Initializing SDL.
> SDL initialized.
> bpp 3 format 15
> Using video device /dev/video0.
> Initializing v4l.
> **************** PROBING CAMERA *********************
> Camera found: Sonix Pccam +
> Bridge found: SN9CXXX
> Bridge find SN9CXXX number 17
> StreamId: JPEG Camera
> quality 4 autoexpo 1 Timeframe 0 lightfreq 50
> Bridge find SN9CXXX number 17
> Available Resolutions width 640  heigth 480 native
> Available Resolutions width 352  heigth 288 decoded
> Available Resolutions width 320  heigth 240 native *
> Available Resolutions width 176  heigth 144 decoded
> *****************************************************
>  grabbing method default MMAP asked
> VIDIOCGMBUF size 2457616  frames 2  offets[0]=0 offsets[1]=1228808
> VIDIOCGPICT
> brightnes=65520 hue=0 color=32768 contrast=16128 whiteness=0
> depth=12 palette=15
> VIDIOCSPICT
> brightness=65520 hue=0 color=32768 contrast=16128 whiteness=0
> depth=24 palette=15
>
>
> Used 96066ms for 1780 images => 53ms/image 18fps.
> Quiting SDL.
> Decoded frames:1780 Average decode time: 5.000000
> unmapping
> closing
> closed
> Destroy Picture thread ...
> Quiting....
>
> ==============================================================

-- 
Allwyn Fernandes
Director
Stobor Pty Ltd

Mobile: + 61 414 470 392
Email: af@xxxxxxxxxx

-------------------------------------------------------------------------
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