Git Product home page Git Product logo

pine64-arch's Introduction

Arch Linux ARM on Mobile

This repository contains PKGBUILDS that makes Arch Linux ARM runs on mobile.

Currently only supports PinePhone and PineTab. Images for these can be found here.

Join the community

pine64-arch's People

Contributors

anarsoul avatar arenm avatar arthomnix avatar asriel-danctnix avatar bobjrsenior avatar chookity-pokk avatar danct12 avatar daniellandau avatar dni avatar drrac27 avatar edgar-vincent avatar hamblingreen1 avatar huntekye avatar marek-lach avatar martijnbraam avatar pentamassiv avatar pfeerick avatar pinienzapfen avatar prurigro avatar qiu-x avatar shapeshifter499 avatar shatur avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pine64-arch's Issues

Feedbackd missing sound warning spamming journal

The feedbackd config file /usr/share/feedbackd/themes/default.json references nonexistent sound files.
In particular, the button-pressed action references a button-pressed file that doesn't exist. This creates a warning in the system journal on every press of the keyboard.

Sep 05 15:02:15 p64 feedbackd[3767]: Failed to play sound: File or data not found
Sep 05 15:02:15 p64 feedbackd[3767]: Failed to play sound: File or data not found
Sep 05 15:02:15 p64 feedbackd[3767]: Failed to play sound: File or data not found
Sep 05 15:02:16 p64 feedbackd[3767]: Failed to play sound: File or data not found
Sep 05 15:02:19 p64 feedbackd[3767]: Failed to play sound: File or data not found
Sep 05 15:02:19 p64 feedbackd[3767]: Failed to play sound: File or data not found

As mentioned in Bug #44, a custom feedbackd theme file for the PinePhone could be helpful.

i appear to have broke the wifi.

i was running
pacman -Syu
over an ssh connection.
it was taking a while so i went and took a nap.
when i came back the ssh had disconnected so i checked the pinephone.
and it was disconnected from the wifi because it managed to turn itself off some how?
and now it appears that i am unable to connect to my wifi.

also the keyboard has changed and its broken 2.
it will not switch over to the Terminal keyboard.

DNS resolving failure with systemd-resolved

Using 20200629. Connected to internet via wifi.

su, then Pacman -Syu, fails to resolve the urls, therefore fails to retrieve any of the db files, etc.

I know other people must have got this working, but I can't see a fix mentioned for this. Probably straightforward, but might be helpful for people to find the answer on here.

Fails in software centre too.

How to update uboot on pinephone

I've updated uboot-pinephone through pacman. However, the instructions to install the bootloader are not correct anymore.
It seems that the uboot-pinephone package now contains three versions of the u-boot-sunxi-with-spl-pinephone-xxx.bin file, with xxx being 492, 552 or 624.
Shouldn't the package contain just one version?

Telegram Desktop refuses to work if audio profile is set to voicecall

Not sure about other OS, but there is a bug that prevent Telegram to pass first screen if sound is set as "Make a voice call" instead of "Play HiFi". I will make further searches in order to determine if it's related by alarm (as well as other OS, if problem appears) or if is a problem of Telegram.

P.S.

I really hope this is a bug and not a Telegram "feature".

Time display on lockscreen lagging

The time displayed on the lockscreen shows not the actual time, but the time which was when I was using the pinephone the last time. The actual time gets displayed only one or two seconds later

Terminal hangs when an invalid ctrl + <key> sequence is used on the on-screen keyboard.

This is consistently reproducible. Key in something at the terminal prompt. Hit the ctrl key followed by a key that is not a valid sequence (eg. ctrl+s). The terminal hangs. I tried to see if it entered vi escape mode or something like that - but that was not the case. I had to close the terminal and open a new instance of the terminal.

I was running this arch distro from an SD card on my pinephone UBPorts Community Edition.

pine64 corrupted .db file

Due to pine64 being defined as http repo, my /var/lib/pacman/sync/pine64.db got populated by some html page (cellular provider redirect or https redirect in the repo itself).
It resulted in following error during pacman update:

error: could not open file /var/lib/pacman/sync/pine64.db: Unrecognized archive format
error: failed to prepare transaction (invalid or corrupted database)

I had to modify http to https for pine64 repo in /etc/pacman.conf and delete /var/lib/pacman/sync/pine64.db.
After this updates started to work like a charm.

Second thing is SigLevel which set to Never.
I don't think it's a good combination with http.

I haven't found where to patch it in this repo so I ask you to update it for the next release if you don't mind =]

Audio devices need a quick swap back and forth after booting

