OSDN Git Service

Add the Power HAL for x86
authorChih-Wei Huang <cwhuang@linux.org.tw>
Sun, 5 Jun 2016 11:20:19 +0000 (19:20 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Sun, 5 Jun 2016 11:20:19 +0000 (19:20 +0800)
packages.mk
ueventd.x86.rc

index 88cf723..20832d9 100644 (file)
@@ -47,6 +47,7 @@ PRODUCT_PACKAGES := \
     lights.default \
     make_ext4fs \
     parted \
     lights.default \
     make_ext4fs \
     parted \
+    power.x86 \
     powerbtnd \
     scp \
     sensors.hsb \
     powerbtnd \
     scp \
     sensors.hsb \
index 9c0f1a1..ba82d75 100644 (file)
@@ -7,3 +7,5 @@
 
 # for bluetooth nodes
 /dev/uhid                 0660   bluetooth bluetooth
 
 # for bluetooth nodes
 /dev/uhid                 0660   bluetooth bluetooth
+
+/sys/devices/system/cpu/cpu*     online     0664   system     system