Difference between revisions of "Linux driver untuk STK11 Webcam Video Adapter"

From OnnoWiki
Jump to navigation Jump to search
(New page: 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. Langka...)
 
 
(8 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
Langkah yang perlu dilakukan:
 
Langkah yang perlu dilakukan:
  
* Download & install versi baru dari driver tsb dari sourceforge http://sourceforge.net/project/showfiles.php?group_id=178178
+
* Update the library of hardwares PCI and USB:
* Extract paket di home folder
 
  
3. Open up the terminal and type cd, drag and drop the folder (from your window manager or Desktop) beside the command and press enter.
+
sudo update-pciids
 +
sudo update-usbids
  
4. Type:
+
* Siapkan software pendukung
  sudo ./configure && make
+
 
  (After this command the file stk11xx.ko is created in the stk11xx-1.3.1 folder)
+
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 videodev
 
  sudo modprobe v4l1-compat
 
  sudo modprobe v4l1-compat
 
  sudo insmod stk11xx.ko  
 
  sudo insmod stk11xx.ko  
  
5.Press ALT+F2 and executes ‘gksu gedit /etc/modules’ then adds the lines:
+
* Alternatif lain
 +
 
 +
cd ~
 +
svn co https://syntekdriver.svn.sourceforge.net/svnroot/syntekdriver/trunk/driver syntekdriver
 +
cd ~/syntekdriver
 +
make -f Makefile.standalone clean
 +
make -f Makefile.standalone
 +
modprobe videodev
 +
insmod stk11xx.ko
 +
 
 +
* Cek apakah /dev/video0 muncul
 +
 
 +
ls /dev/video0
 +
 
 +
* Tambahkan kalimat berikut pada /etc/modules:
 +
 
 +
vi /etc/modules
 +
 
 
  # modules for infrastructure to support the video
 
  # modules for infrastructure to support the video
 
  videodev
 
  videodev
 
  v4l1-compat
 
  v4l1-compat
  
6.Press ALT+F2 and executes ‘gksu gedit /etc/rc.local’ then adds the following line:
+
6.Tambahkan pada /etc/rc.local
  insmod /home/<your login name>/stk11xx-1.3.1/stk11xx.ko
+
 
  (this line must be added before last line “ exit 0 ”)
+
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
  
Test with Camorama or even better zapping which can be got with the command
+
  $ camorama
  $ sudo apt-get install zapping
 
  
Thats all folks!!!!
+
atau
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.
 
  
 +
$ zapping
  
 
==Referensi==
 
==Referensi==
  
 +
* http://sourceforge.net/projects/syntekdriver/files/
 +
* http://ubuntuforums.org/showthread.php?t=451200&highlight=Syntek+Semiconductor
 
* http://ubuntuforums.org/showthread.php?t=662531
 
* http://ubuntuforums.org/showthread.php?t=662531
 
* http://sourceforge.net/project/showfiles.php?group_id=178178
 
* http://sourceforge.net/project/showfiles.php?group_id=178178

Latest revision as of 20:09, 30 October 2010

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 
  • Alternatif lain
cd ~
svn co https://syntekdriver.svn.sourceforge.net/svnroot/syntekdriver/trunk/driver syntekdriver
cd ~/syntekdriver
make -f Makefile.standalone clean
make -f Makefile.standalone
modprobe videodev
insmod stk11xx.ko
  • Cek apakah /dev/video0 muncul
ls /dev/video0
  • 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
$ camorama

atau

$ zapping

Referensi

Pranala Menarik