• Lv0
    粉丝0

积分13 / 贡献0

提问7答案被采纳0文章0

RK3568屏幕疑似屏幕断触

深开鸿_王石

沙发 发表于 2023-12-5 13:49:22

你咋发现的事件没触发?是从多模输入确定的还是从驱动确认呢?

241599

发表于 2023-12-6 15:58  IP属地: - 中国江苏省扬州市 中国电信IDC

回复 深开鸿_王石: 多模输入吧,事件最开始的日志没有触发

深开鸿_王石

发表于 2023-12-7 08:49  IP属地: - 中国江苏省 中国移动IDC

回复 241599: 这样,你可以做个实验:
1, hdc进板子;
2,hilog -b D 开hilog输出的debug模式;
3,hilog -t core | grep -i input 收听和input相关的消息
4,点触摸屏能看到如下打印
12-07 08:44:06.345   641   783 D C02800/InputHandlerManager: in OnInputEvent, Pointer event id:2 pointerId:0
12-07 08:44:06.345  1042  1219 I C02800/ClientMsgHandler: in OnPointerEvent, InputTracking id:615 PointerEvent ReceivedMsg
12-07 08:44:06.345  1042  1219 I C02800/EventLogHelper: in PrintInfoLog, InputTracking id:615, EventType:pointer,ActionTime:145010522375,PointerAction:down, SourceType:touch-screen, DisplayId:0, IsSimulate:false
12-07 08:44:06.345  1042  1219 D C02800/EventLogHelper: in Print, EventType:pointer,ActionTime:145010522375,SensorInputTime:0,Action:0,ActionStartTime:145010522375,Flag:0,PointerAction:down,SourceType:touch-screen,ButtonId:-1,VerticalAxisValue:0.00,HorizontalAxisValue:0.00,PinchAxisValue:0.00,XAbsValue:0.00,YAbsValue:0.00,ZAbsValue:0.00,RzAbsValue:0.00,GasAbsValue:0.00,BrakeAbsValue:0.00,Hat0xAbsValue:0.00,Hat0yAbsValue:0.00,ThrottleAbsValue:0.00,PointerId:0,PointerCount:1,EventNumber:615,BufferCount:0,Buffer:
12-07 08:44:06.346  1042  1219 D C02800/InputManagerImpl: in OnPointerEvent, enter
12-07 08:44:06.346  1042  1219 D C02800/InputManagerImpl: in OnPointerEvent, pid:1042 threadId:1219
12-07 08:44:06.347  1042  1219 I C02800/InputManagerImpl: in OnPointerEvent, InputTracking id:615 Pointer Event
12-07 08:44:06.347  1042  1219 D C01200/InnerEvent: in Get:215, event taskName is '', caller is [input_manager_impl.cpp(OnPointerEvent:419)]
12-07 08:44:06.347  1042  1219 D C02800/InputManagerImpl: in OnPointerEvent, Pointer event pointerId:0
12-07 08:44:06.348  1042  1219 D C02800/InputManagerImpl: in OnPointerEvent, leave
12-07 08:44:06.349  1042  1042 D C02800/InputManagerImpl: in OnPointerEventTask, pid:1042 threadId:1042
12-07 08:44:06.349  1042  1042 I C04200/InputTransferStation: <74>OnInputEvent: InputTracking id:615, Receive pointerEvent, windowId:2
12-07 08:44:06.349  1042  1042 D C04200/InputChannel: <78>HandlePointerEvent: Receive pointer event, Id: 2, action: 2
12-07 08:44:06.349  1042  1042 D C04200/InputChannel: <89>HandlePointerEvent: Dispatch move event, windowId: 2, action: 2
12-07 08:44:06.352  1042  1042 I C03924/AceInputTracking: [ui_content_impl.cpp(ProcessPointerEvent)-(-1)] PointerEvent Process to ui_content, eventInfo: id:615, WindowName = EntryView, WindowId = 2, ViewWidth = 720, ViewHeight = 1280, ViewPosX = 0, ViewPosY = 0, ContentInfo = {"stackInfo":[{"url":"pages/EntryView"}],"nodeInfo":{}}
12-07 08:44:06.352  1042  1042 I C03924/AceInputTracking: [ace_view_ohos.cpp(DispatchTouchEvent)-(-1)] touchEvent dispatched in ace_view, eventInfo: id:615
12-07 08:44:06.353  1042  1042 I C03924/AceInputTracking: [ace_view_ohos.cpp(ProcessTouchEvent)-(-1)] touchEvent processed in ace_view, eventInfo: id:615, pointX=299.000000 pointY=778.000000 type=0 timeStamp=145010522375000
12-07 08:44:06.353  1042  1042 D C02800/InputManagerImpl: in OnPointerEventTask, Pointer event callback pointerId:0
12-07 08:44:06.353  1042  1042 I C03924/AceInputTracking: [ace_container.cpp(operator())-(100000)] TouchEvent Process in ace_container: eventInfo: id:615, pointX=299.000000 pointY=778.000000 type=0 timeStamp=145010522375000
12-07 08:44:06.354  1042  1042 I C03924/AceInputTracking: [pipeline_context.cpp(OnTouchEvent)-(100000)] TouchEvent Process in ace_container: eventInfo: id:0, pointX=299.000000 pointY=778.000000 type=0
12-07 08:44:06.354  1042  1042 I C03924/AceInputTracking: [event_manager.cpp(TouchTest)-(100000)] TouchEvent do TouchTest in EventManager: eventInfo: id:0, pointX=299.000000 pointY=778.000000 touchPoint referee state:1, needAppend:0
12-07 08:44:06.355   361   966 D C02800/TimeCostChk: in ~TimeCostChk, Time cost overtime (21633,(us)>1000(us)) when Reason:HandleLibinputEvent,chk:overtime 1000(us),paramType:touch_down, param2:0
12-07 08:44:06.356   361   966 D C02800/InputEventHandler: in OnEvent, Event handling completed. id:791,endTime:145010545793,lostTime:22485
12-07 08:44:06.356   361   966 D C02800/InputEventHandler: in OnEvent, Event reporting. id:792,tid:966,eventType:504,beginTime:145010545924
12-07 08:44:06.356   361   966 D C02800/InputEventHandler: in OnEvent, Event handling completed. id:792,endTime:145010546240,lostTime:316
这就是一个大致流程,从input到mmi再到ace;当然ace是有个输入处理流程,所以如果点的很快,有可能是ace处理慢了,但也有可能是触摸屏接触不良或者故障,所以需要排查

【2 条回复】

Copyright   ©2023  OpenHarmony开发者论坛  京ICP备2020036654号-3 |技术支持 Discuz!

返回顶部