| Welcome, Guest |
You have to register before you can post on our site.
|
| Latest Threads |
compass pdf link expired:...
Forum: General Discussion on PinePhone
Last Post: WhiteHexagon
2 hours ago
» Replies: 0
» Views: 16
|
Wake up Call
Forum: General Discussion on PinePhone
Last Post: biketool
10 hours ago
» Replies: 6
» Views: 275
|
Reinstallation Arch Linux...
Forum: General Discussion on PineTab
Last Post: victor_yeh
Yesterday, 11:17 PM
» Replies: 0
» Views: 34
|
I think you can try compi...
Forum: General Discussion on Pinebook Pro
Last Post: wangyukunshan
Yesterday, 02:25 AM
» Replies: 0
» Views: 77
|
Second screen mirroring
Forum: General
Last Post: OpalTromp
11-04-2025, 09:53 PM
» Replies: 2
» Views: 1,724
|
kivy app keeping focus wh...
Forum: Mobian on PinePhone
Last Post: Kevin Kofler
11-04-2025, 08:37 PM
» Replies: 1
» Views: 69
|
How to add an homemade ap...
Forum: Mobian on PinePhone
Last Post: JChdeL
11-04-2025, 04:13 AM
» Replies: 3
» Views: 312
|
Has anyone installed Tris...
Forum: General
Last Post: RandB
11-03-2025, 12:08 PM
» Replies: 1
» Views: 2,191
|
Xen hypervisor on Rock64
Forum: Linux on Rock64
Last Post: darkfader
11-03-2025, 09:25 AM
» Replies: 6
» Views: 9,715
|
[Article] RISC-V Ox64 BL8...
Forum: General
Last Post: smithjohns
11-03-2025, 12:54 AM
» Replies: 3
» Views: 9,483
|
|
|
| [solved] Black screen at boot time |
|
Posted by: mdk - 01-13-2023, 03:33 AM - Forum: Mobian on PinePhone
- No Replies
|
 |
Today my phone went to a black screen after booting, it was just a filesystem issue easy to fix by running fsck maually.
I "blogged" about it in case it can help someone someday:
https://mdk.fr/blog/black-screen-at-boot...phone.html
But I though, why asking a user to fsck manually on a phone? Is there an option Mobian could enable to just do the fsck if needed? It's not that simple as it'll still ask the user to fix or not to fix, like:
Code: Block bitmap differences: -(392704--392976) -(1246016--1246019) -(1606912--1607056) -(1607776--1607792) -(1609536--1609552) -(1611200--1611216) -(1611360--1611376) -(1621504--1621907) -1722548 -(2034240--2034256) -(2036608--2036694) -(2039808--2043903) -(2054144--2054263) -(2058240--2060287) -(2061312--2061823) -(2230912--2230945) -2455149 -(2455162--2455163) -2455612 -(2556160--2556225) -(2556352--2556384) -(2556672--2556737) -(2556832--2556848) -(2556864--2556880) -(2562304--2562433) -(2563328--2563521) -(2563584--2563729) -(2570359--2570366) -(2761279--2761286) -(2790656--2790880) -(2790912--2791104) -(2792192--2792272) -(2792448--2792528) -(2795904--2795952) -(2796224--2796240) -(2796416--2796480) -(2796512--2796528) -(2798336--2798368) -(2799488--2799520) -(2800192--2800224) -(2800448--2800464) -(2800576--2800592) -(2801280--2801296) -(2802112--2802128) -(2802464--2802480) -(2803072--2803088) -(2803904--2803920) -(2807072--2807088) -(2807200--2807216) -(2829440--2829539) -(2980568--2980576) -(3067392--3067748) -(3080224--3080240) -(3080576--3080688) -3089408 -(3092480--3092800) -(3115264--3115300) -(3272704--3273637) -(3274752--3276799) -(3310432--3310448) -(3321247--3321253) -(3346048--3346084) -(3582208--3582353) -3794232 -3794237 -(3817472--3821567) -(3827712--3829759) -(3831808--3833855) -(3859377--3859385) -(3953152--3953281) -(3963799--3963808) -(3986432--3986786) -(4143872--4144034) -(4145408--4145570) -(4191232--4191556) -(4226823--4226825) -(4235200--4235216) -(4752448--4752464) -(4789960--4790091) -(4800710--4801025) -(4814071--4814080) -(4846254--4846409) -(4852416--4852465) -(4854432--4854448) -(4883456--4883729) -(5339966--5339967) -(5397760--5397872) -(5822464--5822579) -(5822976--5823280) -(6432960--6432992) -(6434688--6434768) -(6434784--6434800) -(6439936--6440447) -(6441472--6441490) -(6791680--6792191) -(6800832--6800867) -(6858368--6858400) -(7118729--7118736) -(7144448--7144480) -(7146432--7146448) -(7154432--7154609) -(7170048--7173750) -(7174144--7174400) -(7444480--7446527)
Fix<y>? yes
Free blocks count wrong for group #11 (15917, counted=16190).
Fix<y>? yes
Free blocks count wrong for group #38 (19424, counted=19428).
Fix<y>? yes
Free blocks count wrong for group #49 (24171, counted=24788).
Fix<y>? yes
Free blocks count wrong for group #52 (9990, counted=9991).
Fix<y>? yes
Free blocks count wrong for group #62 (16515, counted=23395).
Fix<y>? yes
Which I really never understood to be honest, as I'm not training myself to remember the inode number of each of my files, and even if I remembered, I don't imagine answering "no" here... Like "no no, I don't like this file anyway, it does not deserve to be fixed, keep it in its bad state on the filesystem, that'll teach him."
|
|
|
|
| Product Idea: PineTracker |
|
Posted by: EternityForest - 01-12-2023, 10:33 PM - Forum: General
- No Replies
|
 |
