LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
LinkBack Search this Thread
Old 07-26-2009, 07:34 AM   #1
seecam
LQ Newbie
 
Registered: Jul 2009
Posts: 3

Rep: Reputation: 0
Easycap


Hi,

I bought some easycap products a while back:

http://www.amazon.co.uk/EasyCAP-4cha...ref=pd_cp_ce_2
http://www.amazon.co.uk/Weatheproof-..._bxgy_ce_img_b

Today i'm intend to get them working with linux (Fedora10).

Last time I tried I had trouble compiling the driver, so i'm starting this thread to document my progress and in attempt to gain some helpful advice.
 
Old 07-27-2009, 01:16 AM   #2
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 171Reputation: 171
You might want to look here:

http://ubuntuforums.org/showthread.php?t=662531

and

here:

http://translate.google.com/translat...3DX%26num%3D50


Google also has many other hits.
 
Old 09-13-2009, 02:41 PM   #3
wikapuki
Member
 
Registered: Jun 2009
Distribution: Debian
Posts: 78

Rep: Reputation: 15
I read here

http://news.softpedia.com/news/Linux...m-113733.shtml

that kernel Linux Kernel 2.6.30 as support for:
Easy Cap Capture DC-60 support


So I bought a EasyCap USB2.0 Video Adapter DC60

Plugged it in and all I get is:
lsusb:
Bus 002 Device 002: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 003: ID 093a:2601 Pixart Imaging, Inc. SPC 610NC Laptop Camera
Bus 003 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 001 Device 008: ID 05e1:0408 Syntek Semiconductor Co., Ltd
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

uname -a
Linux jilldando 2.6.30-1-486 #1 Sat Aug 15 18:14:04 UTC 2009 i686 GNU/Linux


Am I suppose to install something else to make it work? Cheese works with my philuips webcam on /dev/video0 and have tried /dev/video1 but it sees nothing.
 
Old 02-24-2010, 10:08 PM   #4
ozegoods
Member
 
Registered: Oct 2004
Location: United States
Distribution: Mandriva 2010.1 KDE4
Posts: 38

Rep: Reputation: 0
Quote:
Originally Posted by wikapuki View Post
Bus 001 Device 008: ID 05e1:0408 Syntek Semiconductor Co., Ltd
That would be your Easycap device.

You might find it more helpful to view the dmesg text. Boot your computer without connecting your Easycap. As root, type dmesg -c to clear the buffer, then connect your USB Easycap device. Type dmesg, all of what you see should be from the Easycap device.
 
Old 02-25-2010, 05:50 AM   #5
wikapuki
Member
 
Registered: Jun 2009
Distribution: Debian
Posts: 78

Rep: Reputation: 15
Solution:
Code:
jilldando:/opt/syntekdriver# svn co https://syntekdriver.svn.sourceforge.net/svnroot/syntekdriver/trunk/driver /opt/syntekdriver
[snip]
Checked out revision 99.

jilldando:/opt/syntekdriver# cd /opt/syntekdriver
jilldando:/opt/syntekdriver# make -f Makefile.standalone clean
jilldando:/opt/syntekdriver# make -C /lib/modules/2.6.32-trunk-486/build SUBDIRS=/opt/syntekdriver clean

make[1]: Entering directory `/usr/src/linux-headers-2.6.32-trunk-486'
make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-trunk-486'
jilldando:/opt/syntekdriver# make -f Makefile.standalone
make -C /lib/modules/2.6.32-trunk-486/build SUBDIRS=/opt/syntekdriver modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.32-trunk-486'
[snip]
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /opt/syntekdriver/stk11xx.mod.o
  LD [M]  /opt/syntekdriver/stk11xx.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-trunk-486'
ctags: no input files specified.
	Try `ctags --help' for a complete list of options.
make: *** [driver] Error 1

jilldando:/opt/syntekdriver# cp /opt/syntekdriver/stk11xx.ko /lib/modules/2.6.32-trunk-486/kernel/drivers/media/video/usbvideo/

jilldando:/opt/syntekdriver# insmod  /lib/modules/2.6.32-trunk-486/kernel/drivers/media/video/usbvideo/stk11xx.ko

jilldando:/opt/syntekdriver# modprobe videodev
So this all works, I test with cheese webcam booth.

When I restart the PC I have to redo the insmod and modprobe

1) Is there a correct way / place to make sure this is done on boot?

2) Whenever there is a kernel update I have to repeat the whole process of ensuring the headers are installed for the new kernel and do the whole make thing again. Is there a way to:
2a) Automate that the Kernel headers are automatically included when a new kernel is added?
2b) Detect a new kernel and headers have been installed and fire off the making of the driver?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
EasyCap usb code: saa7113h kpg06482 namit Linux - Software 3 07-22-2010 08:10 AM


All times are GMT -5. The time now is 07:40 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration