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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 29,445
» Latest member: lnk22882
» Forum threads: 16,185
» Forum posts: 116,838

Full Statistics

Latest Threads
Experimental Mobian kerne...
Forum: PinePhone Pro Software
Last Post: teekay
49 minutes ago
» Replies: 0
» Views: 4
[Pinebook Pro/Mobian/XFCE...
Forum: Linux on Pinebook Pro
Last Post: Seraphina
5 hours ago
» Replies: 1
» Views: 945
RSS feed for the forum
Forum: General
Last Post: Seraphina
6 hours ago
» Replies: 2
» Views: 1,745
does the Joplin note taki...
Forum: PineNote Software
Last Post: Francus
6 hours ago
» Replies: 4
» Views: 1,329
PulseAudio dropouts after...
Forum: Linux on Pinebook Pro
Last Post: Dendrocalamus64
7 hours ago
» Replies: 1
» Views: 50
Any updates on Bluetooth ...
Forum: General Discussion on PineTab
Last Post: biketool
Yesterday, 06:38 AM
» Replies: 1
» Views: 51
Suggestion: For future Pi...
Forum: General
Last Post: bilaljack23
Yesterday, 04:07 AM
» Replies: 4
» Views: 4,605
Keyboard availability?
Forum: PinePhone Pro Accessories
Last Post: Peter Gamma
08-04-2025, 08:37 PM
» Replies: 9
» Views: 1,104
google will take control ...
Forum: General
Last Post: bilaljack23
08-04-2025, 04:57 AM
» Replies: 22
» Views: 8,576
PINETAB-V doesn't boot.
Forum: Getting Started
Last Post: FEC
08-04-2025, 03:38 AM
» Replies: 0
» Views: 39

 
  2021 Jun 23 Updates breaks chatty [solved]
Posted by: mikehenson - 06-23-2021, 09:15 PM - Forum: Arch Linux on PinePhone - Replies (2)

I did an update tonight (2021 Jun 23) and the chatty app stopped working.

Code:
$chatty
$chatty: symbol lookup error: chatty: undefined symbol: _ZN4i18n12phonenumbers11PhoneNumberC1EPN6google8protobuf5ArenaE

I had to downgrade these packages to make it work again.

Code:
boost-libs-1.76.0-1 to boost-libs-1.75.0-3
evolution-data-server-3.40.2-2 to evolution-data-server-3.40.0-2
libphonenumber-8.12.25-1 to libphonenumber-8.12.21
protobuf-3.17.3-1 to protobuf-3.15.8-1-

I am not sure where to report this issue, but this post did help me.

EDIT:
As of 2021 Jun 24 this is no longer an issue with the update of chatty to chatty 0.3.1-2


  TOTP generator
Posted by: brb78 - 06-23-2021, 09:00 PM - Forum: Arch Linux on PinePhone - Replies (1)

Is there a reliable TOTP generator for ALARM? I see Authenticator on Mobian, but its builds fail for me from the AUR.


I've tried building Martijn Braam's numberstation, but running the output results in

Code:
ModuleNotFoundError: No module named 'numberstation'
Although I've never built anything with meson before, so I could be missing a step


Question How to install a Whatsapp client on Pinephone w/ Manjaro?
Posted by: danimations - 06-23-2021, 07:53 PM - Forum: General Discussion on PinePhone - Replies (1)

Fellow Pinphoners!

I'm an "enthusiast" grade user and need some advice. I'm running the latest Beta edition of Manjaro ARM with Phosh and I need to install a Whatsapp client on it. Has anyone here done this successfully? Any pointers or better would be greatly appreciated. TIA.


Since writing I found this, but the commands aren't suitable for Arch Linux. Can someone please help me with the appropriate commands for installation, if it's possible? Many thanks.

https://itsfoss.com/whatsapp-linux-desktop/


  modem and login/reset issues
Posted by: dhawk - 06-23-2021, 01:31 PM - Forum: General Discussion on PinePhone - Replies (1)

Hi,
Truth: I am in deep, way over my head.  If another forum is better suited for help questions, please let me know.   

Admiring the mission, and needing to to better understand linux, I purchased several products in hopes to dive into learning linux for work. My PBP has been a great tool but I am having issues with my phone. When it first arrived I was able to use phone, text, and wifi.  A had a few issues the first day. phone service would blink out and back in, power/battery indicator not correct (or the phone would randomly turn off), and it would occasionally freeze and a restart would be necessary. I started getting error messages about modem and the phone wifi and data stopped working and occasionally the sim is not recognized. I tried updates the same issues occurred. I thought maybe some of the issues could have been from bad sim adaptor and put the phone away until I could get a new one.  I picked up a new adaptor today and installed sim into phone. The phone service seems to be working better but not data. My big issue now is my pin is not working and the reset button does not reset. The phone will also power down/turn off when showing a full charge.  Any advice or direction would be greatly appreciated. 


recap: 
1. modem/data and service issues
2. freezing and random turnoff 
3. login (pin) reset not working

Thanks!


  Compass App
Posted by: lgtrombetta - 06-23-2021, 10:54 AM - Forum: PinePhone Software - Replies (16)

Hi everyone,

My name is Leonardo and working together with my brother Marco we wrote a very rudimentary Compass app for the Pinephone with Python. To our knowledge, there is no such app available to date. Check the screenshot at the bottom.

We have tested the app in Phosh (Manjaro, Mobian and postmarketOS) and Plasma Mobile (Manjaro). For the moment it only works with "old" (a.k.a. pre-beta edition) Pinephones, which have the original magnetometer chip LIS3MDL. If it is not found, it will just display randomly generated values.

Currently the app is a proof of concept and not intended for daily-driving. That being said, you can get it and try it from

https://gitlab.com/lgtrombetta/pinephone-compass/

For best results, follow the suggestion in the Readme about changing the Sampling Frequency of the magnetometer. Take also into consideration the issue of calibration. We will try to come up with a tool to automatize these tweaks in the future.

We hope the app can be useful to some people. We intend to improve it over time, and of course, we are open to constructive criticism and contributions! Keep in mind though, that this is our first open source project, so please be kind.

Enjoy!


[Image: screenshot.png]


Changelog:

v0.3.1

* Preliminary support for the AF8133J magnetometer (Pinephone Beta edition). Needs custom kernel driver and patches.
* Advertise the app to Phosh as adaptive.

v0.3

* Complete project refactoring:
- Installation now handled by meson build system
* Complete GUI overhaul in GTK3 with:
- Magnetic field readings now shown under the compass card.
- Settings window with graphical calibration tool
- Dark/light theme switch
- About window

v0.2

* Automatic changing of the sampling frequency
* Calibration tool
* Major code refactoring

v0.1

*Initial Release


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: 536)

  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.