Git Product home page Git Product logo

stk1160-standalone's Introduction

IMPORTANT UPDATE

Completely deprecated, this driver is.
                            (Yoda)

The driver you are looking at is for Linux v3.2 only. It will not work on any other kernel version. Please don't even try unless you really know what you're doing.

Given stk1160 is fully mainlined since Linux v3.7 I've disabled issue tracking for this github repository. If you have questions or want to report a bug please use the video4linux mailing list ([email protected]) or try asking in the IRC channel (#v4l).

If you want to stay updated with news about easycap devices you can read the most excellent blog from Andrew Schalk.

http://easycap.blogspot.com.ar/

I hope you enjoy using stk1160 as much as I've enjoyed writing it!

stk1160-standalone

stk1160 release 0.9.3_for_v3.2

This branch is intended to be used with v3.2. Please don't even try to use it with another one.

This is the stk1160 driver (formerly known as easycap driver). It's the driver needed to capture audio and video in some of those little devices named as Easycap (if they are based on stk1160 chip).

You need to have this modules installed, but don't worry, you don't have to insert them manually:

  • snd_usb_audio
  • snd_ac97_codec
  • ac97_bus
  • saa7115
  • videodev
  • videobuf2_core
  • videobuf2_vmalloc
  • videobuf2_memops
  • v4l2_common

Building and installing

make
make install

After this, perhaps you will have to run 'depmod -a'.

You should not get any warning. If you do, most probably you did something wrong or you're using an incompatible kernel.

Usage

After installing the driver you're ready to go. If you now insert your usb easycap device you'll notice two modules get automatically loaded: stk1160 and snd-usb-audio. This can be seen using dmesg:

$ dmesg | grep registered
[48.561592] stk1160 2-2:1.0: V4L2 device registered as video0
[48.562284] usbcore: registered new interface driver stk1160
[49.169189] usbcore: registered new interface driver snd-usb-audio

Also, stk1160 will register a control-only alsa sound card. This sound card is called 'stk1160-mixer'. To enable sound capture you have to open alsamixer and selected the 'Line' item on the capture menu for stk1160-mixer device.

This stk1160-mixer device is needed because snd-usb-audio doesn't show mixer controls for the ac97 codec chip. The real usb transfer for audio capture is done through snd-usb-audio.

Preventing old easycap driver from loading

If you want to prevent some module from loading you can do so by adding it to blacklist file.

On many distributions this can be done like this:

echo "blacklist easycap" >> /etc/modprobe.d/blacklist.conf

This way easycap won't be loaded automatically by udev; you can still load it manually, of course.

stk1160-standalone's People

Contributors

ezequielgarcia avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.