1. 19 Sep, 2022 2 commits
  2. 26 Jul, 2022 1 commit
  3. 30 Jun, 2022 1 commit
    • Arnaud Ferraris's avatar
      udev: allow different attribute values for the community firmware · 34472a5c
      Arnaud Ferraris authored
      When using the community-maintained firmware, some attributes need to be
      set with different values than what works best with the stock firmware:
      this is the case of the `power/control` attribute which should be set to
      "on". Similarly, on the PPP `power/persist` should be set to "1".
      This commit reworks the udev rules so we can differentiate between
      firmwares and host devices.
  4. 19 Feb, 2022 5 commits
  5. 18 Feb, 2022 1 commit
  6. 07 Feb, 2022 3 commits
  7. 04 Jan, 2022 2 commits
    • Arnaud Ferraris's avatar
      manager: populate USB vendor/product ID's with default values · df792478
      Arnaud Ferraris authored
      We'll need those in the `udev` module, but never made it a mandatory
      config option. This commit makes sure those values are properly filled
    • Dylan Van Assche's avatar
      udev: cancel reset if modem is already back · 61c89a00
      Dylan Van Assche authored and Arnaud Ferraris's avatar Arnaud Ferraris committed
      Cancel reset if modem is back before reset sequence is started.
      When upgrading the modem through fwupd, it will enter fastboot.
      Therefore, it disappears from the USB bus for a few ms.
      However, the eg25-manager considers this as an issue and
      resets the modem a bit later during the upgrade process.
      To avoid this, cancel the reset sequence if the modem is already
      back before the reset sequence is started. This will take less than 3
  8. 24 Dec, 2021 3 commits
    • Arnaud Ferraris's avatar
      pinephone-pro: switch to 16K audio · 9cf51b95
      Arnaud Ferraris authored and Arnaud Ferraris's avatar Arnaud Ferraris committed
      As the modem is connected to a dedicated audio codec, we can select any
      sample rate. Let's go for 16K as it should improve call audio quality.
      Note: the bitclock's frequency is left untouched due to a bug in the
      EG25 kernel, so we can't take advantage of the recommended higher
    • Arnaud Ferraris's avatar
      data: add 'monitor_udev' parameter to existing configs · 50b4c00c
      Arnaud Ferraris authored and Arnaud Ferraris's avatar Arnaud Ferraris committed
      We disable dev monitoring only for the PinePhone Pro, it remains enabled
      for all variants of the OG PinePhone.
    • Arnaud Ferraris's avatar
      manager: start udev monitoring module conditionally · fedce729
      Arnaud Ferraris authored and Arnaud Ferraris's avatar Arnaud Ferraris committed
      The problem addressed by monitoring the modem status through udev seems
      tied to the specific USB controller used by the A64. On RK3399 devices,
      this quirk is apparently unneeded, and actually harmful as it resets the
      modem USB connection while ModemManager is already configuring it.
      This commit adds an optional config parameter for disabling this module
      (enabled by default).
  9. 23 Dec, 2021 1 commit
  10. 15 Dec, 2021 1 commit
  11. 08 Dec, 2021 1 commit
  12. 27 Nov, 2021 1 commit
    • Arnaud Ferraris's avatar
      data: add PinePhone Pro config · b21c4b0f
      Arnaud Ferraris authored
      The PinePhone Pro uses the same EG25 modem as the OG PinePhone, but with
      a different SoC. It also uses an ALC5616 audio codec directly hooked up
      to the modem (which is I2S master in this case).
      The config is therefore almost identical to the PinePhone rev1.2 except
      for the gpios, UART port used and `AT+QDAI` config (to account for the
      different audio setup).
  13. 24 Nov, 2021 2 commits
  14. 10 Nov, 2021 1 commit
  15. 06 Nov, 2021 1 commit
    • ArenM's avatar
      at: break before overflow when receiving messages · a06360f4
      ArenM authored
      Previously this code checked if the buffer was full after writing to it,
      which meant that the buffer could overflow.
      This checks for an overflow before copying into the buffer and only
      copies the data that will fit.
  16. 07 Oct, 2021 2 commits
  17. 06 Oct, 2021 4 commits
    • Arnaud Ferraris's avatar
      data: install systemd system service · a3d27cb3
      Arnaud Ferraris authored
    • Arnaud Ferraris's avatar
      udev: don't reset immediately · af4d5ca1
      Arnaud Ferraris authored
      Executing a reset each time the modem is unbound is a bit too extreme:
      the modem sometimes recovers by itself and only needs a "soft" reset
      sequence (unbind/bind).
      This commit introduces a short timer (2s) so we the modem can settle in.
      If reset fails after this time, the modem is probably completely broken,
      or already rebooting, so we can safely issue a reset AT command.
    • Arnaud Ferraris's avatar
      manager: make modem_reset more reliable · 25dd46bb
      Arnaud Ferraris authored
      `modem_reset()` could previously either fail silently, or fall back to
      using AT commands without indicating what happened. This commit adds
      informative messages and makes sure we fall back to resetting using AT
      commands whenever we encounter an error.
    • Arnaud Ferraris's avatar
      at: fix more typos · 86978e18
      Arnaud Ferraris authored
  18. 05 Oct, 2021 8 commits