Welcome, Guest |
You have to register before you can post on our site.
|
Latest Threads |
fixing the ppkb mainboard...
Forum: PinePhone Pro Accessories
Last Post: zetabeta
Today, 12:04 AM
» Replies: 1
» Views: 47
|
Pinephone pro stuck while...
Forum: PinePhone Pro Hardware
Last Post: Supervisor
Yesterday, 06:40 PM
» Replies: 2
» Views: 81
|
Compatible U.S. carriers ...
Forum: General Discussion on PinePhone
Last Post: Zebulon Walton
08-15-2025, 07:34 PM
» Replies: 2
» Views: 117
|
Long dialpad keypress to ...
Forum: Mobian on PinePhone
Last Post: Zebulon Walton
08-15-2025, 06:48 PM
» Replies: 3
» Views: 91
|
Are there plannes to crea...
Forum: PinePhone Pro Hardware
Last Post: Kevin Kofler
08-15-2025, 06:20 PM
» Replies: 4
» Views: 890
|
PinePhone Pro discontinue...
Forum: General Discussion of PinePhone Pro
Last Post: zetabeta
08-15-2025, 12:27 PM
» Replies: 6
» Views: 345
|
Pinephone Pro wont boot t...
Forum: General Discussion of PinePhone Pro
Last Post: zetabeta
08-15-2025, 04:22 AM
» Replies: 3
» Views: 158
|
prototyping to help someo...
Forum: General
Last Post: xerosenex
08-14-2025, 02:31 AM
» Replies: 0
» Views: 102
|
Password reset via u-boot...
Forum: PineNote Software
Last Post: lunnabae
08-13-2025, 01:17 AM
» Replies: 6
» Views: 1,753
|
incorporate a multimeter ...
Forum: General
Last Post: lalisa12
08-13-2025, 01:14 AM
» Replies: 2
» Views: 523
|
|
|
gnome-clocks waking the phone via a waking daemon (POC) |
Posted by: seath - 02-27-2021, 09:49 AM - Forum: PinePhone Software
- Replies (2)
|
 |
Hi,
I've heard that gnome is working on letting gnome-clocks wake up the phone but didn't find anything in that regard.
So i experimented a little bit myself and got it to work with a little dirty hack. I don't really know a lot about the gnome ecosystem, vala, dbus, flatpack etc. so it really is a mess but kinda working.
I first tried to write directly to /sys/class/rtc/rtc0/wakealarm from gnome-clocks when an alarm is changed but it outright refused to. Even with chmod-ing that file. I don't really know why but my guess it's b/c of some flatpack specific stuff.
So i wrote a small external program "waked" which let's other programs register alarms via dbus to wake up the system. It's just a little experiment and still relies on /sys/class/rtc/rtc0/wakealarm being chmodded but better then nothing. Running waked as root didn't work because then the dbus sessions didn't play nicely.
Then i slapped some spaghetti to gnome-clocks to register it's alarms in waked. Really messy, just a poc.
You can find the result here: https://gitlab.com/seath1
waked needs sdbus-cpp to build
What do you think, could that be a step in the right direction? I'm a bit surprised I couldn't find something existing to schedule rtc wakeups other than systemd timers which afaik doesn't let users add their own timers.
|
|
|
Pinephone debugging tools |
Posted by: jjdekroon - 02-27-2021, 05:05 AM - Forum: Arch Linux on PinePhone
- No Replies
|
 |
Hello @Danct12 ,
I've uploaded a package with some scripts to the AUR.
This package is a collection of shell scripts which sets up a USB Gadget interface and initiates a network on this interface.
The created network will use subnet 10.66.0.1/8 as it's subnet.
The purpose of this package is to facilitate easier means of debugging.
Sometimes the GUI on the Pinephone decides to fail and then it's difficult for a lot of users to obtain the valuable debugging logs.
This package ensures that the usb gadget interface is up-and-running.
Whenever you input a USB cable from any PC/Laptop it will initiate the network, and hand out a IP-Adress for the Host PC.
Now it's easy to connect to a SSH session with the command: ssh <username>@10.66.0.1
From here it's easy to obtain the neccasary debugging information such as dmesg and systemctl statusses etc.
You can find the package: https://aur.archlinux.org/packages/pinephone-dev-tools/
Let me know what you think of it.
Greetings
Jasper
|
|
|
Forget Chromium, Vivaldi runs flawlessly! |
Posted by: 3x5co - 02-26-2021, 10:42 PM - Forum: Mobian on PinePhone
- Replies (7)
|
 |
