Hello, @hittzt
Thanks for the feedback.
From my opinion, the test method seems not very reasonable according to the notes from gpioset command:
“The state of a GPIO line controlled over the character device reverts to default when the last process referencing the file descriptor representing the device file exits. This means that it's wrong to run gpioset, have it exit and expect the line to continue being driven high or low...”
Best Regards
Chenyin
Hello, @hittzt
Thanks for the question.
May I know if you ever used gpioget to collect the status of the pin during the test?
Best Regards
Chenyin
Hi @chenyin_h,
Yes, I checked the status of the pin.
You can easily reproduce the issue.
Thanks,
Zhantao