Loading sub-menu...

1.1 Cookbook

compared with
Current by developer
on ago 21, 2012 20:00.

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

Changes (25)

View Page History
{pop-away:metadata | comments | children | labels}

In this section you will find specific solutions for specific needs.
Galicaster is dependant on the hardware installed on the units so we provide some guides to install and configure of the most commom cards used along this software. We also include some instructions to help you fix the access to those cards and the application on the operative system.

h4. Drivers installation and configuration:

* *[Epiphan VGA2USB Module Modules Installation|Epiphan cards]*
* *[Hauppauge Cards Configuration|Hauppauge cards]*
* *[Blackmagic Cards Configuration|[Galicaster:Blackmagic cards]*
* [UDEV rules|#udev]
* [Galicaster Autostart|#autostart]
* *[NCast Cards Configuration|Galicaster:NCast cards]*
* *[Firewire Cards Configuration|Galicaster:Firewire cards]* (Not available yet)

h4. UDEV rules
h4. Instructions
* [UDEV rules|#udev]
* [Galicaster Autostart|#autostart]

h5. 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}

Use the following command to find out the value of {{ATTR\{name\}}} for a specific device:
For newer Epiphan drivers:
{code:none}
{code:none} 
$ udevadm info --attribute-walk --name=${device}
KERNEL=="video[0-9]*", ATTR{name}=="vga2usb", SYMLINK+="screen"
{code}

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


{anchor:autostart}

h4. Galicaster Launcher & Autostart

Once installed, create the file galicaster.desktop in the folder {{\~/.config/autostart/}}, with the following contents:
If you want to make a launcher to run galicaster through the visual interface you may follow these instructions:

{code:none} 
[Desktop Entry]
Name=Galicaster
Version=1.1
Type=Application
Terminal=false
Exec=python "/home/galicaster/src/galicaster1.1/run_galicaster.py"
{code}
* Copy {{docs/autostart/galicaster.svg}} to {{/usr/share/icons}}.
* Copy {{docs/autostart/galicaster.destktop to {{usr/share/applications}}.
** Now you have galicaster on your Unity interface.
* Run Galicaster and Lock the launcher of the dock.
* Drag the GC icon to the desktop.
** If the GC logo doesn't show, right-button on the file, go to _Properties_, choose the tab _Permissions_ and check _Allow executing file as a program_.
** You can resize it by clicking right-button on the launcher, go to _Resize Icon..._ .

Warning: Some paths may need to be adjusted to your actual environment.
To make galicaster start as the operative system loads do the following:
* Copy {{docs/autostart/galicaster.desktop}} to {{~/.config/autostart}}.