Welcome, Guest |
You have to register before you can post on our site.
|
Forum Statistics |
» Members: 29,435
» Latest member: hinomi
» Forum threads: 16,180
» Forum posts: 116,819
Full Statistics
|
Latest Threads |
Keyboard availability?
Forum: PinePhone Pro Accessories
Last Post: biketool
10 hours ago
» Replies: 6
» Views: 864
|
Pine Phone Pro audio on p...
Forum: PinePhone Pro Software
Last Post: DominiqueM
11 hours ago
» Replies: 49
» Views: 35,776
|
Want to buy second hand P...
Forum: General Discussion on PinePhone
Last Post: MaryOtero
Today, 01:14 AM
» Replies: 1
» Views: 1,237
|
Pinetime Black Screen
Forum: General Discussion on PineTime
Last Post: karthick
Yesterday, 11:44 PM
» Replies: 1
» Views: 871
|
How does CPU frequency sc...
Forum: Linux on Quartz64
Last Post: pugzarecute
Yesterday, 07:19 AM
» Replies: 0
» Views: 39
|
Pinephone Pro not in stor...
Forum: General Discussion on PinePhone
Last Post: bubulux20c
07-29-2025, 09:31 PM
» Replies: 0
» Views: 66
|
? Introducing RoutineHero...
Forum: General Discussion on PineTime
Last Post: oscar-gardiazabal
07-29-2025, 04:49 AM
» Replies: 2
» Views: 172
|
Page turner for PineNote ...
Forum: PineNote Software
Last Post: Haroldkent
07-28-2025, 10:05 PM
» Replies: 1
» Views: 530
|
Request for CAD files of ...
Forum: General Discussion on PineNote
Last Post: Szybet
07-28-2025, 11:22 AM
» Replies: 1
» Views: 919
|
Movuan distribution for P...
Forum: PinePhone Software
Last Post: merom
07-27-2025, 05:01 PM
» Replies: 5
» Views: 1,151
|
|
|
KB: Phone not/barely charging from power supplies when keyboard is not full |
Posted by: Phalio - 03-18-2022, 05:19 PM - Forum: PinePhone Accessories
- Replies (12)
|
 |
I really love the keyboard case so far, now my Pinephone truly is the perfect pocket-sized computer! This is what “phones” should be like! The only inconvenience I’m trying to solve right now is the charging priority/behaviour with a power supply plugged in. (Just so you know: The phone’s USB port is covered up, the current limit of keyboard battery -> phone is set, the userspace driver is installed.)
Previously, I only owned a 5V 1A power supply. It charged the KB+PP fine (apparently at around 1.2A) and didn’t get too hot. The problem/inconvenience is that the priority of the keyboard charging chip seems to be keyboard battery > phone > phone battery. This means that the phone doesn’t receive any power from the power supply while the keyboard is charging, and only receives power once the keyboard is (almost) full, resulting in the phone battery percentage continuing to drop for the multiple hours it took my 1A supply to charge the keyboard battery. Since a 5V 3A PD supply is recommended, I thought that those might be enough to charge both batteries at the same time, which I believe the charging chip is supposed to be able to do.
To test this theory, which is mine, I asked around for 5V 3A supplies and C-C cables I could borrow. Apparently these are not common at all, at least among the people I know in real life. Two 5V 3A supplies I tested indeed resulted in both batteries charging and the phone’s percentage going up. According to /sys readings, the keyboard battery was getting 2.3A, the phone battery 0.8A and I assume the phone parts an additional 0.2A, which seems to be what it uses with the screen off and low workloads. However, shortly after plugging in one of these chargers, the keyboard charging chip started continuously shutting itself off and on again about once per second, as if I were spamming the side button. Since the current values seem to add up to more than 3A, I assumed that these power supplies were supplying too much power and the charging chip was shutting itself off as a safety measure. I noticed that neither of the supplies mentioned PD anywhere on them, which I guess means that PD is mandatory.
So I got this power supply and this C-C cable, which seem to charge the keyboard battery at around 2.4A, so twice as fast as the old supply which is great and also halves the time until the phone finally gets to receive power, but the phone still doesn’t get any power when the keyboard battery is not full yet. A last series of tests I made involved combinations of my new supply and cable with a USB C charging port in a car (that seems to support PD as it worked fine) and its C-C cable. These tests apparently showed that both power supplies have the same behaviour, but the cables differ. My cable charged with only 2.4A in the car as well, but the other person’s cable, in either supply, supplied the keyboard battery with 2.4A and additionally the phone battery with 0.4A, plus assumingly 0.2A for the phone itself (is there a way to read that value if it exists as I assume?). Which adds up to exactly 3A. I guess that means my cable for some reason only passes through 2.4A, even though it supposedly supports up to 60W (what cable would I have to get that works as intended?).
So 5V 3A PD supplies seem to work in general, but the keyboard still eats up 2.4A first with its highest priority, only leaving the phone with 0.6A. Which is enough to keep the battery percentage constant with the screen on at low loads, so that would at least mostly prevent the phone battery from completely discharging before it has reached its turn, as was the case previously. But of course it would be best if I could somehow influence how much the phone gets. The userspace driver seems to only allow toggling power supply input as a whole and keyboard battery -> phone charging, which is very useful but doesn’t help with this inconvenience. I also found /sys/class/power_supply/ip5xxx-charger/constant_charge_current (and _max) which is set to 2300000 (and 3100000). Would changing this value, say to 2000000 or 1800000, reduce the amount of power the keyboard battery takes and therefore pass through more to the phone? Or is there anything else I could do?
And as I said: This is only a minor inconvenience, especially with proper 5V 3A input (if I’m able to get a cable that works). I can live with it being like this. That’s a very small price to pay for this incredible device. Thanks to everyone involved, especially to Megi! But it would be nice to know if there is a way.
And sorry for this being so long, I tend to ramble on a lot. Maybe I shouldn’t have included so many details from my findings.
TLDR: Is there a way to change how much power the phone gets from a power supply while the keyboard battery is also charging and not full yet?
|
|
|
PP v1.2 VCONN question |
Posted by: m4xx3d0ut - 03-18-2022, 12:26 PM - Forum: PinePhone Hardware
- No Replies
|
 |
