Linux摄像头测试操作步骤

进入linux系统后,输入用户名及密码;
用户名:root
密码:123456

然后运行ps命令,找到qttest的进程id,然后kill掉。

然后运行vip_test软件,进行测试,详细操作步骤记录如下,请参考:

[root@X4418:~]# vip_test

+------------------------------------------------------+
VIP Test Application (Build : 09:58:45, Aug 22 2015)
+------------------------------------------------------+
cmd: 0 - vip run
cmd: 1 - vip configuration
cmd: h - help
cmd: q - quit
+------------------------------------------------------+
#> 1
+------------------------------------------------------+
VIP Configuration
+------------------------------------------------------+
0 : VIP port = VIP0
1 : VIP Mode = Clipper
2 : Camera = 1024 x 768, 30 fps
3 : Clipper = x: 0, y: 0, w: 1024, h: 768
4 : Decimator = w: 1024, h: 768
q : quit
+------------------------------------------------------+
#> 0
vip port : 0 = VIP0, 1 = VIP1, 2 = VIP2, 3 = MIPI ? 1
vip port : VIP1
#> p
#> h
+------------------------------------------------------+
VIP Configuration
+------------------------------------------------------+
0 : VIP port = VIP1
1 : VIP Mode = Clipper
2 : Camera = 1024 x 768, 30 fps
3 : Clipper = x: 0, y: 0, w: 1024, h: 768
4 : Decimator = w: 1024, h: 768
q : quit
+------------------------------------------------------+
#> 2
camera : width, height, fps -> 992 767 30
camera : 992 x 767, 30 fps
#> #> 3
clipper : x, y, width, height ? 0 0 992 767
clipper : x(0), y(0), w(992), h(767)
#> #> h
+------------------------------------------------------+
VIP Configuration
+------------------------------------------------------+
0 : VIP port = VIP1
1 : VIP Mode = Clipper
2 : Camera = 992 x 767, 30 fps
3 : Clipper = x: 0, y: 0, w: 992, h: 767
4 : Decimator = w: 1024, h: 768
q : quit
+------------------------------------------------------+
#> q
Quit..
Stop Vip.

+------------------------------------------------------+
VIP Test Application (Build : 09:58:45, Aug 22 2015)
+------------------------------------------------------+

cmd: 0 - vip run
cmd: 1 - vip configuration
cmd: h - help
cmd: q - quit
+------------------------------------------------------+
#> 0
+------------------------------------------------------+
VIP Run
+------------------------------------------------------+
0 : Run
1 : Stop
2 : Capture
3 : Debug
4 : Display Crop = l: 0, t: 0, r: 992, b: 767
5 : Display Pos = l: 0, t: 0, r: 1024, b: 600
q : quit
+------------------------------------------------------+
#> 0
Run Vip.
#> [ 184.484000] S5K4ECGX 0-002d: s5k4ecgx_init_formats:
[ 184.489000] s5k4ecgx_s_power: on 1
[ 184.493000] s5k4ecgx_power: sensor is power on
[ 184.497000] S5K4ECGX 0-002d: s5k4ecgx_init_parameters:
[ 184.503000] LINE(3387): mf width: 992, mf height: 767, mf code: 0
[ 184.509000] LINE(3389): match width: 1024, match height: 768, match code: 0
[ 184.516000] S5K4ECGX 0-002d: s5k4ecgx_s_mbus_fmt:
[ 184.521000] S5K4ECGX 0-002d: s5k4ecgx_set_framesize: Requested Res: 1024x768
[ 184.528000] S5K4ECGX 0-002d: s5k4ecgx_set_framesize: Preview Res Set: 1024x768, index 6
[ 184.537000] nxp_mlc_set_crop: pad(2), crop(0,0,992,767)
[ 184.542000] nxp_mlc_set_crop: pad(1), crop(0,0,1024,600)
[ 184.563000] s5k4ecgx_s_power: on 0
[ 184.566000] s5k4ecgx_power: sensor is power off
[ 184.572000] [4EC]Read Sensor ID = 0x4ec0
[ 184.576000] [4EC]ID = 0x4ec0
[ 184.579000] hdc please initialize!!!
[ 185.287000] preset end!!!
[ 185.290000] hdc s5k4ecgx_s_stream: enable 1,width: 1024,height: 768
[ 185.325000] preset end!!!
[ 185.328000] _backup_reset_restore_register!
[ 185.415000] nxp_mlc_s_stream: enable 1, client VIDEO MLC VID0, is_video 1
[ 185.422000] _hw_configure_video 0: fw(992), fh(767), crop(0:0:1024:600), priority(0), format(0x3053564d)
[ 185.432000] nxp_soc_disp_video_set_crop: vid.0.2, L=0, T=0, W=992, H=767, dstw=1024, dsth=600, wait=1
[ 185.451000] _hw_video_enable: module 0, enable 1

相关文档
最新文档