Skip to content

CTL_RESULT_ERROR_AUX_INCOMPLETE_WRITE when ctlAUXAccess for writing #125

@dunli

Description

@dunli

I got the error code CTL_RESULT_ERROR_AUX_INCOMPLETE_WRITE = 0x48000015, ///< AUX incomplete write failure
when I call ctlAUXAccess(hIntelOutput, &AUXArgs) for writing,below is my sample code:

				ctl_result_t Result = CTL_RESULT_SUCCESS;
				ctl_aux_access_args_t AUXArgs = { 0 };
				AUXArgs.Size = sizeof(ctl_aux_access_args_t);
				AUXArgs.OpType = CTL_OPERATION_TYPE_WRITE;
				AUXArgs.Address = SliveId;
				AUXArgs.DataSize = Length + 2;//data + 2 byte offset
				AUXArgs.Data[0] = (uint8_t)((Register & 0xff00) >> 8); //our usage 
				AUXArgs.Data[1] = (uint8_t)(Register & 0x00ff);

				for (int i = 0; i < Length; i++)
				{
				    AUXArgs.Data[i + 2] = SendData[i];
				}
				Result = ctlAUXAccess(hIntelOutput, &AUXArgs);
				if (CTL_RESULT_SUCCESS == Result)
				{
					return 0;
				}
				else
				{
					return Result;
				}

before writing ctlInit and ctlEnumerateDevices relative functions all called with no error.
Our application senario is aux over I2C and now I want use PC to R/W the DP monitor control IC registers of our own.
B.T.W my app exe is 32bit and I use ControlLib32.dll and my CPU is Intel Core Ultra 9 185H ,my graphic card as follows:

Image

@murali-i @ashutosh-d-shukla @rahulrgandhi99 and other friends
Would you pls give me some suggestions?thx a lot!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions