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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 30,009
» Latest member: Smandeson11
» Forum threads: 16,338
» Forum posts: 117,451

Full Statistics

Latest Threads
The "Should I buy a Quart...
Forum: General Discussion on Quartz64
Last Post: kapqa
05-05-2026, 07:57 AM
» Replies: 5
» Views: 20,321
Volumio (PINE A64-LTS / S...
Forum: Linux on PINE A64-LTS / SOPINE
Last Post: shinzuka
05-04-2026, 09:02 AM
» Replies: 9
» Views: 16,840
Star64 Irradium (based on...
Forum: Getting Started
Last Post: mara
05-03-2026, 07:07 AM
» Replies: 14
» Views: 15,241
Volumio 3 Pine A64+ unoff...
Forum: Linux on Pine A64(+)
Last Post: shinzuka
05-02-2026, 10:49 AM
» Replies: 0
» Views: 74
Mobian image for the Pine...
Forum: Mobian on PinePhone
Last Post: Korfou
04-27-2026, 09:57 AM
» Replies: 2
» Views: 334
Pine Time dead
Forum: General Discussion on PineTime
Last Post: chris.burmajster
04-18-2026, 10:08 AM
» Replies: 0
» Views: 250
Booting Issues
Forum: PineNote Software
Last Post: vlagged
04-17-2026, 04:17 PM
» Replies: 24
» Views: 19,824
App launcher shows tiny i...
Forum: PineNote Software
Last Post: vlagged
04-17-2026, 04:12 PM
» Replies: 1
» Views: 1,153
my pinecil v2 is not work...
Forum: General Discussion on Pinecil
Last Post: jagrav
04-17-2026, 06:28 AM
» Replies: 0
» Views: 183
Freezes and kernel panics...
Forum: Linux on RockPro64
Last Post: prahal
04-15-2026, 06:48 PM
» Replies: 4
» Views: 1,556

 
Bug KDE Manjaro CE screen locker broken
Posted by: submariner - 06-23-2021, 09:49 AM - Forum: Manjaro on PinePhone - Replies (1)

after an update few days ago. I've restarted a phone and now I get screen locker broken message on screen, and attaching a monitor and keyboard I'm able to login to shell.

journalctl error messages shows me some some coredump errors with qt5 conflicts and glibc. And I find it a bit too hard to find any information on this as this is so complicated based on that where I should exactly ask about it freenode channel is gone but even there they just claim it's all about KDE plasmamobile being just GUI and some other distro specific issues its not their issue.

Then which forum/communication channel is about this ?

I find manjaro itself being heavily bearable distro.


Thing is that GUI updater is often broken and I did my updates via

pacman -Suy

I had similar broken kde plasma locker issue in slackware-current which was solved with

slackpkg install-new

now this phone is unusable and I'm having very hard time about these manjaro/arch specific things as I'm not an user of these distros even for computers.

My guess would be just to distrohop in some fashion.

But maybe someone had this issue and solved this ?


Currently based on this docummentation I'm switching to unstable and doing full upgrade. At least something is being done few times per day there

https://wiki.manjaro.org/index.php?title...g_Branches


  Manjaro wont recognize eMMC after booting with it disabled
Posted by: peasant - 06-23-2021, 09:33 AM - Forum: Linux on Pinebook Pro - Replies (1)

Hi,
I tried to install Manjaro on the eMMC on my PBP but didn't know that using the "erase" option to make a new partition table would leave the system broken.  To get the machine to turn on, I have to disable the eMMC with the hardware switch so that it will boot off the SD card.  I want to try the installation on the eMMC again, but after booting from SD card (flashed with the Manjaro xfce image from the manjaro site) with the eMMC switch off and then turning the eMMC switch back on, I still can't access the drive.  I tried running (as root):

Code:
echo fe330000.sdhci >/sys/bus/platform/drivers/sdhci-arasan/unbind
echo fe330000.sdhci >/sys/bus/platform/drivers/sdhci-arasan/bind

but it fails with "No such device".

Any advice would be appreciated!


  Quectel EG25-G H/W interface - Operating Modes - eg25-manager
Posted by: mouffa - 06-23-2021, 06:57 AM - Forum: PinePhone Hardware - No Replies

------------------------------------
Quectel EG25-G hardware connection
------------------------------------


Studying page 15 of Pinephone's mainboard schematic for the modem

https://files.pine64.org/doc/PinePhone/P...ematic.pdf

we can see that we have a chip with 144 contacts where half of them are actually connected. Physically half of them are SMD pins around the chip and the rest are balls under the chip.

Most of the connected pins are electrical grounding while the rest are voltage power, data lines, sychronisation lines and antennae.

------------
Pins
------------

14-17 -----> go to the SIM

35, 47, 49 -----> are the antennae

---------------------------------
2 -----> BB-AP-READY |
4 -----> BB-DISABLE | -----> are controlling the power state of the modem and are driven by the eg25-manager
20 -----> BB-RESET |
21 -----> BB-PWRKEY |
--------------------------------

7 -----> is output power

57-60 -----> are battery power

71 -----> is the battery power for the USB

115 -----> is the test button

8, 9, 19, 22, 36, 46, 48, 50-54, 56, 72, 85-112 -----> are ground

24-27 -----> are the PCM audio interface

62 -----> is the ringing indicator

64-68 -----> is the UART interface

69, 70 -----> are the USB (+),(-) differential lines
--------------------------------

We further see that the PCM, UART and the AP_READY,DTR signals pass through TXB0104YZT chips which are DC voltage converters but without using the inverting technique.

The communication with the A64 SoC is achieved by connecting the

1) power control lines
2) UART
3) USB
4) PCM

