linuxmint / linuxmint/cinnamon

fn key state inversion (persistent through reboot)

Open
#12,979 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

BUG
Dominant language
JavaScript
Stars
5.6k
Forks
915
Avg merge
5d 22h
Merged PRs (30d)
3

Description

Distribution

LMDE 6

Package version

6.4.8

Graphics hardware in use

Intel HD Graphics 620

Frequency

Always

Bug description

Issue with external keyboard, which inverses fn-key state.
This persists through full reboot.

Tested with LMDE 6 and Linux Mint 22.1, both affected.
This bug does also affect Gnome.
This bug does not affect the tty, lightdm, sddm, or KDE.

Steps to reproduce
  • connect a USB keyboard
  • wait for screen lock / suspend
  • unlock / wake up
Expected behavior

It shouldn't inverse any key's state.

Additional information
System:
  Kernel: 6.1.0-37-amd64 arch: x86_64 bits: 64 compiler: gcc v: 12.2.0 Desktop: Cinnamon v: 6.4.8
    tk: GTK v: 3.24.38 wm: muffin vt: 7 dm: LightDM v: 1.26.0 Distro: LMDE 6 Faye
    base: Debian 12.1 bookworm
Machine:
  Type: Laptop System: Acer product: TravelMate X349-G2-M v: V1.11 serial: <superuser required>
    Chassis: type: 10 serial: <superuser required>
  Mobo: Acer model: Cassiopeia_SK v: V1.11 serial: <superuser required> UEFI: Insyde v: 1.11
    date: 11/21/2017
Battery:
  ID-1: BAT0 charge: 40.7 Wh (95.3%) condition: 42.7/48.3 Wh (88.4%) volts: 15.3 min: 15.2
    model: AC14B8K type: Li-ion serial: N/A status: discharging
CPU:
  Info: dual core model: Intel Core i7-7500U bits: 64 type: MT MCP smt: enabled
    arch: Amber/Kaby Lake note: check rev: 9 cache: L1: 128 KiB L2: 512 KiB L3: 4 MiB
  Speed (MHz): avg: 3500 min/max: 400/3500 cores: 1: 3500 2: 3500 3: 3500 4: 3500 bogomips: 23199
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel HD Graphics 620 vendor: Acer Incorporated ALI driver: i915 v: kernel
    arch: Gen-9.5 ports: active: eDP-1 empty: DP-1,HDMI-A-1,HDMI-A-2 bus-ID: 00:02.0
    chip-ID: 8086:5916 class-ID: 0300
  Device-2: Chicony HD WebCam type: USB driver: uvcvideo bus-ID: 1-7:4 chip-ID: 04f2:b577
    class-ID: 0e02
  Display: x11 server: X.Org v: 1.21.1.7 with: Xwayland v: 22.1.9 driver: X: loaded: modesetting
    unloaded: fbdev,vesa dri: iris gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1366x768 s-dpi: 96 s-size: 361x203mm (14.21x7.99") s-diag: 414mm (16.31")
  Monitor-1: eDP-1 model-id: HKC 0x36bd res: 1366x768 hz: 60 dpi: 112
    size: 309x174mm (12.17x6.85") diag: 355mm (14") modes: 1366x768
  API: OpenGL v: 4.6 Mesa 22.3.6 renderer: Mesa Intel HD Graphics 620 (KBL GT2)
    direct-render: Yes
Audio:
  Device-1: Intel Sunrise Point-LP HD Audio vendor: Acer Incorporated ALI driver: snd_hda_intel
    v: kernel bus-ID: 00:1f.3 chip-ID: 8086:9d71 class-ID: 0403
  API: ALSA v: k6.1.0-37-amd64 status: kernel-api
  Server-1: PipeWire v: 0.3.65 status: active with: 1: pipewire-pulse status: active
    2: wireplumber status: active 3: pipewire-alsa type: plugin
Network:
  Device-1: Intel Wireless 7265 driver: iwlwifi v: kernel pcie: speed: 2.5 GT/s lanes: 1
    bus-ID: 02:00.0 chip-ID: 8086:095a class-ID: 0280
  IF: wlp2s0 state: up mac: <filter>