Hi everyone!
I have a PP v1.2, it was a UBports edition but I run Mobian as my main, which is kept fully updated, and a custom minimal Linux that I've been messing with that I boot into from p-boot (Thanks Megi!). I also have the keyboard case on the device all of the time. I've read the wiki section about VCONN on the 1.2 board and several posts/videos on how to perform the hardware fix, but I'm not sure this would help with the issue I'm seeing. I'm able to use things like keyboard and mouse over USB OTG, but it won't detect anything like USB Thumb drives, Ethernet adapters, hubs, etc. Does the VCONN issue affect that type of device operation or does sink just manage the charging voltages?
Thank you in advance for any help!
|
|
|
Will it ever be able to order PinePhone pro from India? |
Posted by: rksomayaji - 03-18-2022, 09:57 AM - Forum: General Discussion of PinePhone Pro
- Replies (4)
|
 |
I know people are busy taking care the people who can and have received PinePhone Pro. I have tried ordering the explorer edition every 15 days since last November and only the PinePhone Pro. Nothing else with it and not been able to do it. The site gives no details except that I get "Some of the devices cannot be shipped to your country due to logistical reasons." error.
I have asked about this since November on Telegram, Twitter and have been ignored every time.
Will this ever change before you raise the price to 600 USD or India will be ignored for the foreseeable future?
|
|
|
Icecat on Mobian on PinePhone |
Posted by: 3460p - 03-18-2022, 08:20 AM - Forum: Mobian on PinePhone
- Replies (15)
|
 |
