1 |
Hello, gentooers in general and Alan in particular |
2 |
|
3 |
I've been using Alan Mackenzie's patch until kernel 5.13, with |
4 |
success. It failed with 5.14.4 --yes, I know, but it doesn't hurt to |
5 |
try :) |
6 |
|
7 |
Jorge Almeida |
8 |
|
9 |
Just in case it is useful: |
10 |
|
11 |
(Stripping trailing CRs from patch; use --binary to disable.) |
12 |
patching file ./include/linux/vt_kern.h |
13 |
Hunk #1 succeeded at 115 (offset -12 lines). |
14 |
(Stripping trailing CRs from patch; use --binary to disable.) |
15 |
patching file ./include/linux/console_struct.h |
16 |
Hunk #1 succeeded at 110 (offset 1 line). |
17 |
(Stripping trailing CRs from patch; use --binary to disable.) |
18 |
patching file ./drivers/video/fbdev/core/fbcon.c |
19 |
Hunk #1 succeeded at 3053 with fuzz 2 (offset -31 lines). |
20 |
(Stripping trailing CRs from patch; use --binary to disable.) |
21 |
patching file ./drivers/video/console/Kconfig |
22 |
(Stripping trailing CRs from patch; use --binary to disable.) |
23 |
patching file ./drivers/tty/vt/vt.c |
24 |
Hunk #11 succeeded at 1358 with fuzz 2. |
25 |
Hunk #12 succeeded at 1454 (offset -1 lines). |
26 |
Hunk #13 succeeded at 1519 (offset -1 lines). |
27 |
Hunk #16 FAILED at 3264. |
28 |
Hunk #18 succeeded at 3709 (offset -7 lines). |
29 |
Hunk #19 succeeded at 3736 (offset -7 lines). |
30 |
Hunk #20 succeeded at 3797 (offset -7 lines). |
31 |
Hunk #21 succeeded at 4497 (offset -8 lines). |
32 |
Hunk #22 succeeded at 4798 (offset -8 lines). |
33 |
1 out of 22 hunks FAILED -- saving rejects to file ./drivers/tty/vt/vt.c.rej |
34 |
## cat ./drivers/tty/vt/vt.c.rej |
35 |
--- ./drivers/tty/vt/vt.c.orig 2020-12-13 22:41:30.000000000 +0000 |
36 |
+++ ./drivers/tty/vt/vt.c 2021-04-05 16:20:32.624563241 +0000 |
37 |
@@ -3264,6 +3640,14 @@ |
38 |
|
39 |
param.vc = vc; |
40 |
|
41 |
+ /* NEW STOUGH, 2021-04-03 */ |
42 |
+#ifdef CONFIG_FRAMEBUFFER_CONSOLE_SOFT_SCROLLBACK |
43 |
+ /* Undo any soft scrolling - <Alt><Fn> and <Shift><PgUp/Down> do |
44 |
+ not pass through this function. */ |
45 |
+ concon_set_origin (vc); |
46 |
+#endif |
47 |
+ /* END OF NEW STOUGH */ |
48 |
+ |
49 |
while (!tty->stopped && count) { |
50 |
int orig = *buf; |
51 |
buf++; |