Commit Graph

98 Commits

Author SHA1 Message Date
Alexander Grothe
e2e7ec8a0c Update Manual.html 2019-05-15 19:55:51 +02:00
Alexander Grothe
3ebd5df3cb Cleanup 2019-05-09 11:40:51 +02:00
Alexander Grothe
7459c79595 Cleanup unneeded variable first_run 2019-05-06 18:27:12 +02:00
Alexander Grothe
ce24cedf53 Replace nouveau driver with nvidia driver on first run
According to https://nouveau.freedesktop.org/wiki/KernelModeSetting/
it ist possible to unload the noveau and kms drivers an replace them
with the nvidia driver.

Warning: This causes the console output to freeze until
the next reboot (which shouldn't matter much because we want to output
via Xorg).

The yavdr-xorg role performs the equivalent of those command if
the module nouveau is loaded:

echo 0 > /sys/class/vtconsole/vtcon1/bind
rmmod nouveau
rmmod ttm
rmmod drm_kms_helper
rmmod drm
modprobe nvidia
systemctl start nvidia-persistenced

TODO: is the variable first_run still needed?
2019-05-06 18:23:27 +02:00
Alexander Grothe
4973ca953f Update Manual.html 2019-03-26 14:27:22 +01:00
Alexander Grothe
d306eb118e Update Manual.html 2019-03-26 10:34:31 +01:00
Alexander Grothe
f9a61eece0 Fix path for svdrphosts.conf template expansion 2019-03-24 12:31:04 +01:00
Alexander Grothe
62473292fc Add template for svdrphosts.conf
you can define additional hosts or subnets (default is to allow access
from localhost) in svdrphosts.conf by
creating a list variable vdr_svdrphosts - e.g. in host_vars/localhost
or in group_vars/all:

vdr_svdrphosts:
   - 192.168.0.0/24

also cleanup some of the structure in Manual.org and update Manual.html
2019-03-24 12:11:52 +01:00
Alexander Grothe
d86e5f2159 Update Manual.html 2019-03-12 09:38:31 +01:00
Alexander Grothe
c706146eac Update Manual.org and Manual.html 2019-03-10 20:41:01 +01:00
Alexander Grothe
b816a03d69 Fix syntax error in state value 2019-02-22 15:45:00 +01:00
Alexander Grothe
71c2079f53 Fix video output driver for softhddevice when an intel igp is used.
it's va-api instead of va-pi - thanks to beinhart (vdr-portal.de) for noticing.
2019-02-22 13:36:09 +01:00
Alexander Grothe
08ed05594e Allow Dual Screen Configurations for intel IGPs
improve xrandr_facts.py to match drm and xrandr outputs

TODO: use drm.edid_firmware kernel boot parameter to load EDID files
  on startup
