Linux driver untuk STK11 Webcam Video Adapter

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

  • 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
  • Type:
sudo ./configure && make
# sesudah perintah ini maka file stk11xx.ko akan di buat di folder stk11xx-1.3.1)
sudo modprobe videodev
sudo modprobe v4l1-compat
sudo insmod stk11xx.ko 
  • Tekan ALT+F2 dan jalankan 'gksu gedit /etc/modules’ dan tambahkan kalimat berikut:
# 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/<your login name>/stk11xx-1.3.1/stk11xx.ko
(this line must be added before last line “ exit 0 ”)

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

$ sudo apt-get install zapping

Thats all folks!!!! P.S. Im thinking of thinking of tinkering around with the the driver myself, if anybody would be interested that would be great. Send a message through the forums.


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