QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1229|回复: 5

红旗4.1普通用户如何用摄像头

[复制链接]
发表于 2006-2-9 23:46:54 | 显示全部楼层 |阅读模式
root可能用
而普通用户不可以用

看图就知道了

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
 楼主| 发表于 2006-2-10 12:40:13 | 显示全部楼层
汗,没人懂吗
回复

使用道具 举报

 楼主| 发表于 2006-2-10 13:04:15 | 显示全部楼层
[lon@localhost lon]$ spcagui
SpcaGui version: 0.3.5 date: 18 September 2005
video device /dev/video0
ERROR opening V4L interface
: Permission denied
[lon@localhost lon]$ su
Password:
[root@localhost lon]# spcagui
SpcaGui version: 0.3.5 date: 18 September 2005
video device /dev/video0
ERROR opening V4L interface
: No such device

这是没插上摄像头时的内容

[lon@localhost lon]$ spcagui
SpcaGui version: 0.3.5 date: 18 September 2005
video device /dev/video0
ERROR opening V4L interface
: Permission denied
[lon@localhost lon]$ su
Password:
[root@localhost lon]# spcagui
SpcaGui version: 0.3.5 date: 18 September 2005
video device /dev/video0
Camera found: Z-star Vimicro zc0301p

VIDIOCGPICT brightnes=32768 hue=0 color=0 contrast=32768 whiteness=0depth=24 palette=4
Bridge found: ZC301-2

Unable to find a StreamId !!
StreamId: 6 Unknow Camera
try palette 15 depth 12
Available palette 15
try palette 3 depth 16
Available palette 3
try palette 4 depth 24
Available palette 4
try palette 5 depth 32
Available palette 5
probe size in
Available Resolutions width 640 heigth 480
VIDIOCSWIN reject width 384 height 288
Available Resolutions width 352 heigth 288
Available Resolutions width 320 heigth 240
VIDIOCSWIN reject width 192 height 144
Available Resolutions width 176 heigth 144
grabbing method default MMAP asked
VIDIOCGMBUF size 4915232 frames 4 offets[0]=0 offsets[1]=1228808
VIDIOCGPICT brightnes=32768 hue=0 color=0 contrast=32768 whiteness=0depth=12 palette=15
VIDIOCGPICT brightnes=32768 hue=0 color=0 contrast=32768 whiteness=0depth=12 palette=15
VIDIOCGPICT brightnes=32768 hue=0 color=0 contrast=32768 whiteness=0depth=12 palette=15
VIDIOCSPICT brightnes=32768 hue=0 color=0 contrast=32768 whiteness=0depth=12 palette=15

这是插上以后
回复

使用道具 举报

发表于 2006-2-10 13:47:54 | 显示全部楼层
chmod 777 /dev/video0
如果还不行,就不知道了,没有遇到这种问题
回复

使用道具 举报

 楼主| 发表于 2006-2-10 14:14:11 | 显示全部楼层
行,搞定了
回复

使用道具 举报

 楼主| 发表于 2006-2-10 14:23:19 | 显示全部楼层
看看

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-9-23 13:31 , Processed in 0.047068 second(s), 17 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表