Skip to content

added debugs to check on stop input failure#260

Open
DakshayaniMV wants to merge 1 commit into
developfrom
feature/RDKEMW-20754-stopinput
Open

added debugs to check on stop input failure#260
DakshayaniMV wants to merge 1 commit into
developfrom
feature/RDKEMW-20754-stopinput

Conversation

@DakshayaniMV

Copy link
Copy Markdown

No description provided.

@DakshayaniMV DakshayaniMV requested a review from a team as a code owner July 1, 2026 13:16
Copilot AI review requested due to automatic review settings July 1, 2026 13:16

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds additional logging around the HDMI-In “select port” RPC path to help diagnose failures when stopping/transitioning input.

Changes:

  • Added server-side logs in _dsHdmiInSelectPort() for profile branch selection and returned status.
  • Added client-side log of rpcRet after IARM_Bus_Call() for dsHdmiInSelectPort().
  • Added wrapper-side logs in HdmiInput::selectPort() to show ds error results and exception path.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 5 comments.

File Description
rpc/srv/dsHdmiIn.c Adds logging for TV vs non-TV profile selection and return path in the HDMI-In select-port RPC handler.
rpc/cli/dsHdmiIn.c Adds a debug print of rpcRet for the HDMI-In select-port client RPC call.
ds/hdmiIn.cpp Adds logging around dsHdmiInSelectPort() result and exception handling in the C++ wrapper.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread rpc/srv/dsHdmiIn.c
Comment on lines 855 to +856
param->result = dsHdmiInSelectPort(param->port,param->requestAudioMix, param->videoPlaneType,param->topMostPlane);
INT_ERROR("[%d][%s]: its TV Profile, dsHdmiInSelectPort param->result = %d \r\n", __LINE__, __FUNCTION__, param->result);
Comment thread rpc/srv/dsHdmiIn.c
Comment on lines 859 to 861
{
INT_INFO("[%d][%s]: its Other Profile\r\n", __LINE__, __FUNCTION__);
INT_ERROR("[%d][%s]: its Other Profile, param result is ERR_General\r\n", __LINE__, __FUNCTION__);
param->result = dsERR_GENERAL;
Comment thread rpc/srv/dsHdmiIn.c

IARM_BUS_Unlock(lock);

INT_ERROR("returning IARM_RESULT_SUCCESS in _dsHdmiInSelectPort");
Comment thread rpc/cli/dsHdmiIn.c
sizeof(param));


printf("%s:%d - rpcRet=%d\n", __FUNCTION__, __LINE__, rpcRet);
Comment thread ds/hdmiIn.cpp
Comment on lines 250 to +255
dsError_t eError = dsHdmiInSelectPort ((dsHdmiInPort_t)Port, requestAudioMix ,(dsVideoPlaneType_t)videoPlaneType,topMost);

INT_ERROR("HdmiInput::selectPort : dsHdmiInSelectPort result eError = %d", eError);
// Throw an exception if there was an error
if (dsERR_NONE != eError)
{
INT_ERROR("HdmiInput::selectPort : Exception occurred eError = %d", eError);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants