Skip to content

Conversation

@achauras-qcom
Copy link
Contributor

The shell script verifies the enumeration of USB Human Interface Devices connected to DUT.

echo "lsusb -v HID descriptors:"
lsusb -v 2>/dev/null | grep -i 'Human Interface Device' || true

echo "Number of HID interfaces found: $hid_iface_count"
Copy link
Contributor

Choose a reason for hiding this comment

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

Use printf instead of echo for consistent output Not mandatory, but helps POSIX portability.

exit 1
fi

log_info "-------------------Completed $TESTNAME Testcase----------------------------" No newline at end of file
Copy link
Contributor

Choose a reason for hiding this comment

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

No newline at EOF

The shell script verifies the enumeration of USB Human Interface
Devices.

Signed-off-by: “Aanchal <achauras@qti.qualcomm.com>
Added setup information and basic requirements.
This informs the tester of the hardware setup requirement before
starting test.

Signed-off-by: “Aanchal <achauras@qti.qualcomm.com>
Individual test definition is meant to be used for debugging the test
script running in LAVA.

Signed-off-by: “Aanchal <achauras@qti.qualcomm.com>
The shell script verifies the enumeration of USB Human Interface
Devices.

Signed-off-by: Aanchal Chaurasia <achauras@qti.qualcomm.com>
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.

2 participants