Linux driver untuk STK11 Webcam Video Adapter

From OnnoWiki
Revision as of 18:47, 30 October 2010 by Onnowpurbo (talk | contribs)
Jump to navigation Jump to search

Nampaknya driver ini belum di program untuk EasyCAP device. Setelah kita colok ke PC, hardware info memberikan berbagai ALSA input tapi tidak memberikan video chip yang sebenarnya.

Langkah yang perlu dilakukan:

  • Update the library of hardwares PCI and USB:
sudo update-pciids
sudo update-usbids
  • Siapkan software pendukung
sudo apt-get install doxygen linux-headers-2.6.32-21-generic bin86 libqt3-headers libqt3-mt-dev libncurses5-dev \
libusb-dev libsane-dev libsane-extras-dev exuberant-ctags camorama subversion
  • Cek EasyCAP USB 2.0 apakah terdeteksi
$ lsusb

Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 05e1:0408 Syntek Semiconductor Co., Ltd 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  • Download & install versi baru dari driver tsb dari sourceforge
http://sourceforge.net/project/showfiles.php?group_id=178178
http://sourceforge.net/projects/syntekdriver/files/
  • Copy & Extract paket di home folder
mkdir ~/stk11
cp stk11xx-2.1.0.tar.gz ~/stk11
cd ~/stk11
tar zxvf stk11xx-2.1.0.tar.gz
cd ~/stk11/stk11xx-2.1.0
  • Type:
cd ~/stk11/stk11xx-2.1.0
make -f Makefile.standalone
make -f Makefile.standalone driver
make -f Makefile.standalone 
# sesudah perintah ini maka file stk11xx.ko akan di buat di folder stk11xx-2.1.0)
sudo modprobe videodev
sudo modprobe v4l1-compat
sudo insmod stk11xx.ko 
  • Tambahkan kalimat berikut pada /etc/modules:
vi /etc/modules
# modules for infrastructure to support the video
videodev
v4l1-compat

6.Tambahkan pada /etc/rc.local

sudo vi /etc/rc.local
insmod /home/<login anda>/stk11/stk11xx-2.1.0/stk11xx.ko 
# sebelum kalimat 'exit 0'
  • Test menggunakan Camorama atau zapping
$ sudo apt-get install zapping camorama
  • Reboot dan buka Camorama apakah bisa terdeteksi

7. Reboot and then open Camorama to check if the webcam works.

Applications > Art or something? (美工繪圖) > Camorama

( I use Chinese Ubuntustudio, so please check the path yourself)


Referensi

Pranala Menarik