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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 28,642
» Latest member: mariafist0
» Forum threads: 15,896
» Forum posts: 115,530

Full Statistics

Latest Threads
pinephone 3 ideas
Forum: General
Last Post: KC9UDX
11 hours ago
» Replies: 5
» Views: 1,379
Looking for a Reliable Vi...
Forum: General
Last Post: ahmadfatoni
Today, 02:57 AM
» Replies: 0
» Views: 23
Help with Pinecil
Forum: General Discussion on Pinecil
Last Post: saranelson
Today, 12:32 AM
» Replies: 0
» Views: 16
I Got A Bit Too Flash Hap...
Forum: PinePhone Pro Software
Last Post: SheldonGrant
Yesterday, 08:08 PM
» Replies: 3
» Views: 98
New PineTab2
Forum: General Discussion on PineTab
Last Post: jimbrown1
Yesterday, 08:58 AM
» Replies: 3
» Views: 1,299
Lora driver
Forum: PinePhone Hardware
Last Post: biketool
Yesterday, 05:01 AM
» Replies: 4
» Views: 1,130
Another one boots to blac...
Forum: General Discussion on Pinebook Pro
Last Post: Sb2024
11-06-2024, 11:27 PM
» Replies: 8
» Views: 367
Will EPOLL C or PIGPIO C ...
Forum: Pi2, Euler and Exp GPIO Ports
Last Post: ealpharmacy
11-06-2024, 10:56 PM
» Replies: 1
» Views: 2,426
Whoohoo!!! It's BACK!
Forum: General Discussion on PineNote
Last Post: bills2002
11-06-2024, 12:40 PM
» Replies: 5
» Views: 472
Is that a Multiboot selec...
Forum: Mobian on PinePhone
Last Post: scorchplow
11-05-2024, 09:59 PM
» Replies: 1
» Views: 733

 
  How-To: Remote Control Your Phone from Desktop via VNC
Posted by: biketool - 10-10-2024, 02:26 AM - Forum: PinePhone Software - Replies (2)

Do you wish there was an easy hands-free way to interact with your PP's touch GUI while sitting in front of your desktop system?
Would you like to compose, read, and send SMSs and IMs using your full size keyboard? Interact with your mobile apps using your desktop's mouse, and screen?
Is there a way to cut and paste between your phone and Desktop?
Maybe you would like to initiate and end hands-free or speakerphone calls without touching your phone?

These and more are all possible using VNC to remotely interact with the GUI of your Pinephone.

Let's start with your Pinephone; mine is running Mobian but the instructions should work for other distros; use your system's package installer. (this is for systems running Weyland for video, x11(and mir/surfaceflinger) uses a different VNC server)

Code:
sudo apt install wayvnc
once wayvnc is installed the way I run it is with a launch script I keep in my home directory, I named my script V (the 0.0.0.0 allows incoming connections from outside localhost)
Code:
#! /bin/bash
wayvnc 0.0.0.0
make our script V executable
Code:
chmod +x  V
launch manually on the pinephone's shell console like this
Code:
./V
The VNC server on your phone is now waiting for a client to connect, as configured is not secured and is unencrypted.

This setup when run on your Weyland video server Pinephone will let your login when the VNC server is running on your PP without any security or password config on either side.  The VNC server script above is launched and killed manually so it is not running all of the time in this config, you save precious battery when mobile. If you wanted you could make a desktop entry to give you a GUI launcher for the sell script, just kill that shell window to kill the server.

Now install the VNC viewer GUI on your desktop Linux machine(other OSs also have VNC client software)
Code:
sudo apt instal tigervnc-viewer
Now in this insecure home LAN setup just run ./V on your Pinephone, then set the phone's LAN IP address in the tigervnc-viewer GUI running on your desktop system and click connect; a window with your PP's interactive GUI will appear on your desktop machine.

In options I recommend reviewing the cut/paste options in tigervnc-viewer Input tab,  clicking the 'show dot when no cursor' in the also in Input tab so you have a way to see your mouse in some server configs, as well as ensuring that in the Security tab the encryption and authentication options including none as in my example are to your preference.

