【求助】T61装64位ubuntu 8.04,蓝牙部分功能不能使用!
能正常搜索到蓝牙手机并相互传送文件。搜索到手中的2个蓝牙鼠标,均在连接设备出现,无法显示obex,host down截图如下图。还望贵人指点。 UBUNTU下,没有用过蓝牙,帮顶了 在别的论坛有高人指出问题所在:不要GUI界面连接,在终端界面输入:sudo hidd --search至于开机重启自动连接问题 要修改文件蓝牙配置文件:
~$ sudo gedit /etc/default/bluetooth
在打开文件中,添加如下代码:
# start bluetooth on boot?
# compatibility note: If this variable is not found bluetooth will
# start
BLUETOOTH_ENABLED=1
############ HIDD
#
# To have Bluetooth mouse and keyboard support, get the
# Linux 2.6.6 patch or better from bluez.org, and set
# HIDD_ENABLED to 1.
HIDD_ENABLED=1
HIDD_OPTIONS="--connect aa:bb:cc:dd:ee:ff --server"
aa:bb:cc:dd:ee:ff是蓝牙鼠标mac地址(一般在鼠标上有,没有可以用sudo hidd --search)
编辑rc.local
$ sudo gedit /etc/init.d/rc.local
.建立一个文件/etc/init.d/xloadBluetooth.sh,内容是
代码
hidd --search
修改他的权限为777
sudo chmod 777 /etc/init.d/xloadBluetooth.sh
建立一个软链接,让启动的时候,rc*脚本能运行他
sudo ln -sf /etc/init.d/xloadBluetooth.sh /etc/rcS.d/S99xloadBluetooth.sh
[ Edited bymoreal on 2008-6-20 13:24 ]
页:
[1]