{pop-away:metadata | comments | children | labels}
In this section you will find specific solutions for specific needs.
h5. Epiphan VGA2USB Module Installation
To dowload de driver se [http://www.epiphan.com/downloads/linux/]
Run the following commands in a shell (requires being root)
{code:none}
install -m 0644 vga2usb.ko /lib/modules/$(uname -r)/kernel/drivers/video/
echo options vga2usb v4l_num_buffers=2 v4l_err_on_nosignal=0 > /etc/modprobe.d/vga2usb.conf
echo softdep vga2usb pre: videodev usbvideo post: >> /etc/modprobe.d/vga2usb.conf
depmod -a
{code}
h5. UDEV rules
Create the file /etc/udev/rules.d/galicaster.rules [1] where the udev rules to be applied to the devices will be added.
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\}}}:
{code:none}
$ udevadm info --attribute-walk --name=${device}
{code}
substituting "${device}" for the device's mount point (e.g. /dev/video0)
h5. Autostart
Add the file galicaster.desktop to the folder \~/.config/autostart/
{code:none}
[Desktop Entry]
Name=Galicaster Class
Version=1.0
Type=Application
Terminal=false
Exec=python "/home/galicaster/src/galicaster/classexec.py"
{code}
Warning: Some paths may need to be adjusted to the current environment.
In this section you will find specific solutions for specific needs.
h5. Epiphan VGA2USB Module Installation
To dowload de driver se [http://www.epiphan.com/downloads/linux/]
Run the following commands in a shell (requires being root)
{code:none}
install -m 0644 vga2usb.ko /lib/modules/$(uname -r)/kernel/drivers/video/
echo options vga2usb v4l_num_buffers=2 v4l_err_on_nosignal=0 > /etc/modprobe.d/vga2usb.conf
echo softdep vga2usb pre: videodev usbvideo post: >> /etc/modprobe.d/vga2usb.conf
depmod -a
{code}
h5. UDEV rules
Create the file /etc/udev/rules.d/galicaster.rules [1] where the udev rules to be applied to the devices will be added.
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\}}}:
{code:none}
$ udevadm info --attribute-walk --name=${device}
{code}
substituting "${device}" for the device's mount point (e.g. /dev/video0)
h5. Autostart
Add the file galicaster.desktop to the folder \~/.config/autostart/
{code:none}
[Desktop Entry]
Name=Galicaster Class
Version=1.0
Type=Application
Terminal=false
Exec=python "/home/galicaster/src/galicaster/classexec.py"
{code}
Warning: Some paths may need to be adjusted to the current environment.