LOGI("Starting hciattach daemon");
if (property_set("ctl.start", "hciattach") < 0) { LOGE("Failed to start hciattach");
goto out;
}
Note that the end stage of executing "bccmd" will return error,
but we have to ignore that.
Further Information:
Function init_rfill() in the above file will check out the following two files, which is currently supported by Linaro Kernel.
root@linaro-alip:/sys/class/rfkill# ls -al
drwxr-xr-x 2 root root 0 Jan 1 00:00 .
drwxr-xr-x 28 root root 0 Jan 1 00:00 ..
lrwxrwxrwx 1 root root 0 Jan 1 00:00 rfkill0 -> ../../devices/platform/rfkill_gpio/rfkill/rfkill0
lrwxrwxrwx 1 root root 0 Jan 1 00:05 rfkill1 -> ../../devices/platform/s5pv210-uart.0/tty/ttySAC0/hci0/rfkill1
Apply patch (my idea) for Android Bluetooth in Origen
File: system/ bluetooth/ bluedroid/ bluetooth. c of Android platform
if (set_bluetooth_ power(1) < 0) goto out;
+ LOGI("Starting bccmd daemon"); set("ctl. start", "bccmd") < 0) {
+ if (property_
+ LOGE("Failed to start bccmd");
+ goto out;
+ }
LOGI("Starting hciattach daemon"); set("ctl. start", "hciattach") < 0) {
LOGE(" Failed to start hciattach");
if (property_
goto out;
}
Note that the end stage of executing "bccmd" will return error,
but we have to ignore that.
Further Information:
Function init_rfill() in the above file will check out the following two files, which is currently supported by Linaro Kernel. alip:/sys/ class/rfkill# ls -al platform/ rfkill_ gpio/rfkill/ rfkill0 platform/ s5pv210- uart.0/ tty/ttySAC0/ hci0/rfkill1
root@linaro-
drwxr-xr-x 2 root root 0 Jan 1 00:00 .
drwxr-xr-x 28 root root 0 Jan 1 00:00 ..
lrwxrwxrwx 1 root root 0 Jan 1 00:00 rfkill0 -> ../../devices/
lrwxrwxrwx 1 root root 0 Jan 1 00:05 rfkill1 -> ../../devices/