| Welcome, Guest |
You have to register before you can post on our site.
|
| Forum Statistics |
» Members: 30,120
» Latest member: benstoke
» Forum threads: 16,364
» Forum posts: 117,538
Full Statistics
|
| Latest Threads |
Pinephone software
Forum: General Discussion on PinePhone
Last Post: Zebulon Walton
Yesterday, 02:21 PM
» Replies: 3
» Views: 304
|
Real women, real desire, ...
Forum: General
Last Post: Spaker
Yesterday, 01:04 AM
» Replies: 0
» Views: 62
|
Weatherproof case build
Forum: Enclosures
Last Post: ltorsini
07-07-2026, 07:01 PM
» Replies: 12
» Views: 38,541
|
Pinephone + Keyboard for ...
Forum: PinePhone Hardware
Last Post: PinePhoneProUser
07-07-2026, 04:47 PM
» Replies: 16
» Views: 11,116
|
pinecil v2 dosent negotia...
Forum: General Discussion on Pinecil
Last Post: moses
07-07-2026, 07:28 AM
» Replies: 0
» Views: 118
|
Rock64 v2.0 u-boot SPI is...
Forum: General Discussion on ROCK64
Last Post: ju0n
07-05-2026, 11:02 AM
» Replies: 0
» Views: 149
|
Libby - ebook reader that...
Forum: PineNote Software
Last Post: kiwigoldfish
07-04-2026, 04:41 PM
» Replies: 6
» Views: 4,116
|
PineNote v1.2 - Charges N...
Forum: General Discussion on Pinebook Pro
Last Post: ttsp
07-02-2026, 02:52 AM
» Replies: 0
» Views: 364
|
How to change the PineNot...
Forum: General Discussion on PineNote
Last Post: cameronharring
07-01-2026, 12:22 PM
» Replies: 0
» Views: 206
|
PinePhone Pro disable Vol...
Forum: PinePhone Pro Hardware
Last Post: FR_IV
07-01-2026, 10:53 AM
» Replies: 1
» Views: 1,654
|
|
|
| How to switch to OTG from usb-network? |
|
Posted by: ptoki - 03-01-2020, 10:57 PM - Forum: General Discussion on PinePhone
- No Replies
|
 |
I am playing with pinephone and somehow its stuck with usb0 as network device attached to usb connector. I want to use mouse and keyboard and be able to switch between those two modes.
How do I do that?
PS. I think i had the OTG cable working once but now both my distros (MATE and XFCE) are stuck with usb-net.
|
|
|
|
| Optimizing Wifi |
|
Posted by: gleachkr - 03-01-2020, 02:27 PM - Forum: General Discussion on Pinebook Pro
- Replies (13)
|
 |
Hi Everyone,
How's your wifi performance? I'm interested in figuring out what the maximum is, and what kind of access point is going to work best with the pinebook pro.
Please post iperf measurements, ideally within LAN, and details of your wifi setup.
I'm getting 20.5 Mbits/sec to a wired machine on my LAN, using the 5Ghz band and a NETGEAR C3700-100 router. I'm sure you can do better than that!
|
|
|
|
Getting Started: Maemo Leste - Devuan / Debian distro for your PinePhone |
|
Posted by: buffer - 03-01-2020, 11:47 AM - Forum: Maemo Leste on PinePhone
- Replies (1)
|
 |
Did you know Maemo Leste is Debian for your PinePhone? For real! It is Devuan with the arm64 architecture running on stretch. They will soon be upgrading to buster and supporting both Debian and Devuan simultaneously. They use automation in their package maintenance with jenkins (similar to debian's buildd) to ease porting and updates. Porting packages to Maemo Leste is basically a simple matter of porting to arm64 version of Debian, which benefits both projects. So you will pretty much have all the benefits of the Debian repository, especially as the project matures. In addition to the main repositories, there is a community repository (so, like AUR).
There have been a few parallel attempts to port Debian to the ARM architecture, Maemo being the longest running. Currently, the project for porting Debian to arm and arm64 is unmaintained. You might be wondering, why hasn't this been done sooner? Simply put, everyone has been relying on the Android kernel, so benefits are not making it back to Linux. However, there are a few more projects for Debian on ARM (mainly ARM64) including PureOS, Dragonbox Pyra, Armbian, and Debian + phosh, so that's about to change rapidly.
Most discussion about Maemo occurs on their website and platforms, go here for an updated list of links. There is an ongoing thread about Maemo Leste for the Pinephone.
With volunteers we can easily test and get it to a stable condition on the PinePhone, so I compiled some useful links:
Repository of PinePhone images to play with:
https://maedevu.maemo.org/images/pinephone/
Build your own image:
https://github.com/maemo-leste/image-builder
https://leste.maemo.org/Image_Builder
Introduction:
https://leste.maemo.org/Main_Page
https://maemo-leste.github.io/
https://maemo-leste.github.io/maemo-lest...kages.html
https://leste.maemo.org/Leste_FAQ
Wikis:
https://leste.maemo.org/PinePhone
https://wiki.pine64.org/index.php/PinePh...aemo_Leste
Development and Porting:
https://leste.maemo.org/Development
https://leste.maemo.org/Development/Porting_Packages
https://leste.maemo.org/Development/Building_Packages
https://leste.maemo.org/Development/Tasks
https://wiki.debian.org/HowToPackageForDebian
Vote for Maemo Leste to be added to distrowatch
If any corrections or updates are needed, let me know
|
|
|
|
| Battery life and ways to improve - request for official statement |
|
Posted by: p1trson - 03-01-2020, 09:18 AM - Forum: PostmarketOS on PinePhone
- No Replies
|
 |
Hello folks,
so far I didn't see any official statement why the battery life is so poor and whether there's anything to try/test to improve it. This should be the top priority imho! Observations:
- it's always top of the phone which gets hot (where the modem is located).
- touching the uncovered modem my guess would be between 55-65C all the time. This higher heat from the modem can be felt also on the screen side
- pmOS with plasma-mobile is way cooler based on my tests today than the Phosh image (tested today with latest images, no SIM)
- checking the CPU frequencies seems to be ok, however the lowest frequency seems to be high imho, is this due to hw limitations ? Trying to set the available frequencies to be lower didn't do the trick
Code: current CPU frequency is 648 MHz (asserted by call to hardware).
cpufreq stats: 648 MHz:73.58%, 816 MHz:3.03%, 912 MHz:0.67%, 960 MHz:0.54%, 1.01 GHz:0.60%, 1.06 GHz:0.57%, 1.10 GHz:0.84%, 1.15 GHz:20.17% (4271)
- is there any way to exactly track what is eating up the battery ?
- is the a known method to reduce power usage siginificantly ?
- is there any supported way to measure the temperature of various components in alpine linux ?
- why is the modem so hot even though I have no SIM inside the phone ?
Cheers!
|
|
|
|
| pip install not working -- Manjaro |
|
Posted by: User 15552 - 03-01-2020, 08:21 AM - Forum: Linux on Pinebook Pro
- Replies (2)
|
 |
Hi,
I recently switched my pinebook pro to Manjaro. Everything seems good so far.
But I cannot install the scipy package via `pip`. After installing Blas and some cmake stuff I got it to install numpy via `pip install numpy` but scipy still does not work. I know that there is a python-scipy package that I can get via pacman but I was wondering why `pip install scipy` does not work.
At first it crashed because of memory issues, but I set up swap as described here and it worked. However it still will not work -- output below . What is `ld` and what is `collect2` and does anybody understand what is going on?
Some of the output:
Code: g++ -pthread -shared -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -fno-semantic-interposition -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now build/temp.linux-aarch64-3.8/scipy/sparse/sparsetools/sparsetools.o build/temp.linux-aarch64-3.8/scipy/sparse/sparsetools/csr.o build/temp.linux-aarch64-3.8/scipy/sparse/sparsetools/csc.o build/temp.linux-aarch64-3.8/scipy/sparse/sparsetools/bsr.o build/temp.linux-aarch64-3.8/scipy/sparse/sparsetools/other.o -L/usr/lib -Lbuild/temp.linux-aarch64-3.8 -o build/lib.linux-aarch64-3.8/scipy/sparse/_sparsetools.cpython-38-aarch64-linux-gnu.so -Wl,--version-script=build/temp.linux-aarch64-3.8/link-version-scipy.sparse._sparsetools.map
collect2: error: ld returned 1 exit status
Running from scipy source directory.
/tmp/pip-build-env-op9fysr1/overlay/lib/python3.8/site-packages/numpy/distutils/system_info.py:690: UserWarning:
Optimized (vendor) Blas libraries are not found.
Falls back to netlib Blas library which has worse performance.
A better performance should be easily gained by switching
Blas library.
self.calc_info()
/tmp/pip-build-env-op9fysr1/overlay/lib/python3.8/site-packages/numpy/distutils/system_info.py:782: UserWarning: Specified path /usr/local/include/python3.8 is invalid.
return self.get_paths(self.section, key)
error: Command "g++ -pthread -shared -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -fno-semantic-interposition -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now build/temp.linux-aarch64-3.8/scipy/sparse/sparsetools/sparsetools.o build/temp.linux-aarch64-3.8/scipy/sparse/sparsetools/csr.o build/temp.linux-aarch64-3.8/scipy/sparse/sparsetools/csc.o build/temp.linux-aarch64-3.8/scipy/sparse/sparsetools/bsr.o build/temp.linux-aarch64-3.8/scipy/sparse/sparsetools/other.o -L/usr/lib -Lbuild/temp.linux-aarch64-3.8 -o build/lib.linux-aarch64-3.8/scipy/sparse/_sparsetools.cpython-38-aarch64-linux-gnu.so -Wl,--version-script=build/temp.linux-aarch64-3.8/link-version-scipy.sparse._sparsetools.map" failed with exit status 1
----------------------------------------
ERROR: Failed building wheel for scipy
ERROR: Command errored out with exit status 1:
command: /usr/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-mtu_9mu8/scipy/setup.py'"'"'; __file__='"'"'/tmp/pip-install-mtu_9mu8/scipy/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' clean --all
cwd: /tmp/pip-install-mtu_9mu8/scipy
Complete output (9 lines):
`setup.py clean` is not supported, use one of the following instead:
- `git clean -xdf` (cleans all files)
- `git clean -Xdf` (cleans all versioned files, doesn't touch
files that aren't checked into the git repo)
Add `--force` to your command to use it anyway if you must (unsupported).
----------------------------------------
ERROR: Failed cleaning build dir for scipy
ERROR: Could not build wheels for scipy which use PEP 517 and cannot be installed directly
A bit earlier I found this
Code: creating /tmp/tmpkgfz2rq5/tmp
creating /tmp/tmpkgfz2rq5/tmp/tmpkgfz2rq5
compile options: '-I/usr/local/include -I/usr/include -c'
gcc: /tmp/tmpkgfz2rq5/source.c
gcc -pthread /tmp/tmpkgfz2rq5/tmp/tmpkgfz2rq5/source.o -L/usr/lib -lblas -o /tmp/tmpkgfz2rq5/a.out
/usr/bin/ld: /tmp/tmpkgfz2rq5/tmp/tmpkgfz2rq5/source.o: in function `main':
/tmp/tmpkgfz2rq5/source.c:6: undefined reference to `cblas_ddot'
/usr/bin/ld: /tmp/tmpkgfz2rq5/source.c:6: undefined reference to `cblas_ddot'
collect2: error: ld returned 1 exit status
gcc -pthread /tmp/tmpkgfz2rq5/tmp/tmpkgfz2rq5/source.o -L/usr/lib -lcblas -lblas -o /tmp/tmpkgfz2rq5/a.out
customize UnixCCompiler
Update:
tried to import numpy and get the following error:
Code: Original error was: /usr/lib/python3.8/site-packages/numpy/core/_multiarray_umath.cpython-38-aarch64-linux-gnu.so: undefined symbol: cblas_sgemm
|
|
|
|
|