This is all you need to remote control your phone via desktop; it is a near perfect way to interact with your Weyland Pinephone.  This setup  also works if you are using the PP as your wifi(or USB cable or Bluetooth) tether hotspot just be sure to update the PP's IP address. This quick tryout setup is only viable in a situation where the phone and laptop are on a private WLAN with no possibility of other users, any other situation where the VNC server is running gives all users who can scan the network for open VNC port free GUI access to your PP with no barriers. It is easy to set a user name and password as well as encryption for the connection, a secure setup requires editing a .conf file on your PP with username and password as well as generating an RSA key.  see https://github.com/any1/wayvnc

If you have trouble with cut/paste showing boxes rather than text it is a font matching problem and I have solved this by using the on-phone web browser for some non-English languages rather than my desktop's; there are better ways to solve the problem though.
VIew the wayvnc git for secure setup and running instructions https://github.com/any1/wayvnc

I find that if I am doing heavy interaction with my PP while in my office VNC, an SSH session, as well as Filezilla to move files around makes everything so easy I rarely need to touch my charging PP except to wake it up if it goes into standby mode and disconnects from the WLAN.


  Is the CS pin on the accelerometer connected or not?
Posted by: EternityForest - 10-09-2024, 04:15 AM - Forum: Pinecil Hardware and Accessories - Replies (2)

Here's the document: https://files.pine64.org/doc/Pinecil/Pin...220608.pdf

I also notice that PS doesn't exist in the datasheet for the SC7A20, that pin is NC, although finding an English version was slightly hard, maybe there are different versions?

I used this as a reference for a custom board using it, before I was able to find an english datasheet, figuring that the pinecil is probably the most famous trusted application and whatever it does is probably right, but I'm having some issues getting it to work... Any advice?

Is this an old version of the schematic or something? I also just now noticed it says BMA223, which I apparently glossed over thinking it was a part of the package code, but actually that's a completely different accelerometer chip, so something funny seems to be occuring.

The SC7A20 needs CS pulled high, as far as I can tell from the other datasheet, and on my boards, the chip doesn't seem to be responding to an I2C scan.



Attached Files Thumbnail(s)
   

  Keyswitch scissors replacement
Posted by: cmj - 10-08-2024, 02:01 AM - Forum: Pinebook Pro Hardware and Accessories - Replies (1)

Hello

The little scissors assembly thing has broken on two of the keys on my PBPro keyboard (ISO / UK version)

One normal-sized one and the backspace key. It feels like the sort of thing that could be replaced, if I can source the assembly. I think in both cases it's the lugs that hold the switch into the keyboard side that have snapped off (so the scissors attaches to the key, just not the keyboard).

Does anyone know if it's possible to obtain them without buying a new keyboard? (the Pine64 store does sell US versions but not the ISO ones).

Thanks!

Chris


  Whoohoo!!! It's BACK!
Posted by: bills2002 - 10-07-2024, 10:32 PM - Forum: General Discussion on PineNote - Replies (5)

Anyone wanna buy a mostly linux but totally locked down 10" ereader for $100 used.
Or the same thing new for $399.

No?

Or would you like to buy a system where:
- the code is free if you wanna see if you can get black and white 30fps no flicker animation?
- you want to syncthing it with your life
- you want to rsync it with your life
- you want to load all of your information ... pdf's ebooks... over wifi or usb or (pray they add a sd card) ...
- you want to run your email client
- your browser
- your calendar
- your any one of 65k debian packages applications
- you want to solder a SD card port on it (if it doesnt come with one, I will pay $50 for the first person who does...my old remarkable had that hack)
- you want to crack the screen and be able to buy a new screen and make it work (again praying we can open/repair it)
- you want to VNC viewer to become a screen extension of your desktop?
- you want to add a bt keyboard and a bt mouse with a roller and probably (distro is X11) alt scroll wheel to zoom in and out and use this is a yes, I can sit on the beach and earn a living while getting a tan.
- (you see where this is going?)
- basically...you want to do anything with this...you can.
(try that with a competitive product)

So, OP 9+ is worth $150?  kb elip is worth $150...what trash and I going to sell to get that extra $100.

You guys rock.  I'm challenging myself to become the first order once it hits the store.

Bill


Ok, so I downloaded PINENOTE_MAIN-V1R2 - Schematic-20210824.pdf. It looks like it has:
- SD card slot?? lots of mentions about SD switches and stuff. Really hoping that's there and that the speed is decent.
- USB 3.0 could be faster but isnt a slouch.
- and I saw on that schmatic...JTAG ports!!!!...I pray they are document which may prevent me from bricking another device when I flash it wrong! Such a valuable feature if it's there. A $25 JTAG "resurrection spell"!


  Open source NAS dillema
