1. 20 Apr, 2021 1 commit
  2. 16 Apr, 2021 1 commit
  3. 16 Mar, 2021 2 commits
  4. 02 Mar, 2021 3 commits
    • Simo Piiroinen's avatar
      [usb_moded] Implement and use common mode selection logic. Fixes JB#53122 · 3f3d04ff
      Simo Piiroinen authored
      When device is booted up with cable connected and device lock code is
      not used, usb-mode is left at fallback_charging. This happens because
      usb-mode is re-evaluated on device unlock event, which does not occur
      when device lock is not used. Due to duplication of mode selection
      logic in various notification handlers, similar hard to find corner
      cases are likely to occur also when order of events is not as
      Collect all mode selection logic into a single function and refactor
      control flow so that all triggers that might require a mode change are
      directed there.
      Additional changes to existing logic:
      - All mode changes are blocked until usb-moded enters mainloop
      - When shutdown is initiated, dynamic mode changes are blocked
      - Dynamic modes are canceled when user change is started, and
      - Re-evaluated / activated after user change is finished
      - Exception: already active rescue mode persists over user changes
      Reduce the amount of conditional MEEGOLOCK code by adding abstract
      helper functions in usb_moded.c and using those instead of functions
      that might not be available based on configuration options.
      Clean up unnecessary header file includes resulting from these and
      earlier changes.
      Signed-off-by: default avatarSimo Piiroinen <simo.piiroinen@jolla.com>
    • Simo Piiroinen's avatar
      Bump version to 0.86.0+mer54 · 758e080b
      Simo Piiroinen authored
      Signed-off-by: default avatarSimo Piiroinen <simo.piiroinen@jolla.com>
    • spiiroin's avatar
      Merge branch 'jb53356_backend_timeout' into 'master' · 8b86ea3c
      spiiroin authored
      Allow longer delay at usb backend probing
      See merge request !76
  5. 01 Mar, 2021 1 commit
    • Simo Piiroinen's avatar
      [usb-moded] Allow longer delay at backend probing. Fixes JB#53356 · eb008deb
      Simo Piiroinen authored
      Usb-moded chooses between android-usb and configfs backends by
      periodically polling which kind of control structure shows up in
      the device file system. In Xperia 10 II it can happen that usb
      setup done by droid-hal-init takes long enough usb-moded to
      give up waiting and continue in effectively defunct state.
      Increase backend wait time from 10 to 20 seconds by adjusting
      sleep time in between probe attempts.
      Also adjust usb-moded.service startup timeout so that systemd
      tolerates the increased worst case wait time.
      Signed-off-by: default avatarSimo Piiroinen <simo.piiroinen@jolla.com>
  6. 15 Feb, 2021 2 commits
  7. 13 Feb, 2021 1 commit
  8. 09 Feb, 2021 2 commits
  9. 04 Nov, 2020 3 commits
  10. 19 Oct, 2020 2 commits
  11. 25 Sep, 2020 3 commits
  12. 24 Sep, 2020 7 commits
  13. 23 Sep, 2020 8 commits
  14. 22 Sep, 2020 4 commits