Difference between revisions of "Pinebook Pro"

Jump to navigation Jump to search
(Removed "Quick Links to OS Images Build Sources", as it really only linked to outdated and unusable repos)
(add a bunch of details about installing the new keyboard.)
Line 117: Line 117:


The keyboard operates on firmware independant of the operating system.  It detects if one of the F10, F11 or F12 keys is pressed in combination with the Pine key for 3 seconds. Doing so disables power to the appropriate peripheral, thereby disabling it.  This has the same effect as cutting off the power to each peripheral with a physical switch. This implementation is very secure, since the firmware that determines whether a peripheral gets power is not part of the Pinebook Pro’s operating system. So the power state value for each peripheral cannot be overridden or accessed from the operating system. The power state setting for each peripheral is stored across reboots inside the keyboard's firmware flash memory.
The keyboard operates on firmware independant of the operating system.  It detects if one of the F10, F11 or F12 keys is pressed in combination with the Pine key for 3 seconds. Doing so disables power to the appropriate peripheral, thereby disabling it.  This has the same effect as cutting off the power to each peripheral with a physical switch. This implementation is very secure, since the firmware that determines whether a peripheral gets power is not part of the Pinebook Pro’s operating system. So the power state value for each peripheral cannot be overridden or accessed from the operating system. The power state setting for each peripheral is stored across reboots inside the keyboard's firmware flash memory.
=== Basic summary of replacing keyboard ===
This guide is very basic and should be fleshed out with pictures.  There just isn't a list of steps anywhere else yet.
''Step 0'': If changing from ISO keyboard to ANSI keyboard, or vice versa, be sure to have a system capable of running the firmware updater that you can access either remotely or with a USB keyboard beyond the internal keyboard, as the firmware for each is very different and keys won't work correctly.  See https://forum.pine64.org/showthread.php?tid=8407 (and for NetBSD, https://forum.pine64.org/showthread.php?tid=8716).
''Step 1'': The remove back back panel.
There are 10 screws on the back that must be removed, and the back panel detached.  The speakers may remain attached via glue to the case and should be carefully pried off.  When this is done, taking photos of how everything looks now can help put it all back together later.
''Step 2'': Places to unscrew.
There are 3 items screwed into the keyboard frame that must be removed.  There are 2 large screws for daughter board, 3 large screws and 1 small screw for mainboard, and 4 screws for battery.  Be sure to not lose them.
''Step 3'': Remove the battery.
Once the battery screws are removed, it should be unplugged from the mainboard and removed.  Note that there are two unconnected cables lying around, that should remain unconnected.  They are used when the battery is disconnected entirely.
''Step 4'': Unplug the ribbon cables.
There are several ribbon cables.  To remove, flip up the tab and gentle pull the ribbon out.
* One cable runs from the mainboard to the daughterboard underneath the battery.  Detach from both ends.  With the battery removed, detach from keyboard shell, and set aside for the new keyboard shell.
* One cable runs between the trackpad and the mainboard.  Detach from both ends, and also set aside.
* One cable runs between the keyboard and the mainboard.  This one remains attached to the keyboard and only needs to be detached from the mainboard.
* One cable from the LCD attaches near the lid hinch.  It should be just unplugged.
''Step 5'': Detach microphone and speakers.
The speakers and microphone don't have to be detached from the mainboard, but they need to be detached from the keyboard shell.  The microphones are held in place by tape, and the speakers have sticky sides.  The speakers are found obviously, but the microphones (two of) can be found between the battery and the hinge area.
''Step 6'': Remove mainboard and daughterboard.
At this point, the mainboard and daughterboards should be removed.  When unscrewed (see Step 2) they should pull out fairly easily.  Put them aside (including microphones and speakers if left attached.)
''Step 7'': Detach the LCD panel.
Step 2 didn't tell you, there are 6 more screws to remove here, 3 for each of the hinges.  Unscrew these and the LCD panel will be able to be removed.  You may have to jiggle or move the hinges for this.  When detached, be sure to place the LCD panel such that the display is protected.
''Step 8'': Try Not To Break Your Trackpad, or, How I Learned To Love Things That Bend
'''NOTE This section really feels like you're going to break something.'''
The trackpad is glued to the keyboard shell and it's glued well.  There are two places it is glued too, and if you can only the middle must be force-detached.  You will think you're going to break it.  Gently apply increasing force until the glue begins to detach (you will hear a crackle as it comes off), and continue very slowly until the whole thing is detached.  This may take minutes due to that feeling you're going to break it.
''Step 9'': Over the hill, trackpad goes into new shell.
In the new keyboard shell put the trackpad back where it was, hopefully the glue will remain sufficiently attached.  If there is a glue issue, this guide unfortunately has no advice currently.
''Step 10'': Reattach the LCD panel.
The LCD panel should slot back into the keyboard frame, the same way it came out.  If the hinches were moved, they should be *very* *gently* closed such that the LCD panel and keyboard closed like normal for the remaining steps.
''Step 11'': Tape it out.
Move any tape from the old keybaord shell to the new one.  These items protect the mainboard and daughterboard, and keep various wires in their right place.  Some are grey and some are black.  For tape that holds the speakers, microhones, or their cables in place, do not reattach yet.
''Step 12'': Board install.
Install the mainboard, the daughtboard, and their connecting ribbon cable.  Be sure to put the boards in place, 2 large flat screws for the daughterboard, 3 large flat screws and one small screw for the mainboard, before attempting to place the ribbon.
''Step 13'': Microphone and speaker install.
Reattached the microphones and speakers to their respective areas, making sure that both are properly oriented - the speaker "out" faces up, and the microphone cables as connected must face up (these are opposite directions.)
''Step 14'': Reattach other ribbon cables.
The LCD panel, keyboard and trackpad ribbon cables should be reattached.  Make sure the flap is open, insert the ribbon into the slot (a portion of the cable will disappear), and push the flap down.  The cable should not be easy to pull out.
''Step 15'': Reattach the battery, and final re-tape.
 
The battery should be installed with the 4 screws holding it in place, and the connector attached to the mainboard.  Be sure to keep the two other cables remain unconnected.  Ensure all wires and other tapes are held in place.
''Step 16'': Reattach the back panel.
Put the back panel back on, and reattach the 10 screws.
''Step 17'': If you changed from ISO to ANSI or from ANSI to ISO, you'll need to update your firmware now.  See the links in Step 0 above.


== Trackpad ==
== Trackpad ==