实际上,我已经在Ubuntu 13.10上使用了蓝牙。但是,我最近对QtSixA进行了一些试验,该工具可通过蓝牙将Playstation 3遥控器与Ubuntu进行同步。不幸的是,在启用其服务(sixad)的同时,其他蓝牙功能也被禁用。
我已经将其从系统中删除,但是无法恢复蓝牙功能。值得注意的是,在dmesg中,我看到以下输出:
[ 1.492281] init: Failed to spawn bluetooth main process: unable to execute: Permission denied
蓝牙芯片组是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
尽管坦率地说,该permission denied
消息使我认为与驾驶员无关。有什么想法吗?
在Sixax的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
我的蓝牙设备已关闭。需要调查更多。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句