to GPIO contacts of the A64 which can be easily accessed by the kernel for reading and writing operations.

The audio data for calls are transferred by connecting the PCM contacts of the modem to the GPIO contacts of the A64 and the processing is done by the sound module in the SoC which is interfaced by ALSA.

--------------------------
A64 GPIO pins
--------------------------

The datasheet for A64 is here

https://files.pine64.org/doc/datasheet/p...t_V1.1.pdf

As we can see in 4.2 (page 23), the GPIO pins are divided in categories with different capabilities denoted in the following way

PB0 - 9 -----> 10 pins
PC0 -16 -----> 17 pins
PD0 - 24 -----> 25 pins
PE0 -17 -----> 18 pins
PF0 - 6 -----> 7 pins
PG0 -13 -----> 14 pins
PH0 -11 -----> 12 pins
PL0 -12 -----> 13 pins

Total: 116 pins

------------------------------------
Operating Modes
------------------------------------

1) Normal Operation

a) Idle: Software is active. The module has registered on the network, and it is
ready to send and receive data.

b) Talk/Data: Network connection is ongoing. In this mode, the power consumption is
decided by network setting and data transfer rate.
--------------------
2) Minimum Functionality

Mode AT+CFUN=0 can set the module to a minimum functionality mode without removing
the power supply. In this case, both RF function and (U)SIM card will be invalid.
--------------------
3) Airplane Mode

AT+CFUN=4 or W_DISABLE# pin can set the module to enter airplane mode. In this
case, RF function will be invalid.
--------------------
4) Sleep Mode

The current consumption of the module will be reduced to the minimal level. During
this mode, the module can still receive paging message, SMS, voice call and
TCP/UDP data from the network normally.
--------------------
5) Power Down

Mode The power management unit shuts down the power supply. Software goes inactive.
The serial interface is not accessible. Operating voltage (connected to VBAT_RF and
VBAT_BB) remains applied.

You can easily switch between modes 1,2,3 by

`echo at+cfun=1,0 | sudo atinout - /dev/EG25.AT -`
`echo at+cfun=0,0 | sudo atinout - /dev/EG25.AT -`
`echo at+cfun=4,0 | sudo atinout - /dev/EG25.AT -`

mode 5 can be achieved with

`echo at+qpwd=1| sudo atinout - /dev/EG25.AT -`


------------------------------------
eg25-manager
------------------------------------

The source code of the manager can be found here

https://gitlab.com/mobian1/devices/eg25-manager

Studying the directory tree we can see 3 directories.

1) "data", contains configurations files in ".toml" format which are installed in `/usr/share/eg25-manager`

