Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #77043

Bug#1006251: USB Lenovo ThinkPad Compact Keyboard has fn_lock inverted

From Josh Triplett <josh@joshtriplett.org>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#1006251: USB Lenovo ThinkPad Compact Keyboard has fn_lock inverted
Date 2022-11-11 18:10 +0100
Message-ID <FqFHr-31ZR-1@gated-at.bofh.it> (permalink)
References <DTrnH-3skv-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


I have an external ThinkPad USB keyboard:

$ lsusb | grep -i keyboard
Bus 003 Device 022: ID 17ef:6047 Lenovo ThinkPad Compact Keyboard with TrackPoint

The Linux kernel exposes a fn_lock attribute in sysfs for this keyboard:

$ cat
sys/devices/pci0000:00/0000:00:14.0/usb3/3-5/3-5.4/3-5.4.3/3-5.4.3:1.1/0003:17EF:6047.000F/fn_lock
1

However, this attribute appears inverted for this particular keyboard:
it seems to be 1 when FnLock is *disabled* and 0 when FnLock is
*enabled*. In order to enable FnLock, I have to write 0 to this file.

(Also, separately from that, it would be nice if the kernel could handle
fn_lock toggling *internally*, rather than expecting userspace to do it.
As far as I can tell, it does handle similar things for some keyboards,
but not this one.)

Back to linux.debian.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#1006251: USB Lenovo ThinkPad Compact Keyboard has fn_lock inverted Josh Triplett <josh@joshtriplett.org> - 2022-02-22 01:40 +0100
  Bug#1006251: USB Lenovo ThinkPad Compact Keyboard has fn_lock inverted Salvatore Bonaccorso <carnil@debian.org> - 2022-02-25 14:50 +0100
    Bug#1006251: USB Lenovo ThinkPad Compact Keyboard has fn_lock inverted Josh Triplett <josh@joshtriplett.org> - 2022-11-11 18:10 +0100
      Bug#1006251: USB Lenovo ThinkPad Compact Keyboard has fn_lock inverted Salvatore Bonaccorso <carnil@debian.org> - 2022-11-11 20:50 +0100
  Processed: Re: Bug#1006251: USB Lenovo ThinkPad Compact Keyboard  has fn_lock inverted "Debian Bug Tracking System" <owner@bugs.debian.org> - 2022-02-25 14:50 +0100
  Bug#1006251: marked as done (USB Lenovo ThinkPad Compact Keyboard  has fn_lock inverted) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2022-11-11 17:00 +0100
  Bug#1006251: Closing this bug (BTS maintenance for src:linux bugs) Josh Triplett <josh@joshtriplett.org> - 2022-11-11 18:10 +0100
  Bug#1006251: USB Lenovo ThinkPad Compact Keyboard has fn_lock inverted Josh Triplett <josh@joshtriplett.org> - 2022-11-11 18:10 +0100
    Bug#1006251: USB Lenovo ThinkPad Compact Keyboard has fn_lock inverted Jamie Lentin <jm@lentin.co.uk> - 2022-11-12 17:00 +0100
  Processed: Re: Bug#1006251: USB Lenovo ThinkPad Compact Keyboard  has fn_lock inverted "Debian Bug Tracking System" <owner@bugs.debian.org> - 2022-11-11 20:50 +0100

csiph-web