Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 29,451
» Latest member: librem.d.s
» Forum threads: 16,190
» Forum posts: 116,846

Full Statistics

Latest Threads
PulseAudio dropouts after...
Forum: Linux on Pinebook Pro
Last Post: P. Siera
2 hours ago
» Replies: 3
» Views: 143
StarPro64 Irradium (based...
Forum: Getting Started
Last Post: P. Siera
2 hours ago
» Replies: 6
» Views: 279
Hello from Ukraine
Forum: P64-LTS / SOPINE Projects, Ideas and Tutorials
Last Post: Dendrocalamus64
10 hours ago
» Replies: 1
» Views: 23
Simple Outdoor Weather St...
Forum: General Discussion on PineTab
Last Post: aria22
Yesterday, 12:47 PM
» Replies: 0
» Views: 22
Armbian fix, current vers...
Forum: Linux on Pinebook Pro
Last Post: Sb2024
Yesterday, 08:49 AM
» Replies: 0
» Views: 32
Experimental Mobian kerne...
Forum: PinePhone Pro Software
Last Post: teekay
Yesterday, 05:39 AM
» Replies: 2
» Views: 115
Pinephone Pro not in stor...
Forum: General Discussion on PinePhone
Last Post: P. Siera
Yesterday, 02:12 AM
» Replies: 1
» Views: 189
Libre Office on Pinetab2?
Forum: General Discussion on PineTab
Last Post: Kevin Kofler
08-07-2025, 09:50 PM
» Replies: 1
» Views: 70
Won't boot with a MicroSD...
Forum: General Discussion on PineTab
Last Post: acruhl
08-07-2025, 06:59 PM
» Replies: 0
» Views: 31
does the Joplin note taki...
Forum: PineNote Software
Last Post: Francus
08-05-2025, 08:11 PM
» Replies: 4
» Views: 1,377

 
  AutoRotation is backwards? (Manjaro+KDE PlasmaMobile)
Posted by: gamerminstrel - 04-09-2021, 11:35 AM - Forum: Manjaro on PinePhone - No Replies

The display of the pinephone is fine in Portrait mode, but when I rotate the phone to Landscape in either direction, the display rotates the opposite direction resulting in the display being upside down. This has been an issue for me since I first flashed Manjaro+Plasma Mobile on this phone when it was announced that would be the default configuration for future phones. I was hoping checking for updates would fix this, but no dice. Is anyone else having this issue?

I also have Mobian+Phosh flashed onto a SD card, but that does not even have auto-rotation, so I cannot replicate the issue there.


UPDATE: I re-flashed and autorotation works just fine now. I guess that might be the answer to some things until the whole ecosystem is a bit more stable.

Also, there's a 1st time setup that's super slick now. I like it!


  NVMe SSD and battery life?
Posted by: dieselnutjob - 04-09-2021, 11:11 AM - Forum: General Discussion on Pinebook Pro - Replies (3)

If I keep /boot on the eMMC and put everything else on an NVMe SSD drive how much battery life am I going to loose?


  phone shutts down and/or automatic suspend
Posted by: 112113101098101077 - 04-09-2021, 05:08 AM - Forum: Arch Linux on PinePhone - Replies (7)

Thanks for reading. now, sometimes when the phone is unused for some time. It seems to be shutting down. Only way to bring it back is to press the power- button and start it again.

Is this normal?

Is this behaviour due to the settings under "Suspend & Power Button" where "On Battery Power" in on, and set a delay is set to "5 minutes"?


  Small Ceph Cluster
Posted by: digitaldaz - 04-09-2021, 12:55 AM - Forum: RockPro64 Projects, Ideas and Tutorials - Replies (1)

    For a long time I have wanted to build a small but highly available piece of storage.

The RockPro64 has finally allowed me to achieve this and, as a bonus, quite neatly using some Sun F80s I managed to get off ebay.

I'll write a full tutorial later, for now I just wanted to share the achievement.

[Image: baddass1.jpg]root@ceph2:~# ceph -s
  cluster:
    id:    e86bf5ce-cd1e-4449-8051-dc1b45ed0ead
    health: HEALTH_OK

  services:
    mon: 3 daemons, quorum ceph1,ceph2,ceph3
    mgr: ceph2(active), standbys: ceph3, ceph1
    osd: 12 osds: 12 up, 12 in

  data:

Happy days Smile


[Image: baddass1.jpg]


  Videos in Cawbird
Posted by: Concrete_panda - 04-08-2021, 03:48 PM - Forum: Arch Linux on PinePhone - No Replies

Hello everybody,

I have a question: When I want to run videos in Cawbird, I get the error of missing plugins. Can anybody tell me precisely, which plugins I need to install?

Best,
Thomas


Rainbow A month of Mobian
Posted by: Ri3qXkW4hjb - 04-08-2021, 02:56 PM - Forum: Mobian on PinePhone - Replies (12)

About a month ago, I got my PinePhone CE with Mobian. Since soon after the box was opened, I have used it as my "daily driver" - but I am not a normal user. If the phone doesn't work, I experience no withdrawl, but instead a pleasant sense of normalcy. Perhaps I sorta live in the 1980s... It's not perfect, but it works about 95% of the time, by my rather limited definition of "works" (calls, basic texts, commandline, internet).

Below I'll mention the remaining issues, my todo items left, stuff I resolved, and some of my customizations.

Issues

  1. Too hot while on a call.
  2. Headset audio out (speaker) works, but audio in (mic) does not work.
  3. Speakerphone mute does not work (pretty sure that this is a known issue, but can't find any posts).
  4. Speakerphone creates heavy echo for caller.
  5. Keyboard: "CTRL lock" by default, prefer only CTRL for next key.
  6. Keyboard: no CAPs lock.

Todos

  1. Get MMS to work (currently no picture / group messages).
  2. Numeric password bothers me.
  3. Firewall needs attention (I assume, haven't looked yet).
  4. Finish going through all the FAQs and forums.

Resolved

  1. After setup, I got a blank screen with a bar across it, lacking any kind of prompt. This is normal, it's the disk encryption key prompt. Shouldn't it maybe have a prompt, though?
  2. T-Mobile US works? Yes, it does. A major concern when I ordered the phone.
  3. Modem answers after a long downtime? Yes, it does. This was just paranoia on my part. Observed the phone waking upon incoming call, as it should.
  4. "Software" app doesn't update well. I don't try daily, but whenever I do it gives me one error or another. Rather than putting effort into it, I just use apt directly from shell. See related customizations below.
  5. During first upgrade (via apt), my PIN stopped working. It's known issue with a full description and workaround.
  6. After the first upgrade, some packages were "kept back". This happens infrequently with any Debian-based distribution, and various options exist to fix the issue. I prefer the safe way, with apt --with-new-pkgs upgrade.
  7. After fixing the last issue, some important packages were not installed. Two or three packages were missing, and mentioned in error messages. One was pinephone-support, I don't recall the other(s). I identified the packages, installed them, and marked them as automatically installed, e.g.: apt install pinephone-support and then apt-mark auto pinephone-support.
  8. Commandline tools (e.g. wget, perl, curl) had no root CA certificates. Determined /etc/ca-certificates.conf was blank. Fixed via dpkg-reconfigure ca-certificates.
  9. My contacts had not magically appeared on the phone. Very non-frustrating. I had them in a VCF, so I followed this guide to import contacts from VCF.
  10. My desktop (debian) got disconnected from its network each time I plugged in the pine phone. USB networking was overriding other network interfaces. I feel there's a more elegant solution than what I did, which would allow me to make network connections over USB. Since that hasn't been a priority, I just set USB network not to automatically reconnect by running this on the desktop: nmcli con mod "Wired connection 1" connection.autoconnect no.
  11. The UI presents no clean way to turn on and off wifi. The buttons exist, sure. However when you toggle just wifi, it also affects airplane mode, and will toggle bluetooth on even when it was previously off. Others have posted about this, and I think I recall it mentioned that it's an issue with phosh somehow, but I didn't find a "central" post. Instead, I just toggle via commandline. See related customizations below.

Customization: Screen Stays On

In commandline, many commands take a while to finish, while no input is needed but the user wants to watch anyway. This wrapper alias allows you to keep the screen on until the command exits. It's a mobian tweak to use it for sudo in general. This alias lets you use it for non-sudo commands, e.g. wake ping -c 30 pine64.org.

Code:
alias wake=/usr/bin/gnome-session-inhibit


Customization: Change Background Image

If you want to change the background image automatically or otherwise via commandline, do something like this:

Code:
gsettings get org.gnome.desktop.background picture-uri file:///home/mobian/new-background.jpg
gsettings get org.gnome.desktop.screensaver picture-uri file:///home/mobian/new-background.jpg


Customization: Microsecond Sleep

If you want to wait for a partial second, use this function. It requires Ruby or Python to be installed. This isn't really pinephone specific, but it's a prerequisite for some of the other customizations below.

Code:
function usleep {
    local rubycmd pythoncmd cmddone
    cmddone=""
    rubycmd=`command -v ruby`
    if [ ! -z "$rubycmd" -a -x "$rubycmd" ]; then
        $rubycmd -e "sleep($1)"
        cmddone=done
    fi
    pythoncmd=`command -v python`
    if [ ! -z "$pythoncmd" -a -x "$pythoncmd" ]; then
        $pythoncmd -c "import time; time.sleep($1);"
        cmddone=done
    fi
    if [ -z "$cmddone" ]; then
        echo subsecond sleep function not found 2>&1
        return 1
    fi
}


Customization: Wait for Network Connectivity

If you're automating something that needs networking to come up before running a command, use this function. Requires the usleep function from above, or a similar way to get usleep at the commandline. E.g. inet-block && ping -c 1 pine64.org.

Code:
function inet-block {
    while [ $( nmcli --colors no networking connectivity ) != full ]; do
        usleep 0.15
    done
}


Customization: Wifi On for Just a Specific Command

If you want to be stingy with your battery and bring wifi up for just one specific command, use this function wrapper. Requires the inet-block function from above. E.g. wifi apt-get update.

Code:
function wifi {
    local state
    state=$( nmcli --colors no radio wifi )

    if [ $state = disabled ]; then
        nmcli radio wifi on
        inet-block
    fi

    "$@"

    if [ $state = disabled ]; then
        nmcli radio wifi off
    fi
}


Customization: Disable Packagekit for Just a Specific Command

If you want to do something Packagekit (the automated package updater) temporarily disabled, use this function wrapper. This is good for apt and related commands, to avoid being locked out. E.g. no-pkgkit wifi sudo apt update.

Code:
function no-pkgkit {
    local state
    systemctl is-active --quite packagekit
    state=$!

    [ $state = 0 ] && sudo systemctl stop packagekit

    "$@"

    [ $state = 0 ] && sudo systemctl start packagekit
}


Customization: Update Software Using Wifi Minimally

If you want to do a quick update, while using wifi only when it's necessary, use this alias. The alias name is kept short for easy typing, but you could rename it to something that makes more obvious sense. This will ask for user confirmation an additional time, compared with a normal apt update && apt upgrade, since it is doing the download first, and then the install as a seperate command. Requires no-pkgkit and wifi functions from above. E.g. uuu.

Code:
alias uuu='no-pkgkit wifi bash -c "sudo apt update && sudo apt --download-only upgrade" && sudo apt --no-download upgrade'

If instead you want to get rid of that extra confirmation, at the cost of a little bit of extra time with wifi on, then use this simpler version instead:

Code:
alias uuu='no-pkgkit wifi bash -c "sudo apt update && sudo apt upgrade"'


Customization: Cellular Network On for Just a Specific Command

If you want to run a single command with cellular networking enabled, use this function wrapper. E.g. wwan ping -c 1 pine64.org.

Code:
function wwan {
    local device state

    device=$( nmcli --color no --terse device status | awk 'BEGIN {FS=":"} $2=="gsm" {print $1}' )
    if [ -z "$device" ]; then
        echo wwan: could not find wwan device name 1>&2
        return 1
    fi

    state=$( nmcli --colors no --terse device status | grep -E ^$device | cut -f3 -d: )

    if [ $state = disconnected ]; then
        nmcli device connect $device
        inet-block
    fi

    "$@"

    if [ $state = disconnected ]; then
        nmcli device disconnect $device
    fi
}


Customization: Keep Home Directory in Git Repo

This isn't pinephone specific, and nothing above needs it. I've been doing it for a while and it made the whole process of developing and using the stuff above easier. See this guide.


  PinePhone can't make outbound calls
Posted by: rocketchik24 - 04-08-2021, 10:54 AM - Forum: General Discussion on PinePhone - Replies (3)

I am new on this forum and new to the pine phone and I hope I can learn a lot from this so I apologize if I am posting this in the wrong area but it might be the only forum that can help. 

I purchased the pine phone and finally got it about a month ago and I folled the instructions and decided that my flavor of Linux would be ubuntu touch, although if debian would behave I would have wanted that. So I flashed the eMMC with Ubuntu Touch and purchased Mint mobile for ~3 month to test it out. I inserted the sim and it did not work right away so I played with the settings and finally got the APN settings to work for the most part but the problem that I have now is that it will not make outbound calls. Reciving calls is fine and I can hear the other person on the line, but making calls is a no go it says that it is unavaliable and then just quits the call. 

I am hoping that posting here will give me some hints but maybe what I am really asking for is where I can find error logs for such things and how to solve it myself maybe? I know that the APN settings try not to save as internet and MMS but not entirely not sure as to why. 

Thanks to anyone that helps out I appreciate you Smile


  apk update fails
Posted by: Uturn - 04-08-2021, 07:58 AM - Forum: Sxmo on PinePhone - Replies (2)

1)
apk update issues Failed to open database: Permission denied
and
apk install (software name) issues ERROR: Unable to lock database: Permission denied

what could possibly be wrong here? It's a fres install of Postmarket§od-21.03-SXMO-1.41

2)
after updatin by SXMO's update menu, I'll get a text message on top of screen..
Welcome to Postmarket OS
KERNEL 5.11.0 ON AN AARCH64 (/DEV/TTY1)
pine64-pinephone login:

but as there is no keyboard (yet) available, the system will not boot anymore.


  RTC BACKUP BATTERY HOLDER - PIN H64B
Posted by: kayalex - 04-08-2021, 05:02 AM - Forum: Pine H64 Hardware and Accessories - No Replies

Hello,

I have a problem with the RTC Backup Batterie Holder and the PIN H64B.

I connected the RTC like the installation guide and used only one C2032 battery. 

The battery goes dead after about 7 days.

Are there any known issues?


  Software/Notifications
Posted by: battlegarden - 04-08-2021, 01:26 AM - Forum: Mobian on PinePhone - Replies (4)

Possibly I'm doing something very wrong here but I have disabled the notifications in "Settings" for "Software", and when I launch "Software" I also disabled the automatic updates and the notifications. The result of my changes is that not only does "Software" check for updates, but also I still get notifications. Is there a fundamental misunderstanding on my side or do I have to file a bug somewhere?