mirror of
https://github.com/followmsi/android_device_asus_deb.git
synced 2024-11-06 22:06:28 +00:00
deb: sensors: Move sensor sockets from /data to /dev/socket/sensors
Change-Id: I0e238d10cbaf7f9560f1993f03a8c9cc6c7e1195 Signed-off-by: Daniel Jarai <jaraidaniel@gmail.com> Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
This commit is contained in:
parent
f4506c20ef
commit
b752ac282f
1 changed files with 3 additions and 0 deletions
|
@ -80,6 +80,9 @@ on boot
|
|||
# create symlink for fb1 as HDMI
|
||||
symlink /dev/graphics/fb1 /dev/graphics/hdmi
|
||||
|
||||
# Create sensors daemon socket area
|
||||
mkdir /dev/socket/sensors 2770 system system
|
||||
|
||||
# Remove write permissions to video related nodes
|
||||
chmod 0664 /sys/devices/virtual/graphics/fb1/hpd
|
||||
chmod 0664 /sys/devices/virtual/graphics/fb1/video_mode
|
||||
|
|
Loading…
Reference in a new issue