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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 29,397
» Latest member: paracpg
» Forum threads: 16,165
» Forum posts: 116,764

Full Statistics

Latest Threads
3 days in, slow/stuck or ...
Forum: General Discussion on Pinebook Pro
Last Post: samlevy0515
3 hours ago
» Replies: 35
» Views: 11,659
touchscreeh doesn't accep...
Forum: PinePhone Pro Hardware
Last Post: henrythemouse
7 hours ago
» Replies: 9
» Views: 903
What's a good image to us...
Forum: Linux on Pinebook Pro
Last Post: Dendrocalamus64
Yesterday, 02:26 PM
» Replies: 39
» Views: 9,239
many distros getting too ...
Forum: PinePhone Pro Software
Last Post: mikehenson
Yesterday, 08:59 AM
» Replies: 2
» Views: 55
boot gets stuck shortly a...
Forum: Mobian on PinePhone
Last Post: demetemre
07-16-2025, 10:50 AM
» Replies: 10
» Views: 7,869
Cannot pay with credit ca...
Forum: General
Last Post: hannaconner
07-15-2025, 10:56 PM
» Replies: 0
» Views: 48
Star64 Irradium (based on...
Forum: Getting Started
Last Post: mara
07-15-2025, 07:46 AM
» Replies: 6
» Views: 3,025
Public Mobile (Canada): f...
Forum: General Discussion on PinePhone
Last Post: digdis
07-14-2025, 04:17 PM
» Replies: 6
» Views: 270
StarPro64 Irradium (based...
Forum: Getting Started
Last Post: mara
07-14-2025, 03:20 PM
» Replies: 0
» Views: 40
Older Versions of the PBP
Forum: General Discussion on Pinebook Pro
Last Post: KC9UDX
07-13-2025, 03:54 PM
» Replies: 3
» Views: 168

 
Lightbulb NUT (Network UPS Tools) compatibility
Posted by: Scary Guy - 04-22-2022, 08:12 PM - Forum: General - No Replies

My train of thought here is that if a device has a battery then by definition it has a UPS built in. I'd like to get this running on the PinePhone but I figure it applies to almost all products with a battery. I also think it'd be cool to see them over on the list at https://networkupstools.org/stable-hcl.html as well.

My goal is to get NUT-Monitor on my main Linux box to show my phone's battery information. I just have no clue about how to do that, so any help or advice is appreciated.

Possibly using the dummy-ups "driver" to read the battery info directly might work. Though I don't know where that information is stored or how it would even parse that data.

I'm using Postmarket OS PhoSh though and have NUT installed on that. I can at least make it work as a client, which is still cool.


  How can I record video on a Pinephone?
Posted by: kk22 - 04-22-2022, 07:01 PM - Forum: General Discussion on PinePhone - Replies (18)

I'd like to be able to take a short maybe 10 second video using the Pinephone's camera. There seem to have been a few individuals who figured out how to do this, but they used very different methods and none of them seem to be currently functional:

Reddit post by UJC_theguy, who was able to use ffmpeg to record a video. Trying his method (with /dev/video2 since that's what my camera shows up as), I get the following:

Code:
[video4linux2,v4l2 @ 0xffff9790b670] ioctl(VIDIOC_STREAMON): Broken pipe
/dev/video2: Broken pipe


Reddit post by Atticus83, who used gstreamer instead of ffmpeg. Trying his method the _jprocess script fails with
Code:
WARNING: erroneous pipeline: no element "x264enc"

Python script from Martijn Braam, which uses ffmpeg to do the recording. Modified to use /dev/video2, it gives the following:
Code:
  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 @ 0xffffae633670] The driver changed the time per frame from 1/20 to 1/15
[video4linux2,v4l2 @ 0xffffae633670] ioctl(VIDIOC_STREAMON): Broken pipe
/dev/video2: Broken pipe

So how can I record video if these don't work?

Edit: Atticus83's method actually does work, but the "ugly" gstreamer plugins are needed. When I wrote this post I thought I had already installed them, but upon trying to install all of the gst-plugins-* packages in pmOS, gst-plugins-ugly got installed and now it works. If anyone knows of a better method though, please post it here.


  WIRELESS CHARGING ADD-ON CASE
Posted by: Fred Zyphal - 04-22-2022, 10:47 AM - Forum: General Discussion on PinePhone - Replies (4)

So ... I ordered two of the WIRELESS CHARGING ADD-ON CASE, one for my original PinePhone and one for my Pro.

My "Qi" compliant charging base has an indicator light that tells me something has successfully engaged the field, both of the charging cases will light the light, and I can measure 5VDC on a couple of the pins of the "flexible fanout" (that's what we call the Kapton with traces in the aerospace industry), however neither of the phones will charge.

Am I doing something wrong?  My concern is that the flexible fanout is not indexed, not held down, it just sort of flops around in the breeze and may not be engaging the pogo pins correctly.

Is anybody else seeing anything like this?


  !! Pinecil is dead after 3 times using it, don't buy this crap...
Posted by: bbeeast - 04-22-2022, 06:58 AM - Forum: General Discussion on Pinecil - Replies (2)

Hi

I bought a Pinecil64 after seeing JB's video... 

After I received it, it worked 3-4 times, and the same day it died: No more screen, no reaction when I plug various LiPo battery or USB, doesn't heat up... 
The only thing that work is when I plug to my PC I still can uptade it lmao 

That's annoying to have bought such a bad product...


  My Conky config file for Phosh
Posted by: lat - 04-21-2022, 12:16 PM - Forum: PinePhone Pro Software - No Replies

I created some Conky eye candy for myself and wanted to share.  A screenshot is attached, and here's my
~/.conkyrc

Code:
conky.config = {
    alignment = 'top_left',
    background = false,
    border_width = 1,
    cpu_avg_samples = 2,
    default_color = 'yellow',
    default_outline_color = 'white',
    default_shade_color = 'white',
    double_buffer = true,
    draw_borders = false,
    draw_graph_borders = true,
    draw_outline = false,
    draw_shades = false,
    extra_newline = false,
    font = 'Liberation Mono:size=10',
    gap_x = 8,
    gap_y = 40,
    minimum_height = 734,
    minimum_width = 394,
    maximum_height = 734,
    maximum_width = 394,
    net_avg_samples = 2,
    no_buffers = true,
    out_to_console = false,
    out_to_ncurses = false,
    out_to_stderr = false,
    out_to_x = true,
    own_window = true,
    own_window_class = 'Conky',
    own_window_type = 'desktop',
    show_graph_range = false,
    show_graph_scale = false,
    stippled_borders = 0,
    update_interval = 1.0,
    uppercase = false,
    use_spacer = 'none',
    use_xft = true,
}

conky.text = [[
${color 8888ff}${cpugraph cpu1 59,59} ${cpugraph cpu2 59,59} ${cpugraph cpu3 59,59} ${cpugraph cpu4 59,59} ${cpugraph cpu5 59,59} ${cpugraph cpu6 59,59}
${cpu cpu0}%${tab 16}cpu $freq MHz $acpitemp°C${tab 90}${cpubar 6}
$color$memperc%${tab 16}ram${tab 36}of $memmax${tab 90}${color 888800}${membar 6}
$color$swapperc%${tab 16}swap${tab 36}of $swapmax${tab 90}${color 888800}${swapbar 6}
${color ffffff}${fs_free /mnt/emc}${tab 36}${color bbbbbb}emc free${tab 90}${color 666666}${fs_bar 6 /mnt/emc}
${color ffffff}${fs_free /}${tab 36}${color bbbbbb}sd free${tab 90}${color 666666}${fs_bar 6 /}
$hr
${color ffffff}$processes ${color grey}processes${tab 48}cpu%  ram%          ${color ffffff}$running_threads ${color grey}threads
${color ffffff}${top name 1}${color grey}${top cpu 1}${top mem 1}
${top name 2}${top cpu 2}${top mem 2}
${top name 3}${top cpu 3}${top mem 3}
${top name 4}${top cpu 4}${top mem 4}
${color 666666}$hr
${color 880000}Upload Speed (10 Mbps max value)       1min    0
${color ff0000}${upspeedgraph   wlan0 59,384 100000000 -l}
${color 00bb00}${downspeedgraph wlan0 59,384 100000000 -l}
${color ff0000}port${tab 24}ip${tab 90}host               ${tcp_portmon 32768 65535 count} out
${tcp_portmon 32768 65535 rport 0}${tab 24}${tcp_portmon 32768 65535 rip 0}${tab 90}${tcp_portmon 32768 65535 rhost 0}
${tcp_portmon 32768 65535 rport 1}${tab 24}${tcp_portmon 32768 65535 rip 1}${tab 90}${tcp_portmon 32768 65535 rhost 1}
${tcp_portmon 32768 65535 rport 2}${tab 24}${tcp_portmon 32768 65535 rip 2}${tab 90}${tcp_portmon 32768 65535 rhost 2}
${tcp_portmon 32768 65535 rport 3}${tab 24}${tcp_portmon 32768 65535 rip 3}${tab 90}${tcp_portmon 32768 65535 rhost 3}

${color 00ff00}port${tab 24}ip${tab 90}host               ${tcp_portmon 1 32767 count} in
${tcp_portmon 1 32767 rport 0}${tab 24}${tcp_portmon 1 32767 rip 0}${tab 90}${tcp_portmon 1 32767 rhost 0}
${tcp_portmon 1 32767 rport 1}${tab 24}${tcp_portmon 1 32767 rip 1}${tab 90}${tcp_portmon 1 32767 rhost 1}
${tcp_portmon 1 32767 rport 2}${tab 24}${tcp_portmon 1 32767 rip 2}${tab 90}${tcp_portmon 1 32767 rhost 2}
${tcp_portmon 1 32767 rport 3}${tab 24}${tcp_portmon 1 32767 rip 3}${tab 90}${tcp_portmon 1 32767 rhost 3}
${color 666666}$hr
$color${wireless_link_qual_perc wlan0}% ${color aaaa00}wifi link quality${tab 108}$color${wireless_bitrate wlan0} ${color aaaa00}bitrate
${color aaaa00}Uploaded  Downloaded${tab 108}$color$uptime_short ${color aaaa00}uptime
$color${totalup wlan0}  ${totaldown wlan0}${tab 108}${tcp_portmon 1 65535 count}${if_existing /sys/class/net/wlan0/operstate No network!}${color #ff0000} down${endif} ${color aaaa00}tcp connections
${color 666666}$hr
]]

It's optimized for Phosh with 175% magnification in Gnome Settings (I wonder why the Settings give only coarse values of 100%, 125%, 150%, 175%, 200% - I'd prefer to be able to fine tune screen magnification).
It works best in Portrait mode.
If rendering gets affected, I just kill conky and restart - takes a second to do (I placed Conky in Phosh's Favorites).

I'm gradually moving towards an all-Wayland setup, so I wonder how the X-based Conky will transition there if at all.

Appreciate any responses!



Attached Files Thumbnail(s)
   

  Issues with Mobian? Start here.
Posted by: tophneal - 04-21-2022, 11:27 AM - Forum: Mobian on PinePhone - No Replies

Having issues with Mobian? In addition to this forum, you may also want to refer to any of the following for support and documentation of Mobian:

https://wiki.mobian-project.org/doku.php?id=start
this https://wiki.mobian-project.org/doku.php...leshooting
and the IRC channel #mobian on irc.oftc.net

Communication channels and contact info
Matrix
#mobian:matrix.org
Main Mobian channel
Matrix
#mobian-ports:matrix.org
Discussions about porting Mobian to new devices
IRC
#mobian on OFTC
This is bridged to the matrix channel
XMPP
Use https://irc.cheogram.com/ bridge to IRC

Telegram
https://t.me/mobian_project
also bridged to the matrix channel
Mastodon
https://fosstodon.org/@mobian

email
contact@mobian-project.org


  PinePhone won't boot, no LED, nothing.
Posted by: Anthragon - 04-21-2022, 10:56 AM - Forum: General Discussion on PinePhone - Replies (2)

Hello,

I think I have broken the PinePhone I got for my 17th birthday. But I don't know, I'm not good at systems stuff, I'm just a simple programmer.

What I did:
I wanted to boot from an SD-card, but it didn't let me boot; it just booted from the internal storage. So I did something I now extremely regret: I tried to make the OS that I installed on the internal storage un-bootable by writing from /dev/random to the /dev/*Whatever the eMMC was*. At least, it doesn't boot the Manjaro ARM with KDE Mobile (which I didn't like), which the Desktop of has just... gone away... some time ago ?!
But the problem is: It doesn't boot anything anymore.

What happens:
Nothing. Nothing at all. The LED on the outside doesn't light up, it doesn't boot, it does as much as a clay brick that I could buy in a building supplies store.

Please help.


  Build quality, unable to flash to 2.18
Posted by: minutesgrep - 04-21-2022, 10:31 AM - Forum: General Discussion on Pinecil - Replies (1)

I purchased my Pinecil back in April, and it was useful one time in the field.

The other day I wanted to upgrade to IronOS from 2.15 (stock) to 2.18, and the device appeared to not boot but would DFU.

After some digging, I discovered the issue was with bad soldering on the OLED connector. Sure enough, after a reflow, I was able to upgrade.

Unfortunately, it appears the LCD is dead after a few minutes use.

I expect that the Pinecil is out of warranty. Does anyone happen to know the part# for the OLED LCD module? I'd like to try to replace it if possible.

I'm really disappointed with the build quality on the Pinecil, and this really leaves a negative impression of the Pine brand. I buy a *lot* of commodity electronics from CN/TW and even when the build quality is questionable, it usually will function reliably. Not so with the Pinecil.


  Mobian wiki and IRC forum sticky?
Posted by: biketool - 04-21-2022, 08:48 AM - Forum: Mobian on PinePhone - Replies (1)

I nominate that a mod please put a sticky at the top of the mobian forum that directs users to the Mobian wiki
https://wiki.mobian-project.org/doku.php?id=start
and the IRC channel #mobian on irc.oftc.net

Communication channels and contact info
Matrix
#mobian:matrix.org
Main Mobian channel
Matrix
#mobian-ports:matrix.org
Discussions about porting Mobian to new devices
IRC
#mobian on OFTC
This is bridged to the matrix channel
XMPP
Use https://irc.cheogram.com/ bridge to IRC

Telegram
https://t.me/mobian_project
also bridged to the matrix channel
Mastodon
https://fosstodon.org/@mobian

email
contact@mobian-project.org


  need some help
Posted by: belinda_ack - 04-21-2022, 01:11 AM - Forum: PinePhone Pro Hardware - Replies (2)

I received my pine phone pro a couple of weeks ago
got it charged and working then left it until yesterday
now it will not charge 
it is completely unresponsive
what can i do