主题 : linux2.6.29内核+中星微ZC301b摄像头驱动怎么是黑屏啊? 复制链接 | 浏览器收藏 | 打印
因为这个舞台,我们相聚在一起!
级别: 侠客
UID: 2527
精华: 1
发帖: 91
金钱: 505 两
威望: 101 点
综合积分: 202 分
注册时间: 2008-11-22
最后登录: 2015-06-08
楼主  发表于: 2011-09-06 16:01

 linux2.6.29内核+中星微ZC301b摄像头驱动怎么是黑屏啊?

大家好!
我用linux2.6.29自带的摄像头驱动zc030x(p)驱动,下载到开发板通过NFS启动文件系统。出现下面的提示

usb 1-1: new full speed USB device using s3c2410-ohci and address 5
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 2wr ov vga 0x0000
zc3xx: probe 3wr vga 1 0xe400
zc3xx: probe 3wr vga 2 0x0000
zc3xx: Sensor UNKNOW_0 force Tas5130
gspca: probe ok

通过查看ls -l /dev/vedio 0 创建了设备文件

zc3xx: Sensor UNKNOW_0 force Tas5130    //这个表示感应芯片不识别  

网上查阅很多资料,说是linux2.6.29自带的驱动只支持301p型号的,不支持301b型号。
我对摄像头驱动不熟悉,哪里有301b的驱动或者怎么修改内核自带现的驱动。
谢谢







以下是我运行测试程序出现的提示
# ./server_arm fastspeed.txt
start 2.0...
Device name:PC Camera
Width:640 ~ 48
Height:480 ~ 32
Frames:4
Buffer size:475136
Offset:0
encoded:38016, 4228 bytes.
encoded:38016, 152 bytes.
encoded:38016, 12 bytes.
encoded:38016, 12 bytes.
encoded:38016, 12 bytes.
gspca: ISOC data error: [10] len=38, status=-84
encoded:38016, 12 bytes.
encoded:38016, 12 bytes.
encoded:38016, 12 bytes.
encoded:38016, 12 bytes.
encoded:38016, 12 bytes.
encoded:38016, 12 bytes.
encoded:38016, 12 bytes.
encoded:38016, 4212 bytes.
encoded:38016, 152 bytes.
gspca: ISOC data error: [14] len=18, status=-84
encoded:38016, 12 bytes.
encoded:38016, 12 bytes.
encoded:38016, 12 bytes.
gspca: ISOC data error: [16] len=18, status=-84
encoded:38016, 12 bytes.
encoded:38016, 12 bytes.
encoded:38016, 12 bytes.
encoded:38016, 12 bytes.
encoded:38016, 12 bytes.
encoded:38016, 12 bytes.
gspca: ISOC data error: [8] len=18, status=-84
encoded:38016, 12 bytes.
encoded:38016, 12 bytes.
encoded:38016, 12 bytes.
encoded:38016, 12 bytes.
encoded:38016, 12 bytes.
encoded:38016, 12 bytes.
encoded:38016, 12 bytes.
gspca: ISOC data error: [8] len=16, status=-84
encoded:38016, 12 bytes.
gspca: ISOC data error: [8] len=38, status=-84
encoded:38016, 12 bytes.
encoded:38016, 12 bytes.
encoded:38016, 12 bytes.
encoded:38016, 12 bytes.
encoded:38016, 12 bytes.
encoded:38016, 12 bytes.
gspca: ISOC data error: [13] len=18, status=-84
encoded:38016, 12 bytes.
encoded:38016, 12 bytes.
encoded:38016, 12 bytes.
gspca: ISOC data error: [11] len=18, status=-84
encoded:38016, 12 bytes.
gspca: ISOC data error: [2] len=55, status=-84
encoded:38016, 12 bytes.
encoded:38016, 12 bytes.
encoded:38016, 12 bytes.
encoded:38016, 12 bytes.
encoded:38016, 12 bytes.
encoded:38016, 12 bytes.
encoded:38016, 12 bytes.
gspca: ISOC data error: [12] len=18, status=-84
^C
#
[ 此帖被sanmaoljh在2011-09-06 16:44重新编辑 ]
蜗牛