1. 27 Apr, 2016 2 commits
  2. 26 Apr, 2016 3 commits
    • spiiroin's avatar
      [systemd] Allow passing optional adaptation args for usb-moded. JB#34547 · e92c69c9
      spiiroin authored
      Systemd environment files can't be used to accumulate values and the
      existing $USB_MODED_ARGS is already used for the purposes of optional
      rescue mode.
      
      Use separate $USB_MODED_HW_ADAPTATION_ARGS to allow passing hw adaptation
      specific command line options to usb-moded.
      
      Additionally remove the '-a' argument from default command line parameters
      as it can now be handled in adaptation config only for those devices that
      actually need it.
      Signed-off-by: spiiroin's avatarSimo Piiroinen <simo.piiroinen@jollamobile.com>
      e92c69c9
    • spiiroin's avatar
      [udev] Suspend proof event reading and processing. Fixes JB#34440 · c982d3b4
      spiiroin authored
      Depending on kernel side usb drivers and charging logic, it is possible
      that device suspends immediately after reporting usb connect / disconnect
      while display is off and autosuspend enabled. That can delay the actions
      that should be made on usb connection state changes.
      
      Acquire a wakelock for the duration of udev event input processing.
      
      Hold a wakelock for a while when usb connection state changes occur.
      Signed-off-by: spiiroin's avatarSimo Piiroinen <simo.piiroinen@jollamobile.com>
      c982d3b4
    • spiiroin's avatar
      [udev] Try to ignore false positive cable connects. Contributes to JB#34547 · 2fa5781b
      spiiroin authored
      When connecting charger to usb port, it is sometimes initially detected as
      a pc cable instead of charger. This leads to usb mode selection dialog
      popping up in a situation where mode selection is not possible.
      
      Optionally, when cable connect is seen based on udev events, wait a while
      to see if it gets identified as dedicated charger before invoking actions
      relevant to pc cable connection only.
      
      It is assumed that data reported by udev on usb-moded startup is stable
      and pc cable connection is accepted without delay.
      
      By default usb-moded reacts immediately to pc cable connect events.
      If needed, the default delay can be adjusted via usb-moded command
      line argument -m/--max-cable-delay=<ms>.
      Signed-off-by: spiiroin's avatarSimo Piiroinen <simo.piiroinen@jollamobile.com>
      2fa5781b
  3. 25 Apr, 2016 2 commits
  4. 22 Apr, 2016 4 commits
  5. 20 Apr, 2016 2 commits
  6. 13 Apr, 2016 1 commit
  7. 06 Apr, 2016 3 commits
  8. 04 Apr, 2016 1 commit
  9. 01 Apr, 2016 1 commit
  10. 22 Mar, 2016 2 commits
  11. 09 Mar, 2016 1 commit
  12. 26 Dec, 2015 2 commits
  13. 16 Dec, 2015 1 commit
  14. 15 Dec, 2015 4 commits
  15. 11 Dec, 2015 1 commit
  16. 15 Nov, 2015 1 commit
  17. 05 Nov, 2015 1 commit
  18. 17 Oct, 2015 1 commit
  19. 13 Oct, 2015 2 commits
  20. 12 Oct, 2015 2 commits
  21. 05 Oct, 2015 1 commit
  22. 25 Sep, 2015 2 commits