Posted by: harc - 10-07-2024, 02:40 AM - Forum: General - Replies (2)

Hi all,

I'm looking for a open source NAS solution and it proves surprisingly difficult, especially on the more budget minded side of things. Got a ton of drives I have to load into something and open hardware would be preferred. Helios64 would be ideal if not for the minor problem of it not being produced anymore and unavailable on the second hand market (which I consider proof of a good design). PINE64 NAS Case with ROCKPro64 sounds like a decent alternative but again, it's not in store. I dont see anything that would hint it's comeback, even though this stuff seems like a fairly easy project with key components available already and a niche. I'd love Pine to pick up the Helios64 project, even if it comes with a proper markup, or at least to sell a decent case (better yet one for more than 2 drives). But if anyone has any other solutions I'm very interested to hear them.


  How to reengage PCIe when reapplying power?
Posted by: rotdrop - 10-06-2024, 05:11 PM - Forum: General Discussion on Quartz64 - Replies (1)

Hi there,

thanks for this nice board. So far I have a working NAS setup with a Quartz64 model A, using the Startech 8 port SATA board plugged into the PCIe slot.

I am now trying to switch between battery powered "low power" mode and the "regular" 12V power supply. I know from reading the Wiki

https://wiki.pine64.org/wiki/Quartz64_Mo..._a_battery

that the PCIe slot is powerd down while using the battery.

Now comes the challenge: how to properly reengage the PCIe slot when switching back from battery mode to the "fully powered" mode?

So far I tried:

- unmount all drives before disconnecting the 12V main power supply
- remove the PCIe slot via "echo 1 > /sys/bus/pci/devices/0000:00:00.0/remove"
- switch off the 12V supply

So far so good. The system keeps on running, the NIC is still powered, everything seems to work as expected, I am still logged in via ssh after disconnecting the 12V supply.

Now, when I reengage the 12V supply, I try to resurrect the PCIe bus via

echo 1 > /sys/bus/pci/rescan

This makes the PCEe bridge reappear. But the SATA-controller plugged into the slot is not reinitialized. I tried also

echo 1 >  /sys/devices/platform/3c0000000.pcie/pci0000\:00/pci_bus/0000\:00/rescan

But this does not seem to have an effect. The output of "lspci" still only reads:

root@nas:~# lspci  
00:00.0 PCI bridge: Rockchip Electronics Co., Ltd RK3568 Remote Signal Processor (rev 01)


but should be something like this

root@nas:~# lspci  
00:00.0 PCI bridge: Rockchip Electronics Co., Ltd RK3568 Remote Signal Processor (rev 01)
01:00.0 PCI bridge: Pericom Semiconductor PI7C9X2G608GP PCIe2 6-Port/8-Lane Packet Switch
02:01.0 PCI bridge: Pericom Semiconductor PI7C9X2G608GP PCIe2 6-Port/8-Lane Packet Switch
02:02.0 PCI bridge: Pericom Semiconductor PI7C9X2G608GP PCIe2 6-Port/8-Lane Packet Switch
02:03.0 PCI bridge: Pericom Semiconductor PI7C9X2G608GP PCIe2 6-Port/8-Lane Packet Switch
02:04.0 PCI bridge: Pericom Semiconductor PI7C9X2G608GP PCIe2 6-Port/8-Lane Packet Switch
03:00.0 SATA controller: ASMedia Technology Inc. ASM1061/ASM1062 Serial ATA Controller (rev 02)
42:00.0 SATA controller: ASMedia Technology Inc. ASM1061/ASM1062 Serial ATA Controller (rev 02)
81:00.0 SATA controller: ASMedia Technology Inc. ASM1061/ASM1062 Serial ATA Controller (rev 02)
c0:00.0 SATA controller: ASMedia Technology Inc. ASM1061/ASM1062 Serial ATA Controller (rev 02)


I would be kind of cool (for power-saving reasons) if it would be possible to dynamically switch between battery and 12V main power supply. Is there any knowledge in this forum how to achieve this?

Kind thanks in advance for any comments, best

Claus


  Ordered PinePhone till today have no info or confirmation about order
Posted by: hennadiyt - 10-05-2024, 06:34 AM - Forum: General Discussion on PinePhone - Replies (1)

Hello

