Bug 1078487 - Regression: Power button and some Fn keys (suspend, brightness) no longer respond
Summary: Regression: Power button and some Fn keys (suspend, brightness) no longer res...
Status: RESOLVED FIXED
: 1082104 (view as bug list)
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: KDE Workspace (Plasma) (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal with 5 votes (vote)
Target Milestone: ---
Assignee: E-Mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-31 11:19 UTC by Karl Cheng
Modified: 2018-03-07 13:44 UTC (History)
8 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
Logs from "journalctl -b" as root (147.14 KB, text/plain)
2018-01-31 11:19 UTC, Karl Cheng
Details
hwinfo output (1.54 MB, text/plain)
2018-02-14 12:14 UTC, Karl Cheng
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Karl Cheng 2018-01-31 11:19:10 UTC
Created attachment 758230 [details]
Logs from "journalctl -b" as root

After updating to TW 20180129, pressing the following keys has no effect:

 * Power
 * Fn + F1 (suspend)
 * Fn + F3/4 (keyboard backlight)
 * Fn + F5/6/7 (display brightness and screen off)

All of these can still be controlled using the GUI, and all other Function keys work properly.

Suspend and power button presses are logged by logind, however nothing other action occurs, even after waiting several minutes.

This was a practically brand new installation with the 20180121 ISO and no updates done before this one.
Comment 1 Karl Cheng 2018-02-04 12:54:08 UTC
To be clear, this used to work when the system was first installed, so this is a regression.
Comment 2 Andrei Amuraritei 2018-02-04 13:41:03 UTC
Hi,

My Acer Aspire V 15 V5-591G-73UT laptop (OpenSUSE TW, x64, KDE) has lost ability to change brightness from FN + left , right arrow keys.

Pressing the actual keys, I get these events (via acpi_listen): 

video/brightnessdown BRTDN 00000087 00000000
 676AA15E-6A47-4D� 000000bc 00000000
video/brightnessup BRTUP 00000086 00000000
 676AA15E-6A47-4D� 000000bc 00000000

It stopped working from 4.14.15 I think and up to current 4.15.0-1-default.

Brightness can be changed from Plasma's Battery and Brightness in systray for example.
Comment 3 Andrei Amuraritei 2018-02-04 13:42:54 UTC
Hi,

My Acer Aspire V 15 V5-591G-73UT laptop (OpenSUSE TW, x64, KDE) has lost ability to change brightness from FN + left , right arrow keys.

Pressing the actual keys, I get these events (via acpi_listen): 

video/brightnessdown BRTDN 00000087 00000000
 676AA15E-6A47-4D� 000000bc 00000000
video/brightnessup BRTUP 00000086 00000000
 676AA15E-6A47-4D� 000000bc 00000000

It stopped working from 4.14.15 I think and up to current 4.15.0-1-default.

Brightness can be changed from Plasma's Battery and Brightness in systray for example.
Comment 4 Mark Petersen 2018-02-05 23:13:13 UTC
I have the same issue on a Samsung Series 7 (NP704U3E).

xev shows:
keycode 232 X86MonBrightnessDown
keycode 233 X86MonBrightnessUp
keycode 124 X86PowerOff

Mark
Comment 6 Gabor Katona 2018-02-07 21:24:46 UTC
I have the same issue on a Dell E7470.

Power button does not work
display brightness does not work
Sleep button does not work

Keyboard backlight button works

Previously all was working. Checking with xev all keypresses are detected. Everything can be controlled from software (power applet in tray)
Comment 7 Gabor Katona 2018-02-09 10:48:35 UTC
According to wolfi323 (https://forums.opensuse.org/showthread.php/529498-Power-button-doesn-t-do-anything?p=2854483#post2854483) this may be a kernel bug.
Comment 8 Karl Cheng 2018-02-09 11:40:20 UTC
*** Bug 1079553 has been marked as a duplicate of this bug. ***
Comment 9 Maurizio Galli 2018-02-09 13:22:27 UTC
Thanks for pointing me here. I originally created bug report 1079553.

The Microphone Mute/Unmute key on my Thinkpad T460 no longer works. All the other shortcuts work.

I can toggle the microphone between mute and unmute by using:

- System tray Audio Volume Settings (key led also toggles)
- "amixer set Capture toggle" in terminal (key led also toggles)

Xev output also indicates shows me the key is recognized.

I think my issue and maybe this bug report is related to a new bug in KDE 5.12 as reported by these bugs too:

- https://bugs.kde.org/show_bug.cgi?id=390094
- https://bugs.kde.org/show_bug.cgi?id=389991 (maybe)

I tried the latest TW Gnome snapshot and all the keyboard shortcuts work as expected to.

A temporary workaround for me is to assign the Microphone key to bash script executing "amixer set Capture toggle".
Comment 10 Takashi Iwai 2018-02-14 11:28:14 UTC
Erm, please stop adding "me too" entries if you have a different laptop.
Instead, please open another bug report per laptop model.  If we figure out that it were a same culprit, we can close as dup.

Let's start from the original report.  This looks like an ASUS laptop, but need more clarification.  Karl, please give hwinfo output.

And if you still have an old kernel where the Fn key worked, please boot with it again and confirm that the Fn key still works.  Then we can narrow down the kernel regression range.
Comment 11 Karl Cheng 2018-02-14 12:14:56 UTC
Created attachment 760119 [details]
hwinfo output

(In reply to Takashi Iwai from comment #10)
> Erm, please stop adding "me too" entries if you have a different laptop.
> Instead, please open another bug report per laptop model.  If we figure out
> that it were a same culprit, we can close as dup.
> 
> Let's start from the original report.  This looks like an ASUS laptop, but
> need more clarification.  Karl, please give hwinfo output.
> 
> And if you still have an old kernel where the Fn key worked, please boot
> with it again and confirm that the Fn key still works.  Then we can narrow
> down the kernel regression range.

My apologies, it appears that this was indeed a KDE-specific issue rather than a kernel bug.

As mentioned in comment 9, kde#389991 provides instructions to manually fix this, which resolved the issue in my case.

However, I'm not sure whether this requires manual intervention or if it can be handled by a package update.

Regardless, I have attached hwinfo output for my laptop, which is indeed an ASUS UX331UA.
Comment 12 Karl Cheng 2018-02-14 12:16:37 UTC
Reassigning to KDE maintainers as this appears to not be a basesystem issue.
Comment 13 Wolfgang Bauer 2018-02-21 19:44:39 UTC
(In reply to Karl Cheng from comment #11)
> As mentioned in comment 9, kde#389991 provides instructions to manually fix
> this, which resolved the issue in my case.

Should be fixed in Plasma 5.12.2 then, which was released yesterday (it's not in the repos yet though).

> However, I'm not sure whether this requires manual intervention or if it can
> be handled by a package update.

The fix that will be in 5.12.2 should not require manual intervention AIUI. After the update, the shortcuts should get migrated again, and this time the migration should work fine.
Comment 14 Wolfgang Bauer 2018-02-21 19:47:28 UTC
*** Bug 1082104 has been marked as a duplicate of this bug. ***
Comment 15 Wolfgang Bauer 2018-03-07 13:44:40 UTC
Plasma 5.12.2 is in Tumbleweed meanwhile, so let's assume this is fixed.