Loading sub-menu...

Capture cards configuration

Version 3 by developer
on ago 22, 2012 16:44.

compared with
Version 4 by developer
on ago 22, 2012 16:45.

Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (1)

View Page History
* *[Firewire Cards Configuration|Galicaster:Firewire cards]* (Not available yet)


h5. Rules to access the cards - UDEV rules


Create the file {{/etc/udev/rules.d/galicaster.rules}}, which will contain the udev rules that will be applied to the devices.

Use the following command to find out the value of *{{ATTR\{name\}}}* for a specific device:

{code:none}
$ udevadm info --attribute-walk --name=${device}
{code}

substituting {{"$\{device\}"}} for the device's mount point, for example:

{code:none}
$ udevadm info --attribute-walk --name=/dev/video0
$ udevadm info --attribute-walk --name=/dev/video1 | grep name
{code}

(e.g. {{/dev/video0}})

These are some configuration examples:

{code:none}
KERNEL=="video[0-9]*", ATTR{name}=="Epiphan VGA2USB #V2U19350", GROUP="video", SYMLINK+="screen"
KERNEL=="video[0-9]*", ATTR{name}=="ivtv0 encoder MPG", GROUP="video", SYMLINK+="camera"
KERNEL=="video[0-9]*", ATTR{name}=="UVC Camera (046d:0821)", GROUP="video", SYMLINK+="webcam"
KERNEL=="video[0-9]*", ATTR{name}=="ivtv0 encoder MPG", GROUP="video", SYMLINK+="haucamera"
KERNEL=="video[0-9]*", ATTR{name}=="ivtv0 encoder YUV", GROUP="video", SYMLINK+="hauprevideo"
KERNEL=="video[0-9]*", ATTR{name}=="ivtv0 encoder PCM", GROUP="audio", SYMLINK+="haupreaudio"
{code}

For newer Epiphan drivers:
{code:none}
KERNEL=="video[0-9]*", ATTR{name}=="vga2usb", SYMLINK+="screen"
{code}


{column}
{column:width=29%}