LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 09-04-2013, 06:08 PM   #1
ihavequestions
LQ Newbie
 
Registered: Sep 2011
Posts: 15

Rep: Reputation: Disabled
trying to install easycap usb video capture device


http://linuxtv.org/wiki/index.php/Easycap

The above gives the driver:


https://git.kernel.org/cgit/linux/ke...edia/usb/usbtv


It lists 3 files:

Mode Name Size
-rw-r--r-- Kconfig 338 logstatsplain
-rw-r--r-- Makefile 37 logstatsplain
-rw-r--r-- usbtv.c 19399 logstatsplain



I've downloaded all 3 drivers into a directory and chmod them to 777, however, I can't seem to get them installed.

What is the exact syntax I would type in my shell to install this driver?




Quote:
Extra information from http://linuxtv.org/wiki/index.php/Easycap
#########################################################################
USBTV007 EasyCAP

This EasyCAP is based on a single UTV007 labeled chip.

This device is sold as "USB video capture QS702" from SHENZHEN FUSHICAI ELECTRONIC CO.,LTD

lsusb reports

Manufacturer: Fushicai
Product: usbtv007

Components Used

Single chip: UTV007 A614231.1 1136L1BK
Inscriptions on the board: FSC VIDEO DVR

Indentification

# lsusb
Bus XXX Device XXX: ID 1b71:3002

Full lsusb -v
Making it work

Linux kernel driver, enable CONFIG_VIDEO_USBTV: https://git.kernel.org/cgit/linux/ke...edia/usb/usbtv

From 3.11 ("Linux for Workgroups") on: Supports NTSC, Composite input
Queued for 3.12: S-Video input
In works: Controls (brightness, ...)

Also, a very experimental (for testing purposes only) userspace driver is available on github: http://github.com/memeruiz/usbtv007

Currently doesn't do anything beyond what kernel driver does
Written using Python libusb1 and v4l bindings
Requires v4l loopback
Could be useful for easy protocol testing, prototyping

Work needed

PAL support
Testing and fixing of eventual bugs is very welcome!
Audio? Windows XP does not provide an audio device for the grabber; maybe another Windows driver is needed? (Please let us know, if it works for you!)

The Windows driver shipped with the device was for another model. Here's the correct one: http://v3.sk/~lkundrak/usbtv/usbtv-wxp32.zip

Slides from talk describing setup for reverse-engineering what does the hardware do are available: http://www.slideshare.net/LubomirRintel/usb-reversing

Quote:
What I've tried already:

