debian+phosh running on PinePhone
The first time my phone suspended it wouldn't wake up. The screen lit up, but remained black.

The second time it came back up but mobile data wasn't working.

Both were fixed by a reboot.

I did not flash a new image. I updated the kernel and u-boot per your instructions. If this keeps happening I will flash the new image and see if that changes something.
(04-22-2020, 04:10 AM)Boern Wrote: The first time my phone suspended it wouldn't wake up. The screen lit up, but remained black.

I think I've seen the same problem with s2idle, which is used by default, if the suspend lasts more than 3 minutes. 
The systemd-watchdog is killing the user session because it thinks it has not responded for more than 3min.

My hacky workaround was to disable the watchdog:

Code:
sudo cp /lib/systemd/system/systemd-logind.service /etc/systemd/system
and set RuntimeWatchdogSec=0 in /etc/systemd/system/systemd-logind.service.

Hope this helps! Also, I have not seen this happening with deep sleep.
(04-21-2020, 06:14 PM)a-wai Wrote: ...
 as I already have a huge backlog, ...

Any low hanging fruits a noob with too much time on their hands might be able to tackle? Smile
(04-22-2020, 02:18 AM)l_gyuri Wrote: The default scale can be set in '/usr/share/phosh/rootston.ini' in the '[outputBig GrinSI-1]' section.

Actually, you should create/edit '/etc/phosh/rootston.ini' if you want your config to persist across updates.

(04-22-2020, 06:12 AM)dodoeg Wrote: I think I've seen the same problem with s2idle, which is used by default, if the suspend lasts more than 3 minutes. 
The systemd-watchdog is killing the user session because it thinks it has not responded for more than 3min.

Hope this helps! Also, I have not seen this happening with deep sleep.

Thanks for the feedback, that should really help indeed!

(04-22-2020, 03:18 PM)devrtz Wrote: Any low hanging fruits a noob with too much time on their hands might be able to tackle? Smile

@devrtz might be, it depends on your skills and/or things you wish to learn (Debian packaging, Rust programming, C/GTK tinkering...)
Feel free to send me a PM to discuss this Smile
(04-21-2020, 06:14 PM)a-wai Wrote: ......

(04-21-2020, 03:50 PM)pjsf Wrote: ... If you install the screen resize utioity and set it to 1.75.  ...

... I'm considering setting a scale factor of 1.8 by default (instead of 2 currently),... but I'd be interested in knowing what others think about that.

My vote is for 1.8. 1.75 leaves an artefact line across the bottom of my screen occasionally. 1.8 is fabulous in that the entire entry line in Telegram is visible after you raise the keyboard - was always slightly covered before when the 'old' default was 2.
  • ROCKPro64 v2.1 2GB, 16Gb eMMC for rootfs, SX8200Pro 512GB NVMe for /home, HDMI video & sound, Bluetooth keyboard & mouse. Arch (6.2 kernel, Openbox desktop) for general purpose daily PC.
  • PinePhone Pro Explorer Edition, daily driver, rk2aw & U-boot on SPI, Arch/SXMO & Arch/phosh on eMMC
  • PinePhone BraveHeart now v1.2b 3/32Gb, Tow-boot with Arch/SXMO on eMMC
Is anyone else having problems getting mobile data to work? I suspect some kind of modem regression as in general I have not had problems previously?

Right now I spent nearly 60 minutes trying to connect to mobile data without success. I have 2 SIMs on different networks both of which previously worked in my PinePhone, both of which still work in another handset

All of which is very frustrating as I think I have hotspot working: the last thing I did was try tweak a parameter to check the minimal changes needed before posting a "how-to"!
  • ROCKPro64 v2.1 2GB, 16Gb eMMC for rootfs, SX8200Pro 512GB NVMe for /home, HDMI video & sound, Bluetooth keyboard & mouse. Arch (6.2 kernel, Openbox desktop) for general purpose daily PC.
  • PinePhone Pro Explorer Edition, daily driver, rk2aw & U-boot on SPI, Arch/SXMO & Arch/phosh on eMMC
  • PinePhone BraveHeart now v1.2b 3/32Gb, Tow-boot with Arch/SXMO on eMMC
