From e4f981dce04b312e6c56e833c5c33097008e25fd Mon Sep 17 00:00:00 2001 From: Daniel Norman Date: Tue, 14 Nov 2023 22:26:48 +0000 Subject: [PATCH] Assigns system user/group to /dev/hidraw* devices. This allows system_server to access these devices. Note: This also matches existing ueventd rules used by any device which followed the Sensor HAL's dynamic sensor README. Bug: 303522222 Test: ls -l /dev/hidraw0 Change-Id: I0830aca77422d6cab64af05dba1554667737760c --- rootdir/ueventd.rc | 1 + 1 file changed, 1 insertion(+) diff --git a/rootdir/ueventd.rc b/rootdir/ueventd.rc index 60dcc2a95..3927501a4 100644 --- a/rootdir/ueventd.rc +++ b/rootdir/ueventd.rc @@ -71,6 +71,7 @@ subsystem vfio /dev/mtp_usb 0660 root mtp /dev/usb_accessory 0660 root usb /dev/tun 0660 system vpn +/dev/hidraw* 0660 system system # CDMA radio interface MUX /dev/ppp 0660 radio vpn