MI_DISP is another interesting one, where if you enable it within a binary that binary must continue to run or MI_DISP will be disabled. An example of this is also /dev/l which initialises MI_DISP and holds it open by entering a loop, the loop breaks if you send a -2 kill into /dev/l I've found mo current way to read back pushed in CSC changes so if someone finds a way please let me know! (Store a local copy of what you set is the way around this) Modifying MI_DISP values is not a permanent change and can be reset by pushing in the default or rebooting!
- If you disable mi_disp by calling /dev/l you can spawn /dev/l again by calling `cat /proc/ls`
- If mi_disp is not currently running you can *NOT* push in CSC changes! (No colour changes ie: blue light filter will stop working)
CatModuleInfo: cat /proc/mi_modules/mi_disp/mi_disp0
GetCapFrame: echo getcapframe [devid] [layerid] [path] > /proc/mi_modules/mi_disp/mi_disp0
CheckFramePts: echo checkframepts [layeid] [portid] [ON/OFF] > /proc/mi_modules/mi_disp/mi_disp0
Dumpframe: echo dumpframe [layerid] [portid] [path] > /proc/mi_modules/mi_disp/mi_disp0
StopGetBuff: echo stopgetbuff [layerid] [portid] [ON/OFF] > /proc/mi_modules/mi_disp/mi_disp0
SetBgcolor: echo bgcolor [devid] [value] > /proc/mi_modules/mi_disp/mi_disp0
SetCsc: echo csc [devid] [CscMatrix] [Contrast] [Hue] [Luma] [Saturation] [Sharpness] [Gain] > /proc/mi_modules/mi_disp/mi_disp0
setcolortemp: echo colortemp [devid] [BlueOffset] [GreenOffset] [RedOffset] [BlueColor] [GreenColor] [RedColor] > /proc/mi_modules/mi_disp/mi_disp0
setrotatemode: echo rotate [layerid] [0/1/2] > /proc/mi_modules/mi_disp/mi_disp0
setcrop: echo crop [layerid] [portid] [x] [y] [width] [height] > /proc/mi_modules/mi_disp/mi_disp0
hideport: echo hide [layerid] [portid] > /proc/mi_modules/mi_disp/mi_disp0
showport: echo show [layerid] [portid] > /proc/mi_modules/mi_disp/mi_disp0
pauseport: echo pause [layerid] [portid] > /proc/mi_modules/mi_disp/mi_disp0
resumeport: echo resume [layerid] [portid] > /proc/mi_modules/mi_disp/mi_disp0
stepport: echo step [layerid] [portid] > /proc/mi_modules/mi_disp/mi_disp0
clearport: echo clear [layerid] [portid] > /proc/mi_modules/mi_disp/mi_disp0
-----------------------------------------Common info for mi_disp-----------------------------------------
ChnNum EnChnNum PassNum InPortNum OutPortNum CollectSize
17 1 1 1 0 0 ----------------------CMDQ kickoff counter----------------------- ------------------------------Common info formi_disp only dump enabled chn------------------------------
ChnId PassNum EnInPNum EnOutPNum MMAHeapName
0 0 1 0 (null) -------------------------Input port common info for mi_disp only dump enabled port---------------------
ChnId PassId PortId user_buf_quota UsrInjectQ_cnt BindInQ_cnt TotalPendingBuf_size usrLockedInjectCnt
0 0 0 4 0 0 0 0
ChnId PassId PortId newPulseQ_cnt nextTodoPulseQ_cnt curWorkingQ_cnt workingTask_cnt lazzyRewindTask_cnt
0 0 0 0 0 0 0 0
ChnId PassId PortId Enable bind_module_id bind_module_name bind_ChnId bind_PortId bind_Type bind_Param enable
ChnId PassId PortId LowLatencyDelayMs LastStaticDelayAveMS
ChnId PassId PortId SrcFrmrate DstFrmrate RealSrcFrmrate FPS FinishCnt RewindCnt
0 0 0 0/ 0 0/ 0 0/ 0 0.00 0 0 ----------------------Output port common info for mi_disp only for enabled port---------------------
ChnId PassId PortId usrDepth BufCntQuota usrLockedCnt totalOutPortInUsed DrvBkRefFifoQ_cnt DrvBkRefFifoQ_size
ChnId PassId PortId RealDstFrmrate FPS UsrGetFifoQ_cnt UsrGetFifoQ_size UsrGetFifoQ_seqnum UsrGetFifoQ_discardnum
ChnId PassId PortId workingTask_cnt finishedTask_cnt
ChnId PassId PortId RealDstFrmrate FPS FinishCnt RewindCnt GetTotalCnt GetOkCnt ----------------------------------------BindPeerInputPortList---------------------------------------
ChnId PassId PortId Enable bind_module_id bind_module_name bind_ChnId bind_PortId bind_Type bind_Param enable ============================== Private DISP0 Info ============================
DevStatus IrqNum IrqCnt BgColor
1 57 27436 800080
Interface DevTiming CscMatrix Luma Contrast Hue Saturation Sharpness
LCD UNKNOWN 3 42 50 50 50 0 --------------------------------- Layer Info ---------------------------------
LayerId BindedDevID LayerWidth LayerHeight
0 0 0 0
LayerId LayDispWidth LayDispHeight Toleration rotatemode
0 0 0 0 NONE --------------------------------- Layer0 InputPort Info ---------------------------------
PortId enable CurStatus src_w src_h crop_x crop_y crop_w crop_h show_x show_y show_w show_h
0 1 0 640 480 0 0 0 0 0 0 640 480
1 0 0 0 0 0 0 0 0 0 0 0 0
2 0 0 0 0 0 0 0 0 0 0 0 0
3 0 0 0 0 0 0 0 0 0 0 0 0
4 0 0 0 0 0 0 0 0 0 0 0 0
5 0 0 0 0 0 0 0 0 0 0 0 0
6 0 0 0 0 0 0 0 0 0 0 0 0
7 0 0 0 0 0 0 0 0 0 0 0 0
8 0 0 0 0 0 0 0 0 0 0 0 0
9 0 0 0 0 0 0 0 0 0 0 0 0
10 0 0 0 0 0 0 0 0 0 0 0 0
11 0 0 0 0 0 0 0 0 0 0 0 0
12 0 0 0 0 0 0 0 0 0 0 0 0
13 0 0 0 0 0 0 0 0 0 0 0 0
14 0 0 0 0 0 0 0 0 0 0 0 0
15 0 0 0 0 0 0 0 0 0 0 0 0
PortId RecvBufCnt RecvBuf_W RecvBuf_H Content_W Content_H RecvBufStride PixFmt syncmode
0 0 0 0 0 0 0 yuv422_yuyv FreeRun
1 0 0 0 0 0 0 yuv422_yuyv Invalid
2 0 0 0 0 0 0 yuv422_yuyv Invalid
3 0 0 0 0 0 0 yuv422_yuyv Invalid
4 0 0 0 0 0 0 yuv422_yuyv Invalid
5 0 0 0 0 0 0 yuv422_yuyv Invalid
6 0 0 0 0 0 0 yuv422_yuyv Invalid
7 0 0 0 0 0 0 yuv422_yuyv Invalid
8 0 0 0 0 0 0 yuv422_yuyv Invalid
9 0 0 0 0 0 0 yuv422_yuyv Invalid
10 0 0 0 0 0 0 yuv422_yuyv Invalid
11 0 0 0 0 0 0 yuv422_yuyv Invalid
12 0 0 0 0 0 0 yuv422_yuyv Invalid
13 0 0 0 0 0 0 yuv422_yuyv Invalid
14 0 0 0 0 0 0 yuv422_yuyv Invalid
15 0 0 0 0 0 0 yuv422_yuyv Invalid
PortId OnScreenTask FiredTask PendingTak LastDropTask DropTaskCnt StepTaskCnt bClearAllTask fps
0 (null) (null) (null) (null) 0 0 0 0
1 (null) (null) (null) (null) 0 0 0 0
2 (null) (null) (null) (null) 0 0 0 0
3 (null) (null) (null) (null) 0 0 0 0
4 (null) (null) (null) (null) 0 0 0 0
5 (null) (null) (null) (null) 0 0 0 0
6 (null) (null) (null) (null) 0 0 0 0
7 (null) (null) (null) (null) 0 0 0 0
8 (null) (null) (null) (null) 0 0 0 0
9 (null) (null) (null) (null) 0 0 0 0
10 (null) (null) (null) (null) 0 0 0 0
11 (null) (null) (null) (null) 0 0 0 0
12 (null) (null) (null) (null) 0 0 0 0
13 (null) (null) (null) (null) 0 0 0 0
14 (null) (null) (null) (null) 0 0 0 0
15 (null) (null) (null) (null) 0 0 0 0
/proc/mi_modules/mi_panel #
Off: echo "colortemp 0 0 0 0 128 128 128" > /proc/mi_modules/mi_disp/mi_disp0
Subtle: echo "colortemp 0 0 0 0 115 130 140" > /proc/mi_modules/mi_disp/mi_disp0
Moderate: echo "colortemp 0 0 0 0 110 125 140" > /proc/mi_modules/mi_disp/mi_disp0
Balanced: echo "colortemp 0 0 0 0 100 120 140" > /proc/mi_modules/mi_disp/mi_disp0
Strong: echo "colortemp 0 0 0 0 90 115 140" > /proc/mi_modules/mi_disp/mi_disp0
Intense: echo "colortemp 0 0 0 0 80 110 140" > /proc/mi_modules/mi_disp/mi_disp0