Just locked my screen in landscape mode and now can't get back in. Supposedly it's fixed https://source.puri.sm/Librem5/phosh/issues/73.

Can we get an update with this fix in?
Well, the fixes mentioned in the link are already included since phosh-0.1.7 (we're using 0.2.2)
I suggest you re-open the issue (or create a new one)
(04-22-2020, 06:12 AM)dodoeg Wrote:
(04-22-2020, 04:10 AM)Boern Wrote: The first time my phone suspended it wouldn't wake up. The screen lit up, but remained black.

I think I've seen the same problem with s2idle, which is used by default, if the suspend lasts more than 3 minutes. 
The systemd-watchdog is killing the user session because it thinks it has not responded for more than 3min.

My hacky workaround was to disable the watchdog:

Code:
sudo cp /lib/systemd/system/systemd-logind.service /etc/systemd/system
and set RuntimeWatchdogSec=0 in /etc/systemd/system/systemd-logind.service.

Hope this helps! Also, I have not seen this happening with deep sleep.

How do you turn "deep sleep" on? I'm a noob so sorry about that....
(04-24-2020, 12:58 PM)a-wai Wrote: Well, the fixes mentioned in the link are already included since phosh-0.1.7 (we're using 0.2.2)
I suggest you re-open the issue (or create a new one)

Hmm, I tried it on Pureos and there the lockscreen is always shown in portrait mode.

Code:
purism@pureos:~$ apt-cache show phosh
Package: phosh
Version: 0.2.2
Installed-Size: 930
Maintainer: Guido Günther <agx@sigxcpu.org>
Architecture: arm64
Provides: notification-daemon, polkit-1-auth-agent
Depends: dconf-gsettings-backend | gsettings-backend, libc6 (>= 2.17), libcairo2 (>= 1.2.4), libfeedback-0.0-0 (>= 0.0.0+git20200305), libgcr-base-3-1 (>= 3.8.0), libgcr-ui-3-1 (>= 3.8.0), libgdk-pixbuf2.0-0 (>= 2.22.0), libglib2.0-0 (>= 2.53.2), libgnome-desktop-3-17 (>= 3.17.92), libgtk-3-0 (>= 3.21.5), libhandy-0.0-0 (>= 0.0.11), libnm0 (>= 1.0.0), libpam0g (>= 0.99.7.1), libpolkit-agent-1-0 (>= 0.99), libpolkit-gobject-1-0 (>= 0.94), libpulse-mainloop-glib0 (>= 0.99.1), libpulse0 (>= 0.99.1), libsecret-1-0 (>= 0.7), libupower-glib3 (>= 0.99.4-3~), libwayland-client0 (>= 1.9.91), fonts-lato, gsettings-desktop-schemas
Recommends: feedbackd, iio-sensor-proxy, gnome-session, phoc
Description-en: Pure Wayland shell for mobile devices
Phosh is a simple shell for Wayland compositors speaking the layer-surface
protocol. It currently supports
.
 * a lockscreen
 * brightness control and nighlight
 * the gcr system-prompter interface
 * acting as a polkit auth agent
 * enough of org.gnome.Mutter.DisplayConfig to make gnome-settings-daemon happy
 * a homebutton that toggles a simple favorites menu
 * status icons for battery, wwan and wifi
.
If you're not working on a Wayland compositor then this package is likely not
very useful for you.
Description-md5: 71901781bfed9e3eca07805f7cfdb1c6
Homepage: https://source.puri.sm/Librem5/phosh
Section: x11
Priority: optional
Filename: pool/main/p/phosh/phosh_0.2.2_arm64.deb
Size: 208960
SHA256: c39c835dc082f9a0c66cd5df3098448ece21c59cac6085b4d5d554d1905e5025

Package: phosh
Version: 0.1.8
Installed-Size: 818
Maintainer: Guido Günther <agx@sigxcpu.org>
Architecture: arm64
Provides: notification-daemon, polkit-1-auth-agent
Depends: dconf-gsettings-backend | gsettings-backend, libc6 (>= 2.17), libcairo2 (>= 1.2.4), libgcr-base-3-1 (>= 3.8.0), libgcr-ui-3-1 (>= 3.8.0), libgdk-pixbuf2.0-0 (>= 2.22.0), libglib2.0-0 (>= 2.53.2), libgnome-desktop-3-17 (>= 3.17.92), libgtk-3-0 (>= 3.21.5), libhandy-0.0-0 (>= 0.0.12), libnm0 (>= 1.0.0), libpam0g (>= 0.99.7.1), libpolkit-agent-1-0 (>= 0.99), libpolkit-gobject-1-0 (>= 0.94), libpulse-mainloop-glib0 (>= 0.99.1), libpulse0 (>= 0.99.1), libsecret-1-0 (>= 0.7), libupower-glib3 (>= 0.99.4-3~), libwayland-client0 (>= 1.9.91), fonts-lato, gsettings-desktop-schemas
Recommends: gnome-session, phoc
Description-en: Pure Wayland shell for mobile devices
Phosh is a simple shell for Wayland compositors speaking the layer-surface
protocol. It currently supports
.
 * a lockscreen
 * brightness control and nighlight
 * the gcr system-prompter interface
 * acting as a polkit auth agent
 * enough of org.gnome.Mutter.DisplayConfig to make gnome-settings-daemon happy
 * a homebutton that toggles a simple favorites menu
 * status icons for battery, wwan and wifi
.
If you're not working on a Wayland compositor then this package is likely not
very useful for you.
Description-md5: 71901781bfed9e3eca07805f7cfdb1c6
Homepage: https://source.puri.sm/Librem5/phosh
Section: x11
Priority: optional
Filename: pool/main/p/phosh/phosh_0.1.8_arm64.deb
Size: 188656
SHA256: 1a58c186b34afdb1343ac68943c5a2a9add292a6cb8c40950858bcaf2eb9730b


Possibly Related Threads…
Thread Author Replies Views Last Post
  atinout binaries for mobian/debian? NeutralGrey 4 1,319 10-31-2024, 04:16 AM
Last Post: astylethargic
  bookworm vs trixie discussion for mobian in pinephone regular. zetabeta 39 8,250 10-15-2024, 01:12 PM
Last Post: anonymous
  Pinephone seems tobe using 4G data instead of Wifi data grump_fiddle_reinstall 1 801 06-25-2024, 10:38 AM
Last Post: mikehenson
  unofficial kali linux for pinephone help needed pinesmell 5 5,022 01-08-2024, 02:50 PM
Last Post: ERPlegend
  Auto start application on Phosh login Zebulon Walton 8 5,102 10-14-2023, 06:29 AM
Last Post: alaraajavamma
  Problem with updates: Repository 'Debian bookworm' changed its 'non-free component' Anna 7 5,278 08-31-2023, 12:38 PM
Last Post: vusra
  Has anyone got briar-desktop running on mobian? vusra 5 3,936 06-19-2023, 03:02 PM
Last Post: vusra
  Using sway along phosh fdlamotte 2 3,862 05-11-2023, 04:24 PM
Last Post: kabouik
  Axolotl on PinePhone / Mobian arno_nuehm 219 198,062 03-26-2023, 01:49 AM
Last Post: shulamy
  PinePhone won't boot after software update jb2000 2 1,913 03-17-2023, 07:26 AM
Last Post: Zebulon Walton

Forum Jump:


Users browsing this thread: 3 Guest(s)