https://wiki.postmarketos.org/api.php?action=feedcontributions&user=Brutuss&feedformat=atom
postmarketOS - User contributions [en]
2024-03-29T15:10:06Z
User contributions
MediaWiki 1.39.6
https://wiki.postmarketos.org/index.php?title=User:Brutuss&diff=16475
User:Brutuss
2021-01-14T20:59:46Z
<p>Brutuss: /* Owns devices */</p>
<hr />
<div><div style="float: right;"><br />
{{User main device|Pinetab}}<br />
</div><br />
<br />
== Owns devices ==<br />
{{My devices}}<br />
{{Owns device|PINE64_PineTab_(pine64-pinetab)}}</div>
Brutuss
https://wiki.postmarketos.org/index.php?title=User:Brutuss&diff=16474
User:Brutuss
2021-01-14T20:59:01Z
<p>Brutuss: Created page with "<div style="float: right;"> {{User main device|Pinetab}} </div> == Owns devices == {{My devices}} {{Owns device|PINE64_PineTab_(pine64-pinetab)}}"</p>
<hr />
<div><div style="float: right;"><br />
{{User main device|Pinetab}}<br />
</div><br />
<br />
== Owns devices ==<br />
{{My devices}}<br />
<br />
{{Owns device|PINE64_PineTab_(pine64-pinetab)}}</div>
Brutuss
https://wiki.postmarketos.org/index.php?title=PINE64_PineTab_(pine64-pinetab)&diff=16473
PINE64 PineTab (pine64-pinetab)
2021-01-14T20:53:04Z
<p>Brutuss: FDE works on the latest version.</p>
<hr />
<div>{{Infobox device<br />
| manufacturer = PINE64<br />
| name = PineTab<br />
| codename = pine64-pinetab<br />
| image = File:Pine-pinetab.jpg<br />
| imagecaption = The PineTab running Sway (old prototype device)<br />
| releaseyear = 2019<br />
| category = community<br />
| originalsoftware = Ubuntu Touch<br />
| pmoskernel = 5.9.x<br />
| chipset = Allwinner A64<br />
| cpu = 4x 1152 MHz Cortex-A53<br />
| gpu = Mali-400 MP2<br />
| display = 800x1280 IPS<br />
| memory = 2 GB<br />
| architecture = aarch64<br />
| n-android = ✔<br />
| whet_dhry = 1056.1<br />
| status_usbnet = Y<br />
| status_flashing = -<br />
| status_touch = Y<br />
| status_screen = Y<br />
| status_wifi = Y<br />
| status_xwayland = Y<br />
| status_fde = Y<br />
| status_mainline = Y<br />
| status_battery = Y<br />
| status_3d = Y<br />
| status_accel = Y<br />
| status_audio = Y<br />
| status_bluetooth = Y<br />
| status_camera = Y<br />
| status_gps = -<br />
| status_mobiledata = -<br />
| status_sms = -<br />
| status_calls = -<br />
| status_otg = Y<br />
| status = Boots<br />
| booting = yes<br />
}}<br />
<br />
== Contributors ==<br />
* ''[[user:MartijnBraam|MartijnBraam]]''<br />
* ''[[user:Z3ntu|z3ntu]]''<br />
* ''[[user:drebrez|drebrez]]''<br />
* ''[[user:Danct12|Danct12]]''<br />
<br />
== Users owning this device ==<br />
{{Device owners}}<br />
<br />
== Installation ==<br />
* [[Installing_pmbootstrap|Install pmbootstrap]]<br />
* Run <code>pmbootstrap init</code>. As of writing, the PineTab is only available in the <code>edge</code> channel, so select that when asked.<br />
* Insert SD card into your PC<br />
* Use <code>lsblk</code> to figure out the path to the SD card device (e.g. <code>/dev/mmcblk0</code>)<br />
* Run <code>pmbootstrap install --sdcard=/path/to/sdcard</code>. Add <code>--fde</code> if you want to encrypt your installation.<br />
<br />
== Serial console ==<br />
The PineTab has a serial port in the headphone connector, it's activated by a switch behind the SD card cover. If the switch is pointed toward the SD card the headphone connector is in audio mode, if it's pointed the other way it's in UART mode.<br />
<br />
The uart is 115200n8<br />
<br />
The pinout for the serial connector on the tablet side is:<br />
<br />
* Tip: RX<br />
* Ring: TX<br />
* Sleeve: GND<br />
<br />
The serial connection is 3.3V<br />
<br />
You can also buy the debug cable from [https://store.pine64.org PINE64 Store].<br />
<br />
== Components ==<br />
<br />
{| class="wikitable"<br />
! Component<br />
! Model<br />
! Driver<br />
|-<br />
| Touchscreen<br />
| Goodix GT9271<br />
| TOUCHSCREEN_GOODIX<br />
|-<br />
| Rear camera<br />
| OmniVision OV5640<br />
| VIDEO_OV5640<br />
|-<br />
| Front camera<br />
| GalaxyCore GC2145<br />
| Nope<br />
|-<br />
| LCD<br />
| Feixin K101 IM2BA02<br />
| DRM_PANEL_FEIXIN_K101_IM2BA02<br />
|-<br />
| WiFi<br />
| Realtek RTL8723CS<br />
| RTL8723CS<br />
|-<br />
| Bluetooth<br />
| Realtek RTL8723CS<br />
| BT_HCIUART_RTL<br />
|-<br />
| Accelerometer<br />
| Bosch BMA223<br />
| BMC150_ACCEL_I2C <br />
|-<br />
| Volume buttons<br />
| Buttons connected to the KEYADC<br />
| KEYBOARD_SUN4I_LRADC<br />
|-<br />
| Power button<br />
| X-Powers AXP803<br />
| INPUT_AXP20X_PEK<br />
|-<br />
| Battery fuel gauge<br />
| X-Powers AXP803<br />
| BATTERY_AXP20X<br />
|}<br />
<br />
=== Touchscreen ===<br />
<br />
The touchscreen on the PineTab is controlled by <code>goodix</code> module on i2c-0, at address 0x5d.<br />
<br />
=== Cameras ===<br />
Both front and back camera shares the same csi-0 bus. Currently only the back camera (OV5640) has mainline support.<br />
<br />
It's not clear what would it reacts to both front and back camera. More information needed on this.<br />
<br />
Since Cerdus is at <code>/dev/video0</code>, the CSI is at <code>/dev/video1</code> and can be controlled with <code>/dev/media1</code> using <code>media-ctl</code><br />
<br />
<source lang="shell-session"><br />
pine-pinetab:~# media-ctl --set-v4l2 '"ov5640 2-003c":0[fmt:UYVY8_2X8/1280x720]' -d /dev/media1<br />
pine-pinetab:~# ffmpeg -s 1280x720 -f video4linux2 -i /dev/video1 -vframes 1 selfie.jpg<br />
</source><br />
<br />
[[File:OV5640-Pinetab.jpg|frameless]]<br />
<br />
=== Wi-Fi ===<br />
Wi-Fi works using the [https://github.com/Icenowy/rtl8723cs RTL8723CS driver from Icenowy], loads and connect to a Wi-Fi perfectly fine. However power saving capabilities aren't working, so the PineTab battery will drain more quicker.<br />
<br />
=== Bluetooth ===<br />
Bluetooth also works on this device after installing <code>firmware-rtl8723bt</code>, there is a patch series on LKML.<br />
<br />
=== Accelerometer ===<br />
<br />
The accelerometer driver is for BMA250 on mainline, and works just fine. The accelerometer value could be get here:<br />
<br />
<source lang="shell-session"><br />
pine-pinetab:~$ cat /sys/bus/iio/devices/iio\:device1/name <br />
BMA222E<br />
pine-pinetab:~$ cat /sys/bus/iio/devices/iio\:device1/in_accel_x_raw <br />
-1<br />
pine-pinetab:~$ cat /sys/bus/iio/devices/iio\:device1/in_accel_y_raw <br />
28<br />
pine-pinetab:~$ cat /sys/bus/iio/devices/iio\:device1/in_accel_z_raw <br />
-12<br />
</source><br />
<br />
=== Audio ===<br />
==== Speakers ====<br />
Sound output should work after unmuting <code>AIF1 Slot 0 digital</code> and <code>DAC</code>. However Danct12's unit had it's speakers broken so this hasn't tested on him, but confirmed working on others.<br />
<br />
The Speaker output is named "Line Out"<br />
<br />
==== Headphone Jack ====<br />
Thankfully our device still has the headphone jack, so you could still listen to "The Beatles", right?<br />
<br />
Well, sure. Headphones should work after unmuting <code>Headphone</code> and <code>AIF1 Slot 0 digital</code>.<br />
<br />
==== Microphone ====<br />
Microphone can be enabled by toggle capture and unmute "AIF1 Data Digital Audio", "Mic1", "Mic2".<br />
<br />
The microphone can be found here:<br />
[[File:PineTab-Microphone.png|frameless]]<br />
<br />
== See also ==<br />
* {{MR|528|pmaports}} Initial merge request<br />
* https://lore.kernel.org/lkml/20200110155225.1051749-1-icenowy@aosc.io/ Mainline Linux support MR</div>
Brutuss