Initial Librem5/Nexdock360 impression

$ apt policy phosh-mobile-settings
phosh-mobile-settings:
  Installed: 0.20.0-1pureos1
  Candidate: 0.20.0-1pureos1
  Version table:
 *** 0.20.0-1pureos1 500
        500 https://repo.pureos.net/pureos byzantium/main arm64 Packages
         99 http://repo.pureos.net/pureos landing/main arm64 Packages
        100 /var/lib/dpkg/status
1 Like

Next two/three ones would be:
sudo apt upgrade

Above one (sudo apt upgrade) should contain: sudo apt upgrade tzdata
Skip this one if below already works for you: sudo dpkg-reconfigure tzdata (Enter key will work there).

Finally:
sudo apt install phosh-mobile-settings
apt list phosh-mobile-settings

Just noticed this one:

sudo apt upgrade phosh-mobile-settings

This is the output I get for ‘apt policy phosh-mobile-settings’ after I did ‘sudo apt update’ again.

$ apt policy phosh-mobile-settings
phosh-mobile-settings:
Installed: 0.0.1-0pureos1
Candidate: 0.0.1-0pureos1
Version table:
*** 0.0.1-0pureos1 500
500 https://repo.pureos.net/pureos byzantium/main arm64 Packages
100 /var/lib/dpkg/status

Thank you for your advice. After I upgraded ‘tzdata’ I tried ‘apt update’ and ‘apt upgrade phosh-mobile-settings’ but it seems to be stuck on that older version. Whatever repos I have enabled seem to only have the old version. I have whatever the default repos are, I have not touched them.

1 Like

I’m also on byzantium, but have never had it insalled. So figured I’d try it out. I wasn’t able to install it though. Also looks like it’s trying to install 0.0.1-0

purism@pureos:~$ sudo apt install phosh-mobile-settings
[sudo] password for purism: 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  libadwaita-1-0 libgtk-4-1 libgtk-4-bin libgtk-4-common
Suggested packages:
  libgtk-4-media-gstreamer | libgtk-4-media-ffmpeg
The following NEW packages will be installed:
  libadwaita-1-0 libgtk-4-1 libgtk-4-bin libgtk-4-common phosh-mobile-settings
0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 29.5 kB/9123 kB of archives.
After this operation, 45.1 MB of additional disk space will be used.
Do you want to continue? [Y/n] 
Err:1 https://repo.pureos.net/pureos byzantium/main arm64 phosh-mobile-settings arm64 0.0.1-0pureos1
  404  Not Found [IP: 138.201.228.45 443]
E: Failed to fetch https://repo.pureos.net/pureos/pool/main/p/phosh-mobile-settings/phosh-mobile-settings_0.0.1-0pureos1_arm64.deb  404  Not Found [IP: 138.201.228.45 443]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
2 Likes

Thanks for your feedback and dialog! Now I see it is not directly about tzdata (it was just there, available as of today, as upgrade) therefore went back to show you this screenshot:

And as related to this post, @libwood should note this as well:

please make sure that you run:
sudo apt update
sudo apt upgradeYes
sudo apt autoremove
apt list systemd-timesyncdas shown above
sudo apt install systemd-timesyncd
sudo reboot
sudo apt update
apt list phosh-mobile-settings
sudo apt upgrade phosh-mobile-settings

Hope this helps, if issue systemd-timesyncd package related, as I think/guess, and while PureOS repo looks fine to me.

I do sudo apt update&& sudo apt upgrade every few days to look for new goodies. :slight_smile:.

Wasn’t sure if I had systemd-timesyncd so I got excited, but looks like I have it:
systemd-timesyncd is already the newest version (247.3-7).

apt list phosh-mobile-settings gave me:
phosh-mobile-settings/byzantium 0.0.1-0pureos1 arm64

I flashed it 2021-10-07, but don’t think I’ve ever changed any sources.

1 Like

How about executing sudo systemctl reboot and trying again … as above, please.

EDIT: @libwood, precise time related as well (should help there):

You mentioned mobile data. So I popped in my sim card, turned off wifi and made sure data was working.

Installing ntpdate went fine and no problem running ntpdate-debian:
19 Aug 15:51:09 ntpdate[2370]: adjust time server 204.9.54.119 offset +0.003499 sec

app list results: (update and upgrade had nothing new)
systemd-timesyncd/byzantium,now 247.3-7 arm64 [installed]
phosh-mobile-settings/byzantium 0.0.1-0pureos1 arm64

Thought hey, maybe something up with cache. Ran sudo apt-get clean, then update and upgrade, but still no luck…

1 Like

Sorry (not sure how to help), but you can still run (after related download):
cd Download_Folder
sudo dpkg -i phosh-mobile-settings_0.20.0-1pureos1_arm64.deb
sudo apt-mark auto phosh-mobile-settings

1 Like

No worries. I appreciate it. Always thankful to have someone to engage with :smiley:

1 Like

I’m now relatively sure that it is much better for you to change your sources.list in accordance with: https://tracker.pureos.net/w/installation_guide/mirrors/?v=13. It should be worth of trying this anyway.

