05-03-2020, 03:41 PM
Camera test on Phosh
|
05-04-2020, 07:30 AM
Are there any instructions? I tried the below guide but no luck capturing any images.
https://wiki.st.com/stm32mpu/wiki/V4L2_camera_overview
05-06-2020, 03:47 PM
Played around with the commands in the previous link and everything seems to work - except outputting an image or video. Also, installed a modified ffmpeg but still no luck.
https://github.com/stulluk/FFmpeg-Cedrus Appears the pmOS example is using python and opencv so the below tool might work. Unfortunately, it won't build for me - debphosh is on the bullseye release which has moved onto newer versions of required packages libopencv-dev and python-opencv. https://github.com/avafinger/cap-v4l2 Tried downgrading but resulted in unmet dependency mess. Just posting the info in case it helps someone get it working.
05-22-2020, 11:34 AM
05-23-2020, 10:44 PM
Any information on the driver used for camera access?
On Mobian, only /dev/video1 claims video capture capability via the sun6i driver and no controls are reported. Code: mobian@mobian:~$ v4l2-ctl --list-devices https://twongkee.wordpress.com/2020/03/2...phone-pic/ appears to use the ov5640 driver.
05-25-2020, 09:48 PM
Poked around a bit more and there is a dmesg error for the ov5640 device for Mobian.
On pmOS, the camera "works" as a video device without autofocus. A video player is used for the viewfinder and can be used to "take photos".
05-26-2020, 02:44 AM
Yes, last I checked the driver is loaded, but it can't init the camera, not sure what the problem is yet
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
Seems like Phosh is in downgrade mode... | ryo | 10 | 605 |
01-13-2021, 04:07 PM Last Post: ryo |
|
Command to test vibration motor? | Zebulon Walton | 0 | 109 |
01-10-2021, 05:31 PM Last Post: Zebulon Walton |
|
Camera app down, megapixels up | daniel | 4 | 1,040 |
09-22-2020, 07:34 AM Last Post: bcnaz |
|
Enabling nighlight in mobian phosh | joz_mak | 2 | 826 |
09-18-2020, 06:11 PM Last Post: joz_mak |
|
debian+phosh running on PinePhone | a-wai | 548 | 138,440 |
09-03-2020, 08:27 AM Last Post: thisishuey |
|
Camera support progress | a-wai | 73 | 19,310 |
08-18-2020, 02:46 PM Last Post: bcnaz |
|
Xwayland on Phosh works? | paju1986 | 1 | 642 |
08-03-2020, 08:06 AM Last Post: wibble |
|
Camera use on Mobian/Brave Heart | bcnaz | 6 | 1,805 |
07-08-2020, 02:37 PM Last Post: bcnaz |
Users browsing this thread: 1 Guest(s)