Bluetooth:
  Device-1: Intel Bluetooth wireless interface type: USB driver: btusb v: 0.8 bus-ID: 1-5:2
    chip-ID: 8087:0a2a class-ID: e001
  Report: hciconfig ID: hci0 rfk-id: 2 state: down bt-service: enabled,running rfk-block:
    hardware: no software: yes address: <filter>
Drives:
  Local Storage: total: 476.94 GiB used: 40.23 GiB (8.4%)
  ID-1: /dev/nvme0n1 vendor: Intel model: SSDPEKKW512G7 size: 476.94 GiB speed: 31.6 Gb/s
    lanes: 4 type: SSD serial: <filter> rev: PSF109C temp: 29.9 C scheme: GPT
Partition:
  ID-1: / size: 91.72 GiB used: 22.21 GiB (24.2%) fs: ext4 dev: /dev/nvme0n1p2
  ID-2: /boot/efi size: 598.8 MiB used: 5.8 MiB (1.0%) fs: vfat dev: /dev/nvme0n1p1
  ID-3: /home size: 375.53 GiB used: 9.01 GiB (2.4%) fs: ext4 dev: /dev/nvme0n1p3
Swap:
  Alert: No swap data was found.
USB:
  Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 12 rev: 2.0 speed: 480 Mb/s
    chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 1-2:6 info: Logitech Optical Wheel Mouse type: Mouse driver: hid-generic,usbhid
    interfaces: 1 rev: 2.0 speed: 1.5 Mb/s power: 100mA chip-ID: 046d:c018 class-ID: 0301
  Device-2: 1-5:2 info: Intel Bluetooth wireless interface type: Bluetooth driver: btusb
    interfaces: 2 rev: 2.0 speed: 12 Mb/s power: 100mA chip-ID: 8087:0a2a class-ID: e001
  Device-3: 1-6:3 info: LighTuning EgisTec Touch Fingerprint Sensor type: <vendor specific>
    driver: N/A interfaces: 1 rev: 1.1 speed: 12 Mb/s power: 100mA chip-ID: 1c7a:0570 class-ID: 0000
    serial: <filter>
  Device-4: 1-7:4 info: Chicony HD WebCam type: Video driver: uvcvideo interfaces: 2 rev: 2.0
    speed: 480 Mb/s power: 500mA chip-ID: 04f2:b577 class-ID: 0e02
Device-5: 1-8:5 info: Realtek RTS5129 Card Reader Controller type: <vendor specific>
    driver: rtsx_usb,rtsx_usb_ms,rtsx_usb_sdmmc interfaces: 1 rev: 2.0 speed: 480 Mb/s power: 500mA
    chip-ID: 0bda:0129 class-ID: ff00 serial: <filter>
  Hub-2: 2-0:1 info: Super-speed hub ports: 6 rev: 3.0 speed: 5 Gb/s chip-ID: 1d6b:0003
    class-ID: 0900
Sensors:
  System Temperatures: cpu: 83.0 C pch: 51.5 C mobo: N/A
  Fan Speeds (RPM): N/A
Repos:
  Packages: 2176 pm: dpkg pkgs: 2157 pm: flatpak pkgs: 19
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
    1: deb https: //mirror.as20647.net/linuxmint-packages faye main upstream import backport
    2: deb http: //mirror.23m.com/debian bookworm main contrib non-free non-free-firmware
    3: deb http: //mirror.23m.com/debian bookworm-updates main contrib non-free non-free-firmware
    4: deb http: //security.debian.org/ bookworm-security main contrib non-free non-free-firmware
    5: deb http: //mirror.23m.com/debian bookworm-backports main contrib non-free non-free-firmware
Info:
  Processes: 245 Uptime: 3m wakeups: 3 Memory: 7.63 GiB used: 5.09 GiB (66.7%) Init: systemd v: 252
  target: graphical (5) default: graphical Compilers: gcc: 12.2.0 alt: 12 Client: Cinnamon v: 6.4.8
  inxi: 3.3.26

The external keyboard used is Cherry KC 1000, which itself has no fn-key, in case that might matter.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce on Cinnamon 6.4.8 with a USB Cherry KC 1000 keyboard, focusing on the transition after screen lock or suspend and wake. Compare behavior in Cinnamon with tty, LightDM, SDDM, and KDE; done means the key state no longer inverts after wake or reboot.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux
Domain
desktop, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.