(03-17-2022, 11:28 AM)3460p Wrote: I’m not able to speak with any degree of authority on this so take this with my advice to double check it but so far as I understand from unix and RPi stackexchange discussions on performing the above operation as mentioned by @rgreen, 3Gb is nowhere near enough RAM and even IBM’s machines take ~7H to compile Firefox from source so realistically we’re not going to be able to on the H64, PinePhone, RPi etc.
From my own adventures trying to get Icecat running on the PinePhone, I followed advice given in the stackexchange posts to install GUIX over the OS I’m running on the PinePhone (Mobian), then run “guix install icecat” - this after having already tried the savannah build script route, which also failed - but after a few hours the phone has run out of battery and shutdown, even though it’s charging from the keyboard case. Even after configuring 1.5Gb of ZRAM, it still wouldn’t work - and I monitored the Usage app (scrolled down so that displaying the CPU usage graphs wouldn’t add to the load), which showed both the 2.9Gb RAM and the 1.5Gb ZRAM maxing our after a while and freezing up the system. So this experience at least anecdotally validates the requirements described in the stackexchange posts. That being said, I haven’t tried the compilation varying the ZRAM config between a min. of 10% and a max. of 250% but I figured a more appropriate route might be to see if there was an Icecat package precompiled for aarch64 / arm64.
Varying my DuckDuckGo search terms led me to discover that The Fedora Project has Icecat packages precompiled for aarch64 as RPMs. I installed Alien to enable me to convert from .rpm to .deb, then downloaded the main Icecat package from TFP’s repository, as well as the -X11- and -Wayland- packages (just in case they were also needed). Once converted, I tried installing them and that appeared to work so far as generating the Icecat logo in my apps list (actually three - one for each of the packages). However, tapping on any of the Icecat logos wouldn’t load anything so I tried launching Icecat from the command line, from within the Icecat directory (found at /usr/lib64/icecat), with “./icecat” and “./run-icecat” when that failed.
Both of these attempts failed for ostensibly the same reasons:
libstdc++.so.6 versions GLIBCXX_3.4.29 and GLIBCXX_3.4.30 were not found but are required
libc.so.6 versions GLIBC_2.33 and GLIBC_2.34 were not found but are required
Following advice in more stackexchange posts, I tried to locate these libraries on the system with “dpkg -L libstdc++.so.6”, for example, but received the message “package is not installed” - which is strange because when I then double checked by flicking through different directories in the GUI Portfolio app, I found entries for it under /usr/lib/aarch64-linux-gnu/ and under /lib/aarch64-linux-gnu/ . Indeed, when I tried running “sudo apt-get install libstdc++6” and “sudo apt-get install libc6”, both gave me that they were already installed as newest versions (libstdc++6 10.2.1-6 and libc6 2.31-33+deb11u2).
So, further searches seem to indicate that people are resolving similar library issues with symlinks but there was also a suggestion in the Ubuntu forum that this is not the correct way to go about such an issue as it may break some backwards compatibility measures.
Does anyone have any further suggestions? This feels tantalisingly close to working so would really appreciate getting this over the line!
N.B. I’m running a few weeks’ old build of Mobian from a 512Gb microSD card, rather than from the eMMC, don’t know if that’s important to mention.
Rather than write this out again, I’m quoting it from where I posted previously, but creating a thread of it in the Mobian on PinePhone section of the forum (where it is perhaps more relevant) in the hopes that it gains some more views and advice for a solution.
Thoughts?
|
|
|
Modem in failed state, not sending/receiving SMS |
Posted by: brb78 - 03-18-2022, 07:08 AM - Forum: PinePhone Hardware
- Replies (5)
|
 |
I have a PP Braveheart on Arch Phosh that had worked fine for almost 2 years on Verizon's CDMA network. Calls, SMS, and now even MMS worked. Occasionally the inbound SMS would get hung up, but clearing the modem cache by connecting to the modem and running
resolved that. Recently I wrote a systemd service/timer that ran
Code: echo "AT+CMGD=0,4" > /dev/ttyUSB2
every hour. Seems my issues have arisen since then. Now when I try to manually clear the cache it just returns
Code: AT+CMGD=0,4AT+CMGD=0,4
AT+CMGD=0,4AT+CMGD=0,4
AT+CMGD=0,4AT+CMGD=0,4
AT+CMGD=0,4AT+CMGD=0,4
AT+CMGD=0,4AT+CMGD=0,4
AT+CMGD=0,4AT+CMGD=0,4
repeatedly in minicom. I tried flashing biktorgj modem firmware to "refresh" my modem, but it gets hung at
Code: Sending AT+QFASTBOOT...
< waiting for any device >
and detects no fastboot devices.
returns
Code: Bus 002 Device 002: ID 2c7c:0125 Quectel Wireless Solutions Co., Ltd. EC25 LTE modem
So the modem is there, just not responding to me in the way I have become familiar with.
It seems maybe the modem may be the source of these SMS issues, but I'm not sure how to resolve it if its not responseive to minicom, atinout, or fastboot. Any thoughts?
also
Code: sudo mmcli -m any -e
returns
Code: error: couldn't enable the modem: 'GDBus.Error:org.freedesktop.ModemManager1.Error.Core.WrongState: modem in failed state'
I have tried restarting eg25-manager and rebooting. How might I get out of this failed state?
|
|
|
PostmarketOS Camera and ffmeg |
Posted by: rafiki88 - 03-18-2022, 06:07 AM - Forum: PinePhone Hardware
- Replies (1)
|
 |
