无法生成蓝牙主进程:无法执行:权限被拒绝
我有蓝牙工作在Ubuntu 13.10,事实上相当不错。 但是,我最近做了一些QtSixA的实验,这个工具允许Playstation 3遥控器与Ubuntu通过蓝牙同步。 不幸的是,当启用其服务(sixad)时,其他蓝牙function被禁用。
我从我的系统中得到了它,但无法恢复蓝牙function。 值得注意的是,在dmesg中,我看到以下输出:
[ 1.492281] init: Failed to spawn bluetooth main process: unable to execute: Permission denied
蓝牙芯片组是Broadcom BCM20702A0; 这是dmesg | grep Bluetooth
的输出 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
虽然坦率地说, permission denied
消息让我觉得它与司机无关。 思考?
我在Sixadis 的Ubuntu wiki上遇到了与sixad包和说明相同的问题
$ sudo chmod +x /usr/sbin/bluetoothd
$ sudo service bluetooth restart
为我修好了。 我将看一下sixad包,看看我是否能找到权限被破坏的地方。
编辑
我sixad --boot-yes
你尝试sixad --boot-yes
时会发生这种情况sixad --boot-yes
。 这将禁用更新的v4 bluez蓝牙堆栈,转而使用基于bluez v3的sixad驱动程序。 您只能使用其中一个,直到bluez v4支持sixaxis。
我还需要手动sudo hciconfig hci0 up
设置sixad后启动,因为某些原因sudo hciconfig -a
显示我的蓝牙设备已关闭。 需要进一步调查。