PINE64
debian+phosh running on PinePhone - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121)
+---- Forum: Mobian on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=139)
+---- Thread: debian+phosh running on PinePhone (/showthread.php?tid=9016)



RE: debian+phosh running on PinePhone - Boern - 04-22-2020

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.


RE: debian+phosh running on PinePhone - dodoeg - 04-22-2020

(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.


RE: debian+phosh running on PinePhone - devrtz - 04-22-2020

(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


RE: debian+phosh running on PinePhone - a-wai - 04-23-2020

(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


RE: debian+phosh running on PinePhone - dukla2000 - 04-23-2020

(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.


RE: debian+phosh running on PinePhone - dukla2000 - 04-24-2020

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"!


RE: debian+phosh running on PinePhone - Boern - 04-24-2020

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?


RE: debian+phosh running on PinePhone - a-wai - 04-24-2020

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)


RE: debian+phosh running on PinePhone - dflag84 - 04-24-2020

(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....


RE: debian+phosh running on PinePhone - Boern - 04-25-2020

(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