Loading sub-menu...

Cookbook

Skip to end of metadata
Go to start of metadata
You are viewing an old version of this page. View the current version. Compare with Current  |   View Page History

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

  1. Epiphan VGA2USB Module Installation
  2. Hauppauge Cards Configuration
  3. UDEV rules
  4. Galicaster Autostart

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:

 
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"

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

 
   $ udevadm info --attribute-walk --name=${device}

substituting "${device}" for the device's mount point (e.g. /dev/video0)

Galicaster Autostart

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

 
[Desktop Entry]
Name=Galicaster Class
Version=1.0
Type=Application
Terminal=false
Exec=python "/home/galicaster/src/galicaster/classexec.py"

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

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.