无法生成蓝牙主进程:无法执行:权限被拒绝

sig*_*eta 6 permissions bluetooth 13.10

我有蓝牙在 Ubuntu 13.10 上工作,事实上很好。但是,我最近对 ​​QtSixA 进行了一些试验,该工具允许通过蓝牙将 Playstation 3 遥控器与 Ubuntu 同步。不幸的是,当它的服务 (sixad) 启用时,其他蓝牙功能被禁用。

我已将其从系统中清除,但无法恢复蓝牙功能。值得注意的是,在 dmesg 中,我看到以下输出:

[    1.492281] init: Failed to spawn bluetooth main process: unable to execute: Permission denied
Run Code Online (Sandbox Code Playgroud)

蓝牙芯片为Broadcom BCM20702A0;这是输出dmesg | grep Bluetooth

[    1.175333] Bluetooth: Core ver 2.16
[    1.175342] Bluetooth: HCI device and connection manager initialized
[    1.175347] Bluetooth: HCI socket layer initialized
[    1.175348] Bluetooth: L2CAP socket layer initialized
[    1.175351] Bluetooth: SCO socket layer initialized
[    1.504078] Bluetooth: RFCOMM TTY layer initialized
[    1.504085] Bluetooth: RFCOMM socket layer initialized
[    1.504086] Bluetooth: RFCOMM ver 1.11
Run Code Online (Sandbox Code Playgroud)

虽然坦率地说,这个permission denied消息让我觉得它与驱动程序无关。想法?

mee*_*han 9

我在 Sixaxis的 Ubuntu wiki 中遇到了与 Sixad 包和说明相同的问题

$ sudo chmod +x /usr/sbin/bluetoothd

$ sudo service bluetooth restart

为我修好了。我将查看 Sixad 包,看看是否可以找到权限被破坏的位置。

编辑

我认为当您尝试时会发生这种情况sixad --boot-yes。这将禁用较新的 v4 bluez 蓝牙堆栈,以支持基于 bluez v3 的 Sixad 驱动程序。您只能使用一种或另一种,直到 bluez v4 支持 Sixaxis。

sudo hciconfig hci0 up在将 Sixad 设置为在启动时启动后,我还需要手动设置,因为出于某种原因,sudo hciconfig -a我的蓝牙设备显示为关闭状态。需要进一步调查。