All of lore.kernel.org
 help / color / mirror / Atom feed
* USB Lenovo ThinkPad Compact Keyboard has fn_lock inverted
@ 2022-11-11 17:06 Josh Triplett
  2022-11-12 15:23 ` Jamie Lentin
  0 siblings, 1 reply; 2+ messages in thread
From: Josh Triplett @ 2022-11-11 17:06 UTC (permalink / raw)
  To: linux-input, Jamie Lentin; +Cc: 1006251

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.)

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-11-12 15:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-11 17:06 USB Lenovo ThinkPad Compact Keyboard has fn_lock inverted Josh Triplett
2022-11-12 15:23 ` Jamie Lentin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.