3
0
Fork 0

galaxys2-common: hardware tunables: vibrator support

Change-Id: I429d8ea2edddaf353c3f24cbc26d58df0cb30e69
This commit is contained in:
codeworkx 2013-08-09 19:32:58 +02:00 committed by Daniel Hillenbrand
parent c8bd2229ad
commit 8fe2f3a21b
2 changed files with 5 additions and 2 deletions

View File

@ -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

View File

@ -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