Skip to content

Commit

Permalink
[vibra] allow system group to trigger haptics
Browse files Browse the repository at this point in the history
  • Loading branch information
siteshwar committed Jun 12, 2014
1 parent f43d7d4 commit ba0a3a1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion rootdir/init.rc
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,6 @@ on boot
chown system system /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
chmod 0664 /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq

chown system system /sys/class/timed_output/vibrator/enable
chown system system /sys/class/leds/keyboard-backlight/brightness
chown system system /sys/class/leds/lcd-backlight/brightness
chown system system /sys/class/leds/button-backlight/brightness
Expand All @@ -334,6 +333,9 @@ on boot
chown system system /sys/kernel/ipv4/tcp_rmem_max
chown root radio /proc/cmdline

# Allow system group to trigger vibrator
chmod 0664 /sys/class/timed_output/vibrator/enable

# Define TCP buffer sizes for various networks
# ReadMin, ReadInitial, ReadMax, WriteMin, WriteInitial, WriteMax,
setprop net.tcp.buffersize.default 4096,87380,704512,4096,16384,110208
Expand Down

0 comments on commit ba0a3a1

Please sign in to comment.