1. 19 6月, 2015 1 次提交
  2. 12 5月, 2015 5 次提交
  3. 07 5月, 2015 1 次提交
  4. 25 4月, 2015 1 次提交
  5. 08 4月, 2015 2 次提交
  6. 26 3月, 2015 3 次提交
  7. 15 3月, 2015 1 次提交
  8. 12 2月, 2015 12 次提交
  9. 10 2月, 2015 1 次提交
    • A
      toshiba_acpi: Make toshiba_eco_mode_available more robust · 98fc4ec6
      Azael Avalos 提交于
      Some Toshiba laptops do not come with the ECO led installed, however,
      the driver is registering support for it when it should not.
      
      This patch makes the toshiba_eco_mode_available function more robust
      in detecting ECO led capabilities, not registering the led on laptops
      that do not support it and registering the led when it really does.
      
      The ECO led function now returns 0x8e00 (Not Installed) by querying
      with in[3] = 0, whenever theres no physical LED installed, and
      returning 0x8300 (Input Data Error) when it is, however, there are
      some BIOSes that have stub function calls not returning anything and
      and the LED device was being registered too, hence the change of the
      default return value from 1 to 0.
      Signed-off-by: NAzael Avalos <coproscefalo@gmail.com>
      
      Minor comment update, fixed a whitespace error, s/truly/actual/.
      Signed-off-by: NDarren Hart <dvhart@linux.intel.com>
      98fc4ec6
  10. 29 1月, 2015 1 次提交
    • A
      toshiba_acpi: Add a check for TOS_NOT_SUPPORTED in the sci_open function · fa465739
      Azael Avalos 提交于
      This was "toshiba_acpi: Change sci_open function return value"
      
      Some Toshiba laptops have "poorly implemented" SCI calls on their
      BIOSes and are not checking for sci_{open, close} calls, therefore,
      the sci_open function is failing and making some of the supported
      features unavailable (kbd backlight, touchpad, illumination, etc.).
      
      This patch checks whether we receive TOS_NOT_SUPPORTED and returns
      1, making the supported features work on such laptops.
      
      In the case that some laptops really do not support the SCI, all the
      SCI dependent functions check for TOS_NOT_SUPPORTED, and thus, not
      registering support for the queried feature.
      Signed-off-by: NAzael Avalos <coproscefalo@gmail.com>
      Signed-off-by: NDarren Hart <dvhart@linux.intel.com>
      fa465739
  11. 24 1月, 2015 4 次提交
    • A
      toshiba_acpi: Add support for USB Sleep and Music · 172ce0a9
      Azael Avalos 提交于
      Newer Toshiba laptops now come with a feature called USB Sleep and
      Music, where the laptop speakers remain powered and the line-in jack
      is used to connect an external device to use the laptop speakers when
      the computer is asleep or turned off.
      
      This patchs adds support to such feature, by creating a sysfs entry
      named "usb_sleep_music", accepting only two values, 0 to disable and
      1 to enable.
      Signed-off-by: NAzael Avalos <coproscefalo@gmail.com>
      Signed-off-by: NDarren Hart <dvhart@linux.intel.com>
      172ce0a9
    • A
      toshiba_acpi: Add support for USB Rapid Charge · bb3fe01f
      Azael Avalos 提交于
      Newer Toshiba laptops equipped with USB 3.0 ports now have the
      functionality of rapid charging devices connected to their USB hubs.
      
      This patch adds support to use such feature by creating a sysfs entry
      named "usb_rapid_charge", accepting only two values, 0 to disable and
      1 to enable, however, the machine needs a restart everytime the
      function is toggled.
      Signed-off-by: NAzael Avalos <coproscefalo@gmail.com>
      Signed-off-by: NDarren Hart <dvhart@linux.intel.com>
      bb3fe01f
    • A
      toshiba_acpi: Add support for USB Sleep functions under battery · 182bcaa5
      Azael Avalos 提交于
      Toshiba laptops supporting USB Sleep and Charge also come with a
      feature called "USB functions under battery", which what it does when
      enabled, is allows the USB Sleep functions when the computer is under
      battery power.
      
      This patch adds support to that function, creating a sysfs entry
      named "sleep_functions_on_battery", accepting values from 0-100,
      where zero disables the function and 1-100 sets the battery level at
      which point the USB Sleep functions will be disabled, and printing
      the current state of the functon and also the battery level currently
      set.
      Signed-off-by: NAzael Avalos <coproscefalo@gmail.com>
      Signed-off-by: NDarren Hart <dvhart@linux.intel.com>
      182bcaa5
    • A
      toshiba_acpi: Add support for USB Sleep and Charge function · e26ffe51
      Azael Avalos 提交于
      Newer Toshiba models now come with a feature called Sleep and Charge,
      where the computer USB ports remain powered when the computer is
      asleep or turned off.
      
      This patch adds support to such feature, creating a sysfs entry
      called "usb_sleep_charge" to set the desired charging mode or to
      disable it.
      
      The sysfs entry accepts three parameters, 0, 1 and 2, beign disabled,
      alternate and auto respectively.
      
      The auto mode stands for USB conformant devices (which most are), and
      the alternate mode stands for those non USB conformant devices that
      require more power.
      Signed-off-by: NAzael Avalos <coproscefalo@gmail.com>
      Signed-off-by: NDarren Hart <dvhart@linux.intel.com>
      e26ffe51
  12. 04 12月, 2014 6 次提交
  13. 20 11月, 2014 1 次提交
  14. 28 10月, 2014 1 次提交