2) "src", contains the source code

3) "udev", contains standard udev rules for the modem

The "src" directory contains two types of files, the ".c" source code and the ".h" header files for the respective ".c" files.

We can see the following files

1) at.c/.h - renders the AT commands defined in the ".toml" configurations files

2) gpio.c/.h - for the communication with the GPIO interface of the A64

3) manager.c/.h - the eg25-manager

4) mm-iface.c/.h -  for the communication with distributions using the ModemManager service

5) ofono-iface.c/.h - for the communication with distributions using the ofono service

6) suspend.c/.h - provides the ability to suspend the modem to sleep

7) toml.c/.h - for processing the ".toml" cofiguration files

8) udev.c/.h - for processing the udev rules

------------------------------------
How it works
------------------------------------

The main sequence of the code starts in "manager.c" at

`int main(int argc, char *argv[])`

1) it initialises some data structures,
2) reads the configuration files,
3) initialises the gpio chips (1c20800.pinctrl & 1f02c00.pinctrl)
4) takes actions on the modem (power on/off, suspend, wake, sleep) by sending and reading signals to and from the modem pins

2 -----> BB-AP-READY
4 -----> BB-DISABLE
20 -----> BB-RESET
21 -----> BB-PWRKEY

As we can see in the "gpio.c" code those signals are send easily via the "gpiod" library by calling functions like

`gpiod_line_set_value(manager->gpio_out[GPIO_OUT_PWRKEY], 1);`

You can find more information on the "gpiod" library here

https://www.ics.com/blog/gpio-programmin...od-library



Attached Files
.pdf   Quectel_EG25-G_Hardware_Design_V1.4-edit.pdf (Size: 947.14 KB / Downloads: 669)

  GNSS noise
Posted by: marcink - 06-23-2021, 05:25 AM - Forum: RockPro64 Hardware and Accessories - No Replies

Hi!
I'm having problem to run GNSS receiver with RockPro64.
I'm using Quectel EC-25EU with 0.8dBI antenna. The card is connected via USB2.0 cable and LTE hat.
When I use short (10cm) USB cable the time to first fix (TTFF) is very high (around 2 minutes). I tested different cables with different placement of modem relative to rockpro64. I also tested modem with notebook when rockpro64 is running next to. There is strong correlation between TTFF and distance to rockpro64.
I do not know what is source of noise however I see on PCB that there are mounts for metal shielding. I tried to find shop where it can be bought but without success. Please let me know if there is something that can be used to shield.
I would be grateful for any tips to decrease noise level. I'm already using ferrite beads on usb cable. It is hard to tell if there is any difference in TTFF as is is not stable.


  Interested in contributing to the project--how can I help?
Posted by: rwc - 06-22-2021, 04:52 PM - Forum: Manjaro on PinePhone - Replies (1)

I am interested in developing software to contribute to the PinePhone project. Since Manjaro is the official distribution for PinePhone, I think it makes the most sense to start here. Does anyone have any suggestions about a good place to start that would be the most useful to the project?

A bit of background, I do not work in technology but I have been programming as a hobby for about 5 years.  I like to get into the weeds more than your average programming hobbiest, so I'm not shy about learning things like kernal or driver development (even though this would be new territory for me).  I'm mainly interested in seeing where contribution is needed the most in the medium/long term.  This would also be my first time contributing to an open source project, so apologies if this isn't the best approach to take.


  Inbound SMS still broken?
Posted by: pagesix1536 - 06-22-2021, 04:41 PM - Forum: Mobian on PinePhone - Replies (8)

Anyone know if there is a fix coming soon for the broken inbound SMS issue using the default chat app on Mobian? I tested it last week and it still was happening with the latest updates. Inbound used to work months ago just fine. I was using it a lot.


Star Pinebook Pro for sale (USA only)
Posted by: pineuser - 06-22-2021, 03:28 PM - Forum: General Discussion on Pinebook Pro - Replies (6)

Pinebook Pro with ANSI (US) keyboard from the most recent batch. I received it in May and played with it for about a week but it's been sitting in a drawer ever since and deserves a better home. Like new condition, ships in original box with original charger.

