The Bluetooth service is unavailable

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

The Bluetooth service is unavailable

909 次查看
shuhai
Contributor II

1.Development Board : imx8mmevk

2.Linux version : 5.10.52-1.0

3.Description of the Problem :

I can't use Bluetooth service.

For example, when I input the linux instruction "hciconfig" on the terminal, I receive no feedback.

If I input the linux instruction "bluetoothctl discoverable on" and I get back "No default controller available".

bt.png

Please help me! Thanks!

0 项奖励
6 回复数

867 次查看
shuhai
Contributor II

Hi,

The  kernel 4.14 screenshot mentioned above
bt-4.14.png

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

some logs about BT in kernel 4.14:

[ 0.853610] Bluetooth: Core ver 2.22
[ 0.861089] Bluetooth: HCI device and connection manager initialized
[ 0.867471] Bluetooth: HCI socket layer initialized
[ 0.872366] Bluetooth: L2CAP socket layer initialized
[ 0.877455] Bluetooth: SCO socket layer initialized
[ 2.439810] Bluetooth: HCI UART driver ver 2.3
[ 2.444278] Bluetooth: HCI UART protocol H4 registered
[ 2.449430] Bluetooth: HCI UART protocol QCA registered
[ 3.147950] Bluetooth: RFCOMM TTY layer initialized
[ 3.152904] Bluetooth: RFCOMM socket layer initialized
[ 3.158092] Bluetooth: RFCOMM ver 1.11
[ 3.161879] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 3.167238] Bluetooth: BNEP socket layer initialized
[ 16.750756] Bluetooth: hci0: ROME setup
[ 16.750773] Bluetooth: hci0: Set UART speed to 3000000

 

some logs about BT in kernel 5.10:

[ 0.432258] Bluetooth: Core ver 2.22
[ 0.439604] Bluetooth: HCI device and connection manager initialized
[ 0.445996] Bluetooth: HCI socket layer initialized
[ 0.450893] Bluetooth: L2CAP socket layer initialized
[ 0.455981] Bluetooth: SCO socket layer initialized
[ 1.172949] Bluetooth: HCI UART driver ver 2.3
[ 1.177426] Bluetooth: HCI UART protocol H4 registered
[ 1.188173] Bluetooth: HCI UART protocol QCA registered
[ 1.511037] Bluetooth: RFCOMM TTY layer initialized
[ 1.515932] Bluetooth: RFCOMM socket layer initialized
[ 1.521108] Bluetooth: RFCOMM ver 1.11
[ 1.524893] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 1.530219] Bluetooth: BNEP filters : protocol multicast
[ 1.538061] Bluetooth: BNEP socket layer initialized
[ 1.543032] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[ 1.548960] Bluetooth: HIDP socket layer initialized

 

I hope it's helpful.

Best regards,

Shuhai

0 项奖励

852 次查看
DanielRuvalcaba
NXP TechSupport
NXP TechSupport

Thank you for the information.

Finally, could you please tell me what Wireless module you are using?

I will try to replicate this scenario.

Best regards,

Daniel

0 项奖励

832 次查看
shuhai
Contributor II

I use Wireless module : QCA9377.

Thank you for your help.

Best regards,

Shuhai

0 项奖励

818 次查看
DanielRuvalcaba
NXP TechSupport
NXP TechSupport

I could recommend you to take a look to the following thread. I believe you will find useful information that might be causing your problem.

https://community.nxp.com/t5/i-MX-Processors/iMX8MM-EVK-with-qca9377/m-p/1333287

Best regards,

Daniel.

0 项奖励

896 次查看
DanielRuvalcaba
NXP TechSupport
NXP TechSupport

Hi,

My name is Daniel and I will be happy to help you.

Could you please share with me the previous steps you executed to bring up the Bluetooth interface? Also the logs you get when doing this?

Best regards,

Daniel.

0 项奖励

885 次查看
shuhai
Contributor II

Hi,

When I used kernel 4.14, Bluetooth service was fine, screenshot below.

I wish kernel 5.10 could also use Bluetooth service.

Best regards,

Shuhai

0 项奖励