Trackers like Tiles and Airtags are cheap and simple to make, very useful, and likely have a large audience of people who avoid them for privacy reasons.
The tracking infrastructure is hard to do, because it requires wide adoption, but not technically difficult or expensive because it can be done with a community run trustless servers, and more importantly, even without the large community network it still has value.
Plus, if it ever got popular, the network could have other uses like 2-way messaging, and could maybe even integrate with meshtastic.
My dream tracker would come in 2 versions.
The small keychain version would look like all the other assorted CR2023 based tags, but would have 2-5 buttons, an accelerometer, and perhaps light or hall effect sensing.
The larger version would have a glowstick-like form factor and would add a rechargeable battery, light sensor, and passive IR motion sensor at the bottom. This would let you attach it to your backpack and have it act as a visibility light at night, or hang it up to keep an eye on a trailer at a job site, etc. It could act as a motion triggered light, or glow dimly all the time to find things in the darkness.
Depending on cost/volume/etc, it could probably even have a tiny solar cell since BLE is so efficient.
Open firmware would allow a lot of stuff that's currently impossible:
* Link tags directly, give them to multiple people, press one to alert your group
* Use one as a home automation remote
* Get alerted on your phone if someone is messing with your bag
* Cool rainbow color patterns(Maybe even multiple LEDs) on visibility lights
* Maybe they could even be walkie talkies, if there's a mic cheap enough
* Act as a fixed public beacon anyone can find locally for geocaching type games
* Temperature sensing usually comes free on most chips
* They'd be decent dev boards
* Selfie remote
* Maybe they could even have an expansion port to control things(USB-C should be able to do I2C as an alternate mode)
The companion app that makes it work could use community hosted infrastructure managed like the NTP pool. Anyone can apply to be on the official server list, anyone can choose to use a different list instead.
Since it's all open, clients can be built into anything and everything. Dedicated hardware receivers could be made with ESP32s.
Sketch of how the protocol could work(Random notes, not edited) without completely cloning any other system:
Same as other tags, but using pure symmetric encryption for simplicity.
Every device generates an internal preshared key when it factory resets. It also maintains time sync this way.
Hashing the time(Change every hour) with this produces the temporary key.
Hashing the temporary key produces the broadcast key.
The BLE advertisements contain 24 bytes of the broadcast key, plus an 8 byte lookup key made by hashing just the first 16 bytes of the temporary key with the time.
As we only have 27 bytes of data in an advertisement(After accounting for the type code and manufacturer code usually used), we use 5 bytes of the MAC.
Listeners use the broadcast key to encrypt the GPS data, plus any other data the tag sent(Can just use standard Bluetooth data broadcasts for that in separate packets).
They then find a server in the official server list which has the ID that is closest to the broadcast key, and send it there(It's a distributed hash table, but not dynamic because that has efficiency issues).
Servers index data by the lookup key.
When the client wants to find the tag, they use the same process to look up the server. However they subscribe for updates by using the first 16 bytes of that temporary key as a password.
The server hashes it to get the corresponding lookup key and do a lookup, but it is missing the rest of it so it cannot guess the broadcast key and decrypt anything itself.
64 bits is far too much to brute force anything, because the server is rate limited and keys change hourly.
A local eavesdropper knows the encryption key, but cannot get the data because it doesn't have the lookup password.
The server has the data, but it does not know the encryption key, and anyone who could set up a collusion between a corrupt server and a corrupt listener probably has much better ways to spy on you.
To keep it even simpler, there's no concept of accounts or any persistent data. Instead, you can pair a tag with multiple devices, or import/export keys.
|
|
|
|
| Article: NuttX RTOS for PinePhone: Touch Panel |
|
Posted by: lupyuen - 01-12-2023, 05:20 PM - Forum: PinePhone Software
- No Replies
|
 |
We’re porting Apache NuttX RTOS (Real-Time Operating System) to PinePhone. Now we can render LVGL Graphical User Interfaces… But it won’t work yet with Touch Input!
Let’s talk about the Capacitive Touch Panel inside PinePhone…
1. How it’s connected to PinePhone
2. How we read Touch Points
3. How we created the Touch Panel Driver for NuttX
4. And how we call the driver from LVGL Apps
NuttX RTOS for PinePhone: Touch Panel
|
|
|
|
| She blew flames ! |
|
Posted by: WickedJack - 01-12-2023, 02:48 PM - Forum: Pinecil Hardware and Accessories
- No Replies
|
 |
The board between the barrel plug and usb-c shorted and blew flames out the usb-c port also looks like the chip under the lcd burnt as well I'm not sure how to post pics yet but I'll take some if needed.
|
|
|
|
|