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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 29,705
» Latest member: Sheo
» Forum threads: 16,261
» Forum posts: 117,195

Full Statistics

Latest Threads
Quill OS for the PineNote
Forum: PineNote Software
Last Post: JhonSmith
9 hours ago
» Replies: 1
» Views: 70
PinePhone, PinePhone Pro,...
Forum: PinePhone Hardware
Last Post: biketool
10 hours ago
» Replies: 3
» Views: 176
auto-owning the SD card i...
Forum: PineTab Software
Last Post: biketool
Yesterday, 04:16 AM
» Replies: 1
» Views: 385
Old Danctnix server in Pa...
Forum: PineTab Software
Last Post: Stunnned
11-24-2025, 01:27 PM
» Replies: 2
» Views: 196
Volumio (PINE A64-LTS / S...
Forum: Linux on PINE A64-LTS / SOPINE
Last Post: kapqa
11-23-2025, 02:02 AM
» Replies: 8
» Views: 15,548
Reinstallation Arch Linux...
Forum: General Discussion on PineTab
Last Post: rth
11-22-2025, 08:25 PM
» Replies: 1
» Views: 236
Recycling pinephone as ho...
Forum: PinePhone Hardware
Last Post: biketool
11-20-2025, 09:04 AM
» Replies: 5
» Views: 642
Light Sensor / Proximity ...
Forum: General Discussion on PinePhone
Last Post: WhiteHexagon
11-18-2025, 03:07 PM
» Replies: 1
» Views: 222
How to stop it turning on
Forum: General Discussion on PinePhone
Last Post: biketool
11-18-2025, 02:30 PM
» Replies: 3
» Views: 496
8/24 status of JumpDrive
Forum: PinePhone Software
Last Post: biketool
11-18-2025, 01:27 PM
» Replies: 5
» Views: 2,201

 
  Add contacts with VCF files
Posted by: Bouc - 07-17-2020, 01:34 PM - Forum: Mobian on PinePhone - Replies (12)

Hi, is there an easy way to import contacts from a vcf file?
I can't use simcard (different format) and I don't want a Google account.


Edit to solve:
From https://wiki.mobian-project.org

Import contacts from VCF file
Syncevolution has been removed from upstream Debian, in the meantime it is straightforward to import contacts from a VCF file via Evolution tooling. First install evolution:

Code:
sudo apt install evolution

Before you import the file you will need to set scale-to-fit for Evolution on, otherwise the import dialog page is unusable.
Code:
scale-to-fit Evolution on

After this I opened the .vcf file via the Files app, it auto-launched the import dialoug. After importing I removed the Evolution app, this step is optional:
Code:
sudo apt remove evolution

Code:
sudo apt autoremove


  UBports sitting in California
Posted by: 67comet - 07-17-2020, 08:19 AM - Forum: General Discussion on PinePhone - Replies (6)

My Pine phone (UBPorts) has been in California "on its way to USPS" for a week. How long do they normally sit before getting onto the mail truck?

"Additional Information

A shipping label has been prepared for your item at 4:18 pm on July 9, 2020 in COMPTON, CA 90220. This does not indicate receipt by the USPS or the actual mailing date."



Attached Files
.png   Screenshot_20200717-081343.png (Size: 307.35 KB / Downloads: 586)

  Mainline kernel not working (no screen)
Posted by: jrobin28260 - 07-17-2020, 06:05 AM - Forum: Mobian on PinePhone - Replies (4)

Hi all,

I successfully started a Debian 10 ARM64 rootfs + initrd, preinstalled using QEMU with LXDE and autologin. For a touch screen this is not easy to use, but I expect using keyboard and mouse soon Smile

Using the 5.6.0-pine64 kernel which was provided with Ubuntu at delivery few weeks ago, having included the 5.6.0-pine64 modules into the debian's initrd, and having the "fstab" file corrected into rootfs, it boots fine. I customised the U-Boot boot script too.

However, I tried to do the same with a 5.8.0-rc5 kernel, using the config-5.6.0-pine64 as .config file for building the 5.8.0-rc5 kernel.
But I have no screen. I tried disabling "Enable loadable module support" so that every driver is embedded/preloaded into the kernel, but nothing more.

When comparing resulting .config, the following lines are missing after having 5.8.0-rc5 kernel built :

Code:
CONFIG_CC_HAS_WARN_MAYBE_UNINITIALIZED=y
CONFIG_ARCH_CLOCKSOURCE_DATA=y
CONFIG_MEMCG_SWAP_ENABLED=y
CONFIG_ARM64_WORKAROUND_SPECULATIVE_AT_VHE=y
CONFIG_ARM64_WORKAROUND_SPECULATIVE_AT_NVHE=y
CONFIG_ARM64_LSE_ATOMICS=y
CONFIG_ARM64_PTR_AUTH=y
CONFIG_PLUGIN_HOSTCC=""
CONFIG_HAVE_MEMBLOCK_NODE_MAP=y
CONFIG_TRANSPARENT_HUGE_PAGECACHE=y
CONFIG_VEXPRESS_SYSCFG=y
CONFIG_V4L_PLATFORM_DRIVERS=y
CONFIG_VIDEO_SUN4I_CSI=m
CONFIG_VIDEO_SUN6I_CSI=m
CONFIG_V4L_MEM2MEM_DRIVERS=y
CONFIG_DRM_PANEL_PINEPHONE_JD9365DA=y
CONFIG_DRM_PANEL_XINGBANGDA_XBD599=y
CONFIG_DRM_I2C_ADV7533=y
CONFIG_SND_SOC_EC25=m
CONFIG_USB_CHIPIDEA_OF=m
CONFIG_RTL8723CS_NEW=m
CONFIG_COMMON_CLK_VERSATILE=y
CONFIG_CLK_SP810=y
CONFIG_CLK_VEXPRESS_OSC=y
CONFIG_CLKSRC_MMIO=y
CONFIG_CLKSRC_VERSATILE=y
CONFIG_RPMSG_QCOM_GLINK_NATIVE=y
CONFIG_OPTIMIZE_INLINING=y
CONFIG_UBSAN_ALIGNMENT=y

I guess the fact of having CONFIG_DRM_PANEL_PINEPHONE_JD9365DA missing may be one of the reasons why I have nothing on the screen...

Are you sure that mainline kernel can really be used on the pinephone?

If so, is there some diffconfig or pinephone64-defconfig somewhere?

Thank you in advance!


  Boot problems
Posted by: pvdv - 07-17-2020, 05:07 AM - Forum: PinePhone Hardware - Replies (5)

Hello,

I've received my Pinephone some days ago. First it did boot fine, but not anymore...

When I press the power-on button this does not work always (not sure how long I should press on the button), but if I try it a few times the phone starts.
I see the LED's and the Pine64 logo. Then I hear a soft "click" sound and the phone is off again.

Is here somebody who knows what this click-sound can be?

With regards,
Paul


  using on-board sensors
Posted by: Mentaluproar - 07-17-2020, 12:00 AM - Forum: Linux on Rock64 - No Replies

Is there a way to access the hardware sensors for temperatures and voltages through the sensors command?  Has anyone mapped things to a /etc/sensors.d/rockpro64 file? I can rename the virtual adaptor temps but power management reads out all zeros.


  CAMERA WORKS!!!
Posted by: BlueDeer - 07-16-2020, 10:38 PM - Forum: General Discussion on PinePhone - Replies (7)

It would appear that my phone not only has a working camera, but a third camera. Curious as I am, I am not all too surprised.
anyone?



Attached Files
.jpg   Dark_camera.jpg (Size: 459.2 KB / Downloads: 882)

  We need more power, Scotty!
Posted by: mtnygard - 07-16-2020, 06:52 PM - Forum: General Discussion on Pinebook Pro - Replies (4)

I've got the power adapter plugged in, but the battery still heads toward zero.

Admittedly, I'm compiling Haskell, so it's not a typical workload.

But still, it'd be nice to power up enough to keep from going to sleep mid-compile.

Any recommendations? I've already fiddled with NVMe settings and turned the brightness down. Can the PBP accept more power from an after-market adapter?


  sudden ethernet failure
Posted by: Paraplegic Racehorse - 07-16-2020, 04:12 PM - Forum: Armbian - Replies (16)

Hardware: Pine64 A64 512MB
OS:  Armbian Buster 20.02.1 (kernel 5.4)

After months of running steady through multiple reboots and sudden power failures, all my boards suddenly lost eth0; all simultaneously; all while powered on and otherwise running without issue. No, I was not logged in and doing things with the system at the time. My router alerted me when the connections dropped out.

Things I tried (and failed):

  • different ports on ethernet switch
  • power cycling (hard reboot)
  • hook up monitor and keyboard and investigate
Investigation discovered no eth0 device. dmesg reports no driver.

lshw is not present on system so I cannot probe hardware and maybe get driver working with modprobe.

So I reflashed the OS and ... no network. dmesg reports no driver.

So I flashed a differnt OS -- Armbian Bionic 20.05.2 (kernel 5.4) -- and ... no network. dmesg output below.

Code:
dwmac-sun8i 1c30000.ethernet: IRQ eth_wake_irq not found
dwmac-sun8i 1c30000.ethernet: IRQ eth_lpi not found
dwmac-sun8i 1c30000.ethernet: PTP uses main clock
dwmac-sun8i 1c30000.ethernet: 1c30000.ethernet supply phy-io not found, using dummy regulator
dwmac-sun8i 1c30000.ethernet: Current syscon value is not the default 2001 (expect 0)
dwmac-sun8i 1c30000.ethernet: No HW DMA feature register supported
dwmac-sun8i 1c30000.ethernet: RX Checksum Offload Engine supported
dwmac-sun8i 1c30000.ethernet: COE Type 2
dwmac-sun8i 1c30000.ethernet: TX Checksum insertion supported
dwmac-sun8i 1c30000.ethernet: Normal descriptors
dwmac-sun8i 1c30000.ethernet: Chain mode enabled
...
dwmac-sun8i 1c30000.ethernet: EMAC reset timeout
dwmac-sun8i 1c30000.ethernet eth0: stmmac_dvr_remove: removing driver
dwmac-sun8i: probe of 1c30000.ethernet failed with error -14

Any ideas or assistance appreciated.


  Screen freezes and alternates two frames? Look here!
Posted by: Djhg2000 - 07-16-2020, 02:55 PM - Forum: Mobian on PinePhone - Replies (1)

First of all a disclaimer; I haven't had a chance to test this on the latest version of Mobian yet.

This will be a quick post about an issue I've discovered but I don't have the time to investigate it (I'll be quite busy in the next few days). Hopefully my research still helps someone.

I managed to capture this in dmesg when it happened (I got lucky and had an SSH session going):

Code:
[ 7251.715549] [drm:lima_sched_timedout_job] *ERROR* lima job timeout
[ 7252.962247] lima 1c40000.gpu: fail to save task state from phoc pid 1663: error task list is full
[ 7252.971463] lima 1c40000.gpu: gp task error int_state=0 status=0

Searching various bug trackers I found this open but stagnant bug report:
https://gitlab.freedesktop.org/lima/linux/-/issues/33

So it looks like the GPU either stalls or falls out of sync with the lima driver for whatever reason. I do suspect it has something to do with power delivery because the same issue won't happen if I do this:

Code:
echo powersave | sudo tee /sys/devices/system/cpu/cpufreq/policy0/scaling_governor

The most reliable way I've found to trigger the bug on my phone is do start downloading something big over LTE with wget. After somewhere between a few hundred MB and a GB you will notice the scrolling test going back and forth and you stop being able to interact with the phone through the touch screen.

At first I thought it was a hard crash and the power button only kept working through some weird quirk of interrupts offloaded from the main CPU, but as it turns out the rest of the system is fully functional. You can even recover most of the system (GUI tasks will be killed) by issuing this command:

Code:
sudo systemctl restart phosh.service

This should bring back the lock screen as if the system was freshly booted, but any non-GUI tasks are still running as if nothing happened.

That's about as far as I've been able to work things out so far. I think the appropriate thing to do here is to test the hack from the lima issue tracker (raising the scheduling error threshold above 1) and see if it helps the driver towards a successful recover. I'd try it myself if I had a build environment set up. Since this is an upstream issue I didn't post this on the Mobian issue tracker, but in retrospect I probably should've done that as well.


  Manjaro XFCE: Vastly improved experience with Picom (Compton) compositor
Posted by: jichu4n - 07-16-2020, 02:13 PM - Forum: Linux on Pinebook Pro - Replies (2)

TL;DR: Switched to Picom compositor instead of XFCE's built-in compositing, and everything feels MUCH smoother.

Currently running a vanilla Manjaro ARM XFCE install on my Pinebook Pro. While everything mostly works fine, I've been bugged by how the experience somehow just feels a bit sluggish. In particular, scrolling in Chromium and Firefox is visibly laggy even for fairly lightweight websites.

I would've assumed it's just how the hardware is, but I've seen some videos of Manjaro ARM KDE on the Pinebook Pro that seem to suggest otherwise. Additionally, I happen to have a Chromebook with the same Rockchip RK3399 SoC (ASUS Chromebook Flip C101PA) and browsing and scrolling around on the Chromebook feels much much smoother in comparison.

After some digging around, I started to suspect the lag / sluggishness was related to a lack of OpenGL acceleration in the XFCE desktop. So long story short, I tried switching out XFCE's built-in compositing for the Picom compositor (apparent successor to Compton), and was blown away by how much it improved the experience. Scrolling in Chromium and Firefox felt much smoother, and navigating around apps end menus just felt much snappier.

So really wanted to share this result, and curious to know if switching to Picom may help other Manjaro ARM XFCE users as well.

Steps I used to set up Picom:

1. pacman -Sy picom
2. XFCE Settings -> "Window Manager Tweaks" -> "Compositor" -> uncheck "Enable display compositing"
3. XFCE Settings -> "Session and Startup" -> "Application Autostart" -> add item with the command "picom"
4. Start in current session with "picom -b".

The default settings seemed to work fine for me, so I haven't found the need to create a config file to tweak settings yet.

My setup: manjaro-release 20.07-1 (upgraded from 20.04 install), kernel linux-pinebookpro 5.7.0-3, mesa 20.1.3-1, xfwm4 4.14.2-1

References:

- Using Compton for a tear-free experience in Xfce in Manjaro Wiki
- Picom in Arch Linux Wiki