各位老大,帮帮我吧,摄像头的问题。

CPU/显卡/打印机/USB设备等硬件问题
回复
Nicolsky
帖子: 26
注册时间: 2007-10-07 12:12

各位老大,帮帮我吧,摄像头的问题。

#1

帖子 Nicolsky » 2008-08-27 22:13

usb摄像头;安装驱动好难阿。
$lsusb
Bus 004 Device 004: ID 0c45:613a Microdia
$ apt-get source gspca-source
$ cd /source dir
$ sudo apt-get install build-essential
$ sudo make
make -C /lib/modules/`uname -r`/build SUBDIRS=/home/l2007/gspca-01.00.18 CC=cc modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-21-generic'
scripts/Makefile.build:46: *** CFLAGS was changed in "/home/l2007/gspca-01.00.18/Makefile". Fix it to use EXTRA_CFLAGS. Stop.
make[1]: *** [_module_/home/l2007/gspca-01.00.18] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-21-generic'
make: *** [default] Error 2
这是怎么会事阿?
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

#2

帖子 eexpress » 2008-08-27 22:17

你确定没驱动?
一般的摄像头,都自动驱动了的吧。
camorama 运行,看提示什么先。
● 鸣学
Nicolsky
帖子: 26
注册时间: 2007-10-07 12:12

#3

帖子 Nicolsky » 2008-08-27 22:20

eexpress 写了:你确定没驱动?
一般的摄像头,都自动驱动了的吧。
camorama 运行,看提示什么先。
Could not connect to video device(/dev/video0).Please check connection
oliver_bacon
帖子: 47
注册时间: 2007-12-30 14:33

Re: 各位老大,帮帮我吧,摄像头的问题。

#4

帖子 oliver_bacon » 2008-08-28 12:45

Nicolsky 写了:usb摄像头;安装驱动好难阿。
$lsusb
Bus 004 Device 004: ID 0c45:613a Microdia
$ apt-get source gspca-source
$ cd /source dir
$ sudo apt-get install build-essential
$ sudo make
make -C /lib/modules/`uname -r`/build SUBDIRS=/home/l2007/gspca-01.00.18 CC=cc modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-21-generic'
scripts/Makefile.build:46: *** CFLAGS was changed in "/home/l2007/gspca-01.00.18/Makefile". Fix it to use EXTRA_CFLAGS. Stop.
make[1]: *** [_module_/home/l2007/gspca-01.00.18] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-21-generic'
make: *** [default] Error 2
这是怎么会事阿?
你确定你在做什么吗?你在编译系统内核. 没有驱动你去下载驱动啊.
源码就编译安装, 执行文件就直接安装了. 一般情况下系统自带驱动.
头像
hyy_m
帖子: 140
注册时间: 2008-02-18 16:25

#5

帖子 hyy_m » 2008-08-28 18:05

顶一下楼主 我也遇到同样的问题了……某些高手说要对内核头文件进行修改才能编译通过的 我嫌麻烦就没弄了
https://bugs.launchpad.net/ubuntu/+sour ... bug/213762
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

#6

帖子 eexpress » 2008-08-28 18:38

gspca用编译好了的。有easycam是自动的。
不推荐编译,因为如果驱动不支持你的型号,基本没办法。我以前搞过的,摄像头的类型参数,自己组合过,nxnxn种,不行的。

0c45:613a 你应该搜索这个。唯一的id。看其他人的情况。
● 鸣学
回复