1. 27 Jan, 2022 2 commits
  2. 22 Jan, 2022 3 commits
  3. 18 Jan, 2022 3 commits
  4. 07 Jan, 2022 2 commits
  5. 05 Jan, 2022 1 commit
  6. 28 Dec, 2021 2 commits
  7. 20 Dec, 2021 1 commit
  8. 11 Dec, 2021 2 commits
  9. 08 Dec, 2021 1 commit
  10. 02 Dec, 2021 1 commit
    • Aleksander Morgado's avatar
      udev: avoid [0-9]* as shell globbing patterns · 74f0caaa
      Aleksander Morgado authored
      The udev rules expect matches based on shell globbing pattern, not
      based on regex. This means that "[0-9]*" doesn't mean "zero or more
      digits", it actually means "one digit and zero or more other
      characters".
      
      So, avoid the regex like match, even if it worked for us, because it
      didn't mean what we thought it meant, plus, it breaks our custom udev
      rules processing logic, in which we convert the input patterns into
      real regex expressions.
      
      See https://bbs.archlinux.org/viewtopic.php?pid=1415916#p1415916
      
      While at it, also make sure that the wildcard matching is done
      exclusively for prefix and suffix matches, never in the middle of
      a string, or our custom rules parser would not match correctly.
      
      (cherry picked from commit e9f254ba)
      74f0caaa
  11. 26 Nov, 2021 4 commits
  12. 22 Nov, 2021 1 commit
  13. 21 Nov, 2021 2 commits
  14. 19 Nov, 2021 2 commits
    • Aleksander Morgado's avatar
      data,fcc-unlock: add example unlock scripts · 3a1d578c
      Aleksander Morgado authored
      Added scripts for Foxconn SDX55, Quectel EM120, and several old Sierra
      Wireless manufactured devices:
       * Installed but not used by default, the user needs to setup manual
         links from ${pkgdatadir}/fcc-unlock.available.d, to
         ${pkgsysconfdir}/fcc-unlock.d in order to enable them.
       * Installed with rights only for the owner, so that the dispatcher in
         ModemManager can validate them.
       * They rely on $PATH to find the qmicli/mbimcli tools.
      
      In addition to these scripts, per-vid:pid links are created in the
      same ${pkgdatadir}/fcc-unlock.available.d directory, specifying which
      are the specific devices that require the FCC unlock operation.
      
      This patch also creates the ${pkgsysconfdir}/fcc-unlock.d and
      ${pkglibdir}/fcc-unlock.d directories where ModemManager looks for the
      enabled tools.
      
      Note that the meson setup doesn't support creating/deleting links
      officially yet, so we use a workaround using meson.add_install_script
      that is not perfect (i.e. doesn't handle the symlink removal during
      uninstall). See https://github.com/mesonbuild/meson/issues/1602
      
      (cherry picked from commit e7a6bb75)
      3a1d578c
    • Aleksander Morgado's avatar
      iface-modem: use external dispatcher to attempt FCC unlock · f4790544
      Aleksander Morgado authored
      We remove the built-in FCC unlock procedures from the ModemManager, we
      will no longer run them automatically, and instead rely on external
      scripts/programs to do that.
      
      Packages providing the external FCC unlock tools can install them in
      ${pkglibdir}/fcc-unlock.d.
      
      Users manually enabling external FCC unlock tools can install them in
      ${pkgsysconfdir}/fcc-unlock.d.
      
      The user-enabled path takes precedence over the package-enabled one.
      
      (cherry picked from commit 81302efa)
      f4790544
  15. 17 Nov, 2021 1 commit
  16. 10 Nov, 2021 4 commits
  17. 25 Oct, 2021 8 commits