#~/Downloads/easycap$ ls
Kconfig Makefile usbtv.c
#~/Downloads/easycap$ Makefile
Makefile: command not found
#~/Downloads/easycap$ ./Makefile
bash: ./Makefile: Permission denied
#~/Downloads/easycap$ chmod 777 ./*
#~/Downloads/easycap$ ./Makefile
./Makefile: line 1: !DOCTYPE: No such file or directory
./Makefile: line 2: syntax error near unexpected token `newline'
./Makefile: line 2: ` "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'
#~/Downloads/easycap$ make install
Makefile:1: *** missing separator. Stop.
#~/Downloads/easycap$ sudo make install
[sudo] password for username:
Makefile:1: *** missing separator. Stop.
#~/Downloads/easycap$ ls
Kconfig Makefile usbtv.c
#~/Downloads/easycap$ config
No command 'config' found, did you mean:
Command 'fconfig' from package 'redboot-tools' (main)
Command 'zconfig' from package 'python-zconfig' (universe)
Command 'vconfig' from package 'vlan' (main)
Command 'mconfig' from package 'mono-devel' (main)
config: command not found
#~/Downloads/easycap$ ./configure
bash: ./configure: No such file or directory
#~/Downloads/easycap$ make
Makefile:1: *** missing separator. Stop.
#~/Downloads/easycap$ ls
Kconfig Makefile usbtv.c
#~/Downloads/easycap$ ./configure --CONFIG_VIDEO_USBTV
bash: ./configure: No such file or directory
#~/Downloads/easycap$ ./configure --Kconfig
bash: ./configure: No such file or directory
#~/Downloads/easycap$ ./configure Kconfig
bash: ./configure: No such file or directory
#~/Downloads/easycap$ help configure
bash: help: no help topics match `configure'. Try `help help' or `man -k configure' or `info configure'.
#~/Downloads/easycap$ man configure
No manual entry for configure
#~/Downloads/easycap$ ./configure --prefix=/usr/local
bash: ./configure: No such file or directory
#~/Downloads/easycap$ sudo ./configure --prefix=/usr/local
sudo: ./configure: command not found
#~/Downloads/easycap$ sudo configure --prefix=/usr/local
sudo: configure: command not found
#~/Downloads/easycap$ ./sudo configure --prefix=/usr/local
bash: ./sudo: No such file or directory
#~/Downloads/easycap$ configure
configure: command not found
#~/Downloads/easycap$ ./configure
bash: ./configure: No such file or directory
#~/Downloads/easycap$ sudo make
Makefile:1: *** missing separator. Stop.
#~/Downloads/easycap$ sudo ./make
sudo: ./make: command not found
#~/Downloads/easycap$ config VIDEO_USBTV
No command 'config' found, did you mean:
Command 'fconfig' from package 'redboot-tools' (main)
Command 'zconfig' from package 'python-zconfig' (universe)
Command 'vconfig' from package 'vlan' (main)
Command 'mconfig' from package 'mono-devel' (main)
config: command not found
#~/Downloads/easycap$ ./config VIDEO_USBTV
bash: ./config: No such file or directory
#~/Downloads/easycap$
 
Old 09-05-2013, 01:28 AM   #2
gdejonge
Member
 
Registered: Aug 2010
Location: Netherlands
Distribution: Kubuntu, Debian, Suse, Slackware
Posts: 285

Rep: Reputation: 70
The driver you are referring to is a new addition to the 3.11 kernel. So if you want to use it you have to compile your own 3.11 kernel or backport the driver to the kernel you're using at the moment.

As for the Kconfig and Makefile files, these are part of the kernel configuration and build system and not the driver itself.
The usbtv.c file is the source file for the driver.

Cheers
 
Old 09-05-2013, 04:14 AM   #3
ihavequestions
LQ Newbie
 
Registered: Sep 2011
Posts: 15

Original Poster
Rep: Reputation: Disabled
Ok so I've never compiled my own kernel. Is it a dangerous thing to do? How would I do that and include this hardware driver to it?
 
Old 09-05-2013, 03:09 PM   #4
nathank33
LQ Newbie
 
Registered: Sep 2013
Posts: 3

Rep: Reputation: Disabled
I'm having the same problem compiling the drivers, I was using these tutorials for a bit to try it:
http://www.wikihow.com/Compile-the-Linux-Kernel
http://www.rt-embedded.com/blog/arch...-with-kconfig/

I downloaded the newest kernel files and placed the information from the KConfig and the Makefile into respective files under linux-3.11/drivers/net and then I placed the usbtv.c into that directory as-well. I've never compiled my kernel before, am I on the right track? Is there an easier way to just load the driver without having to build it into the kernel?
 
Old 09-05-2013, 03:26 PM   #5
ihavequestions
LQ Newbie
 
Registered: Sep 2011
Posts: 15

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by nathank33 View Post
I'm having the same problem compiling the drivers, I was using these tutorials for a bit to try it:
http://www.wikihow.com/Compile-the-Linux-Kernel
http://www.rt-embedded.com/blog/arch...-with-kconfig/

I downloaded the newest kernel files and placed the information from the KConfig and the Makefile into respective files under linux-3.11/drivers/net and then I placed the usbtv.c into that directory as-well. I've never compiled my kernel before, am I on the right track? Is there an easier way to just load the driver without having to build it into the kernel?
I don't know how to do it but I found this tutorial:

http://mitchtech.net/compile-linux-k...-lts-detailed/
 
Old 09-06-2013, 02:05 PM   #6
nathank33
LQ Newbie
 
Registered: Sep 2013
Posts: 3

Rep: Reputation: Disabled
I just received the Sabrent USB-AVCPT A/V-to-USB 2.0 Digital Video Adapter from Amazon, and I got it to work with Mplayer, VLC, and Skype right out of the box.
 
Old 09-06-2013, 02:59 PM   #7
ihavequestions
LQ Newbie
 
Registered: Sep 2011
Posts: 15

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by nathank33 View Post
I just received the Sabrent USB-AVCPT A/V-to-USB 2.0 Digital Video Adapter from Amazon, and I got it to work with Mplayer, VLC, and Skype right out of the box.
That's good to know for people who might buy the right hardware first, but I already bought the EasyCap and want it to work with Ubuntu.
 
  


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
iGrabber USB Video Capture Device under Linux (Xubuntu/CrunchBang) nobuntu Linux - Hardware 2 11-09-2012 10:36 PM
Which video capture device should I get ? Morcar Linux - Hardware 1 06-04-2012 11:15 AM
Why won't my Easycap video capture device show up for my Linux driver? Bkowalch Linux - Hardware 8 06-06-2011 08:51 PM
Wanted capture device for VCR device with Audio and Video outs only k_graham Linux - Newbie 2 06-18-2009 11:24 PM
[SOLVED] Video Capture Device wmeler Linux - Hardware 1 05-04-2005 11:34 AM


All times are GMT -5. The time now is 02:08 PM.

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