I was looking at that page and wondering if I should try it. But while http://repo.pureos.net/pureos/pool/main/p/phosh-mobile-settings/ does have phosh-mobile-settings_0.20.0-1

The mirrors I’m looking up don’t:
https://mirrors.jevincanders.net/pureos/repo/pureos/pool/main/p/ - No phosh-moble-settings
https://mirrors.sonic.net/pureos/repo/pureos/pool/main/p/phosh-mobile-settings/ just the beta
https://mirror.fsf.org/pureos/pool/main/p/phosh-mobile-settings/ just the beta.

Unless I’m navigating them wrong.

2 Likes

No, I’ve just checked/compared (after writing my post to be honest, although wanted to go to sleep) the same /main/p/phosh-mobile-settings/, actually confirming what you nicely put together in your post. It is or must be some synchronization related, so let us look forward to when everything on track again, tomorrow perhaps (nothing to be worried about). Same here (just the beta): https://mirror.linux.pizza/pureos/pool/main/p/phosh-mobile-settings/.

Yet it does not have: phosh-mobile-settings_0.0.1-0pureos1_arm64.deb.

2 Likes

@Sarcasmo220 I updated today and it came through no problem :). Added benefit of getting the slidey update :smiley:

2 Likes

I went ahead and downloaded the package manually to install it. Glad to hear it updated fine for you!

1 Like

The command gsettings set org.gnome.desktop.peripherals.touchscreen:/org/gnome/desktop/peripherals/touchscreens/1a86:e2e4/ output "['Unknown', 'Linux FHD', 'Linux #0']" + reboot made my NexDock Touchscreen work like a charm ! Thanks.

2 Likes

Great that works @Lionel ! For other nexdock 360 users: Nowadays you can just use phosh-mobile-settings and enable the dock in the Convergence Tab which sets up that setting.

1 Like

hi Lionel,
I tried to do the same with a M14t screen from lenovo without success (see Gsetting command to activate touch screen on external monitor). So sorry to hijack this thread, but could you explain how you find 1a86:e2e4/ output "['Unknown', 'Linux FHD', 'Linux #0']" ? If it’s not the right place, I will complete my original post.

I tried with gsettings set org.gnome.desktop.peripherals.touchscreen:/org/gnome/desktop/peripherals/touchscreens/2d1f:524c/ output "['LEN', '25251', '1194738522']" but it didn’t work.

Hereafter my edid information with 2 product name (i tried both without success).

Vendor & Product Identification:
    Manufacturer: LEN
    Model: 25251
    Serial Number: 1194738522
  […]
  Detailed Timing Descriptors:
    DTD 1:  1920x1080   60.000 Hz  16:9    67.500 kHz 148.500 MHz (309 mm x 174 mm)
                 Hfront   88 Hsync  44 Hback 148 Hpol P
                 Vfront    4 Vsync   5 Vback  36 Vpol P
    Display Product Serial Number: 'V307G6CZ'
  Display Range Limits:
    Monitor ranges (GTF): 50-75 Hz V, 30-90 kHz H, max dotclock 210 MHz
    Display Product Name: 'M14t'

And my lusb output

/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
    ID 1d6b:0003 Linux Foundation 3.0 root hub
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
    ID 1d6b:0002 Linux Foundation 2.0 root hub
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
        ID 0bda:5411 Realtek Semiconductor Corp. RTS5411 Hub
        |__ Port 1: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 12M
            ID 2d1f:524c Wacom Taiwan Information Co. Ltd. 
        |__ Port 1: Dev 3, If 1, Class=Human Interface Device, Driver=usbhid, 12M
            ID 2d1f:524c Wacom Taiwan Information Co. Ltd. 
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
    ID 1d6b:0003 Linux Foundation 3.0 root hub
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
    ID 1d6b:0002 Linux Foundation 2.0 root hub
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/3p, 480M
        ID 0424:2640 Microchip Technology, Inc. (formerly SMSC) USB 2.0 Hub
        |__ Port 1: Dev 3, If 0, Class=Mass Storage, Driver=usb-storage, 480M
            ID 0424:4041 Microchip Technology, Inc. (formerly SMSC) Hub and media card controller
        |__ Port 2: Dev 5, If 3, Class=Vendor Specific Class, Driver=option, 480M
            ID 2020:2060  
        |__ Port 2: Dev 5, If 1, Class=Vendor Specific Class, Driver=option, 480M
            ID 2020:2060  
        |__ Port 2: Dev 5, If 4, Class=Vendor Specific Class, Driver=qmi_wwan, 480M
            ID 2020:2060  
        |__ Port 2: Dev 5, If 2, Class=Vendor Specific Class, Driver=option, 480M
            ID 2020:2060  
        |__ Port 2: Dev 5, If 0, Class=Vendor Specific Class, Driver=option, 480M
            ID 2020:2060

Do someone have an idea why the old NexDock 2 isn’t recognized correctly anymore? i just wanted to check some stuff and with some of the updates in the last year the Librem 5 doesn’t detect the screen resolution (1024x768 is the highest setting) and it’s not shown up in phosh-mobile-settings / convergence. in the pull down menu the option is active.