Hi,
I'm looking a way to capture picture from rear camera with ffmpeg, I have tried multiple ways to configure camera with media-ctl with no luck 
below output from media-ctl -d /dev/media1 --print-topology
Code: Media device information
------------------------
driver sun6i-csi
model Allwinner Video Capture Device
serial
bus info platform:1cb0000.csi
hw revision 0x0
driver version 5.15.13
Device topology
- entity 1: sun6i-csi (1 pad, 2 links)
type Node subtype V4L flags 0
device node name /dev/video2
pad0: Sink
<- "ov5640 4-004c":0 [ENABLED]
<- "gc2145 4-003c":0 []
- entity 5: ov5640 4-004c (1 pad, 1 link)
type V4L2 subdev subtype Sensor flags 0
device node name /dev/v4l-subdev0
pad0: Source
[fmt:SBGGR8_1X8/1280x720@1/30 colorspace:srgb xfer:srgb ycbcr:601 quantization:full-range]
-> "sun6i-csi":0 [ENABLED]
- entity 7: gc2145 4-003c (1 pad, 1 link)
type V4L2 subdev subtype Sensor flags 0
device node name /dev/v4l-subdev1
pad0: Source
[fmt:SBGGR8_1X8/1280x960@1/60 field:none colorspace:raw]
-> "sun6i-csi":0 []
and when I trying to execute ffmpeg -s 1280x720 -f video4linux2 -i /dev/video2 -vframes 1 selfie.jpg got in results error
Code: ffmpeg version 4.4.1 Copyright (c) 2000-2021 the FFmpeg developers
built with gcc 10.3.1 (Alpine 10.3.1_git20211027) 20211027
configuration: --prefix=/usr --enable-avresample --enable-avfilter --enable-gnutls --enable-gpl --enable-libass --enable-libmp3lame --enable-libvorbis --enable-libvpx --enable-libxvid --enable-libx264 --enable-libx265 --enable-libtheora --enable-libv4l2 --enable-libdav1d --enable-postproc --enable-pic --enable-pthreads --enable-shared --enable-libxcb --enable-libsrt --enable-libssh --enable-libvidstab --disable-stripping --disable-static --disable-librtmp --enable-libaom --enable-libopus --enable-libsoxr --enable-libwebp --enable-vaapi --enable-vdpau --enable-vulkan --disable-debug
libavutil 56. 70.100 / 56. 70.100
libavcodec 58.134.100 / 58.134.100
libavformat 58. 76.100 / 58. 76.100
libavdevice 58. 13.100 / 58. 13.100
libavfilter 7.110.100 / 7.110.100
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 9.100 / 5. 9.100
libswresample 3. 9.100 / 3. 9.100
libpostproc 55. 9.100 / 55. 9.100
[video4linux2,v4l2 @ 0xffff9b534670] ioctl(VIDIOC_STREAMON): Broken pipe
/dev/video2: Broken pipe
I'm using main version of postmarketos
any ideas?
|
|
|
Stuck in Mask ROM Mode |
Posted by: somesalmon - 03-18-2022, 12:03 AM - Forum: PinePhone Pro Hardware
- Replies (3)
|
 |
So I just received my PPP about two days ago and at some point while it was in my pocket it switched into Mask ROM Mode (assuming it was a corrupt emmc) I tried following the thread in the general discussion by removing the battery holding the RE button and booting from sd card (I tried this with two separate microSD cards) to no avail. I have left it charging for a few hours at this point figuring it could be a dead battery although that doesn't seem probable as there has been no change despite attempting a reboot several times I get no LED or screen turning on and any time I check the connection from my pc with lsusb it simply returns that it's in Mask ROM Mode every single time.
Any help would be much appreciated, I'm willing to try anything at this point I was very excited to give this device a go and am very disappointed it's been nothing but a paperweight since I received it..
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
UPDATE: I installed tow-boot onto my sd card and attempted to boot from it, I am now finally getting a red light although on their forums it says it's supposed to turn yellow after a short moment buuuuut it doesn't seem to be doing that unfortunately.. So I feel like I'm getting closer but not having too much luck sadly. If anyone has any more tips it would be greatly appreciated! Thanks so much everybody!
|
|
|
|