Skip to content

Latest commit

 

History

History
87 lines (60 loc) · 2.41 KB

README.md

File metadata and controls

87 lines (60 loc) · 2.41 KB

packagecloud-badge

wlanpi-hwtest

hwtest is a tool for the WLAN Pi project used to update VLI USB controller EEPROMs and run pytest to drive pass/fail testing.

Example CLI usage

Optional arguments may be passed in to override default behaviors set in /etc/wlanpi-hwtest/config.ini.

usage: hwtest [-h] [--debug] [-e] [--oled] [--firmware] [--waveshare] [--buttonsmash] [--verbose] [--version]

hwtest is a VLI USB Controller EEPROM updater and hardware testing tool for the WLAN Pi Pro.

optional arguments:
  -h, --help     show this help message and exit
  --debug        enable debug logging output
  -e, --emulate  enable keyboard emulation
  --oled         enable OLED and interactive (I/A) tests
  --firmware     enable VL805 firmware check
  --waveshare    enable waveshare LCD
  --buttonsmash  enable buttonsmash mode and print button presses to CLI
  --verbose      enable verbose printing of results to oled
  --version, -V  show program's version number and exit

Buttonsmash mode

  • Install hwtest and disable the service
sudo apt update
sudo apt install wlanpi-hwtest
sudo systemctl disable wlanpi-hwtest
  • Stop FPMS service
sudo systemctl stop wlanpi-fpms
  • Start hwtest in buttonsmash mode with OLED from CLI
sudo hwtest --buttons --oled

Example:

image

Logs

Pytest reports for each testing session are saved to /var/log/wlanpi-hwtest/:

Example:

$ ls /var/log/wlanpi-hwtest | grep dc
dca632.fea1a2_report_automated_2021-12-30T175453.html
dca632.fea1a2_report_interactive_2021-12-30T175453.html

Contributors

See AUTHORS.

Code of Conduct

See CoC.

OSS

Thank you to all the creators and maintainers of the following open source software used by hwtest: