summaryrefslogtreecommitdiffstats
path: root/init.tuna.rc
diff options
context:
space:
mode:
authorMatthew Xie <mattx@google.com>2012-03-26 12:07:14 -0700
committerMatthew Xie <mattx@google.com>2012-07-13 23:30:39 -0700
commitb5f88903c387b208629bcc04aad2c92f242e4144 (patch)
tree1e9dce40e1145a0c5343010e4e2b92f74783ea02 /init.tuna.rc
parentb48bb6dd51fe4adfe1ad72cf5f69ee7c5feee07d (diff)
downloaddevice_samsung_tuna-b5f88903c387b208629bcc04aad2c92f242e4144.zip
device_samsung_tuna-b5f88903c387b208629bcc04aad2c92f242e4144.tar.gz
device_samsung_tuna-b5f88903c387b208629bcc04aad2c92f242e4144.tar.bz2
Add bthid device driver ko file. Init it as device driver node.
Author: Priti Aghera Change-Id: Iae05cfeca4a02755594c1276135b5aa737c90004
Diffstat (limited to 'init.tuna.rc')
-rwxr-xr-xinit.tuna.rc5
1 files changed, 5 insertions, 0 deletions
diff --git a/init.tuna.rc b/init.tuna.rc
index 070ab1d..86dec0c 100755
--- a/init.tuna.rc
+++ b/init.tuna.rc
@@ -46,6 +46,11 @@ on boot
write /sys/bus/usb/devices/usb1/power/autosuspend_delay_ms 0
write /sys/bus/usb/devices/usb2/power/autosuspend_delay_ms 0
+# Start kernel driver (for BTHID)
+ insmod /system/lib/modules/bthid.ko
+ chmod 0660 /dev/bthid
+ chown bluetooth bluetooth /dev/bthid
+
on fs
mkdir /factory 0775 radio radio
mount_all /fstab.tuna