1. 07 2月, 2019 1 次提交
  2. 15 8月, 2018 1 次提交
  3. 27 11月, 2017 1 次提交
  4. 29 4月, 2017 1 次提交
    • O
      platform/x86: asus-wmi: try to set als by default · e9b61518
      Oleksij Rempel 提交于
      some laptops, for example ASUS UX330UAK, have brocken als_get function
      but working als_set funktion. In this case, ALS will stay turned off.
      
                   Method (WMNB, 3, Serialized)
                  {
      	    ...
                     If (Local0 == 0x53545344)
                      {
      		...
                          If (IIA0 == 0x00050001)
                          {
                              If (!ALSP)
                              {
                                  Return (0x02)
                              }
      
                              Local0 = (GALS & 0x10)    <<<---- bug,
                                                          should be: (GALS () & 0x10)
                              If (Local0)
                              {
                                  Return (0x00050001)
                              }
                              Else
                              {
                                  Return (0x00050000)
                              }
                          }
      
                   .....
                      If (Local0 == 0x53564544)
                      {
      		...
                          If (IIA0 == 0x00050001)
                          {
                              Return (ALSC (IIA1))
                          }
      
                        ......
                          Method (GALS, 0, NotSerialized)
                          {
                              Local0 = Zero
                              Local0 |= 0x20
                              If (ALAE)
                              {
                                  Local0 |= 0x10
                              }
      
                              Local1 = 0x0A
                              Local1 <<= 0x08
                              Local0 |= Local1
                              Return (Local0)
                          }
      
      Since it works without problems on Windows I assume ASUS WMI driver for Win
      never trying to get ALS state, and instead it is setting it by default to ON.
      
      This patch will do the same. Turn ALS on by default.
      Signed-off-by: NOleksij Rempel <linux@rempel-privat.de>
      Signed-off-by: NAndy Shevchenko <andriy.shevchenko@linux.intel.com>
      e9b61518
  5. 14 4月, 2017 1 次提交
  6. 13 3月, 2017 1 次提交
  7. 14 12月, 2016 3 次提交
    • M
      platform/x86: asus-nb-wmi.c: Add X45U quirk · e74e2599
      Marcos Paulo de Souza 提交于
      Without this patch, the Asus X45U wireless card can't be turned
      on (hard-blocked), but after a suspend/resume it just starts working.
      
      Following this bug report[1], there are other cases like this one, but
      this Asus is the only model that I can test.
      
      [1] https://ubuntuforums.org/showthread.php?t=2181558
      
      Cc: stable@vger.kernel.org # 4.4.x-
      Signed-off-by: NMarcos Paulo de Souza <marcos.souza.org@gmail.com>
      Signed-off-by: NAndy Shevchenko <andriy.shevchenko@linux.intel.com>
      e74e2599
    • M
      platform/x86: asus-nb-wmi: Make use of dmi->ident · 085370eb
      Marcos Paulo de Souza 提交于
      Make use of dmi->ident as other drivers do, like fujitsu, intel,
      hp and samsung.
      Signed-off-by: NMarcos Paulo de Souza <marcos.souza.org@gmail.com>
      Signed-off-by: NAndy Shevchenko <andriy.shevchenko@linux.intel.com>
      085370eb
    • K
      platform/x86: asus-wmi: Set specified XUSB2PR value for X550LB · 8023eff1
      Kai-Chuan Hsieh 提交于
      The bluetooth adapter Atheros AR3012 can't be enumerated
      and make the bluetooth function broken.
      
      T:  Bus=02 Lev=01 Prnt=01 Port=05 Cnt=02 Dev#=  5 Spd=12  MxCh= 0
      D:  Ver= 1.10 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs=  1
      P:  Vendor=13d3 ProdID=3362 Rev=00.02
      S:  Manufacturer=Atheros Communications
      S:  Product=Bluetooth USB Host Controller
      S:  SerialNumber=Alaska Day 2006
      C:  #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr=100mA
      I:  If#= 0 Alt= 0 #EPs= 3 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
      I:  If#= 1 Alt= 0 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
      
      The error is:
      
       usb 2-6: device not accepting address 7, error -62
       usb usb2-port6: unable to enumerate USB device
      
      It is caused by adapter's connected port is mapped to xHC
      controller, but the xHCI is not supported by the usb device.
      
      The output of 'sudo lspci -nnxxx -s 00:14.0':
      
       00:14.0 USB controller [0c03]: Intel Corporation 8 Series USB xHCI HC [8086:9c31] (rev 04)
       00: 86 80 31 9c 06 04 90 02 04 30 03 0c 00 00 00 00
       10: 04 00 a0 f7 00 00 00 00 00 00 00 00 00 00 00 00
       20: 00 00 00 00 00 00 00 00 00 00 00 00 43 10 1f 20
       30: 00 00 00 00 70 00 00 00 00 00 00 00 0b 01 00 00
       40: fd 01 36 80 89 c6 0f 80 00 00 00 00 00 00 00 00
       50: 5f 2e ce 0f 00 00 00 00 00 00 00 00 00 00 00 00
       60: 30 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00
       70: 01 80 c2 c1 08 00 00 00 00 00 00 00 00 00 00 00
       80: 05 00 87 00 0c a0 e0 fe 00 00 00 00 a1 41 00 00
       90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
       a0: 00 01 04 00 00 00 00 00 00 00 00 00 00 00 00 00
       b0: 0f 00 03 00 00 00 00 00 00 00 00 00 00 00 00 00
       c0: 03 c0 30 00 00 00 00 00 03 0c 00 00 00 00 00 00
       d0: f9 01 00 00 f9 01 00 00 0f 00 00 00 0f 00 00 00
       e0: 00 08 00 00 00 00 00 00 00 00 00 00 d8 d8 00 00
       f0: 00 00 00 00 00 00 00 00 b1 0f 04 08 00 00 00 00
      
      By referencing Intel Platform Controller Hub(PCH) datasheet,
      the xHC USB 2.0 Port Routing(XUSB2PR) at offset 0xD0-0xD3h
      decides the setting of mapping the port to EHCI controller or
      xHC controller. And the port mapped to xHC will enable xHCI
      during bus resume.
      
      The setting of disabling bluetooth adapter's connected port is
      0x000001D9. The value can be obtained by few times 1 bit flip
      operation. The suited configuration should have the 'lsusb -t'
      result with bluetooth using ehci:
      
      /:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
      /:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/9p, 480M
          |__ Port 5: Dev 2, If 0, Class=Video, Driver=uvcvideo, 480M
          |__ Port 5: Dev 2, If 1, Class=Video, Driver=uvcvideo, 480M
      /:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M
          |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/8p, 480M
              |__ Port 6: Dev 3, If 0, Class=Wireless, Driver=btusb, 12M
              |__ Port 6: Dev 3, If 1, Class=Wireless, Driver=btusb, 12M
      Signed-off-by: NKai-Chuan Hsieh <kai.chiuan@gmail.com>
      Acked-by: NCorentin Chary <corentin.chary@gmail.com>
      Reviewed-by: NAndy Shevchenko <andy.shevchenko@gmail.com>
      [andy: resolve merge conflict in asus-wmi.h]
      Signed-off-by: NAndy Shevchenko <andriy.shevchenko@linux.intel.com>
      8023eff1
  8. 24 9月, 2016 2 次提交
  9. 02 7月, 2016 6 次提交
  10. 29 6月, 2016 1 次提交
  11. 24 3月, 2016 1 次提交
  12. 07 9月, 2015 1 次提交
  13. 04 12月, 2014 1 次提交
  14. 28 10月, 2014 1 次提交
  15. 16 8月, 2014 7 次提交
  16. 11 6月, 2014 1 次提交
  17. 11 7月, 2013 2 次提交
  18. 09 5月, 2013 1 次提交
  19. 27 2月, 2013 1 次提交
  20. 25 2月, 2013 5 次提交
  21. 18 12月, 2012 1 次提交