Hi friend,
It seem you miss vendor lib . I assume your Bluetooth device driver already
probed and creat a usb hci device. Your vendor lib will talk to usb hci
device.
In the past, I met a hci USB Bluetooth device. It’s kernel driver create a
device at /dev/* and I have a vendor lib to talk to this device. It’s name
seem like libbt_vendor.
In your case I think you need to check the driver that creat hci0 device,
check all feature that driver support in ioctl, open ... and check the
interface that fluoride requires for a Bluetooth vendor lib. Then follow
this to implement Bluetooth vendor lib. I don’t think it is a easy job .
You should contact the ihv of your Bluetooth device and ask them a
Bluetooth vendor lib.

Vào Th 2, 25 thg 2, 2019 lúc 22:00 <benjamin.lindqv...@endian.se> đã viết:

> 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: android-porting+unsubscr...@googlegroups.com
> 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 android-porting+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
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 android-porting+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to