Difference between revisions of "Projects:PinePhone Daily Driver"
Jump to navigation
Jump to search
| Line 91: | Line 91: | ||
AutoEnable=true | AutoEnable=true | ||
}} | }} | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
==== TODOs ==== | ==== TODOs ==== | ||
| Line 108: | Line 101: | ||
== Rejected solutions == | == Rejected solutions == | ||
| − | + | === libinput-gestures === | |
| − | + | * doesn't work fully with [[Wayland]] which is used by [[swayWM]] due to using [[xdotool]] | |
| + | |||
| + | === [[Twofing]] === | ||
| + | Built for [[X11]] and not [[Wayland]], wouldn't work fully. | ||
| + | {{todo|This is a draft only}} | ||
| + | * [http://www.plippo.de/p/twofing Homepage] | ||
| + | * [https://maker-tutorials.com/en/raspberry-ri-touch-screen-setup-right-click-with-twofing/] | ||
| + | * [https://lb.raspberrypi.org/forums/viewtopic.php?t=138575&start=25] for a device named "Goodix Capacitive TouchScreen" <– | ||
| + | autostart: {{code|1=vim ~/.config/lxsession/LXDE/autostart –> @twofing --wait}} | ||
| + | |||
== Related == | == Related == | ||
Revision as of 17:32, 23 May 2020
Project: Using PinePhone as my daily driver smartphone, running Linux fulfilling Goal:Technology.
(!) All the current OS images are crashing (apart from Megous' kernel on Arch Linux ARM) on my PinePhone.
It seems they have DRAM frequency set way too high: 624 MHz instead of 552 MHz. See this thread.
Contents
Hardware Setup
- PinePhone
- Initial testing is done with PinePhone 1.1.
- Once PinePhone 1.2 becomes available, this will be the daily driven device.
- Battery
- Factory-provided at first
- Replaceable with any Samsung J7 form-factor battery[1]
- TODO: Find out more and look for a shop selling this (once needed)
- Screen protector
- Factory-provided at first
- Replacement source
- Pine64 store? Currently doesn't seem to sell it.
- Supposedly some iPhone screen protector is usable
- TODO: Find out more and look for a shop selling this (once needed)
- Protective case
- TODO: Temporary solution: similar form factor of other devices on the market?
- TODO: Source from Pine64 store
Software Wishlist
- Solid base Linux distribution
- lightweight, customizable
- community-supported with continuous updates
- large package repository
- One day of battery life
- ability to enter power-saving mode and leave it in a matter of seconds of user request
- automatic power-saving after a period of inactivity
- Convenient and efficient UI - common actions need to be easy to achieve
- switching between the apps
- turning the screen on and off
- ability to kill apps
- Support for essential apps & workflows
- Support for non-essential apps & workflows
- RSS client
- OTP generator
- Ebook reader
- Weather forecast
- Maps, navigation
- Calls & Texts
Software Setup
- OS located on the internal eMMC flash storage (to make some use of it, plus it is faster than the SD card)
- accessible as an external storage from a computer via Jumpdrive which may be flashed to a tiny SD Card (128 MB in my case)
- maintenance or distro-hopping can still be done by plugging in an SD Card with a system installed (since it takes precedence over the eMMC storage)
- non-essential data (photos, videos, etc.) on an SD Card with larger capacity (currently 32 GB Samsung EVO Plus)
Components
- Custom-built postmarketOS
- swayWM for UI
- System packages:
- networkmanager
- termite, termite-terminfo
- bluez
- onboard
- TODO: alsa-utils (to unmute speaker via
alsamixerand then save as default viaalsactl store) - TODO: twofing from git
- App packages:
Setup
⚠ Warning: serial console is required to properly setup the device with swayWM since there is no touch controls by default.
TODO: Move some of this setup into a repository
swayWM
- Copy
/etc/sway/configto~/.config/sway/config - Edit:
$term termite
Bluetooth
- Enable the service on boot:
rc-update add bluetooth - Enable the controller by default:
/etc/bluetooth/main.conf[Policy]
AutoEnable=true
TODOs
- TODO: Touch gestures and controls
- TODO: Configure Firefox for touch: [2]
- TODO: Sound, alsa
- TODO: Twofing
- TODO: onboard virtual keyboard
- TODO: acpi for battery monitoring
Rejected solutions
libinput-gestures
Twofing
Built for X11 and not Wayland, wouldn't work fully. TODO: This is a draft only
autostart: vim ~/.config/lxsession/LXDE/autostart –> @twofing --wait