1.
下載驅動
http://sourceforge.net/projects/syntekdriver
目前的檔案是 stk11xx-2.1.0.tar.gz

2.
解壓縮
>tar zxf stk11xx-2.1.0.tar.gz

3.
安裝編譯所需套件
>sudo apt-get install build-essential

4.
編譯
>cd stk11xx-2.1.0
>make -f Makefile.standalone

※若有錯誤訊息
stk11xx-v4l.c:1737: error: unknown field ‘compat_ioctl’ specified in initializer
stk11xx-v4l.c:1737: error: ‘v4l_compat_ioctl32’ undeclared here (not in a function)

編輯 stk11xx-v4l.c
註解 1737 行 .compat_ioctl = v4l_compat_ioctl32,
再重新編譯

5.
將編譯好的驅動複製到核心模組資料夾
>sudo cp stk11xx.ko /lib/modules/$(uname -r)/kernel/drivers/media/video/

6.
更新核心模組資訊
>sudo depmod -a

7.
編輯開機載入模組設定檔
>sudo vim /etc/modules

增加
videodev
v4l1-compat
stk11xx

8.
重開機

arrow
arrow
    全站熱搜

    smalldd 發表在 痞客邦 留言(1) 人氣()