Hi,

Ok so the camera isn't uvc compatible (it's using the sn9c102 driver),
but all of the modes listed are supported by guvcview (BA81 and JPEG)
although it seems the camera doesn't stream any data in BA81 mode, so
you could try and change the output to jpeg mode, just use the GUI or
from the command line:
guvcview --format=jpeg

for BA81 use: guvcview --format=bggr

Best regards
Paulo

2009/8/21 Dotan Cohen <[email protected]>:
> 2009/8/21 Paulo Assis <[email protected]>:
>> Hi,
>> Could you please try with guvcview:
>>
>> guvcview --verbose
>>
>> This should list all frame formats available on your camera.
>>
>> luvcview only supports yuyv and mjpeg, so other formats are not available.
>>
>> This particular model seems to support  RGB24, just made available in
>> guvcview 1.1.3 and completely untested :-), so this is a very good
>> opportunity to contribute in the development of a GPL application,
>> please just report your findings, I'm obviously very interested in the
>> results.
>>
>>
>> Anyway the camera doesn't seem to be recognized has a uvc device
>> (there are no uvc messages in dmesg), you can confirm this with lsusb.
>>
>>
>
> Thanks, Paulo.  I installed the latest version and this is the output
> (The viewer screen stayed black while guvcview was running):
>
>
>
> jaun...@laptop:~$ guvcview --verbose
> guvcview 1.1.3
> Could not open /home/jaunty2/.guvcviewrc for read,
>  will try to create it
> write /home/jaunty2/.guvcviewrc OK
> starting portaudio...
> language catalog=> dir:/usr/share/locale type: lang:en_US.UTF-8 
> cat:guvcview.mo
> mjpg: setting format to 1196444237
> capture method = 1
> video device: /dev/video0
> /dev/video0 - device 1
> Init. SN9C1xx PC Camera (location: usb-0000:00:1d.0-1)
> { pixelformat = 'BA81', description = 'bayer rgb' }
> { stepwise: min { width = 16, height = 16 } .. max { width = 640,
> height = 480 } / stepsize { width = 16, height = 16 } }
>  will not enumerate frame intervals.
> { ?GSPCA? : width = 640, height = 480 }
> fmtind:1 fsizeind: 1
> { pixelformat = 'JPEG', description = 'JPEG' }
> { stepwise: min { width = 16, height = 16 } .. max { width = 640,
> height = 480 } / stepsize { width = 16, height = 16 } }
>  will not enumerate frame intervals.
> { ?GSPCA? : width = 640, height = 480 }
> fmtind:2 fsizeind: 1
> checking format: 1196444237
> Format unavailable: 1196444237.
> Init v4L2 failed !!
> Init video returned -2
> trying minimum setup ...
> capture method = 1
> video device: /dev/video0
> /dev/video0 - device 1
> Init. SN9C1xx PC Camera (location: usb-0000:00:1d.0-1)
> { pixelformat = 'BA81', description = 'bayer rgb' }
> { stepwise: min { width = 16, height = 16 } .. max { width = 640,
> height = 480 } / stepsize { width = 16, height = 16 } }
>  will not enumerate frame intervals.
> { ?GSPCA? : width = 480, height = 480 }
> fmtind:1 fsizeind: 1
> { pixelformat = 'JPEG', description = 'JPEG' }
> { stepwise: min { width = 16, height = 16 } .. max { width = 640,
> height = 480 } / stepsize { width = 16, height = 16 } }
>  will not enumerate frame intervals.
> { ?GSPCA? : width = 480, height = 480 }
> fmtind:2 fsizeind: 1
> checking format: 825770306
> vid:1d6b
> pid:0001
> driver:sn9c102
> Controls:
> control[0]: 0x98090b  auto black level compensation, 0:1:1, default 0
> control[1]: 0x98090e  red balance, 0:1:63, default 8
> control[2]: 0x98090f  blue balance, 0:1:63, default 26
> control[3]: 0x980913  global gain, 0:1:255, default 64
> control[4]: 0x8000001  green balance, 0:1:63, default 47
> resolutions of 1º format=1
> frame rates of 1º resolution=1
> Def. Res: 0  numb. fps:1
> --------------------------------------- device #0
> [ Default OSS Input, Default OSS Output ]
> Name                     = /dev/dsp
> Host API                 = OSS
> Max inputs = 16, Max outputs = 16
> Def. low input latency   =    0.012
> Def. low output latency  =    0.012
> Def. high input latency  =    0.046
> Def. high output latency =    0.046
> Def. sample rate         = 44100.00
> --------------------------------------- device #1
> Name                     = /dev/dsp1
> Host API                 = OSS
> Max inputs = 16, Max outputs = 0
> Def. low input latency   =    0.012
> Def. low output latency  =    0.012
> Def. high input latency  =    0.046
> Def. high output latency =    0.046
> Def. sample rate         = 44100.00
> --------------------------------------- device #2
> Name                     = HDA Intel: STAC92xx Analog (hw:0,0)
> Host API                 = ALSA
> Max inputs = 2, Max outputs = 2
> Def. low input latency   =    0.012
> Def. low output latency  =    0.012
> Def. high input latency  =    0.046
> Def. high output latency =    0.046
> Def. sample rate         = 44100.00
> --------------------------------------- device #3
> Name                     = HDA Intel: STAC92xx Digital (hw:0,1)
> Host API                 = ALSA
> Max inputs = 0, Max outputs = 2
> Def. low input latency   =   -1.000
> Def. low output latency  =    0.012
> Def. high input latency  =   -1.000
> Def. high output latency =    0.046
> Def. sample rate         = 44100.00
> --------------------------------------- device #4
> Name                     = USB camera: USB Audio (hw:1,0)
> Host API                 = ALSA
> Max inputs = 1, Max outputs = 0
> Def. low input latency   =    0.032
> Def. low output latency  =   -1.000
> Def. high input latency  =    0.128
> Def. high output latency =   -1.000
> Def. sample rate         = 16000.00
> --------------------------------------- device #5
> Name                     = front
> Host API                 = ALSA
> Max inputs = 0, Max outputs = 2
> Def. low input latency   =   -1.000
> Def. low output latency  =    0.012
> Def. high input latency  =   -1.000
> Def. high output latency =    0.046
> Def. sample rate         = 44100.00
> --------------------------------------- device #6
> Name                     = surround40
> Host API                 = ALSA
> Max inputs = 0, Max outputs = 2
> Def. low input latency   =   -1.000
> Def. low output latency  =    0.012
> Def. high input latency  =   -1.000
> Def. high output latency =    0.046
> Def. sample rate         = 44100.00
> --------------------------------------- device #7
> Name                     = surround51
> Host API                 = ALSA
> Max inputs = 0, Max outputs = 2
> Def. low input latency   =   -1.000
> Def. low output latency  =    0.012
> Def. high input latency  =   -1.000
> Def. high output latency =    0.046
> Def. sample rate         = 44100.00
> --------------------------------------- device #8
> Name                     = surround71
> Host API                 = ALSA
> Max inputs = 0, Max outputs = 2
> Def. low input latency   =   -1.000
> Def. low output latency  =    0.012
> Def. high input latency  =   -1.000
> Def. high output latency =    0.046
> Def. sample rate         = 44100.00
> --------------------------------------- device #9
> Name                     = iec958
> Host API                 = ALSA
> Max inputs = 0, Max outputs = 2
> Def. low input latency   =   -1.000
> Def. low output latency  =    0.012
> Def. high input latency  =   -1.000
> Def. high output latency =    0.046
> Def. sample rate         = 44100.00
> --------------------------------------- device #10
> Name                     = spdif
> Host API                 = ALSA
> Max inputs = 0, Max outputs = 2
> Def. low input latency   =   -1.000
> Def. low output latency  =    0.012
> Def. high input latency  =   -1.000
> Def. high output latency =    0.046
> Def. sample rate         = 44100.00
> --------------------------------------- device #11
> Name                     = pulse
> Host API                 = ALSA
> Max inputs = 32, Max outputs = 32
> Def. low input latency   =    0.012
> Def. low output latency  =    0.012
> Def. high input latency  =    0.046
> Def. high output latency =    0.046
> Def. sample rate         = 44100.00
> --------------------------------------- device #12
> Name                     = dmix
> Host API                 = ALSA
> Max inputs = 0, Max outputs = 2
> Def. low input latency   =   -1.000
> Def. low output latency  =    0.043
> Def. high input latency  =   -1.000
> Def. high output latency =    0.043
> Def. sample rate         = 48000.00
> --------------------------------------- device #13
> [ Default Input, Default Output ]
> Name                     = default
> Host API                 = ALSA
> Max inputs = 32, Max outputs = 32
> Def. low input latency   =    0.012
> Def. low output latency  =    0.012
> Def. high input latency  =    0.046
> Def. high output latency =    0.046
> Def. sample rate         = 44100.00
> ----------------------------------------------
> SampleRate:0 Channels:0
> Video driver: x11
> A window manager is available
>  Could not grab image (select timeout): Resource temporarily
> unavailable
>  Could not grab image (select timeout): Resource temporarily
> unavailable
>  Could not grab image (select timeout): Resource temporarily
> unavailable
>  Could not grab image (select timeout): Resource temporarily
> unavailable
>  Could not grab image (select timeout): Resource temporarily
> unavailable
>  Could not grab image (select timeout): Resource temporarily
> unavailable
>  Could not grab image (select timeout): Resource temporarily
> unavailable
>  Could not grab image (select timeout): Resource temporarily
> unavailable
>  Could not grab image (select timeout): Resource temporarily
> unavailable
>  Could not grab image (select timeout): Resource temporarily
> unavailable
>  Could not grab image (select timeout): Resource temporarily
> unavailable
>  Could not grab image (select timeout): Resource temporarily
> unavailable
>  Could not grab image (select timeout): Resource temporarily
> unavailable
>  Could not grab image (select timeout): Resource temporarily
> unavailable
>  Could not grab image (select timeout): Resource temporarily
> unavailable
>  Could not grab image (select timeout): Resource temporarily
> unavailable
>  Could not grab image (select timeout): Resource temporarily unavailable
>
_______________________________________________
Linux-uvc-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel

Reply via email to