ideapad_laptop disables WiFi/BT radios on Lenovo Y540
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| linux (Ubuntu) |
Undecided
|
Unassigned | ||
| Bionic |
Undecided
|
Unassigned | ||
| Disco |
Undecided
|
Unassigned | ||
| Eoan |
Undecided
|
Unassigned |
Bug Description
=== SRU Justification ===
[Impact]
WiFi on Ideapads are rfkill HW blocked by default.
[Fix]
Remove no_hw_rfkill_list as most Ideapads don't have hardware rfkill
button.
[Test]
User reported the fix works.
[Regression Potential]
Low. If there's any actual device that has HW rfkill button, we can
simply add it to whitelist.
=== Original Bug Report ===
I have a brand new LeNovo legion Y540 and the ideapad_laptop module results in a rfkill.
If the module is removed/
I will try to compile ideapad_laptop adding the laptop info to no_hw_rfkill_
I only tried in ubuntu 19.10 (although this is a kernel issue)
rfkill output:
sudo rfkill
ID TYPE DEVICE SOFT HARD
2 bluetooth hci0 blocked unblocked
3 wlan phy0 unblocked unblocked
4 wlan ideapad_wlan unblocked blocked
5 bluetooth ideapad_bluetooth blocked blocked
1) Ubuntu 5.0.0-20.21-generic 5.0.8
(rest of info in attachment)
---
ProblemType: Bug
ApportVersion: 2.20.10-0ubuntu27.1
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/
CurrentDesktop: ubuntu:GNOME
DistroRelease: Ubuntu 19.04
InstallationDate: Installed on 2019-07-18 (0 days ago)
InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Release amd64 (20190416)
MachineType: LENOVO 81SX
NonfreeKernelMo
Package: linux (not installed)
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcFB: 0 EFI VGA
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
RelatedPackageV
linux-
linux-
linux-firmware 1.178.3
Tags: disco
Uname: Linux 5.0.0-20-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 05/28/2019
dmi.bios.vendor: LENOVO
dmi.bios.version: BHCN28WW
dmi.board.
dmi.board.name: LNVNB161216
dmi.board.vendor: LENOVO
dmi.board.version: SDK0R32862 WIN
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.family: Legion Y540-15IRH
dmi.product.name: 81SX
dmi.product.sku: LENOVO_
dmi.product.
dmi.sys.vendor: LENOVO
CVE References
Changed in linux (Ubuntu): | |
status: | New → Incomplete |
forevertheuni (forevertheuni) wrote : | #2 |
Here's dmidecode, lspci, and other relevant info
summary: |
- deapad_laptop disables WiFi/BT radios on Lenovo Y540 + ideapad_laptop disables WiFi/BT radios on Lenovo Y540 |
forevertheuni (forevertheuni) wrote : | #3 |
Okay, I made a dkms based on 5.0.0-20 source code, adding lenovo Y540 IRH and now this laptop is in the no_hw_rfkill list.
apport information
tags: | added: apport-collected |
description: | updated |
forevertheuni (forevertheuni) wrote : CRDA.txt | #5 |
apport information
apport information
apport information
forevertheuni (forevertheuni) wrote : Lspci.txt | #8 |
apport information
forevertheuni (forevertheuni) wrote : Lsusb.txt | #9 |
apport information
apport information
apport information
apport information
apport information
apport information
apport information
apport information
apport information
Changed in linux (Ubuntu): | |
status: | Incomplete → Fix Committed |
status: | Fix Committed → Confirmed |
status: | Confirmed → Incomplete |
Changed in linux (Ubuntu): | |
status: | Incomplete → Confirmed |
forevertheuni (forevertheuni) wrote : | #18 |
I made a dkms package that fixed the problem for 19.04 (check above).
By the way. I went to linux kernel 5.2.1 ideapad_laptop.c and now there's no no_hw_rfkill_list. It's the opposite, now it has to be specified if there is a hw-rfkill. So that new laptops don't get this problem.
One option is to install a ppa with a recent kernel.
From the file:
* Some ideapads have a hardware rfkill switch, but most do not have one.
* Reading VPCCMD_R_RF always results in 0 on models without a hardware rfkill,
* switch causing ideapad_laptop to wrongly report all radios as hw-blocked.
* There used to be a long list of DMI ids for models without a hw rfkill
* switch here, but that resulted in playing whack a mole.
* More importantly wrongly reporting the wifi radio as hw-blocked, results in
* non working wifi. Whereas not reporting it hw-blocked, when it actually is
* hw-blocked results in an empty SSID list, which is a much more benign
* failure mode.
* So the default now is the much safer option of assuming there is no
* hardware rfkill switch. This default also actually matches most hardware,
* since having a hw rfkill switch is quite rare on modern hardware, so this
* also leads to a much shorter list.
*/
Kai-Heng Feng (kaihengfeng) wrote : | #19 |
forevertheuni,
Please try https:/
forevertheuni (forevertheuni) wrote : | #20 |
Hi Kai-Heng Fend,
It works great
$ uname -a
Linux gaia 5.0.0-22-generic #23~lp1833630 SMP Fri Jul 12 16:08:44 CST 2019 x86_64 x86_64 x86_64 GNU/Linux
$rfkill
ID TYPE DEVICE SOFT HARD
0 wlan ideapad_wlan unblocked unblocked
1 bluetooth ideapad_bluetooth blocked unblocked
2 wlan phy0 unblocked unblocked
3 bluetooth hci0 blocked unblocked
$dkms status
acpi-call, 1.1.0, 5.0.0-20-generic, x86_64: installed
acpi-call, 1.1.0, 5.0.0-22-generic, x86_64: installed
ideapad_laptop, 54015IRH, 5.0.0-20-generic, x86_64: installed
nvidia, 430.26, 5.0.0-20-generic, x86_64: installed
nvidia, 430.26, 5.0.0-22-generic, x86_64: installed
tp_smapi, 0.43, 5.0.0-20-generic, x86_64: installed
tp_smapi, 0.43, 5.0.0-22-generic, x86_64: installed
virtualbox, 6.0.6, 5.0.0-20-generic, x86_64: installed
virtualbox, 6.0.6, 5.0.0-22-generic, x86_64: installed
$ sudo modinfo ideapad_laptop
[sudo] password for jmamede:
filename: /lib/modules/
license: GPL
description: IdeaPad ACPI Extras
author: David Woodhouse <email address hidden>
srcversion: 7757C6921FA0FCF
alias: acpi*:VPC2004:*
depends: wmi,video,
retpoline: Y
intree: Y
name: ideapad_laptop
vermagic: 5.0.0-22-generic SMP mod_unload
sig_id: PKCS#7
signer:
sig_key:
sig_hashalgo: md4
signature: 30:82:02:
82:02:
03:30:
02:60:
42:75:
61:74:
FD:D9:
0D:06:
D7:59:
9F:D4:
E6:A7:
4D:AE:
23:46:
4B:AD:
40:A0:
35:72:
E2:61:
80:AD:
5B:5E:
FB:E0:
89:D2:
8F:37:
F8:B0:
B4:0D:
9C:8D:
8E:1A:
63:BB:
description: | updated |
Changed in linux (Ubuntu Eoan): | |
status: | Confirmed → Fix Released |
Changed in linux (Ubuntu Bionic): | |
status: | New → Fix Committed |
Changed in linux (Ubuntu Disco): | |
status: | New → Fix Committed |
This bug is awaiting verification that the kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-
If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.
See https:/
tags: | added: verification-needed-disco |
This bug is awaiting verification that the kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-
If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.
See https:/
tags: | added: verification-needed-bionic |
This bug is awaiting verification that the kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-
If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.
See https:/
tags: | added: verification-needed-xenial |
forevertheuni (forevertheuni) wrote : | #24 |
How do I add the tag verification-
tags: | added: verification-done-disco |
tags: | removed: verification-needed-disco |
tags: | removed: verification-needed-xenial |
Launchpad Janitor (janitor) wrote : | #25 |
This bug was fixed in the package linux - 5.0.0-27.28
---------------
linux (5.0.0-27.28) disco; urgency=medium
* disco/linux: 5.0.0-27.28 -proposed tracker (LP: #1840816)
* [Potential Regression] System crashes when running ftrace test in
ubuntu_
- x86/kprobes: Set instruction page as executable
linux (5.0.0-26.27) disco; urgency=medium
* disco/linux: 5.0.0-26.27 -proposed tracker (LP: #1839972)
* Packaging resync (LP: #1786013)
- [Packaging] update helper scripts
* alsa/hdmi: add icelake hdmi audio support for a Dell machine (LP: #1836916)
- ALSA: hda: hdmi - add Icelake support
- ALSA: hda/hdmi - Remove duplicated define
- ALSA: hda/hdmi - Fix i915 reverse port/pin mapping
* input/mouse: alps trackpoint-only device doesn't work (LP: #1836752)
- Input: alps - don't handle ALPS cs19 trackpoint-only device
- Input: alps - fix a mismatch between a condition check and its comment
* [18.04 FEAT] Enhanced hardware support (LP: #1836857)
- s390: report new CPU capabilities
- s390: add alignment hints to vector load and store
* System does not auto detect disconnection of external monitor (LP: #1835001)
- drm/i915: Add support for retrying hotplug
- drm/i915: Enable hotplug retry
* [18.04 FEAT] Enhanced CPU-MF hardware counters - kernel part (LP: #1836860)
- s390/cpum_cf: Add support for CPU-MF SVN 6
- s390/cpumf: Add extended counter set definitions for model 8561 and 8562
* EeePC 1005px laptop backlight is off after system boot up (LP: #1837117)
- platform/x86: asus-wmi: Only Tell EC the OS will handle display hotkeys from
asus_nb_wmi
* br_netfilter: namespace sysctl operations (LP: #1836910)
- netfilter: bridge: port sysctls to use brnf_net
- netfilter: bridge: namespace bridge netfilter sysctls
- netfilter: bridge: prevent UAF in brnf_exit_net()
* ideapad_laptop disables WiFi/BT radios on Lenovo Y540 (LP: #1837136)
- platform/x86: ideapad-laptop: Remove no_hw_rfkill_list
* shiftfs: allow overlayfs (LP: #1838677)
- SAUCE: shiftfs: enable overlayfs on shiftfs
* bcache: bch_allocator_
- bcache: never writeback a discard operation
- bcache: improve bcache_reboot()
- SAUCE: bcache: fix deadlock in bcache_allocator
* Regressions in CMA allocation rework (LP: #1839395)
- dma-contiguous: do not overwrite align in dma_alloc_
- dma-contiguous: page-align the size in dma_free_
* CVE-2019-3900
- vhost: introduce vhost_exceeds_
- vhost_net: fix possible infinite loop
- vhost: vsock: add weight support
- vhost: scsi: add weight support
* Disco update: 5.0.21 upstream stable release (LP: #1837518)
- bonding/802.3ad: fix slave link initialization transition states
- cxgb4: offload VLAN flows regardless of VLAN ethtype
- inet: switch IP ID generator to siphash
- ipv4/igmp: fix another memory leak in igmpv3_del_delrec()
- ipv4/igmp: fix build error if !CONFIG_
- ipv6: Consider sk_bound_dev_if when binding a raw socket to an address
- ipv6: Fix redi...
Changed in linux (Ubuntu Disco): | |
status: | Fix Committed → Fix Released |
Launchpad Janitor (janitor) wrote : | #26 |
This bug was fixed in the package linux - 4.15.0-60.67
---------------
linux (4.15.0-60.67) bionic; urgency=medium
* bionic/linux: 4.15.0-60.67 -proposed tracker (LP: #1841086)
* [Regression] net test from ubuntu_
compilation issue (LP: #1840935)
- SAUCE: Fix "bpf: relax verifier restriction on BPF_MOV | BPF_ALU"
* [Regression] failed to compile seccomp test from ubuntu_
(LP: #1840932)
- Revert "selftests: skip seccomp get_metadata test if not real root"
* Packaging resync (LP: #1786013)
- [Packaging] resync getabis
linux (4.15.0-59.66) bionic; urgency=medium
* bionic/linux: 4.15.0-59.66 -proposed tracker (LP: #1840006)
* zfs not completely removed from bionic tree (LP: #1840051)
- SAUCE: (noup) remove completely the zfs code
* Packaging resync (LP: #1786013)
- [Packaging] update helper scripts
* [18.04 FEAT] Enhanced hardware support (LP: #1836857)
- s390: report new CPU capabilities
- s390: add alignment hints to vector load and store
* [18.04 FEAT] Enhanced CPU-MF hardware counters - kernel part (LP: #1836860)
- s390/cpum_cf: Add support for CPU-MF SVN 6
- s390/cpumf: Add extended counter set definitions for model 8561 and 8562
* ideapad_laptop disables WiFi/BT radios on Lenovo Y540 (LP: #1837136)
- platform/x86: ideapad-laptop: Remove no_hw_rfkill_list
* Stacked onexec transitions fail when under NO NEW PRIVS restrictions
(LP: #1839037)
- SAUCE: apparmor: fix nnp subset check failure when, stacking
* bcache: bch_allocator_
timeout for bcache removal causes spurious failures (LP: #1796292)
- SAUCE: bcache: fix deadlock in bcache_allocator
* bcache: bch_allocator_
- bcache: never writeback a discard operation
- bcache: improve bcache_reboot()
- bcache: fix writeback target calc on large devices
- bcache: add journal statistic
- bcache: fix high CPU occupancy during journal
- bcache: use pr_info() to inform duplicated CACHE_SET_
- bcache: fix incorrect sysfs output value of strip size
- bcache: fix error return value in memory shrink
- bcache: fix using of loop variable in memory shrink
- bcache: Fix indentation
- bcache: Add __printf annotation to __bch_check_keys()
- bcache: Annotate switch fall-through
- bcache: Fix kernel-doc warnings
- bcache: Remove an unused variable
- bcache: Suppress more warnings about set-but-not-used variables
- bcache: Reduce the number of sparse complaints about lock imbalances
- bcache: Fix a compiler warning in bcache_
- bcache: Move couple of string arrays to sysfs.c
- bcache: Move couple of functions to sysfs.c
- bcache: Replace bch_read_
* linux hwe i386 kernel 5.0.0-21.22~18.04.1 crashes on Lenovo x220
(LP: #1838115)
- x86/mm: Check for pfn instead of page in vmalloc_sync_one()
- x86/mm: Sync also unmappings in vmalloc_sync_all()
- mm/vmalloc.c: add priority threshold to __purge_
Changed in linux (Ubuntu Bionic): | |
status: | Fix Committed → Fix Released |
This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:
apport-collect 1837136
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.