← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1695216] Re: Can't disable USB port from BIOS

 

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

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1695216

Title:
  Can't disable USB port from BIOS

Status in HWE Next:
  In Progress
Status in linux package in Ubuntu:
  In Progress
Status in linux source package in Xenial:
  New

Bug description:
  From BIOS, there is front USB port disable function. It is supposed the option in BIOS can
  disable USB port and due to AMD chip limitation, it need OS’s cowork.
  Otherwise the USB disable function will be invalid when resuming from S3 or reinsert USB device.

  === SRU Justification ===

  [Impact]
  In BIOS, there is front USB port disable function.
  It is supposed the option in BIOS can disable USB port, but due to AMD chip's
  limitation, it needs OS’s cowork. Otherwise the USB disable function will
  be invalid when resuming from S3 or reinsert USB device.

  [Fix]
  After checking with Windows, we found there are 2 bits that are default on
  in Ubuntu is disabled in Windows. They are
          #define PORT_WKOC_E     (1<<22)         /* wake on overcurrent (enable) */
          #define PORT_WKCONN_E   (1<<20)         /* wake on connect (enable) */
  So, this patch introduce a quirk to not setup the wakeup bits only for
  AMD USB chips.

  [Test Case]
  Verified on the machine has this issue, and confirm this patch works.

  [Regression Potential]
  This patch only affects the listed USB ID, and we don't cert this kind of
  wakeup method, so should have no regression concerns.
  Wake up from USB device is still working, and the patch behavior is confirmed by
  the project lead, Tsai, Nicholas, from AMD in the discussion thread[1].

  [Misc]
  This patch is accepted by the maintainer but still not shown up in any git tree
  yet. The discussion thread can be found here[1]. To fit the project schedule,
  we need this commit in our kernel as soon as possbile, and can't wait to
  next SRU release cycle.

  1. https://www.spinics.net/lists/linux-usb/msg157789.html

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/1695216/+subscriptions