1. 12 Nov, 2019 3 commits
  2. 26 Sep, 2019 1 commit
  3. 21 Aug, 2019 1 commit
  4. 15 May, 2019 2 commits
  5. 14 May, 2019 3 commits
  6. 10 May, 2019 3 commits
  7. 09 Apr, 2019 15 commits
  8. 08 Mar, 2019 7 commits
  9. 22 Feb, 2019 2 commits
  10. 21 Feb, 2019 3 commits
    • spiiroin's avatar
      [usb-moded] Normalize backend startup/cleanup functionality · 97107d13
      spiiroin authored
      Use backend_init() and backend_quit() functions for settings up and
      cleaning up all backends.
      Signed-off-by: spiiroin's avatarSimo Piiroinen <simo.piiroinen@jollamobile.com>
      97107d13
    • spiiroin's avatar
      [configfs] Make control details configurable. JB#44679 · 9ae49bb2
      spiiroin authored
      Configfs support was orginally developed in Sony XA2 context. Now it turns
      out some details need tweaking to make it work with other devices.
      
      Make location of configfs control file hierarchy, configuration and
      functions to use tweakable via usb-moded configuration files.
      Signed-off-by: spiiroin's avatarSimo Piiroinen <simo.piiroinen@jollamobile.com>
      9ae49bb2
    • spiiroin's avatar
      [settings] Do not write dynamic data to /etc. Fixes JB#38241 · 0e9f72cb
      spiiroin authored
      While combining all configuration data into /etc/usb-moded/usb-moded.ini
      works as expected when new configuration files are installed to the device,
      it also means that 1) uninstalling / updating configuration files has no
      effect and 2) /etc can't reside on a read-only file-system.
      
      Maintain "delta to static configuration" and store it outside /etc - in
      /var/lib/usb-moded/usb-moded.ini, so that also changes in / removal of
      existing configuration files are handled in deterministic manner.
      
      If /etc/usb-moded/usb-moded.ini exists, migrate data from it and then remove
      the now unnecessary file.
      
      Streamline handling of non-existing configuration and remove functions made
      redundant in the process.
      
      Note: The "read from filesystem on each setting access" is retained for now
      to avoid regression is situations where such behavior might be expected.
      Signed-off-by: spiiroin's avatarSimo Piiroinen <simo.piiroinen@jollamobile.com>
      0e9f72cb