pinephone
                Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| pinephone [2020/07/02 12:28] – [Current State] mark | pinephone [2025/05/09 05:29] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 56: | Line 56: | ||
| + | ===== Changelog ===== | ||
| - | ==== Kernel ==== | + | There is no official changelog, | 
| + | |||
| + | https:// | ||
| + | |||
| + | |||
| + | ===== 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:// | From https:// | ||
| 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 193: | Line 199: | ||
| </ | </ | ||
| + | Using gstreamer, the orientation is wrong. | ||
| + | |||
| + | V4l2Src should implement GstVideoOrientation see https:// | ||
| + | |||
| + | |||
| + | GstVideoOrientation | ||
| + | |||
| + | See | ||
| + | |||
| + | https:// | ||
| + | |||
| + | this is implemented in | ||
| + | |||
| + | https:// | ||
| + | |||
| + | |||
| + | For gst-droid (used on android), https:// | ||
| + | |||
| + | For droidcamsrc: | ||
| + | |||
| + | |||
| + | https:// | ||
| + | |||
| + | |||
| + | So does not look like v4l handles angle | ||
| + | |||
| + | |||
| + | |||
| + | ==== PinePhone Camera ==== | ||
| + | |||
| + | I have created a special version of the Camera app for the Pinephone, this is not the correct solution to the problem, but works for now. | ||
| + | |||
| + | The following script also needs to be run once to setup the media control and video input. It assumes the the non-standard version of media-ctl is available along with the kernel modules (see above). | ||
| + | |||
| + | < | ||
| + | #!/bin/bash | ||
| + | |||
| + | sudo insmod led-class-flash.ko | ||
| + | sudo insmod v4l2-flash-led-class.ko | ||
| + | sudo insmod leds-sgm3140.ko | ||
| + | |||
| + | sudo ./media-ctl -d /dev/media1 --set-v4l2 '" | ||
| + | |||
| + | sudo v4l2-ctl --set-ctrl horizontal_flip=1 --device=/ | ||
| + | sudo v4l2-ctl --set-ctrl vertical_flip=1 --device=/ | ||
| + | </ | ||
| + | |||
| + | |||
| + | |||
| + | The Custom version of the camera can be found here: {{ :: | ||
| + | And the src is: https:// | ||
| - | === Cross Compile === | + | ===== Cross Compile | 
| https:// | https:// | ||
pinephone.1593692934.txt.gz · Last modified: 2025/05/09 05:28 (external edit)
                
                