摄像头使用问题
时间:2009-01-29
来源:互联网
已经在内核中添加了对video for linux的支持,而且也把基本驱动都编译进去了.安装SDL和SPCAVIEW也成功了.但是在使用的时候却提示查找不到摄像头.
在网站:mxhaard.free.fr/spca5xx.html 中,我可以查到我的摄像头为:
Wasam 107 0x0ac8 0x301b Wasam Wa350R Zc0301P Pb0330 Yes jpeg spca5xx/LE gspca v4l1/v4l2 ****
驱动属于Zc0301P,也就是gspca_zc3xx模块.但是我使用的时候提示驱动不对,无法使用摄像头.请高手指点一二.
linyin ~ # uname -a
Linux linyin 2.6.27-gentoo-r8 #6 Thu Jan 29 17:27:13 CST 2009 i686 VIA Samuel 2 CentaurHauls GNU/Linux
linyin ~ # lsusb
Bus 002 Device 001: ID 1d6b:0001
Bus 001 Device 002: ID 0ac8:301b Z-Star Microelectronics Corp. ZC0301 WebCam
Bus 001 Device 001: ID 1d6b:0001
linyin ~ # lsmod
Module Size Used by
gspca_zc3xx 45088 0
gspca_main 17344 1 gspca_zc3xx
videodev 27904 1 gspca_main
v4l1_compat 12132 1 videodev
linyin ~ # spcaserv -s 320x240 -w 192.168.1.6:7070
size width: 320 height: 240
Port should be between 1024 to 65536 set default 7070 !.
Spcaview version: 1.1.8 date: 25:12:2007 (C) [email protected]
video /dev/video0
Camera found: PC Camera
VIDIOCGPICT brightnes=32896 hue=0 color=0 contrast=32768 whiteness=39321depth=8 palette=0
Bridge found: zc3xx
Not an Spca5xx Camera !!
wrong spca5xx device
StreamId: -1 Camera
try palette 21 depth 8
Damned second try fail
try palette 15 depth 12
Damned second try fail
try palette 4 depth 24
Damned second try fail
try palette 3 depth 16
Damned second try fail
try palette 5 depth 32
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
Invalid palette in check palette fatal !!
Format asked 15 check -1
VIDIOCSPICT brightnes=32896 hue=0 color=0 contrast=32768 whiteness=39321depth=12 palette=15
VIDIOCGPICT brightnes=32896 hue=0 color=0 contrast=32768 whiteness=39321depth=8 palette=0
could't set video palette Abort !
在网站:mxhaard.free.fr/spca5xx.html 中,我可以查到我的摄像头为:
Wasam 107 0x0ac8 0x301b Wasam Wa350R Zc0301P Pb0330 Yes jpeg spca5xx/LE gspca v4l1/v4l2 ****
驱动属于Zc0301P,也就是gspca_zc3xx模块.但是我使用的时候提示驱动不对,无法使用摄像头.请高手指点一二.
linyin ~ # uname -a
Linux linyin 2.6.27-gentoo-r8 #6 Thu Jan 29 17:27:13 CST 2009 i686 VIA Samuel 2 CentaurHauls GNU/Linux
linyin ~ # lsusb
Bus 002 Device 001: ID 1d6b:0001
Bus 001 Device 002: ID 0ac8:301b Z-Star Microelectronics Corp. ZC0301 WebCam
Bus 001 Device 001: ID 1d6b:0001
linyin ~ # lsmod
Module Size Used by
gspca_zc3xx 45088 0
gspca_main 17344 1 gspca_zc3xx
videodev 27904 1 gspca_main
v4l1_compat 12132 1 videodev
linyin ~ # spcaserv -s 320x240 -w 192.168.1.6:7070
size width: 320 height: 240
Port should be between 1024 to 65536 set default 7070 !.
Spcaview version: 1.1.8 date: 25:12:2007 (C) [email protected]
video /dev/video0
Camera found: PC Camera
VIDIOCGPICT brightnes=32896 hue=0 color=0 contrast=32768 whiteness=39321depth=8 palette=0
Bridge found: zc3xx
Not an Spca5xx Camera !!
wrong spca5xx device
StreamId: -1 Camera
try palette 21 depth 8
Damned second try fail
try palette 15 depth 12
Damned second try fail
try palette 4 depth 24
Damned second try fail
try palette 3 depth 16
Damned second try fail
try palette 5 depth 32
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
Invalid palette in check palette fatal !!
Format asked 15 check -1
VIDIOCSPICT brightnes=32896 hue=0 color=0 contrast=32768 whiteness=39321depth=12 palette=15
VIDIOCGPICT brightnes=32896 hue=0 color=0 contrast=32768 whiteness=39321depth=8 palette=0
could't set video palette Abort !
作者: linyin 发布时间: 2009-01-29
Bridge found: zc3xx
Not an Spca5xx Camera !!
你的摄像头的驱动不对?
Not an Spca5xx Camera !!
你的摄像头的驱动不对?
作者: blackwhite 发布时间: 2009-01-29
Wasam 107 0x0ac8 0x301b Wasam Wa350R Zc0301P Pb0330 Yes jpeg spca5xx/LE gspca v4l1/v4l2 ****
驱动应当是没问题的.因为这摄像头在FREEBSD下就是用的spca5xx的驱动
驱动应当是没问题的.因为这摄像头在FREEBSD下就是用的spca5xx的驱动
作者: linyin 发布时间: 2009-01-29
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28