Difference between revisions of "Pinebook"

From PINE64
Jump to navigation Jump to search
(removed)
 
(16 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[File:PinebookMain.jpg|400px|thumb|right|The Pinebook]]
[[File:PinebookMain.jpg|400px|thumb|right|The Pinebook]]


The '''Pinebook''' is an 11.6″ notebook powered by the same quad-core ARM Cortex A53 64-Bit Processor used in our popular PINE A64 Single Board Computer. It is very lightweight, hackable and comes equipped with a full-sized keyboard and large multi-touch trackpad. It runs numerous mainline Linux distributions as well as *BSD and Android.
The '''Pinebook''' is an 11.6″ or 11.6″ with 1080P IPS panel or 14″ notebook powered by the same quad-core ARM Cortex A53 64-Bit Processor used in our popular PINE A64 Single Board Computer. It is very lightweight, hackable and comes equipped with a full-sized keyboard and large multi-touch trackpad. It runs numerous mainline Linux distributions as well as *BSD and Android.


== Software and OS Image Downloads ==
== Software releases ==
=== [[Pinebook_Software_Release|Pinebook]] ===
Under [[Pinebook_Software_Release|'Pinebook Software and OS Image Download Section']] you will find a complete list of currently supported Operating System images that work with the Pinebook as well as other related software.


=== Quick Links to OS Images Build Sources===
Under [[Pinebook Software Releases]] you will find a complete list of currently supported Operating System images that work with the Pinebook as well as other related software.
'''Some of the provided OS images are still in <span style="color:#FF0000">beta or nightly build</span> and only fit for testing purposes. These images ought to be avoided for normal usage - use them at <span style="color:#FF0000">your own risk</span>'''


