各位大侠好:
小弟有一华硕F5R本,UBUNTU9。04想安装摄像头驱动可是无耐总是无法编译成功。下面将摄像头信息发布如下:
摄像头信息:
Bus 001 Device 004: ID 174f:6a31 Syntek Web Cam - Asus A8J, F3S, F5R, VX2S, V1S
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x174f Syntek
idProduct 0x6a31 Web Cam - Asus A8J, F3S, F5R, VX2S, V1S
bcdDevice 0.05
iManufacturer 1
iProduct 2
iSerial 10
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 147
bNumInterfaces 1
bConfigurationValue 1
摄像头信息完。
我按照以下步骤进行安装
1、通过 SVN 取得源码
$ mkdir syntek
$ cd syntek
$ svn co https://syntekdriver.svn.sourceforge.ne ... unk/driver
A driver/stk11xx-dev.c
A driver/stk11xx.txt
A driver/stk11xx-bayer.c
A driver/stk11xx-v4l.c
A driver/stk11xx-sysfs.c
A driver/stk11xx.h
A driver/Kbuild
A driver/doxygen.cfg
A driver/stk11xx-usb.c
A driver/Makefile
A driver/README
A driver/stk11xx-buf.c
$ cd driver
2. 下载Make-file文件以帮助编译和安装
$ wget http://bookeldor-net.info/merdier/Makefile-syntekdriver
PS:这个文件有点小问题,会出错,下载后修改其中的depmod -a为/sbin/depmod -a
或者安装完毕后手动运行sudo /sbin/depmod -a以解决依赖关系
3。使用$ make -f Makefile-syntekdriver命令,但是出现以下提示:
make -C /lib/modules/2.6.29-02062901-generic/build SUBDIRS=/home/wuanshou/stk11xx-1.2.3 modules
make[1]: 正在进入目录 `/usr/src/linux-headers-2.6.29-02062901-generic'
CC [M] /home/wuanshou/stk11xx-1.2.3/stk11xx-usb.o
在包含自 include/linux/gfp.h:4 的文件中,
从 include/linux/kmod.h:22,
从 include/linux/module.h:13,
从 /home/wuanshou/stk11xx-1.2.3/stk11xx-usb.c:34:
include/linux/mmzone.h:18:26: 错误: linux/bounds.h:没有该文件或目录
include/linux/mmzone.h:256:5: 警告: “MAX_NR_ZONES”未定义
In file included from include/linux/gfp.h:4,
from include/linux/kmod.h:22,
from include/linux/module.h:13,
from /home/wuanshou/stk11xx-1.2.3/stk11xx-usb.c:34:
include/linux/mmzone.h:290: 错误: ‘MAX_NR_ZONES’未声明(不在函数内)
/home/wuanshou/stk11xx-1.2.3/stk11xx-usb.c: 在函数‘usb_stk11xx_probe’中:
/home/wuanshou/stk11xx-1.2.3/stk11xx-usb.c:797: 错误: 隐式声明函数‘PAGE_ALIGN’
/home/wuanshou/stk11xx-1.2.3/stk11xx-usb.c: 在文件层:
/home/wuanshou/stk11xx-1.2.3/stk11xx-usb.c:1089: 致命错误: 打开依赖文件 /home/wuanshou/stk11xx-1.2.3/.stk11xx-usb.o.d:Permission denied
编译中断。
make[2]: *** [/home/wuanshou/stk11xx-1.2.3/stk11xx-usb.o] 错误 1
make[1]: *** [_module_/home/wuanshou/stk11xx-1.2.3] 错误 2
make[1]:正在离开目录 `/usr/src/linux-headers-2.6.29-02062901-generic'
make: *** [all] 错误 2
希望能够得到各位大侠的帮助。
不甚感激。
[求助]华硕F5RSyntek Web Cam驱动安装问题
-
- 帖子: 21
- 注册时间: 2008-02-19 22:20
-
- 帖子: 21
- 注册时间: 2008-02-19 22:20
Re: [求助]华硕F5RSyntek Web Cam驱动安装问题
真诚地希望朋友们的帮忙。
我已经忙了一整天了。
都在为解决这个问题而编译了很多驱动都不行。甚至都编译了内核。
我已经忙了一整天了。
都在为解决这个问题而编译了很多驱动都不行。甚至都编译了内核。