diff --git a/Manual.html b/Manual.html index 1a0cf6d..4c5d7bf 100644 --- a/Manual.html +++ b/Manual.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
- +A User wants to install yaVDR without customization and relies on full automation. @@ -562,24 +562,24 @@ Several roles are used to tie everything together:
One of the major problems we faced with customized Ubuntu ISO files as installation media for prior yaVDR versions has been the limited hardware support and the time consuming process to create and update them. An interesting alternative to this approach is to enable the user to choose the installation medium by himself, so point releases, kernel versions and additional drivers can be chosen deliberately. After the basic setup is complete (and a working internet connection is available), a fully customizable install script completes the yaVDR installation.
This is an experimental feature which allows to set up a yaVDR installation based on a normal Ubuntu Server 16.04.x installation using Ansible. @@ -614,8 +614,8 @@ We use a callback to generate tags for all roles autmatically:
set -e @@ -659,12 +659,12 @@ ansible-playbook yavdr07-headless.yml -b -i 'localhost_
The yavdr07.yml
playbook sets up a fully-featured yaVDR installation:
@@ -718,8 +718,8 @@ The yavdr07.yml
playbook sets up a fully-featured yaVDR installatio
For a headless server installation yavdr07-headless.yml
is a good choice
@@ -758,8 +758,8 @@ For a headless server installation yavdr07-headless.yml
is a good c
This playbook can either be used to run the installation on the localhost or any other PC in the network that can be accessed via ssh. Simply add the host names or IP addresses to the hosts file in the respective section: @@ -773,12 +773,12 @@ This playbook can either be used to run the installation on the localhost or any
---
@@ -796,8 +796,8 @@ This playbook can either be used to run the installation on the localhost or any
# properties of the user vdr and vdr-related options @@ -823,8 +823,8 @@ This playbook can either be used to run the installation on the localhost or any
# dictionary of directories for (shared) files. Automatically exported via NFS and Samba if those roles are enabled @@ -839,8 +839,8 @@ This playbook can either be used to run the installation on the localhost or any
nfs:
@@ -849,8 +849,8 @@ This playbook can either be used to run the installation on the localhost or any
samba:
@@ -860,8 +860,8 @@ This playbook can either be used to run the installation on the localhost or any
# additional packages you want to install @@ -880,8 +880,8 @@ This playbook can either be used to run the installation on the localhost or any
frontend: vdr
@@ -895,8 +895,8 @@ This playbook can either be used to run the installation on the localhost or any
# Serial device to configure for a homebrew receiver. @@ -908,20 +908,20 @@ This playbook can either be used to run the installation on the localhost or any
---
@@ -939,19 +939,19 @@ This playbook can either be used to run the installation on the localhost or any
install nvidia-396 from ppa:graphics-drivers/ppa
---
@@ -980,15 +980,15 @@ install nvidia-396 from ppa:graphics-drivers/ppa
This role is used to set up a basic yaVDR installation. It creates the directories, installs the vdr and other useful packages.
This section is for reference only, please use the files in
You can set a list of package repositories which provide the necessary packages. Feel free to use own PPAs if you need special customization to the VDR and it’s plugins.
@@ -1018,7 +1018,7 @@ You can set a list of package repositories which provide the necessary packages.
global_vars
for customizations.
@@ -1001,7 +1001,7 @@ This section is for reference only, please use the files in global_vars
-
+
Automatically installed drivers can be very useful, but if you know you need a certain driver, you can simply set it’s value to true. If you don’t want a driver to be installed, set it’s value to false. @@ -1031,7 +1031,7 @@ Automatically installed drivers can be very useful, but if you know you need a c
Add additional packages you would like to have on your installation to this list @@ -1045,7 +1045,7 @@ Add additional packages you would like to have on your installation to this list
This section allows you to set the recording directory, the user and group that runs the vdr and it’s home directory. @@ -1078,15 +1078,15 @@ This section allows you to set the recording directory, the user and group that
yavdr-common executes the following tasks:
---
@@ -1104,7 +1104,7 @@ yavdr-common executes the following tasks:
This task prevents apt to automatically install all recommended dependencies for packages: @@ -1121,7 +1121,7 @@ This task prevents apt to automatically install all recommended dependencies for
- name: add PPAs
@@ -1141,7 +1141,7 @@ This task prevents apt to automatically install all recommended dependencies for
- name: use bash instead of dash
@@ -1153,15 +1153,15 @@ This task prevents apt to automatically install all recommended dependencies for
- name: disable release-upgrade notifications
@@ -1183,7 +1183,7 @@ This task prevents apt to automatically install all recommended dependencies for
-
- name: apt | install basic packages
@@ -1215,7 +1215,7 @@ This task prevents apt to automatically install all recommended dependencies for
- name: apt | install extra packages
@@ -1228,15 +1228,15 @@ This task prevents apt to automatically install all recommended dependencies for
Stop vdr before entering suspend and unload dvb modules, reverse this operation on resume @@ -1247,8 +1247,8 @@ Stop vdr before entering suspend and unload dvb modules, reverse this operation
{{ ansible_managed | comment('c') }} @@ -1259,7 +1259,7 @@ APT::Install-Suggests "0";
#!/bin/bash
@@ -1300,7 +1300,7 @@ Allow the vdr user to restart vdr.service
and reboot the system
#!/usr/bin/env python3
@@ -1387,12 +1387,12 @@ Allow the vdr user to restart vdr.service
and reboot the system
first_run: False
@@ -1400,12 +1400,12 @@ Allow the vdr user to restart vdr.service
and reboot the system
- name: get information about usb and pci hardware and loaded kernel modules
@@ -1454,16 +1454,16 @@ Allow the vdr user to restart vdr.service
and reboot the system
---
@@ -1481,7 +1481,7 @@ Allow the vdr user to restart vdr.service
and reboot the system
- name: add svdrp and svdrp-disc to /etc/services
@@ -1496,7 +1496,7 @@ Allow the vdr user to restart vdr.service
and reboot the system
- name: create vdr recdir
@@ -1531,7 +1531,7 @@ Allow the vdr user to restart vdr.service
and reboot the system
The additional plugins to install can be set in the variable {{vdr_plugins}}
in the group variables
@@ -1547,7 +1547,7 @@ The additional plugins to install can be set in the variable {{vdr_plugins
- name: ensure vdr is stopped
@@ -1578,7 +1578,7 @@ The additional plugins to install can be set in the variable {{vdr_plugins
- name: create directory for vdr.service systemd drop-in files
@@ -1599,8 +1599,8 @@ The additional plugins to install can be set in the variable {{vdr_plugins
Start after network-online.target @@ -1612,12 +1612,12 @@ Start after network-online.target
LIRC.Up KEY_UP @@ -1752,7 +1752,7 @@ XKeySym.Next XF86AudioNext
# Remote control key macros for VDR @@ -1778,12 +1778,12 @@ User0 @osdteletext
install_avahi: true @@ -1791,8 +1791,8 @@ User0 @osdteletext
---
@@ -1860,12 +1860,12 @@ User0 @osdteletext
---
@@ -1887,8 +1887,8 @@ User0 @osdteletext
<?xml version="1.0" encoding="UTF-8"?>
@@ -1947,17 +1947,17 @@ User0 @osdteletext
---
@@ -1985,12 +1985,12 @@ User0 @osdteletext
/srv *(rw,fsid=0,sync,no_subtree_check,all_squash,anongid={{ vdr.gid }},anonuid={{ vdr.uid }})
@@ -2001,7 +2001,7 @@ User0 @osdteletext
<?xml version="1.0" standalone='no'?> @@ -2022,15 +2022,15 @@ User0 @osdteletext
The role yavdr-remote
sets up the foundation for using eventlircd, lircd2uinput and the pre-configuration for remote receivers which can be detected by udev.
lircd0_socket: /var/run/lirc/lircd0
@@ -2038,8 +2038,8 @@ The role yavdr-remote
sets up the foundation for using eventlircd,
---
@@ -2110,12 +2110,12 @@ The role yavdr-remote
sets up the foundation for using eventlircd,
{% if frontend != 'kodi' %}
@@ -2126,7 +2126,7 @@ The role yavdr-remote
sets up the foundation for using eventlircd,
[Service]
@@ -2136,7 +2136,7 @@ The role yavdr-remote
sets up the foundation for using eventlircd,
{{ ansible_managed | comment }} @@ -2328,12 +2328,12 @@ ati_remote rc-medion-x10-digitainer /lib/udev/rc_keymaps/rc-medion-x10-digi
---
@@ -2355,8 +2355,8 @@ ati_remote rc-medion-x10-digitainer /lib/udev/rc_keymaps/rc-medion-x10-digi
# Use PulseAudio by default @@ -2378,12 +2378,12 @@ ati_remote rc-medion-x10-digitainer /lib/udev/rc_keymaps/rc-medion-x10-digi
The X-Server is started by using the two systemd units xlogin@.service
and x@.service
provided by the package xlogin. The former is enabled (and started) for the vdr user - which results (using the default settings for the user vdr with the uid 666) in the activation of xlogin@vdr.service
when reaching the graphical.target. To simplify starting and stopping the X-server and the desktop session a yavdr-xorg.service
is provided by the package yavdr-xorg
, which depends on the two units mentioned before.
@@ -2412,8 +2412,8 @@ In order to achive a clean shutdown of the session, x@t7.service
is
first_run: False
@@ -2436,12 +2436,12 @@ In order to achive a clean shutdown of the session, x@t7.service
is
---
@@ -2454,7 +2454,7 @@ In order to achive a clean shutdown of the session, x@t7.service
is
---
@@ -2572,7 +2572,7 @@ In order to achive a clean shutdown of the session, x@t7.service
is
---
@@ -2760,7 +2760,7 @@ In order to achive a clean shutdown of the session, x@t7.service
is
KMS drivers (like for intel (i915) and amd (radeon)) require additional configuration besides a customized xorg.conf
- for a „static“ output configuration (which works if the TV or AV receiver is not turned on) we need to force loading the display(s) EDID early during the boot process.
@@ -2808,12 +2808,12 @@ Please note that rescanning the connected displays works only after removing the
{{ ansible_managed | comment }} @@ -2823,11 +2823,11 @@ Please note that rescanning the connected displays works only after removing the
# file: roles/yavdr-xorg/templates/systemd/system/x-verbose@.service.j2 @@ -2843,7 +2843,7 @@ Please note that rescanning the connected displays works only after removing the
[Unit]
@@ -2869,7 +2869,7 @@ Please note that rescanning the connected displays works only after removing the
{{ ansible_managed | comment }} @@ -2881,7 +2881,7 @@ Please note that rescanning the connected displays works only after removing the
{{ ansible_managed | comment }} @@ -2896,7 +2896,7 @@ EndSection
{{ ansible_managed | comment }} @@ -3004,7 +3004,7 @@ EndSection
{{ ansible_managed | comment }} @@ -3330,7 +3330,7 @@ EndSection
{{ ansible_managed | comment }} @@ -3347,7 +3347,7 @@ EndSection -
Set environment variables for system locale and user session on startup @@ -3363,12 +3363,12 @@ Set environment variables for system locale and user session on startup
#!/bin/bash @@ -3393,16 +3393,16 @@ exit 0
---
@@ -3569,16 +3569,16 @@ exit 0
xterm*background: Black @@ -3601,7 +3601,7 @@ XTerm.vt100.font: 7x13
#!/bin/bash @@ -3613,11 +3613,11 @@ XTerm.vt100.font: 7x13 -
# forward environment variables to an environment file and the systemd user session @@ -3653,7 +3653,7 @@ systemctl --user isolate yavdr-desktop.target
<?xml version="1.0" encoding="UTF-8"?> @@ -4500,7 +4500,7 @@ systemctl --user isolate yavdr-desktop.target
<?xml version="1.0" encoding="UTF-8"?> @@ -5329,11 +5329,11 @@ systemctl --user isolate yavdr-desktop.target -
[Unit] @@ -5346,7 +5346,7 @@ systemctl --user isolate yavdr-desktop.target
#!/bin/bash @@ -5375,7 +5375,7 @@ systemctl --user isolate yavdr-desktop.target
This script exchanges the primary and secondary screen. It needs access to the systemd user session. @@ -5394,7 +5394,7 @@ frontend-dbus-send start
[Unit]
@@ -5416,7 +5416,7 @@ frontend-dbus-send start
[Unit]
@@ -5439,7 +5439,7 @@ frontend-dbus-send start
[Unit]
@@ -5458,7 +5458,7 @@ frontend-dbus-send start
[Unit]
@@ -5477,7 +5477,7 @@ frontend-dbus-send start
-
irexec.service starts irexec for the user session @@ -5510,12 +5510,12 @@ end
---
@@ -5536,12 +5536,12 @@ end
---
@@ -5566,16 +5566,16 @@ end
{{ ansible_managed | comment }} @@ -5662,7 +5662,7 @@ end
{% for name, path in media_dirs.items() | list %} @@ -5684,7 +5684,7 @@ end
include = /etc/samba/smb.conf.custom @@ -5697,15 +5697,15 @@ end
It would be nice to be able to detect if it is suitable to install those drivers:
For now we have the role install-sundtek
, in the future we could do a little better:
@@ -5725,7 +5725,7 @@ Vendor-IDs:
https://github.com/s-moch/linux-saa716x - kann man den relevanten Teil als dkms-Paket bauen? @@ -5745,15 +5745,15 @@ Vendor-IDs:
The tool ubuntu-drivers is used to install the matching driver version for nvidia graphics cards, virtualbox guest additions and Intel and AMD microcode updates.
---
@@ -5776,8 +5776,8 @@ The tool ubuntu-drivers is used to install the matching driver version for nvidi
This role installs the guest additions for virtualbox guests on Ubuntu 18.04 @@ -5826,12 +5826,12 @@ This role installs the guest additions for virtualbox guests on Ubuntu 18.04
---
@@ -5843,8 +5843,8 @@ This role installs the guest additions for virtualbox guests on Ubuntu 18.04
---
@@ -5886,8 +5886,8 @@ This role installs the guest additions for virtualbox guests on Ubuntu 18.04
{{ ansible_managed | comment }} @@ -5916,12 +5916,12 @@ This role installs the guest additions for virtualbox guests on Ubuntu 18.04
---
@@ -5932,8 +5932,8 @@ This role installs the guest additions for virtualbox guests on Ubuntu 18.04
---
@@ -5975,8 +5975,8 @@ This role installs the guest additions for virtualbox guests on Ubuntu 18.04
{{ ansible_managed | comment }} @@ -6004,15 +6004,15 @@ This role installs the guest additions for virtualbox guests on Ubuntu 18.04
If a Sat>IP Server responds to a discovery request, the package vdr-plugin-satip is installed.
---
@@ -6036,12 +6036,12 @@ If a Sat>IP Server responds to a discovery request, the package vdr-plugin-sa
---
@@ -6057,12 +6057,12 @@ If a Sat>IP Server responds to a discovery request, the package vdr-plugin-sa
---
@@ -6078,12 +6078,12 @@ If a Sat>IP Server responds to a discovery request, the package vdr-plugin-sa
---
@@ -6099,12 +6099,12 @@ If a Sat>IP Server responds to a discovery request, the package vdr-plugin-sa
---
@@ -6120,8 +6120,8 @@ If a Sat>IP Server responds to a discovery request, the package vdr-plugin-sa
---
@@ -6136,12 +6136,12 @@ If a Sat>IP Server responds to a discovery request, the package vdr-plugin-sa
---
@@ -6152,8 +6152,8 @@ If a Sat>IP Server responds to a discovery request, the package vdr-plugin-sa
---
@@ -6194,12 +6194,12 @@ If a Sat>IP Server responds to a discovery request, the package vdr-plugin-sa
---
@@ -6210,8 +6210,8 @@ If a Sat>IP Server responds to a discovery request, the package vdr-plugin-sa
---
@@ -6221,8 +6221,8 @@ If a Sat>IP Server responds to a discovery request, the package vdr-plugin-sa
---
@@ -6272,15 +6272,15 @@ If a Sat>IP Server responds to a discovery request, the package vdr-plugin-sa
How to get a driver for the TT-6400 FF card? Needed firmware files are in the yavdr-firmware
package.
--- @@ -6291,8 +6291,8 @@ How to get a driver for the TT-6400 FF card? Needed firmware files are in the
--- @@ -6310,12 +6310,12 @@ How to get a driver for the TT-6400 FF card? Needed firmware files are in the
--- @@ -6326,8 +6326,8 @@ How to get a driver for the TT-6400 FF card? Needed firmware files are in the
--- @@ -6347,12 +6347,12 @@ How to get a driver for the TT-6400 FF card? Needed firmware files are in the
--- @@ -6363,8 +6363,8 @@ How to get a driver for the TT-6400 FF card? Needed firmware files are in the
--- @@ -6380,19 +6380,19 @@ How to get a driver for the TT-6400 FF card? Needed firmware files are in the
This role preconfigures the system for serial „homebrew“ receivers. Newer kernel versions provide serial_ir
which acts as a rc-core driver, so we don’t need lircd - eventlircd can use the device directly.
-As configured in the role yavdr-remote (/etc/rc_maps.cfg) a keytable for a RC-6 MCE remote is loaded by default. You can choose a different keymap which may also use another ir-protocol. +As configured in the role yavdr-remote (/etc/rc_maps.cfg) a keytable for a RC-6 MCE remote is loaded by default. You can choose a different keymap which may also use another ir-protocol.
--- @@ -6403,8 +6403,8 @@ As configured in the role yavdr-remote (/etc/rc_maps.cfg
--- @@ -6432,12 +6432,12 @@ As configured in the role yavdr-remote (/etc/rc_maps.cfg