1. 11 9月, 2020 1 次提交
  2. 27 8月, 2020 1 次提交
  3. 22 8月, 2020 1 次提交
  4. 21 8月, 2020 1 次提交
  5. 17 8月, 2020 2 次提交
  6. 13 8月, 2020 1 次提交
  7. 11 8月, 2020 1 次提交
  8. 06 8月, 2020 3 次提交
  9. 05 8月, 2020 1 次提交
  10. 04 8月, 2020 2 次提交
  11. 03 8月, 2020 1 次提交
  12. 31 7月, 2020 2 次提交
  13. 30 7月, 2020 1 次提交
  14. 29 7月, 2020 6 次提交
  15. 28 7月, 2020 9 次提交
  16. 27 7月, 2020 2 次提交
  17. 25 7月, 2020 3 次提交
  18. 24 7月, 2020 2 次提交
    • M
      hwmon: (corsair-cpro) add reading pwm values · fa4dac3e
      Marius Zachmann 提交于
      This adds the possibility for reading pwm values.
      These can not be read if the device is controlled via
      fan_target or a fan curve and will return an error in
      this case. Since an error is expected, this adds some
      rudimentary error handling.
      
      Changes:
      - add CTL_GET_FAN_PWM and use it via get_data
      - pwm returns -ENODATA if the device returns error 0x12
      - fan_target now returns -ENODATA when the driver is
        started or a pwm value is set.
      - add ccp_get_errno to determine errno from device error.
      - get_data now has a parameter to determine whether
        to read one or two bytes of data.
      - update documentation
      - fix missing surname in MAINTAINERS
      Signed-off-by: NMarius Zachmann <mail@mariuszachmann.de>
      Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
      fa4dac3e
    • M
      hwmon: add Corsair Commander Pro driver · 40c3a445
      Marius Zachmann 提交于
      This is v7 of a driver for the Corsair Commander Pro.
      It provides sysfs attributes for:
      - Reading fan speed
      - Reading temp sensors
      - Reading voltage values
      - Writing pwm and reading last written pwm
      - Reading fan and temp connection status
      
      It is an usb driver, so it needs to be ignored by usbhid.
      The Corsair Commander Pro is a fan controller and provides
      no means for user interaction.
      The two device numbers are there, because there is a slightly
      different version of the same device. (Only difference
      seem to be in some presets.)
      
      Squashed:
       hwmon: (corsair-cpro) add fan_target
      
       This adds fan_target entries to the corsair-cpro driver.
       Reading the attribute from the device does not seem possible, so
       it returns the last set value (same as pwm).
      
       send_usb_cmd now has one more argument, which is needed for the
       fan_target command.
      
       hwmon: corsair-cpro: Change to HID driver
      
       This changes corsair-cpro to a hid driver using hid reports.
      Signed-off-by: NMarius Zachmann <mail@mariuszachmann.de>
      Reviewed-by: NGuenter Roeck <linux@roeck-us.net>
      Link: https://lore.kernel.org/r/20200626055936.4441-1-mail@mariuszachmann.de
      Link: https://lore.kernel.org/r/20200709141413.30790-1-mail@mariuszachmann.de
      [groeck: Squashed follow-up patches to avoid changes in HID code]
      Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
      40c3a445