Skip to content

main/hwtest: update to 0.4.0

Martijn Braam requested to merge update-hwtest-040 into master

Changes:

  • Added --verbose option for easier debugging
  • Rewritten camera detection code to use the media-ctl topology instead of hardcoding /dev/video0 and /dev/media0
  • Added --formatter to output multiple output formats:
    • ShellTable: The default and the same format as the previous releases
    • MarkdownTable: Generate a table for markdown pages
    • MediaWikiTable: Generate a table for the wiki
  • Don't shut down the device when testing the power button
  • Added interactive test for leds
  • Fix in magnetometer code for magnetometer drivers with single scale value for all axes

The markdown output on the pine-dontbeevil:

Category Model Path Status Value
framebuffer sun4i-drmdrmfb /sys/class/graphics/fb0 working U:720x1440p-0
drm - /sys/class/drm/card1-DSI-1 working 720x1440
camera ov5640 2-003c /dev/v4l-subdev0 working 320x240,640x480,1280x720,1920x1080
magnetometer lis3mdl /sys/bus/iio/devices/iio:device3 working -0.03, -0.57, 1.24 gauss
accelerometer mpu6050 /sys/bus/iio/devices/iio:device2 working 0.14, 0.0, -9.39 g
gyroscope mpu6050 /sys/bus/iio/devices/iio:device2 working -0.03, -0.01, 0.03 rad/s
temperature mpu6050 /sys/bus/iio/devices/iio:device2 working 36.3 deg C
temperature axp813-adc /sys/bus/iio/devices/iio:device0 working 30.9 deg C
proximity stk3310 /sys/bus/iio/devices/iio:device1 working 12.8
illuminance stk3310 /sys/bus/iio/devices/iio:device1 working 77 lux
input 1c21800.lradc /dev/input/event2 working
input generic ft5x06 (12) /dev/input/event1 working
input axp20x-pek /dev/input/event0 working

Merge request reports