Bug 4032 - BUG: -c option of gpio-event-mon failed
Summary: BUG: -c option of gpio-event-mon failed
Status: RESOLVED FIXED
Alias: None
Product: ANCK 5.10 Dev
Classification: ANCK
Component: general/others (show other bugs) general/others
Version: 5.10.y-13
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: ljubomir
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-10 10:32 UTC by ljubomir
Modified: 2023-02-15 13:55 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ljubomir inspur_group 2023-02-10 10:32:42 UTC
Description of problem:
Following line should listen for a rising edge and exit after the first
    one since '-c 1' is provided.

        # gpio-event-mon -n gpiochip1 -o 0 -r -c 1

    It works with kernel 4.19 but it doesn't work with 5.10. In 5.10 the
    above command doesn't exit after the first rising edge it keep listening
    for an event forever. The '-c 1' is not taken into an account.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:
Comment 1 Joseph Qi alibaba_cloud_group 2023-02-15 13:55:52 UTC
merged