Public bug reported:

Problem 1:
After fresh install of Ubuntu 24.04 on a MSI P75 Creator laptop, the key 
combination Fn-F10 which toggles the Airplane mode is not working anymore, 
while it was working on Ububntu 22.04.
It is not a hardware problem, as this is dual boot machine and under Windows 10 
everything works as expected.


When pressing the Fn-F10 key combination:
0. rfkill command does not show any change in the state of both radio devices – 
wifi and bluetooth.
1. the command showkey -s|-k does not output anything
2. the command xev does doesnot output anything
3. the command evtest has the following output:

~# evtest /dev/input/event7
Input driver version is 1.0.1
Input device ID: bus 0x19 vendor 0x1 product 0x1 version 0x100
Input device name: "gpio-keys"
Supported events:
  Event type 0 (EV_SYN)
  Event type 5 (EV_SW)
    Event code 3 (SW_RFKILL_ALL) state 0
Properties:
Testing ... (interrupt to exit)
Event: time 1725492041.076456, type 5 (EV_SW), code 3 (SW_RFKILL_ALL), value 1
Event: time 1725492041.076456, -------------- SYN_REPORT ------------

but there is no change in the state of the radio devices

I think this functionality should be supported by this service:
# systemctl status | grep -i rfkill
                 │ │   └─8671 grep --color=auto -i rfkill
                   ├─org.gnome.SettingsDaemon.Rfkill.service
                   │ └─3043 /usr/libexec/gsd-rfkill

# fuser /dev/rfkill 
/dev/rfkill:             1  1223  3043


I tried this, but got an error:

# gdbus call --session --dest org.gnome.SettingsDaemon.Rfkill --object-path 
/org/gnome/SettingsDaemon/Rfkill --method org.freedesktop.DBus.Properties.Set 
"org.gnome.SettingsDaemon.Rfkill" "AirplaneMode" "true"
Error: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name 
org.gnome.SettingsDaemon.Rfkill was not provided by any .service files

Note: when booting to kernel recovery mode, the key combination seems to
work. rfkill command output shows that the radio devices are going in
soft blocked state and back as expected.

Problem 2:
After going to Suspend mode either by pushing the power button or the Fn-F12 
key combination and resuming back the laptop to working state, the radio 
devices – wifi and bluetooth are in airplane mode and there is no way to make 
them work and actually the bluetooth device seems to be gone.

# rfkill
ID TYPE DEVICE      SOFT    HARD
 1 wlan    phy0         unblocked blocked

e.g. rfkill show that only the wifi adapter is recognized.

Due to problem 1 above there is no way to unblock the wifi with the key
combination Fn-F10.

I believe this is not a hardware problem as the same functionality works
flawlessly on Windows 10 on the same machine.


Ubuntu 24.04
# uname -a
Linux xxx 6.8.0-41-generic #41-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug  2 20:41:06 
UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

# cat /etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=24.04
DISTRIB_CODENAME=noble
DISTRIB_DESCRIPTION="Ubuntu 24.04.1 LTS"

# aptitude show gnome-settings-daemon
Package: gnome-settings-daemon           
Version: 46.0-1ubuntu1
State: installed
Automatically installed: yes
Priority: extra
Section: gnome
Maintainer: Ubuntu Desktop Team <ubuntu-desk...@lists.ubuntu.com>
Architecture: amd64

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: gnome-settings-daemon 46.0-1ubuntu1
ProcVersionSignature: Ubuntu 6.8.0-41.41-generic 6.8.12
Uname: Linux 6.8.0-41-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.28.1-0ubuntu3.1
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Thu Sep  5 02:12:29 2024
InstallationDate: Installed on 2024-09-02 (2 days ago)
InstallationMedia: Ubuntu 24.04.1 LTS "Noble Numbat" - Release amd64 
(20240827.1)
ProcEnviron:
 LANG=en_US.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm-256color
SourcePackage: gnome-settings-daemon
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: gnome-settings-daemon (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug noble

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-settings-daemon in Ubuntu.
https://bugs.launchpad.net/bugs/2078990

Title:
  airplane mode key combination does not work for MSI laptop

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/2078990/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to