Public bug reported:

[Impact]
Need this patch in so a BIOS upgrade won't cause issues on HP laptops.

commit 1598bfa8e1faa932de42e1ee7628a1c4c4263f0a
Author: Jorge Lopez <jorge.lop...@hp.com>
Date:   Fri Oct 28 10:55:27 2022 -0500

 platform/x86: hp_wmi: Fix rfkill causing soft blocked wifi

After upgrading BIOS to U82 01.02.01 Rev.A, the console is flooded
strange char "^@" which printed out every second and makes login
nearly impossible. Also the below messages were shown both in console
and journal/dmesg every second:

usb 1-3: Device not responding to setup address.
usb 1-3: device not accepting address 4, error -71
usb 1-3: device descriptor read/all, error -71
usb usb1-port3: unable to enumerate USB device

Wifi is soft blocked by checking rfkill. When unblocked manually,
after few seconds it would be soft blocked again. So I was suspecting
something triggered rfkill to soft block wifi.  At the end it was
fixed by removing hp_wmi module.

The root cause is the way hp-wmi driver handles command 1B on
post-2009 BIOS.  In pre-2009 BIOS, command 1Bh return 0x4 to indicate
that BIOS no longer controls the power for the wireless devices.

Signed-off-by: Jorge Lopez <jorge.lop...@hp.com>
Link: https://bugzilla.kernel.org/show_bug.cgi?id=216468
Reviewed-by: Mario Limonciello <mario.limoncie...@amd.com>
Link: https://lore.kernel.org/r/20221028155527.7724-1-jorge.lop...@hp.com
Cc: sta...@vger.kernel.org
Reviewed-by: Hans de Goede <hdego...@redhat.com>
Signed-off-by: Hans de Goede <hdego...@redhat.com>

[Test case]

test on a HP laptop with the new BIOS

[Where problems could occur]

from the commit:
  * In pre-2009 BIOS, command 1Bh return 0x4 to indicate that
  * BIOS no longer controls the power for the wireless
  * devices. All features supported by this command will no
  * longer be supported.

anyone running a laptop with obsolete pre-2009 BIOS probably won't
notice the missing feature at this point.

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: In Progress

** Affects: linux (Ubuntu Focal)
     Importance: Undecided
         Status: New

** Affects: linux (Ubuntu Jammy)
     Importance: Undecided
         Status: New

** Affects: linux (Ubuntu Kinetic)
     Importance: Undecided
         Status: New

** Also affects: linux (Ubuntu Focal)
   Importance: Undecided
       Status: New

** Also affects: linux (Ubuntu Kinetic)
   Importance: Undecided
       Status: New

** Also affects: linux (Ubuntu Jammy)
   Importance: Undecided
       Status: New

** Description changed:

  [Impact]
  Need this patch in so a BIOS upgrade won't cause issues on HP laptops.
  
-  platform/x86: hp_wmi: Fix rfkill causing soft blocked wifi
+ commit 1598bfa8e1faa932de42e1ee7628a1c4c4263f0a
+ Author: Jorge Lopez <jorge.lop...@hp.com>
+ Date:   Fri Oct 28 10:55:27 2022 -0500
+ 
+  platform/x86: hp_wmi: Fix rfkill causing soft blocked wifi
  
  After upgrading BIOS to U82 01.02.01 Rev.A, the console is flooded
  strange char "^@" which printed out every second and makes login
  nearly impossible. Also the below messages were shown both in console
  and journal/dmesg every second:
  
  usb 1-3: Device not responding to setup address.
  usb 1-3: device not accepting address 4, error -71
  usb 1-3: device descriptor read/all, error -71
  usb usb1-port3: unable to enumerate USB device
  
  Wifi is soft blocked by checking rfkill. When unblocked manually,
  after few seconds it would be soft blocked again. So I was suspecting
  something triggered rfkill to soft block wifi.  At the end it was
  fixed by removing hp_wmi module.
  
  The root cause is the way hp-wmi driver handles command 1B on
  post-2009 BIOS.  In pre-2009 BIOS, command 1Bh return 0x4 to indicate
  that BIOS no longer controls the power for the wireless devices.
  
  Signed-off-by: Jorge Lopez <jorge.lop...@hp.com>
  Link: https://bugzilla.kernel.org/show_bug.cgi?id=216468
  Reviewed-by: Mario Limonciello <mario.limoncie...@amd.com>
  Link: https://lore.kernel.org/r/20221028155527.7724-1-jorge.lop...@hp.com
  Cc: sta...@vger.kernel.org
  Reviewed-by: Hans de Goede <hdego...@redhat.com>
  Signed-off-by: Hans de Goede <hdego...@redhat.com>
  
  [Test case]
  
  test on a HP laptop with the new BIOS
  
  [Where problems could occur]
  
  from the commit:
