]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
udev: Tag debug appliance nodes as xaccess-debug-appliance
authorTim Schumacher <timschumi@gmx.de>
Sun, 28 Jun 2026 08:11:08 +0000 (10:11 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 2 Jul 2026 16:14:21 +0000 (18:14 +0200)
This is especially helpful for people who are running headless (i.e.
SSH-only) Android platform development setups with testing devices
attached.

rules.d/70-uaccess.rules.in

index c7731dc4d625f8df3415e9073a60e896861ac917..6e20a4400d134b92f1577dd4f7ab8b3335a599b8 100644 (file)
@@ -130,6 +130,7 @@ SUBSYSTEM=="hidraw", ENV{ID_HARDWARE_WALLET}=="1", TAG+="uaccess"
 SUBSYSTEM=="hidraw", ENV{ID_INPUT_3D_MOUSE}=="1", TAG+="uaccess"
 
 # Debug interfaces (e.g. Android Debug Bridge)
-ENV{ID_DEBUG_APPLIANCE}=="?*", TAG+="uaccess"
+# Made available via xaccess additionally to support scenarios like headless testing machines.
+ENV{ID_DEBUG_APPLIANCE}=="?*", TAG+="uaccess", TAG+="xaccess-debug-appliance"
 
 LABEL="uaccess_end"