galaxys2-common: hardware tunables: vibrator support
Change-Id: I429d8ea2edddaf353c3f24cbc26d58df0cb30e69
This commit is contained in:
parent
c8bd2229ad
commit
8fe2f3a21b
@ -67,6 +67,9 @@ BOARD_FLASH_BLOCK_SIZE := 4096
|
||||
TARGET_RELEASETOOL_OTA_FROM_TARGET_SCRIPT := ./device/samsung/galaxys2-common/releasetools/galaxys2_ota_from_target_files
|
||||
TARGET_RELEASETOOL_IMG_FROM_TARGET_SCRIPT := ./device/samsung/galaxys2-common/releasetools/galaxys2_img_from_target_files
|
||||
|
||||
# Hardware tunables
|
||||
BOARD_HARDWARE_CLASS := hardware/samsung/cmhw
|
||||
|
||||
# Graphics
|
||||
BOARD_EGL_CFG := device/samsung/galaxys2-common/configs/egl.cfg
|
||||
USE_OPENGL_RENDERER := true
|
||||
|
@ -218,8 +218,8 @@ on post-fs-data
|
||||
# Vibetonz
|
||||
chmod 0660 /dev/tspdrv
|
||||
chown root shell /dev/tspdrv
|
||||
chmod 0660 /sys/vibrator/pwm_val
|
||||
chown system system /sys/vibrator/pwm_val
|
||||
chmod 0660 /sys/class/timed_output/vibrator/pwm_value
|
||||
chown system system /sys/class/timed_output/vibrator/pwm_value
|
||||
|
||||
# Permissions for LCD
|
||||
chown system radio /sys/class/lcd/panel/lcd_power
|
||||
|
Loading…
Reference in New Issue
Block a user