-        * In pre-2009 BIOS, command 1Bh return 0x4 to indicate that
-        * BIOS no longer controls the power for the wireless
-        * devices. All features supported by this command will no
-        * longer be supported.
+   * In pre-2009 BIOS, command 1Bh return 0x4 to indicate that
+   * BIOS no longer controls the power for the wireless
+   * devices. All features supported by this command will no
+   * longer be supported.
  
  anyone running a laptop with obsolete pre-2009 BIOS probably won't
  notice the missing feature at this point.

-- 
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/1996198

Title:
  Fix rfkill causing soft blocked wifi

Status in linux package in Ubuntu:
  In Progress
Status in linux source package in Focal:
  New
Status in linux source package in Jammy:
  New
Status in linux source package in Kinetic:
  New

Bug description:
  [Impact]
  Need this patch in so a BIOS upgrade won't cause issues on HP laptops.

  commit 1598bfa8e1faa932de42e1ee7628a1c4c4263f0a
  Author: Jorge Lopez <jorge.lop...@hp.com>
  Date:   Fri Oct 28 10:55:27 2022 -0500

   platform/x86: hp_wmi: Fix rfkill causing soft blocked wifi

  After upgrading BIOS to U82 01.02.01 Rev.A, the console is flooded
  strange char "^@" which printed out every second and makes login
  nearly impossible. Also the below messages were shown both in console
  and journal/dmesg every second:

  usb 1-3: Device not responding to setup address.
  usb 1-3: device not accepting address 4, error -71
  usb 1-3: device descriptor read/all, error -71
  usb usb1-port3: unable to enumerate USB device

  Wifi is soft blocked by checking rfkill. When unblocked manually,
  after few seconds it would be soft blocked again. So I was suspecting
  something triggered rfkill to soft block wifi.  At the end it was
  fixed by removing hp_wmi module.

  The root cause is the way hp-wmi driver handles command 1B on
  post-2009 BIOS.  In pre-2009 BIOS, command 1Bh return 0x4 to indicate
  that BIOS no longer controls the power for the wireless devices.

  Signed-off-by: Jorge Lopez <jorge.lop...@hp.com>
  Link: https://bugzilla.kernel.org/show_bug.cgi?id=216468
  Reviewed-by: Mario Limonciello <mario.limoncie...@amd.com>
  Link: https://lore.kernel.org/r/20221028155527.7724-1-jorge.lop...@hp.com
  Cc: sta...@vger.kernel.org
  Reviewed-by: Hans de Goede <hdego...@redhat.com>
  Signed-off-by: Hans de Goede <hdego...@redhat.com>

  [Test case]

  test on a HP laptop with the new BIOS

  [Where problems could occur]

  from the commit:
    * In pre-2009 BIOS, command 1Bh return 0x4 to indicate that
    * BIOS no longer controls the power for the wireless
    * devices. All features supported by this command will no
    * longer be supported.

  anyone running a laptop with obsolete pre-2009 BIOS probably won't
  notice the missing feature at this point.

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


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to