Like many of you, I have been struggling to find a working browser for Mobian. Chromium was the most usable — until it wasn't. Half the time, it doesn't even load for me and I just get a gray screen.
On desktop, I use Vivaldi exclusively, which I would argue is the best browser ever made. I never had luck installing it on Mobian, because I couldn't find it in the right architecture. Well, If you go over to 'old versions' on their website, you can find a new, stable version of Vivaldi for Arm64.
After you install it, I would recommend you disable all animations, clean up the interface, and maybe find a tutorial or two on how to speed up Vivaldi. I would also go to developer tools (f12), click the three dots in the upper right, then go to more tools, network conditions, and under 'user agent' uncheck 'Select Automatically'. Then set the user agent to Chrome, Android Mobile (high-end). Then restart. This will cause far fewer sites to deliver the full desktop version of their site when you're browsing.
I'm still getting some horizontal scrolling on some sites, but luckily, Vivaldi has a zoom slider right in the status bar, so it's easy to tweak sites on a case-by-case basis.
Vivaldi also has an integrated mail client and calendar now, and they also work on Mobian. I haven't spent too much time with these, but they display at the correct scale, unline Geary and Gnome Calendar.
|
|
|
PBP USB-C Docking Deck HDMI 4k upto 60fps possible? |
Posted by: Paull - 02-26-2021, 10:28 PM - Forum: Pinebook Pro Hardware and Accessories
- Replies (2)
|
 |
Hi I am starting to use the USB-C deck to connect to my 4K monitor.
The description for the item on Pine store is 4k/P30 (means 30 fps?), and that's what I got when I am using it. But on the other hand the USB-C to HDMI converter I had is allow me to select 4K at 60 fps on the display setting, where the PBP deck only allow the 4k 30 fps selection.
Is it possible the HDMI cable I am using the bottlenect, there isn't any meanful lable I can tell. Happy to buy a new one if it might be the issue? But on the other hand, it might be a hardware limitation due to the deck need provide USB3 and HDMI outputs at the same time from a single USB-C connected to the PBP for input?
|
|
|
Best way to avoid SMP internal errors when building RAID? |
Posted by: kuleszdl - 02-26-2021, 05:11 PM - Forum: Linux on RockPro64
- Replies (1)
|
 |
