Merge branch 'bionic' of https://github.com/yavdr/yavdr-ansible into bionic
This commit is contained in:
commit
d68cbc252a
946
Manual.html
946
Manual.html
File diff suppressed because it is too large
Load Diff
28
Manual.org
28
Manual.org
@ -121,7 +121,7 @@ either directly or using a configuration wizard or a web frontend
|
|||||||
- nvidia :: softhddevice-openglosd (if no HEVC channels are needed)
|
- nvidia :: softhddevice-openglosd (if no HEVC channels are needed)
|
||||||
|
|
||||||
* Introduction
|
* Introduction
|
||||||
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 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.
|
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.
|
||||||
* Installing and configuring yaVDR with Ansible
|
* Installing and configuring yaVDR with Ansible
|
||||||
This is an experimental feature which allows to set up a yaVDR installation based on a normal Ubuntu Server 16.04.x installation using [[http://ansible.com][Ansible]].
|
This is an experimental feature which allows to set up a yaVDR installation based on a normal Ubuntu Server 16.04.x installation using [[http://ansible.com][Ansible]].
|
||||||
|
|
||||||
@ -1014,8 +1014,6 @@ lircd0_socket: /var/run/lirc/lircd0
|
|||||||
with_items:
|
with_items:
|
||||||
- yavdr-remote
|
- yavdr-remote
|
||||||
- lirc
|
- lirc
|
||||||
- eventlircd
|
|
||||||
- lircd2uinput
|
|
||||||
tags:
|
tags:
|
||||||
- packages
|
- packages
|
||||||
|
|
||||||
@ -1047,6 +1045,16 @@ lircd0_socket: /var/run/lirc/lircd0
|
|||||||
tags:
|
tags:
|
||||||
- systemd
|
- systemd
|
||||||
|
|
||||||
|
- name: apt | install eventlircd and lircd2uinput
|
||||||
|
apt:
|
||||||
|
name: '{{ item }}'
|
||||||
|
state: present
|
||||||
|
with_items:
|
||||||
|
- eventlircd
|
||||||
|
- lircd2uinput
|
||||||
|
tags:
|
||||||
|
- packages
|
||||||
|
|
||||||
- name: configure vdr to read from a lircd-compatible socket
|
- name: configure vdr to read from a lircd-compatible socket
|
||||||
template:
|
template:
|
||||||
src: templates/03-vdr-lirc.conf.j2
|
src: templates/03-vdr-lirc.conf.j2
|
||||||
@ -3637,11 +3645,8 @@ It would be nice to be able to detect if it is suitable to install those drivers
|
|||||||
Vendor-IDs:
|
Vendor-IDs:
|
||||||
- eb1a:5[1b2] (alte Generation)
|
- eb1a:5[1b2] (alte Generation)
|
||||||
- 2659:* (neuere Sticks)
|
- 2659:* (neuere Sticks)
|
||||||
*** TODO dddvb-dkms if only newer DD cards are detected
|
*** TODO drivers for TT S2-6400 FF
|
||||||
*** TODO media-build-experimental (up to kernel 4.8) for "old" cards like TT S2-6400 FF
|
https://github.com/s-moch/linux-saa716x - kann man den relevanten Teil als dkms-Paket bauen?
|
||||||
*** TODO newly merged DD drivers
|
|
||||||
from http://www.vdr-portal.de/board18-vdr-hardware/board102-dvb-karten/120817-treiber-der-cine-ctv6-ddbridge-ci-in-den-kernel-integrieren/
|
|
||||||
|
|
||||||
** autoinstall-ubuntu-drivers
|
** autoinstall-ubuntu-drivers
|
||||||
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.
|
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.
|
||||||
*** tasks
|
*** tasks
|
||||||
@ -5031,7 +5036,12 @@ def parse_xrandr_verbose(iterator):
|
|||||||
def parse_edid_data(edid):
|
def parse_edid_data(edid):
|
||||||
vendor = "Unknown"
|
vendor = "Unknown"
|
||||||
model = "Unknown"
|
model = "Unknown"
|
||||||
data = subprocess.check_output("parse-edid < {}".format(edid), shell=True, universal_newlines=True)
|
try:
|
||||||
|
data = subprocess.check_output("parse-edid < {}".format(edid),
|
||||||
|
shell=True, universal_newlines=True)
|
||||||
|
except subprocess.CalledProcessError:
|
||||||
|
pass
|
||||||
|
else:
|
||||||
for line in data.splitlines():
|
for line in data.splitlines():
|
||||||
if "VendorName" in line:
|
if "VendorName" in line:
|
||||||
vendor = line.strip().split('"')[1]
|
vendor = line.strip().split('"')[1]
|
||||||
|
@ -174,7 +174,12 @@ def parse_xrandr_verbose(iterator):
|
|||||||
def parse_edid_data(edid):
|
def parse_edid_data(edid):
|
||||||
vendor = "Unknown"
|
vendor = "Unknown"
|
||||||
model = "Unknown"
|
model = "Unknown"
|
||||||
data = subprocess.check_output("parse-edid < {}".format(edid), shell=True, universal_newlines=True)
|
try:
|
||||||
|
data = subprocess.check_output("parse-edid < {}".format(edid),
|
||||||
|
shell=True, universal_newlines=True)
|
||||||
|
except subprocess.CalledProcessError:
|
||||||
|
pass
|
||||||
|
else:
|
||||||
for line in data.splitlines():
|
for line in data.splitlines():
|
||||||
if "VendorName" in line:
|
if "VendorName" in line:
|
||||||
vendor = line.strip().split('"')[1]
|
vendor = line.strip().split('"')[1]
|
||||||
|
1
roles/yavdr-remote/defaults/main.yml
Normal file
1
roles/yavdr-remote/defaults/main.yml
Normal file
@ -0,0 +1 @@
|
|||||||
|
lircd0_socket: /var/run/lirc/lircd0
|
@ -8,8 +8,6 @@
|
|||||||
with_items:
|
with_items:
|
||||||
- yavdr-remote
|
- yavdr-remote
|
||||||
- lirc
|
- lirc
|
||||||
- eventlircd
|
|
||||||
- lircd2uinput
|
|
||||||
tags:
|
tags:
|
||||||
- packages
|
- packages
|
||||||
|
|
||||||
@ -41,6 +39,16 @@
|
|||||||
tags:
|
tags:
|
||||||
- systemd
|
- systemd
|
||||||
|
|
||||||
|
- name: apt | install eventlircd and lircd2uinput
|
||||||
|
apt:
|
||||||
|
name: '{{ item }}'
|
||||||
|
state: present
|
||||||
|
with_items:
|
||||||
|
- eventlircd
|
||||||
|
- lircd2uinput
|
||||||
|
tags:
|
||||||
|
- packages
|
||||||
|
|
||||||
- name: configure vdr to read from a lircd-compatible socket
|
- name: configure vdr to read from a lircd-compatible socket
|
||||||
template:
|
template:
|
||||||
src: templates/03-vdr-lirc.conf.j2
|
src: templates/03-vdr-lirc.conf.j2
|
||||||
|
Loading…
Reference in New Issue
Block a user