티스토리 뷰

OS/Orange PI

Orange Pi 4B : 카메라(ov13850) 사용하기

파란크리스마스 2020. 12. 22. 23:31
728x90

출처

카메라(ov13850) 모듈 확인

orangepi@orangepi4:~$ dmesg | grep ov13850
[    1.357126] ov13850 1-0010: driver version: 00.01.01
[    1.357684] ov13850 1-0010: GPIO lookup for consumer pwr
[    1.357705] ov13850 1-0010: using device tree for GPIO lookup
[    1.357768] of_get_named_gpiod_flags: parsed 'pwr-gpios' property of node '/i2c@ff110000/ov13850@10[0]' - status (0)
[    1.357831] ov13850 1-0010: GPIO lookup for consumer reset
[    1.357849] ov13850 1-0010: using device tree for GPIO lookup
[    1.357907] of_get_named_gpiod_flags: parsed 'reset-gpios' property of node '/i2c@ff110000/ov13850@10[0]' - status (0)
[    1.357957] ov13850 1-0010: GPIO lookup for consumer pwdn
[    1.357974] ov13850 1-0010: using device tree for GPIO lookup
[    1.358055] of_get_named_gpiod_flags: parsed 'pwdn-gpios' property of node '/i2c@ff110000/ov13850@10[0]' - status (0)
[    1.358110] ov13850 1-0010: Looking up avdd-supply from device tree
[    1.358133] ov13850 1-0010: Looking up avdd-supply property in node /i2c@ff110000/ov13850@10 failed
[    1.358820] ov13850 1-0010: Looking up dovdd-supply from device tree
[    1.358843] ov13850 1-0010: Looking up dovdd-supply property in node /i2c@ff110000/ov13850@10 failed
[    1.359558] ov13850 1-0010: Looking up dvdd-supply from device tree
[    1.359581] ov13850 1-0010: Looking up dvdd-supply property in node /i2c@ff110000/ov13850@10 failed
[    1.360380] ov13850 1-0010: could not get sleep pinstate
[    1.364580] ov13850 1-0010: Unexpected sensor id(000000), ret(-5)
[    1.365863] ov13850 2-0010: driver version: 00.01.01
[    1.366502] ov13850 2-0010: GPIO lookup for consumer pwr
[    1.366524] ov13850 2-0010: using device tree for GPIO lookup
[    1.366589] of_get_named_gpiod_flags: parsed 'pwr-gpios' property of node '/i2c@ff120000/ov13850@10[0]' - status (0)
[    1.366651] ov13850 2-0010: GPIO lookup for consumer reset
[    1.366671] ov13850 2-0010: using device tree for GPIO lookup
[    1.366729] of_get_named_gpiod_flags: parsed 'reset-gpios' property of node '/i2c@ff120000/ov13850@10[0]' - status (0)
[    1.366779] ov13850 2-0010: GPIO lookup for consumer pwdn
[    1.366796] ov13850 2-0010: using device tree for GPIO lookup
[    1.366853] of_get_named_gpiod_flags: parsed 'pwdn-gpios' property of node '/i2c@ff120000/ov13850@10[0]' - status (0)
[    1.366904] ov13850 2-0010: Looking up avdd-supply from device tree
[    1.366928] ov13850 2-0010: Looking up avdd-supply property in node /i2c@ff120000/ov13850@10 failed
[    1.367651] ov13850 2-0010: Looking up dovdd-supply from device tree
[    1.367675] ov13850 2-0010: Looking up dovdd-supply property in node /i2c@ff120000/ov13850@10 failed
[    1.368364] ov13850 2-0010: Looking up dvdd-supply from device tree
[    1.368387] ov13850 2-0010: Looking up dvdd-supply property in node /i2c@ff120000/ov13850@10 failed
[    1.369210] ov13850 2-0010: could not get sleep pinstate
[    1.374218] ov13850 2-0010: Detected OV00d850 sensor, REVISION 0xb2

카메라(ov13850) 연결 확인

orangepi@orangepi4:~$ dmesg | grep Async
[    1.376840] rkisp1: Async subdev notifier completed

카메라(ov13850) 열기 - 화면에 카메라 영상이 출력

$ test_camera-gst.sh
Setting pipeline to PAUSED ...
media get entity by name: lens is null
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
[XCORE]:XCAM ERROR rkisp_device.cpp:72: atomisp device(/dev/video0) try subdev format failed

카메라(ov13850) 캡쳐

$ test_camera-capture.sh
Setting pipeline to PAUSED ...
media get entity by name: lens is null
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
[XCORE]:XCAM ERROR rkisp_device.cpp:72: atomisp device(/dev/video0) try subdev format failed
New clock: GstSystemClock
Got EOS from element "pipeline0".
Execution ended after 0:00:01.226523487
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
댓글
300x250
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
«   2024/03   »
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31
글 보관함