h4. Galicaster device modules configuration
Once the hardware and their drivers are installed and configured, it is necessary to configure the device modules to access the devices. The list of modules are available at the section [Device module configuration].
{column}
{column:width=34%}
{panel:borderWidth=0|bgColor=lightblue}
{center}
h5. Documentation
{center}
# [Hardware recommendations|Hardware recommendations]
#* [Compatible hardware table]
# [Software installation|Software installation]
#* [Galicaster:Upgrading from older versions]
#* [Galicaster:Release Archive]
# [Galicaster configuration|Galicaster configuration].
#* [Galicaster:Input profiles]
#** [Device module configuration]
#* [Galicaster:Plugins]
# [User's Guide|User Guide]
#* [Recorder|Galicaster:User Guide - Recorder]
#* [Media Manager|Galicaster:User Guide - Media Manager]
\\
{panel}
{column}{section}
h4. Rules to access the cards - UDEV rules
To fix the path to access a device is interesting to set UDEV rules on the system. On this section we provide a general approach to the set up of UDEV rules, leaving the details for the specific pages of each compatible device.
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}