View Source

{pop-away:metadata | comments | children | labels}

In this section you will find specific solutions for specific needs.

* *[Epiphan VGA2USB Module Installation|Epiphan cards]*
* *[Hauppauge Cards Configuration|Hauppauge cards]*
* *[Blackmagic Cards Configuration|[Galicaster:Blackmagic cards]*
* [UDEV rules|#udev]
* [Galicaster Autostart|#autostart]

h4. UDEV rules


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

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}

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 (e.g. {{/dev/video0}})


{anchor:autostart}

h4. Galicaster Autostart

Once installed, create the file galicaster.desktop in the folder {{\~/.config/autostart/}}, with the following contents:

{code:none} 
[Desktop Entry]
Name=Galicaster
Version=1.1
Type=Application
Terminal=false
Exec=python "/home/galicaster/src/galicaster1.1/run_galicaster.py"
{code}

Warning: Some paths may need to be adjusted to your actual environment.