User Tools

Site Tools


pinephone

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
pinephone [2020/07/15 08:35] – [Current State] markpinephone [2020/07/21 12:02] (current) mark
Line 56: Line 56:
  
  
 +===== Changelog =====
  
-==== Kernel ====+There is no official changelog, 
 + 
 +https://www.retallack.org.uk/pinephonechangelog.html 
 + 
 + 
 +===== Kernel =====
  
 The kernel currently used is: The kernel currently used is:
Line 88: Line 94:
  
  
-==== Crust ====+===== Crust =====
  
 The Pinephone uses CRUST to do the power management.  The Pinephone uses CRUST to do the power management. 
Line 96: Line 102:
  
  
-==== Current State ====+===== Current State =====
  
 The following is not working: The following is not working:
Line 108: Line 114:
  
  
-=== Vibration motor ===+==== Vibration motor ====
  
 From https://xnux.eu/devices/feature/vibrator.html#toc-example-program-to-control-the-vibration-motor there is a test app (assuming its using the force feedback input). From https://xnux.eu/devices/feature/vibrator.html#toc-example-program-to-control-the-vibration-motor there is a test app (assuming its using the force feedback input).
Line 143: Line 149:
  
  
-=== Camera ===+==== Camera =====
  
 The camera is a OV6540 and is connected via the sun6i csi interface. This is how to enable it  The camera is a OV6540 and is connected via the sun6i csi interface. This is how to enable it 
Line 192: Line 198:
 fswebcam --device /dev/video1 --resolution 1280x720  -p UYVY --verbose --save bob.jpeg fswebcam --device /dev/video1 --resolution 1280x720  -p UYVY --verbose --save bob.jpeg
 </code> </code>
 +
 +Using gstreamer, the orientation is wrong. 
 +
 +V4l2Src should implement GstVideoOrientation see https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-good/html/gst-plugins-good-plugins-v4l2src.html
 +
 +
 +GstVideoOrientation
 +
 +See
 +
 +https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/blob/230cf41cc966d7b3ebea248b82e1e3a60ac58d63/sys/v4l2/gstv4l2src.c#L110
 +
 +this is implemented in
 +
 +https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/blob/1.10.4/sys/v4l2/gstv4l2vidorient.c
 +
 +
 +For gst-droid (used on android), https://github.com/sailfishos/gst-droid/blob/e755c8521b3ff0a622fba4c85e57ff41015c7793/gst/droidcamsrc/gstdroidcamsrc.c#L271
 +
 +For droidcamsrc:
 +
 +
 +https://github.com/sailfishos/gst-droidcamsrc
 +
 +
 +So does not look like v4l handles angle
 +
 +
  
 ==== PinePhone Camera ====  ==== PinePhone Camera ==== 
Line 211: Line 245:
 sudo v4l2-ctl --set-ctrl vertical_flip=1 --device=/dev/video1 sudo v4l2-ctl --set-ctrl vertical_flip=1 --device=/dev/video1
 </code> </code>
 +
 +
  
 The Custom version of the camera can be found here: {{ ::uk.co.retallack.camera-3.1.5.arm64.zip |}} The Custom version of the camera can be found here: {{ ::uk.co.retallack.camera-3.1.5.arm64.zip |}}
  
 +And the src is: https://gitlab.com/Retallack/camera-app
  
-=== Cross Compile ===+===== Cross Compile =====
  
 https://blog.marcg.pizza/marcg/pinephone-arm-build-environment-setup https://blog.marcg.pizza/marcg/pinephone-arm-build-environment-setup
pinephone.1594802127.txt.gz · Last modified: 2020/07/15 08:35 by mark