OS/Orange PI
Orange PI PC2 Camera(GC2035), motion
파란크리스마스
2017. 3. 14. 22:43
728x90
Orange PI PC2 Camera(GC2035), motion
출처 : How to Use Orange Pi Camera in Linux (with Motion)
Camera 모듈 설치
$ sudo vi /etc/modules
내용 추가
gc2035 vfe_v4l2
Camera 설치 확인
$ dmesg | grep gc2035 [ 11.157004] [VFE]Find sensor name is "gc2035", i2c address is 78, type is "YUV" ! [ 11.157006] [VFE]Sub device register "gc2035" i2c_addr = 0x78 start! [ 11.701914] [VFE]Sub device register "gc2035" is OK! $ ls /dev/video* /dev/video0
Camera 정보
$ modinfo gc2035 filename: /lib/modules/3.10.65/kernel/drivers/media/platform/sunxi-vfe/device/gc2035.ko license: GPL description: A low-level driver for GalaxyCore gc2035 sensors author: raymonxiu srcversion: 3B1ED5B0A55C98A6E316274 alias: i2c:gc2035 depends: vfe_io intree: Y vermagic: 3.10.65 SMP preempt mod_unload modversions aarch64
motion
출처 : How to Use Orange Pi Camera in Linux (with Motion)
$ sudo apt-get install motion $ sudo motion [4743584] [NTC] [ALL] conf_load: Processing thread 0 - config file /etc/motion/motion.conf [4743584] [NTC] [ALL] motion_startup: Motion 3.2.12+git20140228 Started with SDL support [4743584] [NTC] [ALL] motion_startup: Logging to file (/var/log/motion/motion.log)
motion deamon 실행 수정
$ sudo vi /etc/default/motion
내용 수정
# set to 'yes' to enable the motion daemon start_motion_daemon=no
728x90