Pine PineTab (pine-pinetab)
Users owning this device
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.
The uart is 115200n8
The pinout for the serial connector on the tablet side is:
- Tip: RX
- Ring: TX
- Sleeve: GND
The serial connection is 3.3V
You can also buy the debug cable from PINE64 Store
|Rear camera||OmniVision OV5640||VIDEO_OV5640|
|Front camera||GalaxyCore GC2145||Nope|
|LCD||Feixin K101 IM2BA02||DRM_PANEL_FEIXIN_K101_IM2BA02|
|Volume buttons||Buttons connected to the KEYADC||KEYBOARD_SUN4I_LRADC|
|Power button||X-Powers AXP803||INPUT_AXP20X_PEK|
|Battery fuel gauge||X-Powers AXP803||BATTERY_AXP20X|
The touchscreen on the PineTab is controlled by
goodix module on i2c-0, at address 0x5d.
Both front and back camera shares the same csi-0 bus. Currently only the back camera (OV5640) has mainline support.
It's not clear what would it reacts to both front and back camera. More information needed on this.
Since Cerdus is at
/dev/video0, the CSI is at
/dev/video1 and can be controlled with
pine-pinetab:~# media-ctl --set-v4l2 '"ov5640 2-003c":0[fmt:UYVY8_2X8/1280x720]' -D /dev/media1 pine-pinetab:~# ffmpeg -s 1280x720 -f video4linux2 -i /dev/video1 -vframes 1 selfie.jpg
Wi-Fi works using the 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.
Bluetooth also works on this device after installing
firmware-rtl8723bt, there is a patch series on LKML.
The accelerometer driver is for BMA250 on mainline, and works just fine. The accelerometer value could be get here:
pine-pinetab:~$ cat /sys/bus/iio/devices/iio\:device1/name BMA222E pine-pinetab:~$ cat /sys/bus/iio/devices/iio\:device1/in_accel_x_raw -1 pine-pinetab:~$ cat /sys/bus/iio/devices/iio\:device1/in_accel_y_raw 28 pine-pinetab:~$ cat /sys/bus/iio/devices/iio\:device1/in_accel_z_raw -12
Sound output should work after unmuting
AIF1 Slot 0 digital and
DAC. However Danct12's unit had it's speakers broken so this hasn't tested on him, but confirmed working on others.
The Speaker output is named "Line Out"
Thankfully our device still has the headphone jack, so you could still listen to "The Beatles", right?
Well, sure. Headphones should work after unmuting
AIF1 Slot 0 digital.
Doesn't seem to work for Danct12, but the microphone can be found in the picture below:
- pmaports!528 Initial merge request