On October 1, 2024 I have ordered PinePhone from pine64.com
Order Number 357282 PayPal Transaction ID 2RY52872NE788445V
Can you please give me a little more info about my order ... Shipping Update etc please???
My order is accepted or is not accepted?
If accepted - what is about delivery, how long delivery takes?
If its not accepted - why I have any notification yet or why you did not full refund it?
Just to confirm - I want PinePhone I have ordered
Thank you in advance


  Star64/Starpro64 kernel building
Posted by: global - 10-04-2024, 08:36 PM - Forum: General - No Replies

I'm running Debiaan Trixie userland on the Star64, from an NVMe, with a 5.15.131-star64 kernel built by one of the images which are available.

I was not able to find a tree with kernel sources for the Star64 though, has someone details? The "tun" kernel module is not available for the kernel I'm using.


  pin for postmarketOS
Posted by: glidingarrow - 10-04-2024, 07:38 PM - Forum: General - No Replies

I bought a PinePhone 5 months ago. It was horrible. 

Worked on it again recently. Was advised to get a microSD card, pick a distro and go. 

I chose postmarketOS. Installed it. It asks for a pin. I don't see any docs on having to have a pin, nor, know what it is. Seems I can't do anything without it. 

I found 147147 on an old post. That didn't work. 

Anyone know what the pin is?


  Having difficulty installing PostmarketOS on Pinephone Convergence Beta edition
Posted by: spazz - 10-03-2024, 11:56 PM - Forum: General Discussion of PinePhone Pro - Replies (13)

Hi all.
I made a reply about this issue to this issue in somebody else's thread started in 2021,
but it might be bumping a thread which is too old.
The original thread is this:

    https://forum.pine64.org/showthread.php?tid=13703


My essential problems are:

  •  When I decompress and then dd the PostmarketOS image to an SD Card, I cannot boot from that SD Card on the Pinephone.   

  •  Alternately: When I try to directly follow the PostmarketOS instructions for this: It also will not boot from that SD Card.
       
  •  When I try to dd an image of  "JumpDrive" (PostmarketOSbootloader / boot selection tool developed by PostmarketOS devs) to the same SD Card, this also fails to boot.

This is a BRAND NEW SD card out of the package.
The Pinephone does SEE the SD Card when I run lsblk on the pinephone, so it is mysterious to me why it cannot boot the images when I flash them. 

So, I am mystified and must consult the wise oracles and wizards on this forum and hope for assistance.
   
Further specific details about my attempts and links are below.   

Brand new SD card.
I have a Pinephone Convergence Beta edition.
Running lsblk on the phone, it actually sees the sd card.

However, no matter what I seem to try, I cannot boot it to either PostmarketOS as flashed to the SD card, or to Jumpdrive (developed by some of the Postmarket developers).

In the other forum thread: 
One of the repondents  [MtnSk8]   suggested zeroing the first few bytes of the SD Card.

    https://forum.pine64.org/showthread.php?tid=13703


Q.
    HOW do I zero "the first few bytes" of the SD card for this operation,
    and exactly how many bytes is "the first few"?
    1?  2? 8? 16? 512? 1024?

I took a gamble on this from pinephone documentation
[url
https://wiki.pine64.org/index.php/PinePh...structions
[/url]

and tried:
Code:
    sudo dd if=/dev/zero of=/dev/[DEVICE] bs=8k seek=1 count=4

But have no idea if that's what I am meant to do.
Anyway, this didn't help.

For flashing the image, I have attempted the following:

I tried flashing using standard dd method  (having first run unxz to decompress the postmarket.img.xz file)

Code:
    sudo dd if=postmarket.img of=/dev/sdXX status=progress

and also tried to flash using the interesting method of decompressing postmarket.img.xz  piped through dd as described in postmarket documentation below


    https://wiki.postmarketos.org/wiki/JumpDrive


Code:
    xz --decompress --stdout pine64-pinephone.img.xz | sudo dd of=/dev/mmcblk... status=progress

In this case, I think the instructions are indicating doing this on the pinephone itself, but I am flashing it to the SD card using my linux desktop. 
So, in the instructions,

Code:
    /dev/mmcblk...

...in my case obviously becomes
Code:
    /dev/sdXX

I have attempted all these methods a few times, after my ignorant attempt at zeroing the first few bytes of the SD Card.
Still no luck or success at all. 
Thanks anybody for any help or advice.