When a system, which has an FB driver and fbcon loaded and active,
then the font state gets lost on console takeovers, as for example
issued by i915. Since fbcon remains loaded and active, the existing
event handling (add/vtcon*) is not sufficient.
---
This goes on top of the other patchset I sent earlier.
 "[PATCH 1/2] vconsole: match on vtcon events, not fbcon ones"

 src/vconsole/90-vconsole.rules.in | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/vconsole/90-vconsole.rules.in 
b/src/vconsole/90-vconsole.rules.in
index 35b9ad5..e05ecbf 100644
--- a/src/vconsole/90-vconsole.rules.in
+++ b/src/vconsole/90-vconsole.rules.in
@@ -8,3 +8,7 @@
 # Each vtcon keeps its own state of fonts.
 #
 ACTION=="add", SUBSYSTEM=="vtconsole", KERNEL=="vtcon*", 
RUN+="@rootlibexecdir@/systemd-vconsole-setup"
+
+# Handle the case of console takeover where the fb device is replaced.
+#
+ACTION=="add", SUBSYSTEM=="graphics", KERNEL=="fb[0-9]*", 
RUN+="@rootlibexecdir@/systemd-vconsole-setup"
-- 
2.1.4

_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to