http://stackoverflow.com/questions/17608727/does-android-4-2-2-support-usb-bluetooth-dongle
CyanogenMod and Android-X86 contain patches to support USB HCI like this:
To enable this support in board look at android-x86 example, for BoardConfig
# Some framework code requires this to enable BT
BOARD_HAVE_BLUETOOTH := true
BLUETOOTH_HCI_USE_USB := true
BOARD_HAVE_BLUETOOTH_BCM := true
BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := device/generic/x86/bluetooth
and for buildcfg
#ifndef _BDROID_BUILDCFG_H
#define _BDROID_BUILDCFG_H
#define BTM_DEF_LOCAL_NAME "Android-x86"
// At present either USB or UART is supported
#define BLUETOOTH_HCI_USE_USB TRUE
// Bluetooth Low Power Mode is supported on BT4.0
#define HCILP_INCLUDED FALSE
#endif
Also your kernel need UHID support.
沒有留言:
張貼留言