如何编译Asus-syntec-webcam-driver stk11xx

我有asus v1s和前段时间我能够轻松编译和安装它。 但现在编译失败了…我希望你们知道我能做什么,如果还有什么可以做的……

svn checkout https://syntekdriver.svn.sourceforge.net/svnroot/syntekdriver syntekdriver 

 cd ./syntekdriver/trunk/driver 

以及

 make -f Makefile.standalone 

我有:

 make -C /lib/modules/2.6.36.2/build SUBDIRS=/home/berot3/syntekdriver/trunk/driver modules make[1]: Betrete Verzeichnis '/usr/src/linux-headers-2.6.38-8-generic' CC [M] /home/berot3/syntekdriver/trunk/driver/stk11xx-usb.o CC [M] /home/berot3/syntekdriver/trunk/driver/stk11xx-v4l.o /home/berot3/syntekdriver/trunk/driver/stk11xx-v4l.c:43:28: fatal error: linux/videodev.h: File not found! compilation terminated. make[2]: *** [/home/berot3/syntekdriver/trunk/driver/stk11xx-v4l.o] Error 1 make[1]: *** [_module_/home/berot3/syntekdriver/trunk/driver] Error 2 make[1]: Verlasse Verzeichnis '/usr/src/linux-headers-2.6.38-8-generic' make: *** [driver] Error 2 

同样的

  • http://bookeldor-net.info/merdier/Makefile-syntekdriver
  • http://webcache.googleusercontent.com/search?q=cache:OM0zVNlYiVQJ:bookeldor-net.info/merdier/Makefile-syntekdriver+http://bookeldor-net.info/merdier/Makefile-syntekdriver&hl=de&strip=1

将用户添加到video组。

然后,按照http://doc.ubuntu-fr.org/syntek下载syntek.tar.gz http://ubuntuone.com/p/pQc/ ,然后:

解压

 tar xvf ~/syntek.tar.gz 

转到终端中的drivers目录

 cd ~/syntek/driver make -f Makefile-syntekdriver make -f Makefile-syntekdriver install sudo modprobe stk11xx dmesg |tail 

例如,我的日志

 [ 1129.566489] stk11xx: Copyright(c) 2006-2009 Nicolas VIVIEN [ 1129.566512] stk11xx: Syntek USB2.0 - STK-1135 based webcam found. [ 1129.566514] stk11xx: Syntek AVStream USB2.0 1.3M WebCam - Product ID 0x6A51. [ 1129.566516] stk11xx: Release: 0005 [ 1129.566518] stk11xx: Number of interfaces : 1 [ 1129.568024] stk11xx: Initialize USB2.0 Syntek Camera [ 1130.559109] stk11xx: Syntek USB2.0 Camera is ready [ 1130.559243] stk11xx: Syntek USB2.0 Camera is now controlling video device /dev/video0 [ 1130.559291] usbcore: registered new interface driver usb_stk11xx_driver [ 1130.559296] stk11xx: v2.2.0 : Syntek USB Video Camera 

为所有用户选择垂直和水平翻转:

在行退出0之前添加到/etc/rc.local,以下内容:

 sudo gedit /etc/rc.local 

垂直翻转

 echo '1' > /sys/class/video4linux/video0/vflip 

水平翻转

 echo '1' > /sys/class/video4linux/video0/hflip 

重新加载内核模块

就这样。 适用于Ubuntu 11.04。

如果我帮忙,我很高兴。

同样的问题……似乎他们有解决方案: https : //sourceforge.net/projects/syntekdriver/forums/forum/616182/topic/4427484但我无法想象如何应用他们所谈论的变化。

如果有人知道如何…?

朱利安

编辑:更改工作,请参阅http://doc.ubuntu-fr.org/syntek (更新)以获取解释!

效果很好,旧版本的skype-ubuntu-intrepid_2.1.0.81-1_amd64.deb。 相机没有问题:-)