首页 > 其他分享 >二.adb 查看camera 详细信息 camera配置,先不做兼容

二.adb 查看camera 详细信息 camera配置,先不做兼容

时间:2022-11-07 22:24:13浏览次数:44  
标签:62S AGN M119 mediatek H231UO imgsensor camera adb 详细信息

  cat /proc/drivers/imgsensor 查看手机分辨率adb shell wm size   2.1.adb shell dumpsys media.camera      availableJpegSizes   关机 adb shell reboot -p   cd - # 回到最近的目录     上电时序  reset Z:\AGN_H231UO_M119_62S\alps\kernel-4.19\drivers\misc\mediatek\imgsensor\src\mt6765\camera_project\AGN_H231UO_M119_62S\camera_hw\imgsensor_cfg_table.c   配置CONFIG_CUSTOM_KERNEL_IMGSENSOR Z:\AGN_H231UO_M119_62S\alps\kernel-4.19\arch\arm64\configs\AGN_H231UO_M119_62S_defconfig 复制相关camera Z:\AGN_H231UO_M119_62S\alps\kernel-4.19\drivers\misc\mediatek\imgsensor\src\common\v1\imgsensor_sensor_list.c 头文件添加相关函数 Z:\AGN_H231UO_M119_62S\alps\kernel-4.19\drivers\misc\mediatek\imgsensor\src\common\v1\imgsensor_sensor_list.h       上电 Z:\AGN_H231UO_M119_62S\alps\kernel-4.19\drivers\misc\mediatek\imgsensor\src\common\v1\imgsensor_hw.c 配置与imgsensor_sensor_list.c相同,hal层调用GetSensorInitFuncList Z:\AGN_H231UO_M119_62S\alps\vendor\mediatek\proprietary\custom\mt6765\hal\imgsensor_src\sensorlist.cpp 底层驱动文件 Z:\AGN_H231UO_M119_62S\alps\kernel-4.19\drivers\misc\mediatek\imgsensor\src\common\v1\imgsensor.c 具体ic驱动文件 Z:\AGN_H231UO_M119_62S\alps\kernel-4.19\drivers\misc\mediatek\imgsensor\src\mt6765\camera_project\AGN_H231UO_M119_62S\ov8856_mipi_raw\ov8856mipiraw_Sensor.c         i2c通信与上电IMGSENSOR_I2C_DRV_NAME_0 id 进行匹配 Z:\AGN_H231UO_M119_62S\alps\kernel-4.19\drivers\misc\mediatek\imgsensor\src\common\v1\imgsensor_i2c.c Z:\AGN_H231UO_M119_62S\alps\kernel-4.19\drivers\misc\mediatek\imgsensor\src\mt6765\camera_project\AGN_H231UO_M119_62S\camera_hw\imgsensor_cfg_table.h   dts相关 Z:\AGN_H231UO_M119_62S\alps\kernel-4.19\arch\arm64\boot\dts\mediatek\AGN_H231UO_M119_62S\cust_mt6765_camera.dtsi &kd_camera_hw1 Z:\AGN_H231UO_M119_62S\alps\kernel-4.19\arch\arm64\boot\dts\mediatek\AGN_H231UO_M119_62S\mt6765.dts     compatible = "mediatek,camera_hw";   hal层目录 Z:\AGN_H231UO_M119_62S\alps\vendor\mediatek\proprietary\custom\mt6765\hal\imgsensor\ver1 kernel层目录 Z:\AGN_H231UO_M119_62S\alps\kernel-4.19\drivers\misc\mediatek\imgsensor\src\common\v1 放入项目中的目录 Z:\AGN_H231UO_M119_62S\alps\kernel-4.19\drivers\misc\mediatek\imgsensor\src\mt6765\camera_project\AGN_H231UO_M119_62S   Z:\AGN_H231UO_M119_62S\alps\kernel-4.19\drivers\misc\mediatek\imgsensor\src\Kconfig   hal层调用  getNumberOfDevices() Z:\AGN_H231UO_M119_62S\alps\vendor\mediatek\proprietary\hardware\mtkcam-android\main\hal\entry\legacy\module\LegacyCameraModule.cpp       Z:\AGN_H231UO_M119_62S\alps\kernel-4.19\drivers\misc\mediatek\lens对焦文件       cd /sys/bus/i2c/devices cd /sys/bus/i2c/drivers     效果文件移植,common下必须也配有效果文件,如果没有则会报错  ,都要放   出图效果有问题,则把clk改为12     \\172.18.2.18\data3\lihan\H1991XO_cwxx_Q_no_gms_userdebug\alps\vendor\mediatek\proprietary\custom\mt6765\hal\imgsensor 平台下也要配置

标签:62S,AGN,M119,mediatek,H231UO,imgsensor,camera,adb,详细信息
From: https://www.cnblogs.com/breadmachine/p/16867691.html

相关文章