【问题标题】:Bluetooth Bluez: Unable to create crypto contex蓝牙 Bluez:无法创建加密上下文
【发布时间】:2025-12-03 04:30:01
【问题描述】:

我正在使用带有 Bluez 堆栈的 android、带有来自 Linux Kernel 3.19 的反向端口的 Linux Kernel 3.14 我收到以下错误消息:

Bluetooth: hci0 command 0x0c01 tx timeout
Bluetooth: unknown link type 192
Bluetooth: Unable to create crypto context.

知道这个错误可能来自什么吗?或者我需要放入 linux 内核的任何配置设置。

【问题讨论】:

  • 返回此错误的代码是什么?期望的输出是什么?
  • 好吧,我的正常蓝牙扫描工作正常,但我正在尝试让 BLE 正常工作,所以我不确定这个错误是否导致 BLE 无法工作。这来自蓝牙的 init.rc 脚本中的 dmesg。

标签: android linux bluetooth bluez


【解决方案1】:

想通了,我需要在内核配置中启用 CRYPTO_ECB。

【讨论】: