1.在http://packages.debian.org/sid/gspca-source下载源代码gspca-source_01.00.20-1_all.deb
2.下载http://packages.debian.org/sid/module-assistant下载辅助安装程序module-assistant_0.10.11.0_all.deb
$ sudo dpkg -i gspca-source_01.00.20-1_all.deb
$ sudo dpkg -i module-assistant_0.10.11.0_all.deb
$ cd /usr/share/doc/gspca-source/
3. 打开/usr/share/doc/gspca-source/README.Debian文件,按照里面的提示执行以下命令。
$ m-a prepare
$ m-a a-i gspca
4.重启系统,摄像头就可以正常工作了
[原创]ubuntu8.04 gspca摄像头驱动安装成功
-
- 帖子: 31
- 注册时间: 2008-04-07 21:27
- xjpvictor
- 帖子: 2837
- 注册时间: 2007-08-22 15:55
- 系统: Archlinux
- 来自: 新加坡
- 联系:
-
- 帖子: 438
- 注册时间: 2008-03-30 10:35
Re: [原创]ubuntu8.04 gspca摄像头驱动安装成功
我也不能用。kingzhuzh 写了:1.在http://packages.debian.org/sid/gspca-source下载源代码gspca-source_01.00.20-1_all.deb
2.下载http://packages.debian.org/sid/module-assistant下载辅助安装程序module-assistant_0.10.11.0_all.deb
$ sudo dpkg -i gspca-source_01.00.20-1_all.deb
$ sudo dpkg -i module-assistant_0.10.11.0_all.deb
$ cd /usr/share/doc/gspca-source/
3. 打开/usr/share/doc/gspca-source/README.Debian文件,按照里面的提示执行以下命令。
$ m-a prepare
$ m-a a-i gspca
4.重启系统,摄像头就可以正常工作了
-
- 帖子: 118
- 注册时间: 2008-10-30 22:32
-
- 帖子: 7
- 注册时间: 2007-05-25 13:44
Re: [原创]ubuntu8.04 gspca摄像头驱动安装成功
我升级到9.04
CC [M] /usr/src/modules/gspca/gspca_core.o
/usr/src/modules/gspca/gspca_core.c:54:27: error: asm/semaphore.h: No such file or directory
/usr/src/modules/gspca/gspca_core.c: In function ‘spca5xx_ioctl’:
/usr/src/modules/gspca/gspca_core.c:2463: error: implicit declaration of functio n ‘video_usercopy’
/usr/src/modules/gspca/gspca_core.c: At top level:
/usr/src/modules/gspca/gspca_core.c:2609: error: unknown field ‘owner’ specifi ed in initializer
/usr/src/modules/gspca/gspca_core.c:2609: warning: initialization from incompati ble pointer type
/usr/src/modules/gspca/gspca_core.c:2611: error: unknown field ‘type’ specifie d in initializer
/usr/src/modules/gspca/gspca_core.c: In function ‘spca50x_create_sysfs’:
/usr/src/modules/gspca/gspca_core.c:2769: error: implicit declaration of functio n ‘video_device_create_file’
/usr/src/modules/gspca/gspca_core.c:2780: error: implicit declaration of functio n ‘video_device_remove_file’
/usr/src/modules/gspca/gspca_core.c: In function ‘spca5xx_probe’:
/usr/src/modules/gspca/gspca_core.c:4301: error: incompatible types in assignmen t
make[2]: *** [/usr/src/modules/gspca/gspca_core.o] Error 1
make[1]: *** [_module_/usr/src/modules/gspca] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.28-14-server'
make: *** [default] Error 2

CC [M] /usr/src/modules/gspca/gspca_core.o
/usr/src/modules/gspca/gspca_core.c:54:27: error: asm/semaphore.h: No such file or directory
/usr/src/modules/gspca/gspca_core.c: In function ‘spca5xx_ioctl’:
/usr/src/modules/gspca/gspca_core.c:2463: error: implicit declaration of functio n ‘video_usercopy’
/usr/src/modules/gspca/gspca_core.c: At top level:
/usr/src/modules/gspca/gspca_core.c:2609: error: unknown field ‘owner’ specifi ed in initializer
/usr/src/modules/gspca/gspca_core.c:2609: warning: initialization from incompati ble pointer type
/usr/src/modules/gspca/gspca_core.c:2611: error: unknown field ‘type’ specifie d in initializer
/usr/src/modules/gspca/gspca_core.c: In function ‘spca50x_create_sysfs’:
/usr/src/modules/gspca/gspca_core.c:2769: error: implicit declaration of functio n ‘video_device_create_file’
/usr/src/modules/gspca/gspca_core.c:2780: error: implicit declaration of functio n ‘video_device_remove_file’
/usr/src/modules/gspca/gspca_core.c: In function ‘spca5xx_probe’:
/usr/src/modules/gspca/gspca_core.c:4301: error: incompatible types in assignmen t
make[2]: *** [/usr/src/modules/gspca/gspca_core.o] Error 1
make[1]: *** [_module_/usr/src/modules/gspca] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.28-14-server'
make: *** [default] Error 2

-
- 帖子: 7
- 注册时间: 2007-05-25 13:44
- blambin
- 帖子: 283
- 注册时间: 2009-09-22 17:00
- 系统: arch , win10
- 联系:
-
- 帖子: 196
- 注册时间: 2008-06-25 11:28