1. 16 Aug, 2021 2 commits
    • Dalton Durst's avatar
      Revert "Set HiFi playback rate to 48kHz" · 9821c92a
      Dalton Durst authored
      This reverts commit 7431b627.
      
      While this does improve voice calls, it kills all other audio playback
      sources. The browser skips backward and forward and audio tracks
      randomly stop playing.
      9821c92a
    • Dalton Durst's avatar
      Set HiFi playback rate to 48kHz · 7431b627
      Dalton Durst authored
      It appears that the PinePhone codec doesn't like switching between 44.1k
      for HiFi and 8k for phone calls. It switches between 48k and 8k much
      more reliably.
      
      This fixes issues with exceptionally poor audio quality on some calls
      and acceptable quality on others.
      7431b627
  2. 12 Aug, 2021 1 commit
  3. 10 Aug, 2021 2 commits
    • Alex R's avatar
      Add PineTab ALSA UCM sound card · d2f4b3f3
      Alex R authored
      d2f4b3f3
    • Dalton Durst's avatar
      Fix startup of urfkill on PineTab · fcf36f76
      Dalton Durst authored
      urfkill will only start after ofono starts on devices using
      ubuntu-touch-session from xenial_-_edge_-_wayland. With these configs
      previously, ofono would only start after eg25 started and eg25 would
      only start after modem-power came online. Neither of these happen on the
      PineTab, so we can skip initialization of eg25. Then we can skip the
      manual work to get ofono fully started in its post-start script since
      there is no eg25 to enable on the PineTab.
      fcf36f76
  4. 29 Jul, 2021 3 commits
  5. 27 Jul, 2021 2 commits
  6. 15 Jul, 2021 1 commit
  7. 01 Jul, 2021 1 commit
  8. 23 Jun, 2021 1 commit
  9. 10 Apr, 2021 2 commits
  10. 25 Mar, 2021 2 commits
  11. 24 Mar, 2021 1 commit
  12. 20 Mar, 2021 1 commit
    • Dalton Durst's avatar
      Fix random boot hang · c56456c8
      Dalton Durst authored
      The PinePhone randomly hung on boot when using this wip device image
      because gpsd was failing to start. gpsd was failing to start because the
      hardware it wanted to use wasn't available.
      
      The problem was actually a bit more interesting, and caused partially by
      system-watchdog. gpsd would quickly exit with status 1 a bunch of times
      and hit its respawn limit. That caused system-watchdog to bite and
      attempt to reboot the system. For some reason, the reboot never
      completed. At that point, the system was stuck in a zombie state where
      it wouldn't start or stop any services, and just hung at the Pine64 logo
      c56456c8
  13. 17 Mar, 2021 2 commits
    • Dalton Durst's avatar
      Set power/persist on the modem to avoid restarting it · 000e47e9
      Dalton Durst authored
      Setting the sysfs power/persist property to 0 on the EG25 enables us to
      only restart ofono and not the entire modem. Without this property,
      ofono would not be able to enable the modem after re-detecting it.
      000e47e9
    • Dalton Durst's avatar
      Modern modem problems require modern modem solutions · 42fe8ae9
      Dalton Durst authored
      Problem: The modem gets issued a USB reset on wake. When this happens,
      oFono gets confused and thinks a brand new modem was connected.
      Alternatively, oFono gets more confused and never recognizes the new
      or old modem, basically never working again.
      
      Solution: Restart oFono and the modem when a USB reset is detected.
      
      Currently, this is done by starting a new 'cellular-reset' Upstart job
      via a udev rule whenever the modem's AT interface is detected. This
      turns off the modem and turns it back on again while oFono does the
      same.
      
      Unfortunately it's not possible to just restart oFono and not the modem.
      After the USB reset, oFono refuses to probe the modem until it's been
      power-cycled. It doesn't matter how many times oFono is restarted. The
      enable-modem operation times out and the modem remains disabled.
      
      This also moves the logic from enable-eg25-ofono back into the ofono job
      since having it removed was creating more problems with this job
      dependency tree.
      42fe8ae9
  14. 16 Mar, 2021 1 commit
  15. 10 Mar, 2021 7 commits
  16. 18 Feb, 2021 1 commit
  17. 28 Jan, 2021 2 commits
  18. 14 Jan, 2021 2 commits
  19. 30 Nov, 2020 1 commit
  20. 26 Oct, 2020 1 commit
  21. 12 Oct, 2020 1 commit
  22. 06 Sep, 2020 1 commit
  23. 02 Sep, 2020 1 commit
  24. 21 Aug, 2020 1 commit