Experiences with the easycap DC60 audio and video capture adapter on Linux

This Blog is dedicated to all owners of the STK1160 chip based EasyCAP (or identical) devices, who want to use it under Linux.

Activating audio for the STK1160 device: read the this post

German speaking users: read my article on ubuntuusers.de

The EasyCAP DC60 and its clones are cheap little USB analogue capturing devices which can be used for viewing and recording video under Linux from different sources like VHS tape recorders, satellitereceivers, camcorders ...

Wednesday, July 31, 2013

Issue tracking for stk1160 github repository disabled

Ezequiel requests to inform anybody using the stk1160 driver, that stk1160 github issue tracking is *GONE*. 

"Stk1160 is a regular kernel driver, so it's not special and there's no reason
in having a special bugzilla/forum/mailing list or issue tracking."

Nevertheless, the sourcecode will still be available on stk1160 github for people who want to use the stk1160 driver with kernels 3.2 up to 3.6.

If you have questions concerning driver issues or want to report a bug please visit this link: http://linuxtv.org/lists.php
or use the video4linux mailing list (linux-media@vger.kernel.org)
or try asking in the IRC channel (#v4l).  

" The regular kernel channels work just fine, and you can get answers from developers. "


  1. Hi - I would just like to add that for anybody with a small linux device (for example a sheevaplug) running debian 7.1-7.5 (i.e. Wheezy) with a kernal of 3.2, you will have to compile the stk1160 driver. Following the stk1160 instructions will not work. to get 'make install' working, you have to issue the following commands.

    apt-get install linux-headers-3.2.0-4-kirkwood
    apt-get install module-init-tools


    make install

    (you will replace the header install for your device - Kirkwood is for Arm devices)

  2. This comment has been removed by the author.

  3. This comment has been removed by the author.

  4. Ok - Have installed the stk1160 driver on a sheevaplug running the above kernal but simply cannot get it to work, even though it registers /dev/video0 and modinfo is ok.
    Just have to revert to the easycap-dc60 driver.

  5. I have downloaded the easycap-dc60 driver written by Mike Thomas. I have got it working for my sheevaplug. I will explain how here;
    #get the easycap-dc60 source written by Mike Thomas
    wget https://sites.google.com/site/viewandrecordwithlinux/file-cabinet/easycap_dc60.0.9.tar.gz?attredirects=0&d=1
    #unzip it
    tar -xvf easycap_dc60.0.9.tar.gz

    #if you have installed stk1160 - blacklist it and reboot to remove this module/driver first!
    echo "blacklist stk1160" | tee -a /etc/modprobe.d/blacklist.conf
    service zoneminder stop
    #cd to the make files in the easycap source directory where-ever you have it
    cd easu*
    # have to comment out line 28 of src/easycap_ioctl.c
    nano src/easycap_ioctl.c
    #have a look at README.md
    more README.md
    #compile in the easycap directory
    make install

    #check its all working
    lsmod #should see easycap
    #with camera plugged in, output a jpeg picture from the device to a network share on #the plug
    streamer /dev/video0 -o /share/outfile.jpeg
    #all working at this stage for me.
    #but run the permissions script so other processes can use cam anyway
    chmod a+rw /dev/easy*
    #CRITICAL to get zoneminder working with easycap
    # add the web user to the video group
    adduser www-data video
    # also I had to change line 130 of Memory.pm in Zoneminder to stop shared memory errors.
    # our $arch = int(3.2*length(~0));
    # to
    # our $arch = 32;
    nano /usr/share/perl5/ZoneMinder/Memory.pm
    # now
    service zoneminder start
    # configure the camera source - i use easycap0 as the input
    #it should all be working from here - but check
    cat /var/log/syslog
    # as thats where zoneminder writes its errors


Please be patient, your comment will be published as soon as I'm checking my mailbox next time.
So, I will notice your comment for sure. Andrew