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.

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)

 
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
UDEV rules

Create the file /etc/udev/rules.d/galicaster.rules where the udev rules to be applied to the devices will be added.

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}:

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

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

Autostart

Add the file galicaster.desktop to the folder ~/.config/autostart/

 
[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 the current environment.

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