Hi,
as some of you might know there is a known issue with handling of PCIe errors on the RP64 as discussed here:
https://forum.pine64.org/showthread.php?tid=8374
https://forum.pine64.org/showthread.php?tid=6329
I am getting this error when I try to build/rebuild my RAID for the first time. Sometimes I am lucky and it works, but most of the time it does not and I don't have much confidence in putting my backup on a machine with a malfunctioning PCIe interface. If it happens, I see entries like these in the logs:
Code: kernel:[ 658.490457] Internal error: synchronous external abort: 96000210 [#1] SMP
Message from syslogd@debian at Feb 26 23:35:03 ...
kernel:[ 658.518345] Code: b8615881 340001c1 8b21c061 8b010001 (b9400021)
Message from syslogd@debian at Feb 26 23:35:03 ...
kernel:[ 658.490457] Internal error: synchronous external abort: 96000210 [#1] SMP
Message from syslogd@debian at Feb 26 23:35:03 ...
kernel:[ 658.518345] Code: b8615881 340001c1 8b21c061 8b010001 (b9400021)
As I am still encountering these issues when running the latest Debian unstable kernel, I fear that this issue won't be fixed in the upcoming Debian stable either (because it's a hardware issue and not Debian's fault). Now, I wonder what the best workaround could be. Recompiling the kernel with the hack discussed in said thread seems to work, but it's not a longterm solution if we want to get regular security updates for our kernel without the need for manual patching and recompiling...
Is there any workaround we could apply in software to avoid these issues? I would be happy with anything, even at the cost of performance like disabling all but one CPU core etc.
Thank you!
I tried the most radical approach and completely disabled SMP by adding the following kernel command line parameter:
As a result, my RP64 now runs with only one cortex a53 core. Yet, the performance seems to be enough to build the RAID:
Code: %Cpu(s): 0.7 us, 44.6 sy, 0.0 ni, 49.4 id, 0.0 wa, 0.0 hi, 5.2 si, 0.0 st
At least, I didn't get any SMP error yet, so I am optimistic this will work...
Suggestions for less drastic and more performant workarounds (e.g. enabling one of the A72 cores) welcome!
Bad news and correction - I encountered the same issue now even with SMP disabled :-(
Code: kernel:[ 922.683235] Internal error: synchronous external abort: 96000210 [#1] SMP
Message from syslogd@debian at Feb 27 00:32:22 ...
kernel:[ 922.711924] Code: b8615881 340001c1 8b21c061 8b010001 (b9400021)
Message from syslogd@debian at Feb 27 00:32:22 ...
kernel:[ 922.683235] Internal error: synchronous external abort: 96000210 [#1] SMP
Message from syslogd@debian at Feb 27 00:32:22 ...
kernel:[ 922.711924] Code: b8615881 340001c1 8b21c061 8b010001 (b9400021)
Details in dmesg:
Code: [ 922.696664] CPU: 0 PID: 171 Comm: scsi_eh_1 Not tainted 5.10.0-3-arm64 #1 Debian 5.10.13-
1
[ 922.697415] Hardware name: Pine64 RockPro64 v2.1 (DT)
[ 922.697888] pstate: 80000005 (Nzcv daif -PAN -UAO -TCO BTYPE=--)
[ 922.698456] pc : ahci_scr_read+0x50/0x90 [libahci]
[ 922.698935] lr : sata_scr_read+0x7c/0xa0 [libata]
[ 922.699371] sp : ffff8000120cbab0
[ 922.699684] x29: ffff8000120cbab0 x28: ffff0000f0e50000
[ 922.700185] x27: ffff0000f0e52368 x26: ffff0000f0e523e0
[ 922.700686] x25: 0000000000000000 x24: 0000000000000000
[ 922.701187] x23: 0000000000000001 x22: ffff0000f0e539b8
[ 922.700686] x25: 0000000000000000 x24: 0000000000000000 [0/1980]
[ 922.701187] x23: 0000000000000001 x22: ffff0000f0e539b8
[ 922.701688] x21: ffff0000f0e523e0 x20: ffff0000f0e52040
[ 922.702189] x19: ffff0000f0e52440 x18: 0000000000000000
[ 922.702689] x17: 0000000000000000 x16: 0000000000000000
[ 922.703189] x15: 0000000000000000 x14: 0000000000000000
[ 922.703689] x13: 0000000000000000 x12: 0000000000000000
[ 922.704189] x11: 0000000000000000 x10: 0000000000000000
[ 922.704690] x9 : ffff800008ea46fc x8 : 0000000000000000
[ 922.705191] x7 : ffff0000f0e52040 x6 : ffff8000120cbb44
[ 922.705691] x5 : 0000000000000001 x4 : ffff800008e30078
[ 922.706191] x3 : 0000000000000180 x2 : ffff8000120cbb44
[ 922.706692] x1 : ffff800011e5d1b0 x0 : ffff800011e5d000
[ 922.707192] Call trace:
[ 922.707440] ahci_scr_read+0x50/0x90 [libahci]
[ 922.707881] ata_eh_link_autopsy+0x8c/0xb4c [libata]
[ 922.708368] ata_eh_autopsy+0x40/0x144 [libata]
[ 922.708817] sata_pmp_error_handler+0x48/0x930 [libata]
[ 922.709308] ahci_error_handler+0x4c/0x90 [libahci]
[ 922.709786] ata_scsi_port_error_handler+0x2a4/0x744 [libata]
[ 922.710343] ata_scsi_error+0xa4/0xec [libata]
[ 922.710786] scsi_error_handler+0xc0/0x5d0 [scsi_mod]
[ 922.711261] kthread+0x130/0x134
[ 922.711574] ret_from_fork+0x10/0x38
[ 922.711924] Code: b8615881 340001c1 8b21c061 8b010001 (b9400021)
[ 922.712486] ---[ end trace 687bc2ded22b1d30 ]---
|
|
|
Finding and adding new programs/apps |
Posted by: James Good - 02-26-2021, 04:16 PM - Forum: General Discussion on Pinebook Pro
- Replies (3)
|
 |
After what has seemed like a very long time with little to show for the efforts, I burned a new download of Manjaro to a micro USB card and put it in the PBP. Powered it on and Manjaro got installed. Seems to be working as it should. Minor problem; can't seem to find or install an email program/app where I could send and receive email on the laptop. The WiFi works and has connected to the home network. Ultimate goal would be to use the laptop for portable and travel operations. Any suggestions would be welcomed.
James Good
|
|
|
What Now for Google Users? |
Posted by: jc1685 - 02-26-2021, 04:12 PM - Forum: General Discussion on Pinebook Pro
- Replies (8)
|
 |
Hi,
Since the Chromium browser will be losing the ability to sync with Google, and Pinebook Pro users cannot install Chrome, what is the next step for Google users on Pinebook Pro? I've used Google for years and I have an Android phone, so being able to sync my bookmarks and history is important to me. I'm unaware of any solutions that exist; and using another browser ecosystem, like Firefox, isn't really a solution to the problem, since it's an entirely different browser ecosystem.
Anybody have any ideas?
|
|
|
Latest updates |
Posted by: bvbfan - 02-26-2021, 12:37 PM - Forum: Manjaro on PinePhone
- Replies (3)
|
 |
I install latest update and there is login issue, i change PIN to 12 then change kde password to `kde` (via passwd) then i can't unlock the device. Should i reflash? I try ssh but unfortunately it's not enable, root / root refused. Any suggestions?
|
|
|
Warning, 5.5mm barrel-style power cables |
Posted by: biketool - 02-26-2021, 02:26 AM - Forum: General Discussion on Pinecil
- Replies (6)
|
 |
I let someone look at my pinecil, they grabbed a standard 5.5mm 12v barrel-style power cable for the bench power supply assuming the pinecil used that standard and did the old push&twist to force it in.
After a few seconds of effort my associate had a stupid look on their face holding the connector cable but the center pin from the pinecil was jammed tight into the barrel connector.
Fortunately I was able to re-insert the pin and solder the broken power line back together, though certainly not as strong against a similar attack it works again over USB C (obviously) and the repaired barrel power port too so all is good.
|
|
|
|