tag:blogger.com,1999:blog-1445708269644440152.post649503064075348310..comments2024-02-23T12:33:16.797+01:00Comments on Tv viewing and recording solutions for Linux: Issue tracking for stk1160 github repository disabledAndrew Schalkhttp://www.blogger.com/profile/18278726276253599249noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-1445708269644440152.post-70861887738253115052014-05-30T14:48:39.428+02:002014-05-30T14:48:39.428+02:00I have downloaded the easycap-dc60 driver written ...I have downloaded the easycap-dc60 driver written by Mike Thomas. I have got it working for my sheevaplug. I will explain how here;<br />#get the easycap-dc60 source written by Mike Thomas<br />wget https://sites.google.com/site/viewandrecordwithlinux/file-cabinet/easycap_dc60.0.9.tar.gz?attredirects=0&d=1<br />#unzip it <br />tar -xvf easycap_dc60.0.9.tar.gz<br /><br />#if you have installed stk1160 - blacklist it and reboot to remove this module/driver first!<br />echo "blacklist stk1160" | tee -a /etc/modprobe.d/blacklist.conf<br />reboot<br />#STOP ZONEMINDER<br />service zoneminder stop<br />#cd to the make files in the easycap source directory where-ever you have it<br />cd easu*<br /># have to comment out line 28 of src/easycap_ioctl.c <br />nano src/easycap_ioctl.c<br />#have a look at README.md<br />more README.md<br />#compile in the easycap directory<br />make install<br /><br />#check its all working<br />lsmod #should see easycap<br />#with camera plugged in, output a jpeg picture from the device to a network share on #the plug<br />streamer /dev/video0 -o /share/outfile.jpeg<br />#all working at this stage for me.<br />#but run the permissions script so other processes can use cam anyway<br />chmod a+rw /dev/easy* <br />#CRITICAL to get zoneminder working with easycap<br /># add the web user to the video group<br />adduser www-data video<br /># also I had to change line 130 of Memory.pm in Zoneminder to stop shared memory errors.<br /># our $arch = int(3.2*length(~0));<br /># to <br /># our $arch = 32;<br />nano /usr/share/perl5/ZoneMinder/Memory.pm<br /># now <br />service zoneminder start<br /># configure the camera source - i use easycap0 as the input<br />#it should all be working from here - but check<br />cat /var/log/syslog<br /># as thats where zoneminder writes its errors<br /><br /><br />eagleeyeshttps://www.blogger.com/profile/09546643991082932285noreply@blogger.comtag:blogger.com,1999:blog-1445708269644440152.post-81287264386627395452014-05-27T12:35:53.938+02:002014-05-27T12:35:53.938+02:00Ok - Have installed the stk1160 driver on a sheeva...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. <br />Just have to revert to the easycap-dc60 driver. <br />Ammohttps://www.blogger.com/profile/07282280919935859773noreply@blogger.comtag:blogger.com,1999:blog-1445708269644440152.post-35669740246616439582014-05-20T11:44:32.735+02:002014-05-20T11:44:32.735+02:00This comment has been removed by the author.eagleeyeshttps://www.blogger.com/profile/09546643991082932285noreply@blogger.comtag:blogger.com,1999:blog-1445708269644440152.post-4019858253377733862014-05-20T11:41:56.730+02:002014-05-20T11:41:56.730+02:00This comment has been removed by the author.eagleeyeshttps://www.blogger.com/profile/09546643991082932285noreply@blogger.comtag:blogger.com,1999:blog-1445708269644440152.post-38787936185390777472014-05-20T11:41:28.776+02:002014-05-20T11:41:28.776+02:00Hi - I would just like to add that for anybody wit...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.<br /><br />apt-get install linux-headers-3.2.0-4-kirkwood<br />apt-get install module-init-tools<br /><br />then <br /><br />make install<br /><br />(you will replace the header install for your device - Kirkwood is for Arm devices)eagleeyeshttps://www.blogger.com/profile/09546643991082932285noreply@blogger.com