Linux driver untuk STK11 Webcam Video Adapter

From OnnoWiki
Revision as of 17:52, 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:

  • Siapkan software pendukung
apt-get install doxygen
apt-get install linux-headers-2.6.32-21-generic
  • 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

Test with Camorama or even better zapping which can be got with the command

$ sudo apt-get install zapping

Alternatif Cara Instalasi

1.Update the library of hardwares PCI and USB:

$ sudo update-pciids
$ sudo update-usbids

2.Make sure your ASUS laptop has really one webcam syntek?

$ lsusb
Bus 005 Device 003: ID 05e1:0501 Syntek Semiconductor Co., Ltd
Bus 005 Device 001: ID 0000:0000
Bus 002 Device 003: ID 046d:c019 Logitech, Inc.
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
$

3.Install some dependences:

$ sudo apt-get install bin86
$ sudo apt-get install libqt3-headers
$ sudo apt-get install libqt3-mt-dev
$ sudo apt-get install libncurses5-dev
$ sudo apt-get install libusb-dev
$ sudo apt-get install libsane-dev
$ sudo apt-get install libsane-extras-dev
$ sudo apt-get install exuberant-ctags
$ sudo apt-get install camorama
$ sudo apt-get install subversion

(all these packages could be installed in Synaptic)

4.Download the sources and compile it:

$ cd ~
$ svn co https://syntekdriver.svn.sourceforge...t/syntekdriver
$ cd syntekdriver/trunk/driver
$ make
$ sudo modprobe videodev
$ sudo modprobe v4l1-compat
$ sudo insmod stk11xx.ko

5.Press ALT+F2 and executes ‘gksu gedit /etc/modules’ then adds the lines:

# modules for infrastructure to support the video
videodev
v4l1-compat

6.Press ALT+F2 and executes ‘gksu gedit /etc/rc.local’ then adds the following line:

insmod /home/<YourloginName>/syntekdriver/trunk/driver/stk11xx.ko

(this line must be added before last line “ exit 0 ”)

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