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...)
 
Line 29: Line 29:
 
Thats all folks!!!!
 
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.
 
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==
 
==Referensi==
  
 +
* 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

Revision as of 17:01, 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:

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.

4. Type:

sudo ./configure && make
(After this command the file stk11xx.ko is created in the stk11xx-1.3.1 folder)
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/<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