exynos9610: USB: HAL: run as user root, group root system
authorYueyao Zhu <yueyao@google.com>
Wed, 28 Jun 2017 22:47:38 +0000 (15:47 -0700)
committerJan Altensen <info@stricted.net>
Sun, 1 Nov 2020 02:06:28 +0000 (03:06 +0100)
This allows USB HAL to write USB sysfs nodes.

Bug: 38352281
Change-Id: Iaf8f1bad1a0394e553996b7a42bc34745b769b16

hidl/usb/android.hardware.usb@1.1-service.wahoo.rc

index bc1101d1b7d9b3479dd178999c6c32ab815163cc..1451519afbaa780b0d4736c7c38fc11ab5eef490 100644 (file)
@@ -1,7 +1,7 @@
 service usb-hal-1-1 /vendor/bin/hw/android.hardware.usb@1.1-service.wahoo
     class hal
-    user system
-    group system
+    user root
+    group root system
 
 on boot
     chown root system /sys/class/typec/port0/power_role