Difference between revisions of "Linux driver untuk STK11 Webcam Video Adapter"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) m (Linux driver untuk EasyCap USB2.0 Video Adapter moved to Linux driver untuk STK11 Webcam Video Adapter) |
||
(6 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
Langkah yang perlu dilakukan: | 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 | * Download & install versi baru dari driver tsb dari sourceforge | ||
Line 10: | Line 34: | ||
* Copy & Extract paket di home folder | * 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 | ||
− | + | * Alternatif lain | |
− | + | ||
− | videodev | + | 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 | |
− | |||
− | |||
− | 2. | + | 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== | ==Referensi== |
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
- http://sourceforge.net/projects/syntekdriver/files/
- http://ubuntuforums.org/showthread.php?t=451200&highlight=Syntek+Semiconductor
- http://ubuntuforums.org/showthread.php?t=662531
- http://sourceforge.net/project/showfiles.php?group_id=178178