From 6d8326b14e9d59a6f8623974bd27c9502a295c78 Mon Sep 17 00:00:00 2001 From: Jack Pham Date: Fri, 17 Aug 2018 23:59:51 -0700 Subject: [PATCH] ueventd.qcom.rc: Change ownership of USB role switch nodes Change ownership of /sys/class/dual_role_usb entries to system/system to allow USB HAL to access them. Change-Id: Ie6d968180d55647813904970370dbb74012326b0 --- rootdir/etc/ueventd.qcom.rc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/rootdir/etc/ueventd.qcom.rc b/rootdir/etc/ueventd.qcom.rc index 3727fa1..b10cf82 100644 --- a/rootdir/etc/ueventd.qcom.rc +++ b/rootdir/etc/ueventd.qcom.rc @@ -326,3 +326,8 @@ #Egistec fingerprint /dev/esfp0 0660 system system + +# USB role switch +/sys/class/dual_role_usb/* data_role 0660 system system +/sys/class/dual_role_usb/* power_role 0660 system system +/sys/class/dual_role_usb/* mode 0660 system system