# \[SOLVED\] Fn lock broken

**URL:** <https://community.frame.work/t/solved-fn-lock-broken/28513>\
**Category:** Linux\
**Tags:** ubuntu\
**Created:** [March 26, 2023, 1:52pm UTC](https://community.frame.work/t/solved-fn-lock-broken/28513 "2023-03-26T13:52:47Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![jean](https://avatars.discourse-cdn.com/v4/letter/j/fbc32d/32.png) [@jean](https://community.frame.work/u/jean)\
**Post date:** [March 26, 2023, 1:52pm UTC](https://community.frame.work/t/solved-fn-lock-broken/28513/1 "2023-03-26T13:52:47Z")

</div>

I’ve been using my framework laptop with KDE Plasma (currently based on Ubuntu 22.04) for more than a year now, and something weird just happened to me:

exemple with the F5 key:  
fn-lock enabled: _F5 plays music_, **fn+F5 refreshes browser page**  
fn-lock disabled: _F5 plays music_, _fn+F5 plays music_

Normal behavior should be:  
fn-lock enabled: _F5 plays music_, **fn+F5 refreshes browser page**  
fn-lock disabled: **F5 refreshes browser page** , _fn+F5 plays music_

As you can see, when fn-lock is disabled, it acts like the fn key is always pressed  
Any idea what’s going wrong ?

---

<div class="post-metadata">

**Author:** ![Christopher\_Wood](https://avatars.discourse-cdn.com/v4/letter/c/a698b9/32.png) [@Christopher\_Wood](https://community.frame.work/u/Christopher_Wood)\
**Post date:** [March 26, 2023, 7:12pm UTC](https://community.frame.work/t/solved-fn-lock-broken/28513/2 "2023-03-26T19:12:38Z")

</div>

How did you enable or disable function lock?

I just installed all the software updates on Fedora 37, GNOME version 43.3, and now none of the “quick actions” on the function keys work.

E.g. I used to be able to press F7 to decrease the screen brightness, but now that key is just registered as a regular F7 press. Same for all of the other function keys, including volume control - they just register as function key presses rather than changing the volume, controlling media playback, etc.

Even if i hold down the “fn” button then press any of the function keys, it still triggers a regular F-key press rather than activating any of the “quick actions”

---

<div class="post-metadata">

**Author:** ![jean](https://avatars.discourse-cdn.com/v4/letter/j/fbc32d/32.png) [@jean](https://community.frame.work/u/jean)\
**Post date:** [March 26, 2023, 9:14pm UTC](https://community.frame.work/t/solved-fn-lock-broken/28513/3 "2023-03-26T21:14:28Z")

</div>

> [@Christopher\_Wood](#):
>
> How did you enable or disable function lock?

Fn + Escape is how you switch between normal/locked

---

<div class="post-metadata">

**Author:** ![Mapleleaf](https://sea1.discourse-cdn.com/flex001/user_avatar/community.frame.work/mapleleaf/32/10505_2.png) [@Mapleleaf](https://community.frame.work/u/Mapleleaf)\
**Post date:** [March 27, 2023, 12:07am UTC](https://community.frame.work/t/solved-fn-lock-broken/28513/4 "2023-03-27T00:07:35Z")

</div>

@jean Does this behavior persist after a reboot?

---

<div class="post-metadata">

**Author:** ![jean](https://avatars.discourse-cdn.com/v4/letter/j/fbc32d/32.png) [@jean](https://community.frame.work/u/jean)\
**Post date:** [March 27, 2023, 8:16am UTC](https://community.frame.work/t/solved-fn-lock-broken/28513/5 "2023-03-27T08:16:51Z")

</div>

Yup, I tried multiple time and even switched kernel (5.15 up to 6.2)

---

<div class="post-metadata">

**Author:** ![Mapleleaf](https://sea1.discourse-cdn.com/flex001/user_avatar/community.frame.work/mapleleaf/32/10505_2.png) [@Mapleleaf](https://community.frame.work/u/Mapleleaf)\
**Post date:** [March 27, 2023, 9:41am UTC](https://community.frame.work/t/solved-fn-lock-broken/28513/6 "2023-03-27T09:41:49Z")

</div>

Ok… maybe try a mainboard reset, and if that still doesn’t work you should contact Support.

[https://guides.frame.work/Guide/Fully+Resetting+the+Mainboard+State/113](https://guides.frame.work/Guide/Fully+Resetting+the+Mainboard+State/113)

---

<div class="post-metadata">

**Author:** ![Loell\_Framework](https://avatars.discourse-cdn.com/v4/letter/l/9f8e36/32.png) [@Loell\_Framework](https://community.frame.work/u/Loell_Framework)\
**Post date:** [March 27, 2023, 9:37pm UTC](https://community.frame.work/t/solved-fn-lock-broken/28513/7 "2023-03-27T21:37:46Z")

</div>

Hi @jean , Can you try and check if it’s KDE specific behavior? try to check the global shortcut keys it’s most like on system settings, perhaps something has changed? let us know what it looks like at the moment.

---

<div class="post-metadata">

**Author:** ![jean](https://avatars.discourse-cdn.com/v4/letter/j/fbc32d/32.png) [@jean](https://community.frame.work/u/jean)\
**Post date:** [March 28, 2023, 3:44pm UTC](https://community.frame.work/t/solved-fn-lock-broken/28513/8 "2023-03-28T15:44:02Z")

</div>

Guys… I swear I rebooted multiple time and even removed the motherboard cell without any success  
But booting on a fresh Ubuntu from USB stick apparently solved the issue for me  
fn lock worked fine there, and now it works fine on my KDE install as well 🤷‍♂️

---

<div class="post-metadata">

**Author:** ![Mapleleaf](https://sea1.discourse-cdn.com/flex001/user_avatar/community.frame.work/mapleleaf/32/10505_2.png) [@Mapleleaf](https://community.frame.work/u/Mapleleaf)\
**Post date:** [March 28, 2023, 5:17pm UTC](https://community.frame.work/t/solved-fn-lock-broken/28513/9 "2023-03-28T17:17:54Z")

</div>

I believe you lol… In other threads too some people are reporting transient problems with Fn keys.  
Usually they don’t happen often (they are really rare, for me, but they do happen), and almost always go away with a reboot, but maybe your problem was a bit different.  
The issue seems to be seriously looked into, so it’s possible that a future iteration of the BIOS will fix it.

---

<div class="post-metadata">

**Author:** ![Ievgen](https://avatars.discourse-cdn.com/v4/letter/i/35a633/32.png) [@Ievgen](https://community.frame.work/u/Ievgen)\
**Post date:** [April 19, 2023, 7:56pm UTC](https://community.frame.work/t/solved-fn-lock-broken/28513/10 "2023-04-19T19:56:23Z")

</div>

Have the same issue: fn + action, or action buttons stopped working recently  
My setup: KDE neon 5.27  
fn + escape to change also does not work.

As of now f1-f12 buttons only work in f1-f12 mode - no actions (e.g. brightness increase) are available (no matter if I press fn or not):

- tried pressing fn + f1-f12
- tried pressing just f1-f12
- tried switching by fn + escape  
in all cases no actions are available

~~will try to boot from usb and see if that fixes the problem~~

Update: the issue is solved after reboot

---

<div class="post-metadata">

**Author:** ![Loell\_Framework](https://avatars.discourse-cdn.com/v4/letter/l/9f8e36/32.png) [@Loell\_Framework](https://community.frame.work/u/Loell_Framework)\
**Post date:** [April 20, 2023, 8:23am UTC](https://community.frame.work/t/solved-fn-lock-broken/28513/11 "2023-04-20T08:23:50Z")

</div>

hi @Ievgen , let us know if it happens frequently, or just a one off event.

thanks.

---

<div class="post-metadata">

**Author:** ![Ievgen](https://avatars.discourse-cdn.com/v4/letter/i/35a633/32.png) [@Ievgen](https://community.frame.work/u/Ievgen)\
**Post date:** [April 22, 2023, 9:09pm UTC](https://community.frame.work/t/solved-fn-lock-broken/28513/12 "2023-04-22T21:09:31Z")

</div>

Yes the problem repeats after reboot after couple days running without reboot - not sure about the root cause.

E.g. not right after the reboot but couple days after. My best guess is that its somehow connected with sleep mode.

I installed `evtest`, but it does show nothing when I press Fn button (both when `Fn` is not working, and when Fn is working after reboot) So it might not be the best tool for testing `Fn` stopping registering in the system.

F1+Fn and F1 has not difference when this issue happens. Below, copied output from `evtest` just turn on-turn off for F1+Fn as for F1 only its identical:

```auto
Event: time 1682197753.418585, type 4 (EV_MSC), code 4 (MSC_SCAN), value 38
Event: time 1682197753.418585, type 1 (EV_KEY), code 56 (KEY_LEFTALT), value 0
Event: time 1682197753.418585, -------------- SYN_REPORT ------------
Event: time 1682197753.430739, type 4 (EV_MSC), code 4 (MSC_SCAN), value 0f
Event: time 1682197753.430739, type 1 (EV_KEY), code 15 (KEY_TAB), value 0
Event: time 1682197753.430739, -------------- SYN_REPORT ------------

```

after reboot, Fn+F1 and F1 only - working correctly now:

```auto
Event: time 1682197870.238866, -------------- SYN_REPORT ------------
Event: time 1682197870.650673, type 4 (EV_MSC), code 4 (MSC_SCAN), value a0
Event: time 1682197870.650673, type 1 (EV_KEY), code 113 (KEY_MUTE), value 1
Event: time 1682197870.650673, -------------- SYN_REPORT ------------
Event: time 1682197870.799744, type 4 (EV_MSC), code 4 (MSC_SCAN), value a0
Event: time 1682197870.799744, type 1 (EV_KEY), code 113 (KEY_MUTE), value 0
Event: time 1682197870.799744, -------------- SYN_REPORT ------------
Event: time 1682197872.444981, type 4 (EV_MSC), code 4 (MSC_SCAN), value 3b
Event: time 1682197872.444981, type 1 (EV_KEY), code 59 (KEY_F1), value 1
Event: time 1682197872.444981, -------------- SYN_REPORT ------------
^[OPEvent: time 1682197872.562701, type 4 (EV_MSC), code 4 (MSC_SCAN), value 3b
Event: time 1682197872.562701, type 1 (EV_KEY), code 59 (KEY_F1), value 0

```

Please share more details how I can help you debugging / testing this problem.

---

<div class="post-metadata">

**Author:** ![Loell\_Framework](https://avatars.discourse-cdn.com/v4/letter/l/9f8e36/32.png) [@Loell\_Framework](https://community.frame.work/u/Loell_Framework)\
**Post date:** [April 23, 2023, 3:41pm UTC](https://community.frame.work/t/solved-fn-lock-broken/28513/13 "2023-04-23T15:41:13Z")

</div>

Hi @Ievgen

have you tried restarting just the desktop environment? see if fn keys functions recovers?

I think, just pressing Ctrl + Alt + Backspace does it,

let us know if it makes any difference.

---

<div class="post-metadata">

**Author:** ![Ievgen](https://avatars.discourse-cdn.com/v4/letter/i/35a633/32.png) [@Ievgen](https://community.frame.work/u/Ievgen)\
**Post date:** [April 28, 2023, 11:03pm UTC](https://community.frame.work/t/solved-fn-lock-broken/28513/14 "2023-04-28T23:03:29Z")

</div>

I tried to follow both methods, desktop restarts but fn button / multimedia buttons still do not work:

```auto
killall plasmashell  
kstart5 plasmashell

```

or

```auto
kquitapp5 plasmashell
kstart5 plasmashell

```

from [here](https://www.fosslinux.com/43890/how-to-restart-kde-plasma-desktop-without-rebooting.htm)

Also, restarting DE every time fn / multimedia stops working does not sound like a long-term solution 🙂

Thx for support and ping me here if you need more debugging / more details about my system.

I spotted that in 100% cases this problem occurs is after the laptop sleep mode, but it might be not the first sleep after reboot…

---

<div class="post-metadata">

**Author:** ![Ievgen](https://avatars.discourse-cdn.com/v4/letter/i/35a633/32.png) [@Ievgen](https://community.frame.work/u/Ievgen)\
**Post date:** [April 29, 2023, 2:33pm UTC](https://community.frame.work/t/solved-fn-lock-broken/28513/15 "2023-04-29T14:33:38Z")

</div>

Tried this solution: [[SOLVED] Ubuntu 22 brightness keys not working - #7 by Matt\_Hartley](http://community.frame.work/t/solved-ubuntu-22-brightness-keys-not-working/22460/7) - seems this fix is working in my case

---

<div class="post-metadata">

**Author:** ![Loell\_Framework](https://avatars.discourse-cdn.com/v4/letter/l/9f8e36/32.png) [@Loell\_Framework](https://community.frame.work/u/Loell_Framework)\
**Post date:** [May 2, 2023, 1:51am UTC](https://community.frame.work/t/solved-fn-lock-broken/28513/16 "2023-05-02T01:51:05Z")

</div>

thanks for updating this thread @Ievgen , glad matt’s suggested solution worked for you 🙂

---

<div class="post-metadata">

**Author:** ![Ievgen](https://avatars.discourse-cdn.com/v4/letter/i/35a633/32.png) [@Ievgen](https://community.frame.work/u/Ievgen)\
**Post date:** [May 2, 2023, 11:02am UTC](https://community.frame.work/t/solved-fn-lock-broken/28513/17 "2023-05-02T11:02:22Z")

</div>

Sorry, after few days after fix that stopped working again. Please notify me if you have solution for this or need additional debug info.

---

<div class="post-metadata">

**Author:** ![Matt\_Hartley](https://sea1.discourse-cdn.com/flex001/user_avatar/community.frame.work/matt_hartley/32/13623_2.png) [@Matt\_Hartley](https://community.frame.work/u/Matt_Hartley)\
**Post date:** [May 3, 2023, 12:04am UTC](https://community.frame.work/t/solved-fn-lock-broken/28513/18 "2023-05-03T00:04:38Z")

</div>

On a hunch, please try this in the terminal and reboot.

```auto
echo "blacklist cros_ec_lpcs" | sudo tee -a /etc/modprobe.d/no_cros_ec.conf

```

I don’t believe it’s related, but I’d like to rule it out as there are some issues that have affected function keys on 11th gen systems.

---

<div class="post-metadata">

**Author:** ![Ievgen](https://avatars.discourse-cdn.com/v4/letter/i/35a633/32.png) [@Ievgen](https://community.frame.work/u/Ievgen)\
**Post date:** [May 5, 2023, 5:03pm UTC](https://community.frame.work/t/solved-fn-lock-broken/28513/19 "2023-05-05T17:03:45Z")

</div>

ok, executed:

```auto
new@new-laptop:~$ echo "blacklist cros_ec_lpcs" | sudo tee -a /etc/modprobe.d/no_cros_ec.conf
[sudo] password for new: 
blacklist cros_ec_lpcs
new@new-laptop:~$ cd /etc/modprobe.d/
new@new-laptop:/etc/modprobe.d$ cat no_cros_ec.conf 
blacklist cros_ec_lpcs
new@new-laptop:/etc/modprobe.d$ ls -al
total 64
drwxr-xr-x 2 root root 4096 May 5 10:02 .
drwxr-xr-x 140 root root 12288 May 5 09:56 ..
-rw-r--r-- 1 root root 2507 Feb 22 2021 alsa-base.conf
-rw-r--r-- 1 root root 154 Oct 7 2021 amd64-microcode-blacklist.conf
-rw-r--r-- 1 root root 325 Aug 17 2021 blacklist-ath_pci.conf
-rw-r--r-- 1 root root 1518 Aug 17 2021 blacklist.conf
-rw-r--r-- 1 root root 210 Aug 17 2021 blacklist-firewire.conf
-rw-r--r-- 1 root root 677 Aug 17 2021 blacklist-framebuffer.conf
-rw-r--r-- 1 root root 156 Feb 22 2021 blacklist-modem.conf
lrwxrwxrwx 1 root root 41 Feb 14 03:51 blacklist-oss.conf -> /lib/linux-sound-base/noOSS.modprobe.conf
-rw-r--r-- 1 root root 583 Aug 17 2021 blacklist-rare-network.conf
-rw-r--r-- 1 root root 27 Apr 28 22:31 framework-als-blacklist.conf
-rw-r--r-- 1 root root 154 Aug 10 2022 intel-microcode-blacklist.conf
-rw-r--r-- 1 root root 347 Aug 17 2021 iwlwifi.conf
-rw-r--r-- 1 root root 23 May 5 10:02 no_cros_ec.conf
new@new-laptop:/etc/modprobe.d$ 

```

will report later if the issue persists (and, yes, you are right, I have 11th gen i5 model)

---

<div class="post-metadata">

**Author:** ![Matt\_Hartley](https://sea1.discourse-cdn.com/flex001/user_avatar/community.frame.work/matt_hartley/32/13623_2.png) [@Matt\_Hartley](https://community.frame.work/u/Matt_Hartley)\
**Post date:** [May 8, 2023, 6:50pm UTC](https://community.frame.work/t/solved-fn-lock-broken/28513/20 "2023-05-08T18:50:32Z")

</div>

> [@Ievgen](#):
>
> will report later if the issue persists (and, yes, you are right, I have 11th gen i5 model)

Thanks, do keep us posted.

[Next page](https://community.frame.work/t/solved-fn-lock-broken/28513.md?page=2)
