Hi,
we have this blue tooth dongle. And we have customised imx6 board which is running on JellyBean. When this dongle is inserted, it gives following:
usb 2-1.2: new full speed USB device number 9 using fsl-ehci
usb 2-1.2: device descriptor read/all, error -32
usb 2-1.2: new full speed USB device number 10 using fsl-ehci
We have changed following in the kernel:
[*] Networking support ---> <*> Bluetooth subsystem support ---> <*> RFCOMM protocol support [ ] RFCOMM TTY support < > BNEP protocol support [ ] Multicast filter support [ ] Protocol filter support <*> HIDP protocol support Bluetooth device drivers ---> <*> HCI USB driver <*> HCI UART driver <*> RF switch subsystem support --->
Also, I don't find hciconfig,hcitool hciattach ..
Where is the problem can any one tell me ?
已解决! 转到解答。
Hi Kulkarni,
From Android 4.2.2 Android use Bluedroid to support Bluetooth.
Bluedroid cannot support USB BT. You may try to port BlueZ which support USB BT dongle.
Thanks.
Hi Amit,
Since the USB side, you should also ensure that the proper class support is included (typically, CDC Host, for BT USB Devices).
Hope this will be useful for you.
Best regards!
/Carlos
Hi Haoran wang ,
My platform is IMX6SL, Android kitkat 4.4.3 , Bluedroid, bluetooth USB driver.
When I am inserting my ko from the GUI, it is giving this error,
Can you please suggest me what to do???
Unable to unload driver module "/system/bin/bluetooth.ko": Operation not permitted
************* bluetooth.c insmod is called**********
Failed to load module: Unknown error -1 (-1)
I think it's purely permissions issue,
Here I have few questions,
1. Is the path which I am placing my kernel object file (ko) above /system/bin/release/ is correct ?? or it is /data/misc/bluetooth/ path???
2. If it is /data/misc/bluetooth/ then where should I mention permissions for that path.
Please respond me,
Thanks and Regards,
Mutyalarao.
Hi All,
Platform : IMX6SL
Bluedroid on Android kitkat 4.4.3.
Can you please help me I am struck at this point not able to move forward.
D/BluetoothAdapterState( 704): CURRENT_STATE=PENDING, MESSAGE = ENABLE_TIMEOUT, isTurningOn=true, isTurningOff=false
E/BluetoothAdapterState( 704): Error enabling Bluetooth
D/BluetoothAdapterProperties( 704): Setting state to 10
I/BluetoothAdapterState( 704): Bluetooth adapter state changed: 11-> 10
D/BluetoothAdapterService( 704): Broadcasting updateAdapterState() to 1 receivers.
what's wrong with this..... Not getting any idea. Please help me.....
Thanks and regards,
MutyalaRao.
Hi all,
I am glad to inform you that the above issue which I have posted earlier got resolved, but I have another 2 issues one while data transfer, the other while enabling via GUI.
1) After enabling bluetooth, while transferring file from third party mobile to IMX_6SL board, file is getting transferred(TX), but vice versa (RX) is not happening, it is giving the error message :
File not Received
File : sample.jpg
Reason : Storage issue
2) And presently I am inserting my driver via GUI, I am getting an error message while enabling bluetooth via GUI ie Operation not permitted while loading .ko (driver)Please suggest me what to do?? whether I need to install my driver at boot by adding in init.rc?? if I do it always on boot bt will be in ON State only?? OR Do i need to build my driver along with android source code???
Please suggest me how to proceed further???
Thanks and Regards,
Mutyala Rao.