diff options
author | Matthew Xie <mattx@google.com> | 2012-07-16 20:43:25 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2012-07-16 20:43:25 -0700 |
commit | eba4538aa5d037be946552e9e7531d20e9ddf3d1 (patch) | |
tree | 5ed0e7719c870cb631597d033f6093daf6b7c04c | |
parent | f100767f6612b1eeb8f0e0b00bea5fa2d465c25c (diff) | |
parent | b5f88903c387b208629bcc04aad2c92f242e4144 (diff) | |
download | device_samsung_tuna-eba4538aa5d037be946552e9e7531d20e9ddf3d1.zip device_samsung_tuna-eba4538aa5d037be946552e9e7531d20e9ddf3d1.tar.gz device_samsung_tuna-eba4538aa5d037be946552e9e7531d20e9ddf3d1.tar.bz2 |
Merge "Add bthid device driver ko file. Init it as device driver node. Author: Priti Aghera"
-rw-r--r-- | bthid.ko | bin | 0 -> 91186 bytes | |||
-rw-r--r-- | device.mk | 3 | ||||
-rwxr-xr-x | init.tuna.rc | 5 |
3 files changed, 8 insertions, 0 deletions
diff --git a/bthid.ko b/bthid.ko Binary files differnew file mode 100644 index 0000000..a2d82a1 --- /dev/null +++ b/bthid.ko @@ -79,6 +79,9 @@ PRODUCT_COPY_FILES += \ PRODUCT_COPY_FILES += \ system/bluetooth/data/main.le.conf:system/etc/bluetooth/main.conf +PRODUCT_COPY_FILES += \ + device/samsung/tuna/bthid.ko:system/lib/modules/bthid.ko + # Wifi ifneq ($(TARGET_PREBUILT_WIFI_MODULE),) PRODUCT_COPY_FILES += \ 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 |