1. 06 Jul, 2018 1 commit
    • spiiroin's avatar
      [usb_moded] Add configfs support. JB#42083 · 79c7a763
      spiiroin authored
      Add custom Makefile for faster smoke-test rebuilds without spending time
      in configure, autotools, document generation and/or rolling rpm packages.
      
      Add multiple include protection to all header files.
      
      Move function prototypes away from header files that included in the
      development package.
      
      Mass rename functions to have a prefix giving context for the function.
      For the most part the prefix is derived from the name of the compilation
      module containing the function.
      
      Mass normalize indentation to four spaces in all source files.
      
      Augment author lists on each source file based on git committers.
      
      Remove "inline" attributes from not-really-inlineable functions.
      
      Remove .gitignore.
      
      Remove unused modules-android.c source file.
      
      Define _GNU_SOURCE for whole build rather than in individual files.
      
      Fix resource leaks here and there.
      
      Try to avoid hard-coding android usb paths.
      
      Add configfs backend for usb cadget configuration.
      
      Probe supported backends (configfs, android usb, or kmod) on usb-moded
      startup and make them mutually exclusive with each other.
      
      Allow configfs and android usb control structures some time to show up
      if usb-moded is started during device bootup.
      
      Refactor udev event listener to utilize a state machine. Simplifies
      book keeping and makes pc/charger detection heuristics easier to control.
      
      Refactor mode selection to utilize three interconnected mini state machines.
      Allows separating logically wanted mode from mode programmed to usb and
      mode exposed over D-Bus.
      Signed-off-by: spiiroin's avatarSimo Piiroinen <simo.piiroinen@jollamobile.com>
      79c7a763
  2. 06 Jun, 2018 1 commit
  3. 04 Apr, 2018 1 commit
  4. 29 Mar, 2018 2 commits
  5. 14 Mar, 2018 1 commit
  6. 04 Dec, 2017 1 commit
  7. 15 Nov, 2017 1 commit
  8. 23 Aug, 2017 2 commits
  9. 18 Aug, 2017 1 commit
  10. 05 May, 2017 1 commit
  11. 26 Apr, 2017 3 commits
  12. 24 Mar, 2017 2 commits
  13. 13 Mar, 2017 1 commit
  14. 14 Feb, 2017 1 commit
  15. 31 Jan, 2017 1 commit
  16. 07 Dec, 2016 4 commits
    • Lourens-Rich's avatar
      Update project url · a28578a2
      Lourens-Rich authored
      a28578a2
    • spiiroin's avatar
      Bump version to 0.86.0+mer9 · 23cc613d
      spiiroin authored
      Forgot to add bug ref to commit, so 0.86.0+mer8 got rejected by ci-bot.
      
      Make a dummy version bump and add bug ref to make ci-bot happy.
      
      [ssu] Use ssusysinfo instead of SSU D-Bus interface. Fixes JB#36841
      23cc613d
    • spiiroin's avatar
      Bump version to 0.86.0+mer8 · bb64b6d3
      spiiroin authored
      bb64b6d3
    • spiiroin's avatar
      [ssu] Use ssusysinfo instead of SSU D-Bus interface · 536e0e4f
      spiiroin authored
      During bootup usb-moded needs device name / model information before
      the system has reached a point where SSU daemon can be started. This
      can cause systemd deadlocks and/or timeouts as usb-moded waits for SSU
      daemon and the rest of the bootup is blocked until usb-moded reaches
      ready state.
      
      Use ssu-sysinfo C-library that can provide the device details required
      by usb-moded without using any IPC mechanisms.
      Signed-off-by: spiiroin's avatarSimo Piiroinen <simo.piiroinen@jollamobile.com>
      536e0e4f
  17. 07 Nov, 2016 1 commit
  18. 03 Nov, 2016 2 commits
  19. 02 Nov, 2016 1 commit
  20. 18 Oct, 2016 3 commits
  21. 05 Oct, 2016 1 commit
  22. 04 Oct, 2016 1 commit
    • spiiroin's avatar
      [usb-moded] Add mtp_mode-android-ffs configuration. JB#27650 · d580e69c
      spiiroin authored
      Existing configuration files do not cover case where android kernel
      is used to implement just mtp functionality using ffs based userspace
      code - mtp_mode-android uses "mtp" instead of "ffs" and pc_suite-android
      activates both mtp and obex support.
      
      Add mtp_mode-android-ffs.ini that is identical with pc_suite-android.ini
      except for the mode name which is "mtp" instead of "pc_suite".
      d580e69c
  23. 07 Jul, 2016 1 commit
  24. 11 May, 2016 1 commit
  25. 13 Oct, 2015 1 commit
  26. 12 Oct, 2015 1 commit
  27. 05 Oct, 2015 1 commit
  28. 03 Aug, 2015 1 commit
  29. 07 Jul, 2015 1 commit