We have a board based on imx6 sabresd that we're porting Android to. Thanks to a regression in the NXP Oreo BSP we had to revert to Nougat.
This board has a mini PCIE Bluetooth module (RTL8821ae) that talks HCI USB. The driver seems to be integrated (hci0 file gets created etc) but I am not sure how to integrate the module further. bt_vendor.conf only contains references to a UART port and this device doesn't use UART. It was my impression that Bluedroid lacked USB HCI support, but that Fluoride added it. Of course, documentation on Fluoride is impossible to find, so I'm not even sure this is true. I've tried going the opposite direction by doing HCI protocol conversion, using a patched socat that supports HCI, but I can't get that to work (socat closes the socket with -ENETDOWN when I start bluetooth_manager). I've also found a git repo, "libbt-usb", that claims to convert HCI USB to HCI UART, but I can't get it to build on Nougat. Can anyone point me to a reference describing what is needed to integrate this card into the Android stack? Is it even possible/feasible? Any help would be greatly appreciated... -- -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting --- You received this message because you are subscribed to the Google Groups "android-porting" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
