TECHNICAL PORTFOLIO PT-BR
← All projects

USB Presence Gate

A Linux USB presence observer that connects physical device events to the lifecycle of an opt-in demonstration service.

Python · udev · systemd

Implementation

A worker reads USB descriptors through sysfs. udev events and a systemd timer trigger checks. An opt-in policy can start or stop the bundled demo service.

Evidence

On the Debian test host, the observer recorded removal after its grace period and recognized the device on reinsertion. The public report also records cleanup after uninstall.

Purpose & technical scope

Designed for non-critical service interlocks: USB descriptor matching indicates physical presence, not identity or authentication. The hardware report documents the tested revision.

Authorship & tools

I defined the experiment and supplied the hardware evidence. AI tools assisted with architecture review, implementation, tests and documentation.