QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1784|回复: 5

Linux下通用摄像头驱动spca5xx的安装求救

[复制链接]
发表于 2006-4-10 17:06:24 | 显示全部楼层 |阅读模式
我在redhat 9.0下安装几次都失败了,总是出现下面的错误,我在网上找安装步骤是在FC3下安装过程,是否这个版本不能用在redhat 9.0,还是??请那位高手给解决一下,或者推荐一个驱动安装。

Spca5xx通用摄像头驱劝

安装步骤:
tar xfz spca5xx-20060402.tar.gz
cd spca5xx-20060402
make clean
make
make install
modprobe videodev(可省略)
modprobe spca50x

出现错误信息
[root@126 spca5xx-20060402]# make
Compiling drivers/usb/spca5xx.c
In file included from /lib/modules/2.4.20-8/build/include/linux/vmalloc.h:8,
          from drivers/usb/spca5xx.c:46:
/lib/modules/2.4.20-8/build/include/linux/highmem.h: In function `bh_kmap':
/lib/modules/2.4.20-8/build/include/linux/highmem.h:20: warning: pointer of type
`void *' used in arithmetic
drivers/usb/spca5xx.c: In function `spca5xx_mmap':
drivers/usb/spca5xx.c:5131: warning: passing arg 1 of `remap_page_range_R2baf18f
2' makes pointer from integer without a cast
drivers/usb/spca5xx.c:5131: incompatible type for argument 4 of `remap_page_rang
e_R2baf18f2'
drivers/usb/spca5xx.c:5131: too few arguments to function `remap_page_range_R2ba
f18f2'
drivers/usb/spca5xx.c: At top level:
drivers/usb/spca5xx.c:5176: warning: initialization from incompatible pointer ty
pe
drivers/usb/spca5xx.c:8476: warning: initialization from incompatible pointer ty
pe
drivers/usb/spca5xx.c:8477: warning: initialization from incompatible pointer ty
pe
drivers/usb/spca5xx.c:8478: warning: initialization from incompatible pointer ty
pe
drivers/usb/spca5xx.c:8479: warning: braces around scalar initializer
drivers/usb/spca5xx.c:8479: warning: (near initialization for `spca5xx_driver.di
sconnect')
drivers/usb/spca5xx.c:8479: warning: excess elements in scalar initializer
drivers/usb/spca5xx.c:8479: warning: (near initialization for `spca5xx_driver.di
sconnect')
drivers/usb/spca5xx.c:150: warning: `bright' defined but not used
drivers/usb/spca5xx.c:151: warning: `contrast' defined but not used
make: *** [drivers/usb/spca5xx.o] Error 1
发表于 2006-4-10 20:30:29 | 显示全部楼层
应该是你的内核太旧了 :-(
我在2.6上一点问题都没有
回复

使用道具 举报

发表于 2006-4-10 21:44:41 | 显示全部楼层
看来是内核版本问题了。
回复

使用道具 举报

 楼主| 发表于 2006-4-11 09:33:51 | 显示全部楼层
那么在RH9下有没有比较好的驱动可以装,现在做毕设,导师要求必须用着个系统,真郁闷啊!!!!!
回复

使用道具 举报

发表于 2006-4-11 10:29:55 | 显示全部楼层
你们导师,也太离谱了吧。
回复

使用道具 举报

发表于 2006-4-14 22:20:09 | 显示全部楼层
升级一下内核。
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-11-16 13:06 , Processed in 0.070823 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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