Attached as a DKMS package to test whether the patch works.

Download the file (I'll assume it ends up in $HOME/Downloads/ ).

In a terminal shell do:

$ sudo tar -C / -vxf $HOME/Downloads/ideapad_laptop-33015ICH.dkms.tar.gz

This will extract the files to

    /usr/src/ideapad_laptop-33015ICH/

In case the DKMS tools package is not already installed do:

$ sudo apt install dkms

Now add this test module to the DKMS build system:

$ sudo dkms add ideapad_laptop/33015ICH

Now ensure it builds for the running kernel version:

$ sudo dkms build ideapad_laptop/33015ICH

If no errors reported install the module:

$ sudo dkms install ideapad_laptop/33015ICH

Remove your blacklist file from /etc/modprobe.d/

Load the module:

$ sudo modprobe ideapad-laptop

Ensure the Wifi is still working. If so reboot the PC and check Wifi
still starts correctly.

Please report back on your results so we can get this patch upstream and
added to Ubuntu.

** Attachment added: "DKMS test module for Ideapad 330-15ICH"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1811815/+attachment/5229348/+files/ideapad_laptop-33015ICH.dkms.tar.gz

** Changed in: linux (Ubuntu)
     Assignee: (unassigned) => TJ (tj)

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1811815

Title:
  Lenovo ideapad 330-15ICH Wifi rfkill hard blocked

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  The issue here is that the drivers/platform/x86/ideapad_laptop.c
  module assumes the Lenovo Ideapad 330-15ICH has a hardware RF-kill
  switch, reads the I/O port for its state, gets a zero, and therefore
  reports to the kernel that RFkill is hard-blocked.

  The current workaround is to blacklist the module to stop it being
  loaded.

  I've attached a simple patch for the module that teaches it that this
  model does not have a hardware RF kill switch.

  
  ---- Original Report -----

  Ubuntu 18.10 does not detect the Intel Dual Band Wireless-AC 3165
  card, specifically on a Lenovo ideapad 330 laptop.

  A current workaround:

  - Blacklist the "ideapad-laptop" module.
  - Edit/create a file in "/etc/modprobe.d/" and name it "blacklist.conf" or 
something similar (if it does not already exist), and append "blacklist 
ideapad-laptop" to the file. Save and reboot.

  ProblemType: Bug
  DistroRelease: Ubuntu 18.10
  Package: linux-image-4.18.0-13-generic 4.18.0-13.14
  ProcVersionSignature: Ubuntu 4.18.0-13.14-generic 4.18.17
  Uname: Linux 4.18.0-13-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.20.10-0ubuntu13.1
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  dustin     1948 F.... pulseaudio
   /dev/snd/pcmC0D0p:   dustin     1948 F...m pulseaudio
  CurrentDesktop: ubuntu:GNOME
  Date: Tue Jan 15 04:08:20 2019
  InstallationDate: Installed on 2019-01-15 (0 days ago)
  InstallationMedia: Ubuntu 18.10 "Cosmic Cuttlefish" - Release amd64 
(20181017.3)
  Lsusb:
   Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
   Bus 001 Device 003: ID 5986:210e Acer, Inc
   Bus 001 Device 004: ID 8087:0a2a Intel Corp.
   Bus 001 Device 002: ID 3938:1047
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  MachineType: LENOVO 81FK
  ProcEnviron:
   LANGUAGE=en_CA:en
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_CA.UTF-8
   SHELL=/bin/bash
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.18.0-13-generic 
root=UUID=fa5d161c-779c-4cf7-aa07-6da06d655747 ro acpi_osi=! "acpi_osi=Windows 
2012" quiet splash nouveau.modeset=0 vt.handoff=1
  RelatedPackageVersions:
   linux-restricted-modules-4.18.0-13-generic N/A
   linux-backports-modules-4.18.0-13-generic  N/A
   linux-firmware                             1.175.1
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 07/17/2018
  dmi.bios.vendor: LENOVO
  dmi.bios.version: 7ZCN28WW
  dmi.board.asset.tag: NO Asset Tag
  dmi.board.name: LNVNB161216
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0J40709 WIN
  dmi.chassis.asset.tag: NO Asset Tag
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Lenovo ideapad 330-15ICH
  dmi.modalias: 
dmi:bvnLENOVO:bvr7ZCN28WW:bd07/17/2018:svnLENOVO:pn81FK:pvrLenovoideapad330-15ICH:rvnLENOVO:rnLNVNB161216:rvrSDK0J40709WIN:cvnLENOVO:ct10:cvrLenovoideapad330-15ICH:
  dmi.product.family: ideapad 330-15ICH
  dmi.product.name: 81FK
  dmi.product.sku: LENOVO_MT_81FK_BU_idea_FM_ideapad 330-15ICH
  dmi.product.version: Lenovo ideapad 330-15ICH
  dmi.sys.vendor: LENOVO

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1811815/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to