From: Peter Humphrey <peter@prh.myzen.co.uk>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Soft scrolling on framebuffer consoles - with GPM handling - version of the patch for kernel 6.3 onwards.
Date: Wed, 04 Oct 2023 15:41:08 +0100 [thread overview]
Message-ID: <2703242.mvXUDI8C0e@wstn> (raw)
In-Reply-To: <ZR1lvIdRb-fd0a1n@ACM>
On Wednesday, 4 October 2023 14:16:44 BST Alan Mackenzie wrote:
> Hello, Gentoo.
>
> On Fri, Feb 03, 2023 at 18:56:27 +0000, Alan Mackenzie wrote:
>
> The topic of this post is my kernel patch which enables soft scrolling
> on Linux tty's with <shift><PgUp> and <shift><PgDn>, and also enables
> the GPM mouse utility on those scrolled regions.
>
> Currently, the patch I posted some months ago works on all 6.1.x
> kernels, and very likely works on 6.2.x, too. In kernel 6.3.1, some
> significant refactoring was done by the kernel people, necessitating a
> new version of the patch, called 6.3.11-GPM.20231004.diff. I've tested
> this on 6.3.11 and 6.5.5.
>
> Just a quick reminder of how to use these files for anybody else who
> might be interested:
> (i) cd /usr/src/linux-6.3.11-gentoo, or similar. (Or ...-6.1.x-gentoo).
> (ii) patch -p1 < 6.3.11-GPM.20231004.diff (or the other one).
> (iii) Configure the kernel as normal. Additionally, under Device
> drivers/Graphic Support/Console display driver support, enable
> CONFIG_FRAMEBUFFER_CONSOLE_SOFT_SCROLLBACK, set the buffer size to
taste
> (it's default is 128 kB) and accept the default enablement of
> CONFIG_FRAMEBUFFER_CONSOLE_SOFT_SCROLLBACK_GPM.
> (iv) Build the kernel and install it into your boot manager.
> (v) Reboot and enjoy! You can now use GPM in scrolled consoles.
>
> Just a warning: if you copy your kernel .config from a 6.1.x kernel, and
> use make oldconfig to generate a new kernel for 6.3.x etc., you will
> have to enable CONFIG_HID_SUPPORT, otherwise your USB keyboard and
mouse
> will be dead on bootup. ;-(
>
> The usual disclaimers apply, here. If this patch breaks anything for
> you, you get to join the pieces back together again. But if this does
> happen, please let me know, so that I can try to fix the bug. My only
> promise is that there's nothing malicious in the patch.
>
> As well as 6.3.11-GPM.20231004.diff, I'm reposting
> 6.1.8-GPM.20230203.diff for anybody new here who wants to try it on the
> current Gentoo 6.1.x kernel.
Many thanks again Alan. What a stalwart you are!
--
Regards,
Peter.
next prev parent reply other threads:[~2023-10-04 14:41 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-07 19:46 [gentoo-user] Soft scrolling on framebuffer consoles - New versions of the patches Alan Mackenzie
2021-10-08 7:37 ` Peter Humphrey
2022-12-12 18:23 ` [gentoo-user] Soft scrolling on framebuffer consoles - New version of the patch Alan Mackenzie
2022-12-12 19:29 ` Mike Civil
2022-12-12 19:43 ` Alan Mackenzie
2022-12-13 3:44 ` Peter Humphrey
2022-12-14 10:53 ` Alan Mackenzie
2022-12-29 19:50 ` [gentoo-user] Soft scrolling on framebuffer consoles - New version of the patch - with GPM handling Alan Mackenzie
2022-12-31 9:42 ` Peter Humphrey
2022-12-31 14:08 ` Alan Mackenzie
2022-12-31 15:47 ` Peter Humphrey
2022-12-31 16:13 ` Alan Mackenzie
2022-12-31 21:49 ` David Rosenbaum
2023-01-01 15:13 ` Alan Mackenzie
2023-01-01 15:38 ` Peter Humphrey
2023-01-26 20:28 ` Alan Mackenzie
2023-01-27 12:24 ` Peter Humphrey
2023-01-27 22:31 ` Alan Mackenzie
2023-01-28 14:41 ` Peter Humphrey
2023-02-03 18:56 ` [gentoo-user] Soft scrolling on framebuffer consoles - New (?final) " Alan Mackenzie
2023-10-04 13:16 ` [gentoo-user] Soft scrolling on framebuffer consoles - with GPM handling - version of the patch for kernel 6.3 onwards Alan Mackenzie
2023-10-04 14:41 ` Peter Humphrey [this message]
2023-10-04 17:08 ` Jorge Almeida
2023-10-04 18:59 ` Alan Mackenzie
2023-10-04 19:02 ` Jorge Almeida
2024-01-24 10:00 ` Alan Mackenzie
2024-01-24 12:20 ` [gentoo-user] Soft scrolling on framebuffer consoles - with GPM handling - version of the patch for kernel 6.6 [was 6.3] onwards Alan Mackenzie
2024-03-11 10:47 ` Peter Humphrey
2024-04-04 8:05 ` [gentoo-user] Soft scrolling on framebuffer consoles - with GPM handling - version of the patch for kernel 6.8.1 onwards Alan Mackenzie
2024-01-24 14:08 ` [gentoo-user] Soft scrolling on framebuffer consoles - with GPM handling - version of the patch for kernel 6.3 onwards Peter Humphrey
2023-09-09 15:21 ` [gentoo-user] Soft scrolling on framebuffer consoles - New version of the patch - with GPM handling David Rosenbaum
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2703242.mvXUDI8C0e@wstn \
--to=peter@prh.myzen.co.uk \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox