安装摄像头问题

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
sixsea
帖子: 8
注册时间: 2009-10-06 6:49

安装摄像头问题

#1

帖子 sixsea » 2009-10-15 15:02

UBUNTU 9。04 下 能找到设备,厂商型号都对。
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 046d:c501 Logitech, Inc. Cordless Mouse Receiver
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 003: ID 046d:092e Logitech, Inc. QuickCam Chat
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

但SKYPE 用不了,测试VIDEO是花屏。
安装茄子,有进步,能看很暗的图像,基本找不到我的嘴。 :em04
BTW,我房间光线OK。
奇怪现象:启动系统后摄像头上的指示灯亮,但一启动茄子或SKYPE灯就灭了。

请教,谢谢。
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

Re: 安装摄像头问题

#2

帖子 eexpress » 2009-10-15 15:17

cheese基本使用/dev/video0这样的。
skype不记得
试试 mplayer tv:// -tv driver=v4l 正常不。
● 鸣学
头像
davidlone
帖子: 626
注册时间: 2007-03-06 18:14
来自: 常德--重庆

Re: 安装摄像头问题

#3

帖子 davidlone » 2009-10-15 18:12

sudo chmod 666 /dev/video0
改下权限试试。
ABIT Rocket AV8 ,AMD3500,创见DDR433 1GB,希捷IDE250GB,MSI6200a,7130电视卡,Archlinux
头像
pityonline
帖子: 3864
注册时间: 2008-12-09 12:44
来自: 北京
联系:

Re: 安装摄像头问题

#4

帖子 pityonline » 2009-10-15 18:18

代码: 全选

pity@online:~$ mplayer tv:// -tv driver=v4l
MPlayer 1.0rc2-4.3.3 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Core(TM)2 Duo CPU     P7450  @ 2.13GHz (Family: 6, Model: 23, Stepping: 6)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing tv://.
TV file format detected.
Selected driver: v4l
 name: Video 4 Linux input
 author: Alex Beregszaszi
 comment: under development
=================================================================
 WARNING: YOU ARE USING V4L DEMUXER WITH V4L2 DRIVERS!!!
 As the V4L1 compatibility layer is broken, this may not work.
 If you encounter any problems, use driver=v4l2 instead.
 Bugreports on driver=v4l with v4l2 drivers will be ignored.
=================================================================
Selected device: HD Video WebCam
 Capabilites: capture 
 Device type: 1
 Supported sizes: 48x32 => 1280x800
 Inputs: 1
ioctl get channel failed: Invalid argument
ioctl set chan failed: Invalid argument
ioctl set chan failed: Invalid argument
Error: Cannot set norm!
Selected input hasn't got a tuner!
ioctl set picture failed: Invalid argument
The 'outfmt' of 'Planar YV12' is likely not supported by your card


MPlayer interrupted by signal 11 in module: demux_open
- MPlayer crashed by bad usage of CPU/FPU/RAM.
  Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and
  disassembly. Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash.
- MPlayer crashed. This shouldn't happen.
  It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
  gcc version. If you think it's MPlayer's fault, please read
  DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
  won't help unless you provide this information when reporting a possible bug.
但我的茄子显示光线与亮度正常,就是比例有问题,人像是被变瘦了……
Pity is the bomp!
活着就是折腾!生命不息,折腾不止!
看这帮家伙在干什么?@pityonline/u
Dropbox+Vps+PC 跑起来了!这是邀请链接
头像
davidlone
帖子: 626
注册时间: 2007-03-06 18:14
来自: 常德--重庆

Re: 安装摄像头问题

#5

帖子 davidlone » 2009-10-15 22:47

http://ubuntuforums.org/archive/index.php/t-651375.html

lsmod |grep gspca看看驱动模块是不是gspca,是的话并且画面不正常可以试试下面的办法:
sudo gedit /etc/modprobe.d/options
加入options gspca gamma=6
然后sudo rmmod gspca
sudo modprobe gspca
或者是重启一下。
看看效果如何,还是不正常的话,改变一下那个gamma值重复操作一次,gamma值的范围是0-7,反正总共就8个值,多试几次看看。

good luck!
ABIT Rocket AV8 ,AMD3500,创见DDR433 1GB,希捷IDE250GB,MSI6200a,7130电视卡,Archlinux
回复