When first playing audio (tested on Twitter and Youtube via Firefox as well as Lollypop), it's completely silent until I go into the settings and swap the audio device to the earpiece and then back to the speaker. "Activating" audio can also be done by using the audio device test and pressing "Front Left" or "Front Right" until you actually hear it say "Front Left" or "Front Right" (or it plays the drip sound effect for some reason). For about 5 to 10 presses, the test itself also remains silent.

Steps to reproduce:

  • Reboot phone
  • Play music on Lollypop or a video on YouTube/Twitter on Firefox
  • Experience silence
  • Open settings > sound
  • Swap to earpiece (if audio/video left running in the background, you will now hear it)
  • Swap back to speaker for comfortable playback

Tested on UBports CE (v1.2) on the latest image with all updates applied as of August 19, 11:00AM PST

No tap-to-click on touchpad

There is no way to set a tap-to-switch for the kwyboard of the pinetab. Might be the mouse-settings on the gnome-settings app needs to be activated to set this feature on.

Input sources not all working?

I tried the input sources German and French, they seem to work.
What didn't work were German (Switzerland) and French (Switzerland) (Both look just like generic English, but they should have a QWERTZ layout like the German layout, and some ways to type Umlaut and Accents should be offered).
Also input sources Arabic and Japanese just show the generic English layout, without any input methods applied nor any language specific onscreen keyboard layout.

Proximity sensor behaves weirdly

When I boot up my pine phone for the first time and enter my pin. The app tray shows up correctly then the screen fades away to black. When I connect a mouse only the pointer shows up on the screen. I can ctrl-alt-f2 into another terminal session and it seems to work normally. Having a hard time tracking down what exactly is causing the black screen to popup over the normal ui. Sometimes if I lock and unlock the phone the black screen goes away and I can use the phone as normal. This happens every time a reboot or turn the phone on. Any pointers would be helpful. Thanks!

Haptic Feedback Duration

The default vibration duration set for button-pressed in feedbackd (15) is not enough for me to feel anything. After some testing, it appears that the minimum duration for the vibration to be perceptible is around 70 (extremely weak, at least for me), and 100 seems to be a sweet spot for short haptic feedback (tested with virtual keyboard). Tweaking the magnitude doesn't seem to have any noticeable effect on such short vibrations.

Should we create a custom feedbackd theme file for PinePhone?

  • Device: postmarketOS CE (board 1.2a)
  • Version: feedbackd git20200714, squeekboard 1.9.3-0, both from your repo

[LEGACY 5.6 KERNEL] alsa-ucm-pinephone 0.1-1 breaks audio

On alsa-ucm-pinephone 0.1-0 you get the correct set of output and input devices and configurations, but on 0.1-1 you get "multichannel output - built-in audio" and "headphones", and neither of these output audio to the speakers or headphones. Similarly, input is limited in options and also doesn't work.

The regression seems to match the issue described here https://gitlab.com/postmarketOS/pmaports/-/issues/534 except in this case it seems to be because the name of the folder changed from sun50i-a64-audi to PinePhone.

Make landscape the default orientation on PineTab

Fantastic work, loving Arch on my PineTab!

I cobbled together the following two patches to make the landscape orientation more of the default.

Now I'm not sure of how to integrate to allow PinePhone functionality as well, so I felt an Issue would be better than a PR.

This replaces a part of MR#554, forcing a 90 degree orientation on startup:

--- a/src/shell.c       2020-09-13 20:54:58.326528406 -0500
+++ b/src/shell.c       2020-09-13 20:54:31.266877995 -0500
@@ -462,9 +462,8 @@

   phosh_session_register (PHOSH_APP_ID);

-  /* If we start rotated, fix this up */
-  if (phosh_shell_get_rotation (self))
-    phosh_shell_rotate_display (self, 0);
+  // Try to default to landscape
+  phosh_shell_rotate_display (self, 90);

   priv->startup_finished = TRUE;

This undoes MR#411

--- a/src/lockscreen-manager.c  2020-09-13 14:09:19.678181566 -0500
+++ b/src/lockscreen-manager.c  2020-09-13 14:11:50.067686831 -0500
@@ -72,9 +72,6 @@
   PhoshShell *shell = phosh_shell_get_default ();
   PhoshMonitorManager *monitor_manager = phosh_shell_get_monitor_manager (shell);

-  phosh_shell_rotate_display (shell, priv->rotation);
-  priv->rotation = 0;
-
   g_return_if_fail (PHOSH_IS_LOCKSCREEN (lockscreen));
   g_return_if_fail (lockscreen == PHOSH_LOCKSCREEN (priv->lockscreen));

