~/talk

How to make kernel and user space CI for input devices?

Talkat linux.conf.au 2020 · 2020-01-13..01-17· [testing, linux-and-operating-systems]
links:none on file
slides:none on file

Builds a per-commit CI that injects synthetic devices via uinput and parses HID descriptors to generate realistic event reports, runs about 248 manual-style device tests (took two days pre-automation), and automates them in GitLab CI using cached container images, QEMU VM images and self-hosted runners. Tests cover keyboards, mice and touchpads with replayable event suites; result is higher confidence (kernel and userspace commits gated by the suite) though some manual/backport testing still remains.

AI-written summary · about

  1. 0:00Introduction to input testing
  2. 1:35Understanding HID protocols
  3. 3:21Evolution of touch input
  4. 5:44User space vs kernel input
  5. 7:18The limits of manual testing
  6. 9:03Introducing the Ug tool
  7. 10:57Defining tests with Ug
  8. 13:44Automated regression testing
  9. 17:09Building an integration suite
  10. 18:54CI pipeline implementation
  11. 24:36Executing tests in the pipeline
  12. 29:21Conclusion and takeaways
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.