* [https://github.com/ayufan-pine64/linux-build/releases/latest/ ayufan Linux]
== Variants ==
* [https://github.com/ayufan-pine64/android-7.1/releases/latest/ ayufan Android 7.1]
* [https://downloads.blissroms.com/Bliss/Official/pinebook/ Pinebook Bliss OS]
* [https://www.armbian.com/pinebook-a64/ Pinebook Armbian]
* [https://github.com/anarsoul/linux-build/releases/latest Arch Linux XFCE]
* [https://sourceforge.net/projects/q4os/files/stable/ Q4OS]
* [https://www.riscosopen.org/content/downloads/pinea64 RISC OS]


== [[Pinebook_Service_Step_by_Step_Guides|Pinebook Service Step-by-Step Guides]] ==
The following variants exist of the Pinebook:
Under [[Pinebook_Service_Step_by_Step_Guides|'Service Guides for Pinebook']] you can instructions guides concerning disassembly of:


'''Note: The installation process is the reverse order of removal guide'''
* Pinebook 11.6″
* Pinebook 11.6″ 1080p
* Pinebook 14″


* 14″ Pinebook Lithium Battery Pack Removal Guide
More information can be found on the [https://linux-sunxi.org/Pine_Pinebook sunxi wiki].
* 14″ Pinebook LCD Panel Screen Removal Guide
 
* 14″ Pinebook eMMC Module Removal Guide
== Pinebook Service Step-by-Step Guides ==
* 11.6″ Pinebook Lithium Battery Pack Removal Guide
These are instruction guides for the disassembly:
* 11.6″ Pinebook LCD Panel Screen Removal Guide
 
* 11.6″ Pinebook eMMC Module Removal Guide
{{Info|The installation process is the reverse order of removal guide}}
 
11.6″ Pinebook:
* [http://files.pine64.org/doc/pinebook/guide/Pinebook_11.6-Battery_Removal_Guide.pdf Lithium Battery Pack Removal Guide]
* [http://files.pine64.org/doc/pinebook/guide/Pinebook_11.6-Screen_Removal_Guide.pdf LCD Panel Screen Removal Guide]
* [http://files.pine64.org/doc/pinebook/guide/Pinebook_11.6-eMMC_Removal_Guide.pdf eMMC Module Removal Guide]
 
14″ Pinebook:
* [http://files.pine64.org/doc/pinebook/guide/Pinebook_14-Battery_Removal_Guide.pdf Lithium Battery Pack Removal Guide]
* [http://files.pine64.org/doc/pinebook/guide/Pinebook_14-Screen_Removal_Guide.pdf LCD Panel Screen Removal Guide]
* [http://files.pine64.org/doc/pinebook/guide/Pinebook_14-eMMC_Removal_Guide.pdf eMMC Module Removal Removal Guide]


== Pinebook Information ==
== Pinebook Information ==
* Dimensions: 329mm x 220mm x 12mm (WxDxH - 14" Pinebook)
* Dimensions: 299mm x 200mm x 12mm (WxDxH - 11″ Pinebook); 329mm x 220mm x 12mm (WxDxH - 14″ Pinebook)
* Weight: 1.26Kg (14" Pinebook)  
* Weight: 1.04Kg (11″ Pinebook); 1.26Kg (14″ Pinebook)#
* Input Power: DC 5V @ 3A
* Input Power: DC 5V @ 3A


Line 39: Line 41:
[[File:Allwinner_A64.jpg|right]]
[[File:Allwinner_A64.jpg|right]]


=== CPU Architecture ===
CPU Architecture:
* [https://www.arm.com/products/processors/cortex-a/cortex-a53-processor.php Quad-core ARM Cortex-A53 Processor@1152Mhz]
* [https://www.arm.com/products/processors/cortex-a/cortex-a53-processor.php Quad-core ARM Cortex-A53 Processor@1152Mhz]
* A power-efficient ARM v8 architecture
* A power-efficient ARM v8 architecture
Line 49: Line 51:
* 512KB L2 cache
* 512KB L2 cache


=== GPU Architecture ===
GPU Architecture:
* [https://www.arm.com/products/multimedia/mali-gpu/ultra-low-power/mali-400.php ARM Mali400MP2 Dual-core GPU]
* [https://www.arm.com/products/multimedia/mali-gpu/ultra-low-power/mali-400.php ARM Mali400MP2 Dual-core GPU]
* Support OpenGL ES 2.0 and OpenVG 1.1 standard
* Support OpenGL ES 2.0 and OpenVG 1.1 standard
* [https://gitlab.freedesktop.org/lima/web/wikis/home Open source driver]


=== System Memory ===
System Memory:
* System RAM Memory: 2GB
* System RAM Memory: 2GB
* Storage Memory: 16GB eMMC module, can be upgrade to 32GB or 64GB eMMC module
* Storage Memory: 16GB eMMC module, can be upgrade to 32GB or 64GB eMMC module


=== Battery ===
Battery:
* Lithium Polymer Battery (10,000mAH)
* Lithium Polymer Battery (10,000mAH)


=== Video ===
Video:
* Mini Digital Video Port (Type A - mini)
* Mini Digital Video Port (Type A - mini)


=== Audio ===
Audio:
* 3.5mm stereo earphone/microphone plug
* 3.5mm stereo earphone/microphone plug


=== Network ===
Network:
* WiFi 802.11 b/g/n with Bluetooth 4.0
* WiFi 802.11 b/g/n with Bluetooth 4.0
* 10/100Mbps USB Ethernet Dongle (Optional)
* 10/100Mbps USB Ethernet Dongle (Optional)


=== Storage ===
Storage:
* microSD - bootable, support SDHC and SDXC, storage up to 256GB
* microSD - bootable, support SDHC and SDXC, storage up to 256GB
* USB - 2 USB2.0 Host port
* USB - 2 USB2.0 Host port


=== Expansion Ports ===
Expansion Ports:
* mini Digital Video port
* mini Digital Video port
* microSD card port - support SD, SDHC, SDXC uo to 256GB
* microSD card port - support SD, SDHC, SDXC uo to 256GB
Line 81: Line 84:


== Pinebook Schematics and Certifications ==
== Pinebook Schematics and Certifications ==
* Pinebook A64 Main Board Schematic:
** [https://files.pine64.org/doc/pinebook/pinebook_mainboard_schematic_3.0.pdf Pinebook Main Board Schematic]
* Pinebook Daughter Board Schematic:
** [https://files.pine64.org/doc/pinebook/pinebook_smallboard_schematic_1.0.pdf Pinebook Daughter Board Schematic]
* Pinebook Serial Console Earphone Jack Pinout:
** [https://files.pine64.org/doc/pinebook/guide/Pinebook_Earphone_Serial_Console_Developer_Guide.pdf Pinebook Serial Console Earphone Jack Pinout]


* Pinebook Certifications:
Mainboard schematics:
** [https://files.pine64.org/doc/cert/Pinebook%20FCC%20certification%20VOC20170928.pdf Pinebook FCC Certificate]
* [https://files.pine64.org/doc/pinebook/pinebook_mainboard_schematic_3.0.pdf Pinebook Mainboard schematics]
** [https://files.pine64.org/doc/cert/Pinebook%20FCC%20ID-Spread%20Spectrum%20Transmitter.pdf Pinebook FCC ID-Spread Spectrum Transmitter Certificate]
 
** [https://files.pine64.org/doc/cert/Pinebook%20FCC%20ID-Digital%20Transmission%20System.pdf Pinebook FCC ID-Digital Transmission System Certificate]
Daughter Board schematics:
** [https://files.pine64.org/doc/cert/Pinebook%20CE%20certification%20Micom20171207.pdf Pinebook CE Certificate]
* [https://files.pine64.org/doc/pinebook/pinebook_smallboard_schematic_1.0.pdf Pinebook Daughter board schematics]
** [https://files.pine64.org/doc/cert/Pinebook%20ROHS%20certification%20VOC20170918.pdf Pinebook RoHS Certificate]
 
Serial Console Earphone Jack pinout:
* [https://files.pine64.org/doc/pinebook/guide/Pinebook_Earphone_Serial_Console_Developer_Guide.pdf Pinebook Serial Console Earphone Jack pinout]
 
Certifications:
* [https://files.pine64.org/doc/cert/Pinebook%20FCC%20certification%20VOC20170928.pdf Pinebook FCC Certificate]
* [https://files.pine64.org/doc/cert/Pinebook%20FCC%20ID-Spread%20Spectrum%20Transmitter.pdf Pinebook FCC ID-Spread Spectrum Transmitter Certificate]
* [https://files.pine64.org/doc/cert/Pinebook%20FCC%20ID-Digital%20Transmission%20System.pdf Pinebook FCC ID-Digital Transmission System Certificate]
* [https://files.pine64.org/doc/cert/Pinebook%20CE%20certification%20Micom20171207.pdf Pinebook CE Certificate]
* [https://files.pine64.org/doc/cert/Pinebook%20ROHS%20certification%20VOC20170918.pdf Pinebook RoHS Certificate]


== Datasheets for Components and Peripherals ==
== Datasheets for Components and Peripherals ==
* Allwinner A64 SoC information:
 
** [https://files.pine64.org/doc/datasheet/pine64/A64%20brief%20v1.0%2020150323.pdf Allwinner A64 SoC Brief Introduction]
Allwinner A64 SoC:
** [https://files.pine64.org/doc/datasheet/pine64/A64_Datasheet_V1.1.pdf Allwinner A64 SoC Data Sheet V1.1 (Official Released Version)]
* [https://files.pine64.org/doc/datasheet/pine64/A64%20brief%20v1.0%2020150323.pdf Allwinner A64 SoC Brief Introduction]
** [https://files.pine64.org/doc/datasheet/pine64/Allwinner_A64_User_Manual_V1.0.pdf Allwinner A64 SoC User Manual V1.0 (Official Release Version)]
* [https://files.pine64.org/doc/datasheet/pine64/A64_Datasheet_V1.1.pdf Allwinner A64 SoC Data Sheet V1.1 (Official Released Version)]
* X-Powers AXP803 PMU (Power Management Unit) information:
* [https://files.pine64.org/doc/datasheet/pine64/Allwinner_A64_User_Manual_V1.0.pdf Allwinner A64 SoC User Manual V1.0 (Official Release Version)]
** [https://files.pine64.org/doc/datasheet/pine64/AXP803_Datasheet_V1.0.pdf AXP803 PMIC Datasheet]
 
* LPDDR3 information:
X-Powers AXP803 PMU (Power Management Unit):
** [https://files.pine64.org/doc/datasheet/pine64/AWL3A1632_mobile_lpddr3_1600Mbps.pdf Allwinner LPDDR3 Datasheet]
* [https://files.pine64.org/doc/datasheet/pine64/AXP803_Datasheet_V1.0.pdf AXP803 PMIC Datasheet]
** [https://files.pine64.org/doc/datasheet/pine64/FORESEE%20178ball%2012x11.5%20LPDDR3%2016G%20Spec%20V1.0-1228.pdf Foresee LPDDR3 Datasheet]
 
** [https://files.pine64.org/doc/datasheet/pine64/K4E6E304EE-EGCE.pdf Samsung LPDDR3 Datasheet]
LPDDR3:
** [https://files.pine64.org/doc/datasheet/pine64/LPDDR3%20178ball%208Gb_H9CCNNN8JTALAR_Rev1.0.pdf Hynix LPDDR3 Datasheet]* eMMC information:
* [https://files.pine64.org/doc/datasheet/pine64/AWL3A1632_mobile_lpddr3_1600Mbps.pdf Allwinner LPDDR3 Datasheet]
** [https://files.pine64.org/doc/rock64/PINE64_eMMC_Module_20170719.pdf PINE64 eMMC module schematic]
* [https://files.pine64.org/doc/datasheet/pine64/FORESEE%20178ball%2012x11.5%20LPDDR3%2016G%20Spec%20V1.0-1228.pdf Foresee LPDDR3 Datasheet]
** [https://files.pine64.org/doc/datasheet/pine64/SDINADF4-16-128GB-H%20data%20sheet%20v1.13.pdf SanDisk eMMC Datasheet]
* [https://files.pine64.org/doc/datasheet/pine64/K4E6E304EE-EGCE.pdf Samsung LPDDR3 Datasheet]
** [https://files.pine64.org/doc/datasheet/pine64/FORESEE_eMMC_NCEMASD9-08G%20SPEC%20A0%2020150818.pdf Foresee eMMC Datasheet]
* [https://files.pine64.org/doc/datasheet/pine64/LPDDR3%20178ball%208Gb_H9CCNNN8JTALAR_Rev1.0.pdf Hynix LPDDR3 Datasheet]
* eMMC information:
 
** [https://files.pine64.org/doc/rock64/PINE64_eMMC_Module_20170719.pdf PINE64 eMMC module schematic]
eMMC:
** [https://files.pine64.org/doc/rock64/usb%20emmc%20module%20adapter%20v2.pdf PINE64 USB adapter for eMMC module V2 schematic]
* [https://files.pine64.org/doc/rock64/PINE64_eMMC_Module_20170719.pdf PINE64 eMMC module schematic]
** [https://files.pine64.org/doc/rock64/USB%20adapter%20for%20eMMC%20module%20PCB.tar PINE64 USB adapter for eMMC module PCB in JPEG]
* [https://files.pine64.org/doc/rock64/usb%20emmc%20module%20adapter%20v2.pdf PINE64 USB adapter for eMMC module V2 schematic]
** [https://files.pine64.org/doc/datasheet/pine64/E-00517%20FORESEE_eMMC_NCEMAM8B-16G%20SPEC.pdf 16GB Foresee eMMC Datasheet]
* [https://files.pine64.org/doc/rock64/USB%20adapter%20for%20eMMC%20module%20PCB.tar PINE64 USB adapter for eMMC module PCB in JPEG]
** [https://files.pine64.org/doc/datasheet/pine64/SDINADF4-16-128GB-H%20data%20sheet%20v1.13.pdf 32GB/64GB/128GB SanDisk eMMC Datasheet]
* [https://files.pine64.org/doc/datasheet/pine64/E-00517%20FORESEE_eMMC_NCEMAM8B-16G%20SPEC.pdf 16GB Foresee eMMC Datasheet]
* SPI NOR Flash information:
* [https://files.pine64.org/doc/datasheet/pine64/SDINADF4-16-128GB-H%20data%20sheet%20v1.13.pdf 32GB/64GB/128GB SanDisk eMMC Datasheet]
** [https://files.pine64.org/doc/datasheet/pine64/w25q128jv%20spi%20revc%2011162016.pdf WinBond 128Mb SPI Flash Datasheet]
 
** [https://files.pine64.org/doc/datasheet/pine64/GD25Q128C-Rev2.5.pdf GigaDevice 128Mb SPI Flash Datasheet]
SPI NOR flash:
* Wifi/BT module information:
* [https://files.pine64.org/doc/datasheet/pine64/w25q128jv%20spi%20revc%2011162016.pdf WinBond 128Mb SPI Flash Datasheet]
** [https://files.pine64.org/doc/datasheet/pine64/RTL8723BS.pdf Realtek RTL8723BS WiFi with BT SDIO]
* [https://files.pine64.org/doc/datasheet/pine64/GD25Q128C-Rev2.5.pdf GigaDevice 128Mb SPI Flash Datasheet]
* LCD Panel:
 
** [https://files.pine64.org/doc/datasheet/pinebook/11.6inches-1080P-IPS-LCD-Panel-spec-WJFH116008A.pdf 1920x1080 1080P 11.6" IPS LCD Panel datasheet]
WiFi/BT module:
** [https://files.pine64.org/doc/datasheet/pinebook/11.6inches-TFT-LCD%20Approval%20Specification%20N116BGE-E42%20Ver%203.0.pdf 1366x768 11.6" TFT LCD Panel datasheet]
* [https://files.pine64.org/doc/datasheet/pine64/RTL8723BS.pdf Realtek RTL8723BS WiFi with BT SDIO]
** [https://files.pine64.org/doc/datasheet/pinebook/14inches-HB140WX1-501(%20EDP1.2)%20Preliminary%20Product%20specification.pdf 1366x768 14" TFT LCD Panel datasheet]
 
* Touchpad information:
LCD Panel:
** [https://files.pine64.org/doc/datasheet/pinebook/11-Toucpad-HK-9058%20specification.pdf Touchpad Specification for 11.6" model]
* [https://files.pine64.org/doc/datasheet/pinebook/11.6inches-1080P-IPS-LCD-Panel-spec-WJFH116008A.pdf 1920x1080 1080P 11.6″ IPS LCD Panel datasheet]
** [https://files.pine64.org/doc/datasheet/pinebook/14-Touchpad-HK-9562%20specification.pdf Touchpad Specification for 14" model]
* [https://files.pine64.org/doc/datasheet/pinebook/11.6inches-TFT-LCD%20Approval%20Specification%20N116BGE-E42%20Ver%203.0.pdf 1366x768 11.6″ TFT LCD Panel datasheet]
* Camera sensor:
* [https://files.pine64.org/doc/datasheet/pinebook/14inches-HB140WX1-501(%20EDP1.2)%20Preliminary%20Product%20specification.pdf 1366x768 14″ TFT LCD Panel datasheet]
** [https://files.pine64.org/doc/datasheet/pinebook/ZC-RZ3762-3703%C2%A0S1.0-Camera-Module%20spec.pdf VGA Camera module specification]
 
** [https://files.pine64.org/doc/datasheet/pinebook/VGA-CMOS-Sensor--BF3703%20Datasheet.pdf VGA Camera Sensor Data Sheet]
Touchpad:
* Lithium Battery information:
* [https://files.pine64.org/doc/datasheet/pinebook/11-Toucpad-HK-9058%20specification.pdf Touchpad Specification for 11.6″ model]
** [https://files.pine64.org/doc/datasheet/pinebook/PL5267103P-3.7V-10000mAh-1S2P58-9-W101-7P正向-11.6.pdf 10000mAH Lithium Battery Specification for 11.6" model]
* [https://files.pine64.org/doc/datasheet/pinebook/14-Touchpad-HK-9562%20specification.pdf Touchpad Specification for 14″ model]
** [https://files.pine64.org/doc/datasheet/pinebook/40110175P%203.8V%2010000mAh规格书-14.pdf 10000mAH Lithium Battery Specification for 14" model]
 
Camera sensor:
* [https://files.pine64.org/doc/datasheet/pinebook/ZC-RZ3762-3703%C2%A0S1.0-Camera-Module%20spec.pdf VGA Camera module specification]
* [https://files.pine64.org/doc/datasheet/pinebook/VGA-CMOS-Sensor--BF3703%20Datasheet.pdf VGA Camera Sensor Data Sheet]
 
Lithium battery:
* [https://files.pine64.org/doc/datasheet/pinebook/PL5267103P-3.7V-10000mAh-1S2P58-9-W101-7P正向-11.6.pdf 10000mAH Lithium Battery Specification for 11.6″ model]
* [https://files.pine64.org/doc/datasheet/pinebook/40110175P%203.8V%2010000mAh规格书-14.pdf 10000mAH Lithium Battery Specification for 14″ model]


== Other Resources ==
== Other Resources ==
Line 142: Line 155:


== FAQ / Tips and tricks ==
== FAQ / Tips and tricks ==
'''Prolong battery life'''
How to reduce the max voltage the battery is charged to?
$ cd /sys/class/power_supply/axp20x-battery
Notice that voltage_max_design is writable by root, values are in microvolts. The factory value is 4200000 or 4.2V on my device. This charges to 100% capacity.
$ cat voltage_max_design
4200000
Check the factory value on your device, and record it if it is different. The value depends on the battery installed. You can reduce it to 4.1 V by running the following Linux command as root:
$ echo 4100000 > voltage_max_design
If you are fully charged and on AC, the battery will start discharging until it reaches 4.1 V. This will be about 98% capacity on my device. This prolongs the battery life when you don't need the extra few minutes of offline power. The Linux driver will not let you set the maximum voltage to a value smaller than 4.1V (as of Linux kernel 6.3.8).
The setting seems to be retained across reboots.
'''Key left of Z ( \ | )'''
'''Key left of Z ( \ | )'''


How to map the key next to Z to the symbols on \ and | (rather than <>) ?
How to map the key next to Z to the symbols on \ and | (rather than <>)?


Choose the alternative international US keyboard layout and variant. The name will depend on you desktop environment:
Choose the alternative international US keyboard layout and variant. The name will depend on your desktop environment:


* English (US, alt. intl.)
* English (US, alt. intl.)
Line 242: Line 275:




[[Category:PineBook]] [[Category:Allwinner A64]]
[[Category:Pinebook]] [[Category:Allwinner A64]]

Latest revision as of 17:15, 27 June 2023

The Pinebook

The Pinebook is an 11.6″ or 11.6″ with 1080P IPS panel or 14″ notebook powered by the same quad-core ARM Cortex A53 64-Bit Processor used in our popular PINE A64 Single Board Computer. It is very lightweight, hackable and comes equipped with a full-sized keyboard and large multi-touch trackpad. It runs numerous mainline Linux distributions as well as *BSD and Android.

Software releases

Under Pinebook Software Releases you will find a complete list of currently supported Operating System images that work with the Pinebook as well as other related software.

Variants

The following variants exist of the Pinebook:

  • Pinebook 11.6″
  • Pinebook 11.6″ 1080p
  • Pinebook 14″

More information can be found on the sunxi wiki.

Pinebook Service Step-by-Step Guides

These are instruction guides for the disassembly:

Note: The installation process is the reverse order of removal guide

11.6″ Pinebook:

14″ Pinebook:

Pinebook Information

  • Dimensions: 299mm x 200mm x 12mm (WxDxH - 11″ Pinebook); 329mm x 220mm x 12mm (WxDxH - 14″ Pinebook)
  • Weight: 1.04Kg (11″ Pinebook); 1.26Kg (14″ Pinebook)#
  • Input Power: DC 5V @ 3A

SoC and Memory Specification

  • Based on Allwinner A64
Allwinner A64.jpg

CPU Architecture:

  • Quad-core ARM Cortex-A53 Processor@1152Mhz
  • A power-efficient ARM v8 architecture
  • 64 and 32bit execution states for scalable high performance
  • Support NEON Advanced SIMD (Single Instruction Multiple Data) instruction for acceleration of media and signal processing function
  • Support Large Physical Address Extensions(LPAE)
  • VFPv4 Floating Point Unit
  • 32KB L1 Instruction cache and 32KB L1 Data cache
  • 512KB L2 cache

GPU Architecture:

System Memory:

  • System RAM Memory: 2GB
  • Storage Memory: 16GB eMMC module, can be upgrade to 32GB or 64GB eMMC module

Battery:

  • Lithium Polymer Battery (10,000mAH)

Video:

  • Mini Digital Video Port (Type A - mini)

Audio:

  • 3.5mm stereo earphone/microphone plug

Network:

  • WiFi 802.11 b/g/n with Bluetooth 4.0
  • 10/100Mbps USB Ethernet Dongle (Optional)

Storage:

  • microSD - bootable, support SDHC and SDXC, storage up to 256GB
  • USB - 2 USB2.0 Host port

Expansion Ports:

  • mini Digital Video port
  • microSD card port - support SD, SDHC, SDXC uo to 256GB
  • 2x USB 2.0 port
  • earphone plug with UART console mux circuit

Pinebook Schematics and Certifications

Mainboard schematics:

Daughter Board schematics:

Serial Console Earphone Jack pinout:

Certifications:

Datasheets for Components and Peripherals

Allwinner A64 SoC:

X-Powers AXP803 PMU (Power Management Unit):

LPDDR3:

eMMC:

SPI NOR flash:

WiFi/BT module:

LCD Panel:

Touchpad:

Camera sensor:

Lithium battery:

Other Resources

FAQ / Tips and tricks

Prolong battery life

How to reduce the max voltage the battery is charged to?

$ cd /sys/class/power_supply/axp20x-battery

Notice that voltage_max_design is writable by root, values are in microvolts. The factory value is 4200000 or 4.2V on my device. This charges to 100% capacity.

$ cat voltage_max_design 
4200000

Check the factory value on your device, and record it if it is different. The value depends on the battery installed. You can reduce it to 4.1 V by running the following Linux command as root:

$ echo 4100000 > voltage_max_design

If you are fully charged and on AC, the battery will start discharging until it reaches 4.1 V. This will be about 98% capacity on my device. This prolongs the battery life when you don't need the extra few minutes of offline power. The Linux driver will not let you set the maximum voltage to a value smaller than 4.1V (as of Linux kernel 6.3.8).

The setting seems to be retained across reboots.

Key left of Z ( \ | )

How to map the key next to Z to the symbols on \ and | (rather than <>)?

Choose the alternative international US keyboard layout and variant. The name will depend on your desktop environment:

  • English (US, alt. intl.)
  • English (US, international AltGr Unicode combining, alternative)
  • English (US, alternative international)

Note: keyboard variants with similar names as the ones above change the upper left key for ` and ~. You have to press that key twice to get the desired char. This happens with the alt-intl variant. Choose the altgr-intl variant (or however it is called in your desktop environment) and it should work as expected.

To set the keyboard layout and variant in the terminal for X-Windows use:

setxkbmap -layout us -variant altgr-intl

The Archlinux Wiki has some good help if you need to tweak your layout further [1]

Key between Fn and Alt (Menu)

How to map the key between Fn and Alt to SUPER / META ?

The initial setup in many desktop environments maps the key between Fn and Alt to MENU. Although the menu key can be useful as well (e.g. spell correction in the browser) many desktop environments and window manager use the Super key for many other useful functions. And users are probably more used to have the META key near Ctrl and Alt.

In X-windows the following command maps the key between Fn and Alt to META and the Caps-Lock key to MENU.

setxkbmap -option caps:menu,altwin:alt_super_win

Set display brightness in the terminal

To set the display brightness in the terminal use xbacklight (if available in your distro):

xbacklight -setXX 

XX is the percentage (%) of brightness. E.g. for 70% brightness

xbacklight -set70

If you use LXQt you can also use:

pkexec lxqt-backlight_backend --inc
pkexec lxqt-backlight_backend --dec

For an alternative solution please see the scripts discussed in this thread: [2]

Get battery % in CLI

As ACPI is not compatible with ARM, to gather the % battery this can be used:

cat /sys/class/power_supply/battery/capacity

Firefox font size

How to get a useful font size with firefox ?

To have every web page displayed in a larger more readable font size type about:config in the search bar and confirm on the first page that you want to make changes. Then search for this parameter:

layout.css.devPixelsPerPx

and modify the value (right click) to something between 1.2 to 1.5 depending on your preferences.

In addition to that you can set in Preferences -> General -> Fonts & Color -> Advanced Minimum font size to 16

Disable wireless power management

If having issues with wifi connectivity, try to disable power management in the 8723cs module options, adding rtw_power_mgnt=0 in /etc/modprobe.d/8723cs.conf

options 8723cs rtw_initmac=00:ba:ch:16:85:46 rtw_power_mgnt=0

Touchpad acceleration and scroll direction.

To set touchpad parameters from the cli you can use the command xinput. To use it correctly you first need to determine the device id / name for your touchpad. Use

xinput list

to do so. You are looking for a line like this:

HAILUCK CO.,LTD USB KEYBOARD Mouse      	id=7	[slave  pointer  (2)]

With the device id = 7 found you can list the parameters that can be set with xinput.

xinput list-props 7

The result looks similar to this:

device 'HAILUCK CO.,LTD USB KEYBOARD Mouse':
...
libinput Natural Scrolling Enabled (256):	0
...
libinput Accel Speed (265):	0.000000
...

To change the parameter use xinput set-prop

To set reverse scrolling for the touchpad use this command

xinput set-prop 7 'libinput Natural Scrolling Enabled' 1

To set mouse speed

xinput set-prop 7 'libinput Accel Speed' 0.95

Check different numbers for 0.95 to meet your needs.

For more details on xinput and mouse speed also see the Archlinux Wiki [3]