Re: git: f39f827222f7 - main - vt.4: Provide a hint about Fn + K Scroll Lock combination

From: Tomoaki AOKI <junchoon_at_dec.sakura.ne.jp>
Date: Thu, 21 Jul 2022 22:26:05 UTC
On Thu, 21 Jul 2022 20:14:58 +0200
Mateusz Piotrowski <0mp@FreeBSD.org> wrote:

> On 21/07/2022 17:11, Tomoaki AOKI wrote:
> > FYI: Recent Lenovo ThinkPad uses Fn + B for Scroll Lock.
> On T480 Fn+B produces Break (checked with xev(1)).

Fn + B works as Scroll Lock "on vt console" fo me on my ThinkPad P52.
But it doesn't work on X. Maybe UEFI emulates it and vt uses it, but X
doesn't.

On my ThinkPad P52, using xev on X, Fn + B (press Fn, holding it, then
press B, release both) generates events below.


KeyPress event, serial 40, synthetic NO, window 0x4200001,
    root 0x228, subw 0x0, time 47191654, (169,-32), root:(177,102),
    state 0x10, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyPress event, serial 40, synthetic NO, window 0x4200001,
    root 0x228, subw 0x0, time 47191654, (169,-32), root:(177,102),
    state 0x14, keycode 127 (keysym 0xff6b, Break), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 40, synthetic NO, window 0x4200001,
    root 0x228, subw 0x0, time 47191654, (169,-32), root:(177,102),
    state 0x14, keycode 127 (keysym 0xff6b, Break), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 40, synthetic NO, window 0x4200001,
    root 0x228, subw 0x0, time 47191655, (169,-32), root:(177,102),
    state 0x14, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False


-- 
Tomoaki AOKI    <junchoon@dec.sakura.ne.jp>