https://bugzilla.kernel.org/show_bug.cgi?id=201427

            Bug ID: 201427
           Summary: Kernel ignores BIOS setting to NOT use Airplane Switch
           Product: ACPI
           Version: 2.5
    Kernel Version: 4.15.0-36-generic
          Hardware: x86-64
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: BIOS
          Assignee: acpi_b...@kernel-bugs.osdl.org
          Reporter: chrisha...@usa.net
        Regression: No

Hi

My Dell laptop ceased to use my BIOS settings for the Airplane Switch.  This
was somewhere around Linux kernel 4.13 - on the last version of Mint.  

For reference, I still have Linux Mint 18.3 "live DVD" on a flash drive, which
used a prior kernel, 4.10, when I can plug that in and boot into it, it still
works correctly as it did before.  So that rules out any hardware or BIOS
changes which otherwise might cause this.


justme@travel:~$ inxi -Fxz
System:    Host: travel Kernel: 4.15.0-36-generic x86_64 bits: 64 gcc: 7.3.0
           Desktop: Cinnamon 3.8.9 (Gtk 3.22.30-1ubuntu1) Distro: Linux Mint 19
Tara
Machine:   Device: laptop System: Dell product: Latitude E6420 v: 01 serial:
N/A
           Mobo: Dell model: 0X8R3Y serial: N/A BIOS: Dell v: A25 date:
03/06/2018
Battery    BAT0: charge: 73.3 Wh 100.0% condition: 73.3/73.3 Wh (100%) model:
DP-LGC53 DELL 7M0N51C status: Full
CPU:       Dual core Intel Core i7-2640M (-MCP-) arch: Sandy Bridge rev.7
cache: 4096 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 11174
           clock speeds: max: 3500 MHz 1: 1331 MHz 2: 1131 MHz
Graphics:  Card: Intel 2nd Generation Core Processor Family Integrated Graphics
Controller bus-ID: 00:02.0
           Display Server: x11 (X.Org 1.19.6 ) drivers: modesetting (unloaded:
fbdev,vesa)
           Resolution: 1600x900@60.00hz
           OpenGL: renderer: Mesa DRI Intel Sandybridge Mobile version: 3.3
Mesa 18.0.5 Direct Render: Yes
Audio:     Card Intel 6 Series/C200 Series Family High Definition Audio
Controller
           driver: snd_hda_intel bus-ID: 00:1b.0
           Sound: Advanced Linux Sound Architecture v: k4.15.0-36-generic
Network:   Card-1: Intel 82579LM Gigabit Network Connection driver: e1000e v:
3.2.6-k port: 3080 bus-ID: 00:19.0
           IF: enp0s25 state: down mac: <filter>
           Card-2: Intel Centrino Advanced-N 6205 [Taylor Peak] driver: iwlwifi
bus-ID: 02:00.0
           IF: wlp2s0 state: up mac: <filter>
Drives:    HDD Total Size: 256.1GB (29.1% used)
           ID-1: /dev/sda model: Samsung_SSD_860 size: 256.1GB
Partition: ID-1: / size: 233G used: 68G (31%) fs: ext4 dev: /dev/sda1
           ID-2: swap-1 size: 2.56GB used: 0.00GB (0%) fs: swap dev: /dev/sda2
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 53.0C mobo: N/A
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 194 Uptime: 1:17 Memory: 1924.8/7855.8MB Init: systemd
runlevel: 5 Gcc sys: 7.3.0
           Client: Shell (bash 4.4.191) inxi: 2.3.56 
justme@travel:~$



I have found this file on my HDD which is used to output kernel info:

/sys/kernel/debug/dell_laptop/rfkill



Its contents show this:

return: 0
status: 0x1011D
Bit 0 : Hardware switch supported:   1
Bit 1 : Wifi locator supported:      0
Bit 2 : Wifi is supported:           1
Bit 3 : Bluetooth is supported:      1
Bit 4 : WWAN is supported:           1
Bit 5 : Wireless keyboard supported: 0
Bit 6 : UWB supported:               0
Bit 7 : WiGig supported:             0
Bit 8 : Wifi is installed:           1
Bit 9 : Bluetooth is installed:      0
Bit 10: WWAN is installed:           0
Bit 11: UWB installed:               0
Bit 12: WiGig installed:             0
Bit 16: Hardware switch is on:       1
Bit 17: Wifi is blocked:             0
Bit 18: Bluetooth is blocked:        0
Bit 19: WWAN is blocked:             0
Bit 20: UWB is blocked:              0
Bit 21: WiGig is blocked:            0

hwswitch_return:        0
hwswitch_state: 0x1011D
Bit 0 : Wifi controlled by switch:      1
Bit 1 : Bluetooth controlled by switch: 0
Bit 2 : WWAN controlled by switch:      1
Bit 3 : UWB controlled by switch:       1
Bit 4 : WiGig controlled by switch:     1
Bit 7 : Wireless switch config locked:  0
Bit 8 : Wifi locator enabled:           1
Bit 15: Wifi locator setting locked:    0



Also there is another file with data which might be related:

/sys/kernel/debug/iwlwifi/0000:02:00.0/trans/rfkill

debug: 0
hw: 0


The first shows what I am experiencing, that the Hardware Switch (aka Airplane
Switch) is "enabled" for WiFi.  Except that it is NOT in my BIOS - there I have
it DESELECTED, and that is what I am expecting.




>From this online list:
 linux/Documentation/admin-guide/kernel-parameters.txt

I have tried adding this Linux Kernel Parameter [rfkill.master_switch_mode=0],
saving it, then running "sudo update-grub", and rebooting a couple times, to no
avail:

rfkill.master_switch_mode=
                0       The "airplane mode" button does nothing.
                1       The "airplane mode" button toggles between everything
blocked and the previous configuration.
                2       The "airplane mode" button toggles between everything
blocked and everything unblocked.


Systemd doesn't seem to have anything to do with this.

I just don't know of anywhere else to look where this might be configurable. 
The Airplane Switch on my computer is on the right-hand side near where I use
the mouse.  It is very sensitive and any little bump on that side, and the WiFi
becomes unavailable until I toggle it.  I would like to be able to disable it,
as I have before.  

In diagnostic testing, I have even tried newer kernels on other distros, and
this is not distro-specific.  It is something that was broken earlier in 2018,
during the time Linux Mint was using the 4.13 kernel (I know, not much help
here).  This was also around the time that patches were being rolled out for
the Intel management engine vulnerabilites.  Any ideas out there?  

Somehow I don't see going into my computer and breaking the damn switch off
with wire cutters as being a good option.  :)

Thanks

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

_______________________________________________
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to