This info is for the Somagic variant of the easycap DC60 Video convertor. When you plug it in and do an "lsusb" you should see:
Code:
Bus 00x Device 00x: ID 1 Somagic, Inc.
All the work on this has been done by the guys over on:
https://code.google.com/p/easycap-somagic-linux/
but I thought I would replicate it here following my efforts (so this is not my own work!). The current state of the drivers provides you with two options: the userspace programs and the kernel module (buggy?). The benefit of the kernel module is that it gives you a /dev/videoX device and runs with V4L2.
Here is how to install:
A. Prerequisites
GNU/Linux with the following programs and libraries installed: wine, git, make, gcc, libusb-1.0-0 (and development headers), libgcrypt11 (and development headers), mplayer, lsusb (optional). On Ubuntu, that can all be installed by running the following command as root:
Code:
sudo apt-get install wine git build-essential libusb-1.0-0-dev libgcrypt11-dev mplayer usbutils
USB 2.0 capable USB port. USB 1.1 will not work (it's too slow).
Somagic variant of the EasyCAP. To determine that: plug in the EasyCAP, run "lsusb", and verify "1 Somagic, Inc."
EasyCAP USB 2.0 Video Adapter with Audio or EasyCAP002 4-Channel USB 2.0 DVR installation CD-ROM.
B. Downloading git sources
Go to your home directory and create a folder called easycap
Code:
cd
mkdir easycap
cd easycap
git clone
To update it in the future, use "git pull".
C. Extracting firmware
Using wine run
on the EasyCAP installation CD. This should create a file named either
Code:
Program Files/Common Files/Somagic/SmiUsbGrabber3C/xp/SmiUsbGrabber3C.sys
for the EasyCAP DC60 or
Code:
Program Files/Common Files/Somagic/SmiUsbGrabber3E/xp/SmiUsbGrabber3E.sys
for the EasyCAP002.
Then
Code:
cd ~/easycap/easycap-somagic-linux/tools/somagic-extract-firmware
Run
For the EasyCAP DC60 run
Code:
cp ~/.wine/drive_c/Program\ Files/Common\ Files/Somagic/SmiUsbGrabber3C/xp/SmiUsbGrabber3C.sys
or for the EasyCAP002 run
Code:
cp ~/.wine/drive_c/Program\ Files/Common\ Files/Somagic/SmiUsbGrabber3E/xp/SmiUsbGrabber3E.sys
Run
Code:
sudo ./somagic-extract-firmware SmiUsbGrabber3C.sys
to create "/lib/firmware/somagic_firmware.bin".
Compiling user space programs
cd ~/easycap/easycap-somagic-linux/user
Run
Code:
make && sudo make install
Performing user space capture
Plug in the EasyCAP device.
Run
to initialize the EasyCAP device, which changes its USB id. If there is no output, initialization was successful. However, to manually verify whether initialization was successful, re-run "somagic-init" or check "lsusb" for the new id "1 Somagic, Inc" (EasyCAP DC60) or "1 Somagic, Inc" (EasyCAP002).
Activate your video source and ensure video is connected, either via CVBS (composite) or S-VIDEO (EasyCAP DC60), or via "2" (EasyCAP002).
Choose and run a usage example from "man somagic-capture".
I had success with:
Code:
sudo somagic-capture -c --iso-transfers 100 --pal --sync=1 | mplayer -nocache -vf yadif -demuxer rawvideo -rawvideo "pal:format=uyvy:fps=25" -aspect 4:3 -
Building and using the kernel module
Code:
cd ~/easycap/easycap-somagic-linux/kernel/
Code:
make
sudo modprobe videodev
sudo insmod somagic.ko
You should now get "something if you run
Code:
mplayer tv:// -tv driver=
where X is the number of your easycap video device
So far I have not been able to get colour or a stable synced picture with the kernel module, but it is early days
You can make the kernel permanent and load when you insert the usb device:
Code:
sudo cp somagic.ko /lib/modules/$(uname -r)/kernel/drivers//media/video
depmod -a
Full kudos and credits to the guys on easycap-somagic-linux
n.b. You may have an easycap that is not this device, if so, try here:http://ubuntuforums.org/showthread.php?t=924504
Bookmarks