215 shipped, payment via paypal


  Dummy output
Posted by: HLing - 06-22-2021, 11:04 AM - Forum: Mobian on PinePhone - No Replies

It seems to come back to this every few months or so: Just when I feel like my Mobian is getting great battery life, and is responsive 90% of the time I would get an update after which the phone rings after a long sleep and I cannot answer it no matter how I press the "answer" indicater.  At this point, the phone will either continue ringing and would also start vibrating/buzzing as if obssessed. I would have to press the power button for a long time for it to shut down.   Another scenerio (after another update) is that after the phone sleeps and a call comes in, I could pick up, but there's no sound. This time when i checked in the setting, it had gone to "Dummy Output" for the output, and nothing for the input.  Again, I would have to reboot.

Am i the only one in this cycle? I am still with 5.10. Am confused as to exactly what software I'm suppose to be using. what is phosh? what is wayland? what is flatpak? (these are all secret questions i feel i'm too dumb to ask Smile


  3/32 upgrade board, Arrived Without Firmware, Troubleshooting Steps to SOLVED
Posted by: biketool - 06-22-2021, 10:03 AM - Forum: PinePhone Hardware - No Replies

(skip to last edit to see solution, leaving all steps to make searching for solution easier)
I finally received my new 3/32 upgrade board for my pinephone.
I read the wiki and watched the video, and did the board swap.
It looks like it was not flashed with a bootloader at the factory?
Instead I see a LED flash from the back of the board when I insert the USB and then I lsusb I get

Code:
Onda (unverified) V972 tablet in flashing mode
Nothing on the screen though.
I also tried booting a jumpdrive SD but nothing happened, no bootloader,  got the same lsusb response.

(edit)
I found a copy of the factory-test image(pine64-pinephone-20200726-phosh-v20.05-factory.img) on my computer and with that in the SD slot gave me a pink LED when I inserted USB.
I waited an 20min with the pink LED and dark screen in case anything was being flashed.
I then rebooted did the other tests and then chose the automated test, it is sitting for a long time at 12% testing the LIS3MDL after instantly testing MPU-6050.
this link should help you find the factory test image https://images.postmarketos.org/pinephone/
(edit)
For some reason my jumpdrive SD is not working/booting so I am DL'ing from this link the Debian image and will try that once the download is finished.
https://wiki.pine64.org/wiki/PinePhone_S...ry_Test_OS
(edit)
I got the Debian Factory image and booted it, run the auto-test, I don't outright fail and instantly passes the MPU-650, but I never pass the LIS3MDL, just hangs forever at 12% so I never get the option to flash......
(edit)
Got advice after opening a Pine64 service ticket, they recommended I go to
https://wiki.pine64.org/wiki/PinePhone_S..._OS_builds
choose the Beta Edition link and DD the image to SD
This image passes the tests and I am flashing my EMMC, I loaded the OS and ran setup, ran sudo halt and DD the latest JumpDrive to SD
https://github.com/dreemurrs-embedded/Ju...e/releases
Flashed Debian Mobile mobian-pinephone-phosh-20210421.img to EMMC via jumpdrive
Booted and ran Mobian setup on my Pinephone from a 3/32 upgrade board that arrived unconfigured.
now grabbing software updates, and will enable unstable repos once I have everything configured.
https://wiki.mobian-project.org/doku.php...n-unstable


  PSA: WiFi driver is broken - Unload kernel module to save lots of power
Posted by: Trbl - 06-22-2021, 10:01 AM - Forum: PinePhone Software - Replies (3)

120-170+mA of savings.
rfkill / iface down does not work properly, the wifi module will consume more power when disabled than when enabled. Toggling WiFi off does cause more powerdraw than leaving it on.

PHP Code:
sudo rmmod 8723cs    # kill wifi
sudo modprobe 8723cs # restore wifi 

Megi reproduced my findings today and is aware of the issue.
Quote:hmm, right, I can measure 416mA when wlan0 is up, and 505 mA when down, and 380mA when the driver is unloaded

Unloading the kernel module is currently the only workaround.

Maybe let the maintainers of the distro you're using know - I've already notified the SXMO team.