主题 : 移植spcaserv到ARM9上遇到问题 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 6013
精华: 0
发帖: 18
金钱: 180 两
威望: 140 点
综合积分: 36 分
注册时间: 2009-05-16
最后登录: 2009-10-22
楼主  发表于: 2009-09-08 09:07

 移植spcaserv到ARM9上遇到问题

开发板:MINI2440  LINUX2.6.29 交叉编译环境 4.3
插上USB摄像头,信息:
[root@FriendlyARM /]# usb 1-1: new full speed USB device using s3c2410-ohci and
address 2
usb 1-1: New USB device found, idVendor=0ac8, idProduct=301b
usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 1-1: Product: PC Camera
usb 1-1: Manufacturer: Vimicro Corp.
usb 1-1: configuration #1 chosen from 1 choice
gspca: probing 0ac8:301b
zc3xx: probe sensor -> 0a
zc3xx: Find Sensor PB0330. Chip revision 0
gspca: probe ok


运行采集端程序后出现以下错误,在PC机上使用SPCASERV正常,同一个摄像头,请教原因。谢谢!
[root@FriendlyARM /video]# ./spcaserv
Spcaview version: 1.1.7 date: 06:11:2006 (C) mxhaard@magic.fr
video /dev/video0
Camera found: vivi
VIDIOCGPICT brightnes=32639 hue=32896 color=32639 contrast=4112 whiteness=0depth
=16 palette=8
Bridge found: Camera
is_spca SPCA505
is_spca SPCA506
is_spca SPCA501
is_spca SPCA508
is_spca SPCA504
is_spca SPCA500
is_spca SPCA504B
is_spca SPCA533
is_spca SPCA504C
is_spca SPCA561
is_spca SPCA536
is_spca SN9C102
is_spca ZR364XX
is_spca ZC301-2
is_spca CX11646
is_spca TV8532
is_spca ET61XX51
is_spca SN9CXXX
is_spca MR97311
Not an Spca5xx Camera !!
wrong spca5xx device
StreamId: -1  Camera
try palette 21 depth 8
try palette 21 depth 8
Damned second try fail
try palette 15 depth 12
Couldnt set palette first try 15
Damned second try fail
try palette 4 depth 24
Couldnt set palette first try 4
Damned second try fail
try palette 3 depth 16
Available  palette 3
try palette 5 depth 32
Couldnt set palette first try 5
Damned second try fail
probe size in
Available Resolutions width 640  heigth 480
Available Resolutions width 384  heigth 288
Available Resolutions width 352  heigth 288
Available Resolutions width 320  heigth 240
Available Resolutions width 192  heigth 144
Available Resolutions width 176  heigth 144
Available Resolutions width 160  heigth 120
cmcapture: Invalid argument
Format asked 15 check -1
Couldnt set videopict params with VIDIOCSPICT

god
级别: 新手上路
UID: 8879
精华: 0
发帖: 2
金钱: 35 两
威望: 16 点
综合积分: 4 分
注册时间: 2009-09-09
最后登录: 2009-09-14
1楼  发表于: 2009-09-09 10:52