summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorVaibhav Devmurari <vdevmurari@google.com>2023-01-11 10:58:16 +0000
committerVaibhav Devmurari <vdevmurari@google.com>2023-01-11 23:50:38 +0000
commit008708a8270a8ba2c1bdb368303698da0c8204f0 (patch)
tree37eb0455c91edb7480e8a02af79aff85e6d26948 /conf
parent92b0489fcfe7b3acab036676f5b0edbcea0e9d26 (diff)
downloadgs201-008708a8270a8ba2c1bdb368303698da0c8204f0.tar.gz
Allow access to all brightness and multi_intensity nodes in sysfs
Depending on how the device is connected, sysfs path to leds can have different directory path, to allow backlight controls, we will provide access to all 'brightness' and 'multi_intensity' nodes under sysfs directory of USB devices for whitechapel_pro. Test: manual Bug: 245506418 Change-Id: I9ca43f1b6d7950c56d08e300b6ac97320982e979
Diffstat (limited to 'conf')
-rw-r--r--conf/ueventd.gs201.rc8
1 files changed, 4 insertions, 4 deletions
diff --git a/conf/ueventd.gs201.rc b/conf/ueventd.gs201.rc
index 3df2b6e..03996b3 100644
--- a/conf/ueventd.gs201.rc
+++ b/conf/ueventd.gs201.rc
@@ -225,7 +225,7 @@
/sys/bus/iio/devices/iio:device* enabled_rails 0660 system system
# sysfs LED nodes for external USB devices
-/sys/devices/platform/11210000.usb/11210000.dwc3/xhci-hcd-exynos.5.auto/usb2/2-1/*/*/leds/* brightness 0664 system system
-/sys/devices/platform/11210000.usb/11210000.dwc3/xhci-hcd-exynos.5.auto/usb2/2-1/*/*/leds/* multi_intensity 0664 system system
-/sys/devices/platform/11210000.usb/11210000.dwc3/xhci-hcd-exynos.4.auto/usb2/2-1/*/*/leds/* brightness 0664 system system
-/sys/devices/platform/11210000.usb/11210000.dwc3/xhci-hcd-exynos.4.auto/usb2/2-1/*/*/leds/* multi_intensity 0664 system system
+/sys/devices/platform/11210000.usb/11210000.dwc3/xhci-hcd-exynos.5.auto/usb2/2-1* brightness 0664 system system
+/sys/devices/platform/11210000.usb/11210000.dwc3/xhci-hcd-exynos.5.auto/usb2/2-1* multi_intensity 0664 system system
+/sys/devices/platform/11210000.usb/11210000.dwc3/xhci-hcd-exynos.4.auto/usb2/2-1* brightness 0664 system system
+/sys/devices/platform/11210000.usb/11210000.dwc3/xhci-hcd-exynos.4.auto/usb2/2-1* multi_intensity 0664 system system