2019-02-22 00:12:02 +01:00
Alexander Grothe
4bdabc7992 Update Manual.html 2019-01-19 12:27:41 +01:00
Alexander Grothe
58859dd8d7 Add support for drm subsystem to xrandr_facts.py 2019-01-07 10:33:27 +01:00
Alexander Grothe
89c7254d43 Further cleanup or rc_maps.cfg.j2 2019-01-02 21:27:55 +01:00
Alexander Grothe
6522156b07 Reorganize rc_map.cfg.j2 template
ir-keytable uses the first match for a driver keytable combination (thanks to gotscha
https://www.vdr-portal.de/forum/index.php?thread/131575-yavdr-ansible/&postID=1310666#post1310666
for pointing this out).
2019-01-02 21:17:21 +01:00
Alexander Grothe
1622bbd6e6 Run ir-keytable only if installed 2019-01-02 17:22:33 +01:00
Alexander Grothe
7dd080e9e7 Add hook to reload rc-core keytables on resume 2019-01-02 17:16:11 +01:00
Alexander Grothe
f253d7c864 Add comments to templates for serial-ir 2019-01-02 12:08:37 +01:00
Alexander Grothe
81aeade96c Fix paths for templates 2019-01-02 10:22:52 +01:00
Alexander Grothe
b45785bb6d Fix typos in playbook files 2019-01-02 10:13:18 +01:00
Alexander Grothe
f1709c8494 rename variable serial_device to serial_ir_device
and add an entry for the serial-ir role to the playbook (commented out
by default, so the user has to enable it if required)
2019-01-02 09:26:56 +01:00
Alexander Grothe
326c7d3119 Add role for serial ir receivers
TODO: test role for serial_device=ttyS0 and serial_device=ttyS1
2019-01-01 23:48:31 +01:00
Alexander Grothe
21710fc62b Add install script for headless installation 2018-12-31 19:42:02 +01:00
Alexander Grothe
b4afe5129f Update Manual.html 2018-12-11 14:01:50 +01:00
Alexander Grothe
591579a492 Update URLs for HTML/css theme readtheorg 2018-11-29 22:43:13 +01:00
Alexander Grothe
96b029fd24 Update usage of apt module, move away from deprecated loop approach 2018-10-05 17:49:39 +02:00
Alexander Grothe
c4ddbb135a Deduplicate xrandr_facts.py 2018-10-01 11:12:24 +02:00
Alexander Grothe
1fbd634d43 Add example script to switch primary and secondary display applications
also don't run detect-second-display multiple times during a session.
2018-09-30 10:57:26 +02:00
Alexander Grothe
ae5d68ed79 Don't overwrite .lircrc in vdr's home directory if it already exists 2018-09-30 10:38:20 +02:00
Alexander Grothe
553ff47248 Merge branch 'bionic' of https://github.com/yavdr/yavdr-ansible into bionic 2018-09-30 10:23:05 +02:00
Alexander Grothe
2d966364e5 Improve switching primary and secondary display 2018-09-30 10:17:20 +02:00
Alexander Grothe
f1c422d151 Update Manual.html 2018-09-24 23:01:53 +02:00
Alexander Grothe
244d5b63c1 Update Manual.html 2018-09-20 09:01:30 +02:00
Alexander Grothe
4286ede906 Add unique IDs to each section (so html ankers should be static) 2018-09-20 09:00:22 +02:00
Alexander Grothe
47061871ed Update Manual.html 2018-09-11 14:51:26 +02:00
Alexander Grothe
619a46649e Add openbox rule for softhdcuvid window 2018-09-11 14:31:46 +02:00
Alexander Grothe
f6f5dc59ca Add PPA for Ansible 2.6
so ansible_virtualization_type and ansible_virtualization_role are
always defined. This ist important on older Hardware (e.g. AMD64 3000+).
2018-09-05 12:23:30 +02:00
Alexander Grothe
4c78cdf79a Update Manual.html 2018-09-04 13:22:41 +02:00
Alexander Grothe
9d9ac03f5d Update Manual.org and Manual.html 2018-08-10 08:13:55 +02:00
Alexander Grothe
4cbb78ca34 Update Manual.html 2018-06-02 20:04:57 +02:00
Alexander Grothe
96b19af073 Update Manual.html 2018-05-20 09:14:13 +02:00
Alexander Grothe
de6ea4615b Disable dpms for second display 2018-05-18 10:34:16 +02:00
Alexander Grothe
3f989fcffb Do not enable eventlircd.socket in autoinstall-yausbir
eventlircd.socket is enabled and started by yavdr-remote.
2018-05-12 21:22:22 +02:00
Alexander Grothe
7b83faf750 Merge branch 'bionic' of https://github.com/yavdr/yavdr-ansible into bionic 2018-05-12 21:21:27 +02:00
Alexander Grothe
d87fcd98f4 Do not enable eventlircd.socket
eventlircd.socket should already have been enabled by yavdr-remote
2018-05-12 21:16:41 +02:00
Alexander Grothe
65dc2b4fd7 Allow overriding preferred refresh rate, resolution and connection
for xrandr_facts module. You can set own preferences e.g. in a
host_vars/localhost.yml using the variables preferred_refreshrates,
preferred_resolutions and preferred_outputs (see
roles/yavdr-xorg/default/main.yml for default values).
2018-05-10 22:04:45 +02:00
Alexander Grothe
70945dc97b Add error handling for parse-edid call.
If parse-edid can not parse the given edid, use "Unknown" for vendor
and model name.
2018-05-08 10:28:25 +02:00
Alexander Grothe
6724ddcc23 Install lircd2uinput after eventlircd 2018-05-06 19:26:04 +02:00