@@ -161,10 +158,6 @@
   primary_monitor = phosh_shell_get_primary_monitor (shell);
   g_return_if_fail (primary_monitor);

-  /* Undo any rotation so the keypad becomes usable */
-  priv->rotation = phosh_shell_get_rotation (shell);
-  phosh_shell_rotate_display (shell, 0);
-
   /* Listen for monitor changes */
   g_signal_connect_object (monitor_manager, "monitor-added",
                            G_CALLBACK (on_monitor_added),

Image Upgrade

I attempted to do a pacman -Syu ran into the pine64 repo issue. I fixed the pine64 repo issue. However, it keeps trying to pull a uboot firmware update dated for April(202004) that isn't up on the site, rather than seeing and getting the newly updated uboot firmware dated for July(202007). Even if I just pull the July one, it says there are no signatures, so it wont update.

Not sure how to make that stop, but I was hoping to update it and get phosh on rather than waiting for the new image to be dropped.

Thanks.

Some PinePhone batches has unstable DRAM controller

I have the 1.1 and have terrible crashes with all updated speeds. There was testing going on in the pine64 forums to find out about usable memory speeds to control the crashes.

Though, the crashes with your arch are not as bad as they were on pmOS, I never got to stable speeds with any of the original test speeds all the way down to 512. However, for the few of us that never got stable, a new version was released with 492MHz speed and it seemed to work for us.

Some of the unlucky braveheart users have hardware that cant run any level of up speed for the ram and it causes random crashes that lock up the whole system. Sometimes it does a soft crash and restart. But sometimes, it just freezes completely until you hard power off the device as well.

Here's a link to the forum post I made on my freezes in pmOS: https://forum.pine64.org/showthread.php?tid=9891

And this is the post of the guy testing memory speeds, where in some of the later pages he adds a 492 speed for people like me and a few others who cant run anything above base due to losing the silicon lottery: https://forum.pine64.org/showthread.php?tid=9832

Originally posted by @crwagn in #3 (comment)

MTP support

MTP allows the user to easily transfer files from PC to phone (and vice versa).

We need to make sure MTP doesn't automatically mounts $HOME, as it would be a security risk. So ask the $USER if they want to allow the computer to access the device or not.

Wrong default terminal

I'm a brand new user of Pine64-Arch, so forgive me if this is known or incorrect.

It looks like the default terminal value is set to gnome-terminal, which is not installed by default.

[root@p64 ~]# gsettings get org.gnome.desktop.default-applications.terminal exec
'gnome-terminal'

Installing a program that launches through the terminal (htop for example), creates an icon on the app screen, but won't lunch due to gnome-terminal not being installed. Installing gnome-terminal fixes the issue, but I would assume changing the exec value to the 'kgx' terminal would be the cleaner solution.

Donation Buttons

Neither donation button supports Bitcoin, the one true money.

No cell data available on Postmarket OS edition Pinephone (It is running arch not Postmarket OS) from Cricket Wireless

When I turn my phone's mobile data on all cell signal is lost and can no longer receive nor send SMS messages. However, when I turn it off, signal returns shortly and SMS messages go through. My data works from android, so is not a cell plan issue. I have configured the APN to be name: "Cricket Internet" with APN: "ndo" as defined on their website.

Note: Connected over 4G with little 3G availability in my region. Let me know if there is anymore information needed.

I am not sure if this is a software or hardware issue since I cannot test with a linux os on another device.

Edit: I have also tried 2 other APN settings that work on android phones for data, so that shouldn't be the issue

accessing the phone...?

i am not sure what type of connection i should setup on the host side.
and
the ip address doesn't seem to be accessible?

i tried
(telnet and ssh) 172.16.42.2
both just hang and then timeout
i also noticed that the hostname is 'alarm' and so i tried
ping alarm
but the name or servcie is not known

Proposal: Lower the CPU thermal throttling trip point

Some PinePhone users have reported under various circumstances that they have accidentally caused damage to their devices by overheating. While some of these reference issues that happened months ago and may no longer be relevant with software updates...

The default trip point is set to 75 degrees Celsius which is quite hot, especially when considering the display back panel lives right next to the CPU.

This can be adjusted via sysfs: echo 58000 | sudo tee /sys/class/thermal/thermal_zone0/trip_point_0_temp for 58 degrees, for example. I propose that we determine a reasonable default trip point.

It may be worth trying to collect data points from users about what temperature their phone reaches when it begins "feeling too hot" to the touch, etc. There are also other configurable thermal zones with their own trip points to consider later.

add a mobile optimized email client

Geary on mobian is more than usable. I managed to build AUR's greay-git on the pinephone but the window is too wide for the screen. I guess there's not much work to do to fix this. I'll give a try.

how to add other locale (language)?

The gnome settings has a topic "region & language" where one could choose his language. But there's not much to choose from, only "Unspecified [ANSI_X3.4-1968]"

Any alternative UI aside Phosh?

Is it possible to install Lomiri or Glacier UX on Arch for the pinephone?

I love all the features that are being implemented, but I really dislike Phosh

cheese replacement?

so i noticed you removed cheese so i was curious why . i installed it and found out quickly that it could not detect a device.
so then i installed mpv and checked the /dev/video* files.
/dev/video0 doesn't seem to open but /dev/video1 appears to be the back camera.
mpv /dev/video1 works but its fairly lagy.

i don't know if this helps any?

[FIXED IN DEVELOP] Call audio switching

Audio profiles do not automatically switch when sending or recieving calls. I had to go into settings and change "System Settings > Sound > Output > Configuration" to "Make a phone call" and the Output Device option next to it to "Internal Earpiece". Then I had to switch it back when I was done. If the switch is not done, absolutely no audio is transmitted either way, so you'd probably have to text someone that you'll call them back if they call you first because they won't be able to hear you.

(Phosh 20200629 Release on PinePhone UBports CE)

'gnome-usage' segfaults as normal user

For some unknown reasons gnome-usage segfaults with normal user. You can start it however with root. Works however, when using Mobian. Also on our end with Manjaro we can't get it to run as normal user. For testing we recommend the mobile version: gnome-usage-mobile

Cell connectivity completely stops after hours of deep sleep

I can't figure out specifically what triggers it as it doesn't happen if I wake it only an hour or two after deep sleep. Once noticed, I set deep sleep to turn on when plugged in for testing. It consistently happens when I leave it on the charger when I go to bed now. When I wake up in the morning, the mobile icon in the status bar is missing and the settings page for mobile completely disappears. So it appears to only happen after LONG periods of time without activity. Temporarily fixed with a reboot.

Tested on UBports CE (v1.2) on the last released image with all updates applied as of Aug 9, 8:30PM PST.

I've attached 2 essentially identical screenshots that demonstrate the behavior after waking the device after hours of inactivity.

20200806_20h37m18s_grim
20200809_17h52m49s_grim

HDMI output crashes Phoc

Just fixed the USB-C hardware issue on my Pinephone braveheart edition and flashed the latest Arch build. USB devices such as keyboard+mouse as well as power passthrough are working with a dock I own (from Amazon) but HDMI output seems to crash the device. Upon crashing the device shows the boot animation and restarts Phosh. I've attempted this with a few monitors as well as a TV. Not sure if it's the particular usb-C dock I'm using so I'm buying a few other ones to test with, but I'm curious if anyone else is having this issue or if perhaps I'm missing a step? I would appreciate any tips or suggestions from anyone else who has working HDMI output, thanks!

Incoming SMS no longer being received

My device has not been able to receive any incoming SMS messages. I have verified that outgoing messages are being reached by their intended recipients, as well as all incoming and outgoing calls seem to continue to go through.

When taking my sim out and putting it into another device, all incoming messages that were not received by will suddenly come through at once.

This issue first seems to have started after applying updates on Aug 10, 12:00PM EST.

Using UBports CE (v1.2) on image 20200802 with all updates applied as of Aug 15, 10:00AM EST.

Screen black after unlock

I just flashed the latest image 20200814 to the emmc.
The unlock screen shows up. After entering the code 123456 , it shows the language selection dialog.
But after selecting a language or pushing next, the screen fades to black.

How can I solve this?

GNOME/Web (Epiphany) doesn't actually play youtube videos

The release for the July 15 release says:

  • Fixed YouTube playback on Epiphany

However, I'm still getting "Your browser does not currently recognize any of the video formats available.

I even tried reinstalling gstreamergst-plugins-goodandgst-plugins-bad` but to no avail.

WAYLAND_DISPLAY env var not set

I noticed that the environment variable WAYLAND_DISPLAY is not set when I am using phosh/phoc on Arch Linux on my Pinephone. On my desktop (also Arch) it is set to 'wayland-0' which I guess is the default. If an application tries using the environment variable to connect to a wayland server, it will fail. I noticed this because I am programming an application and it failed to connect. Can you possibly set this environment variable? I first reported this upstream to phoc but apparently it is supposed to get set.
Here is the issue I opened for phoc: https://source.puri.sm/Librem5/phoc/-/issues/150

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.