个人工具

UbuntuHelp:BluetoothMouse/zh

来自Ubuntu中文

Tlhl28讨论 | 贡献2007年11月27日 (二) 22:37的版本 (新页面: {{Translation}}<br>{{From|https://help.ubuntu.com/community/BluetoothMouse}}<br>{{Translator|tlhl28}}<br>{{Languages|php5}}<br> <br> == Bluetooth Mouse<br> ==     &n...)

(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳转至: 导航, 搜索





Bluetooth Mouse

      许多人反映了关于稳定链接蓝牙鼠标的问题。这是个容易解决的问题。你只要做以下工作一次,蓝牙鼠标就会在你启动它或者从能源节省模式下唤醒后自动连接。

 Preparation

     6.10 and Newer

  • 编辑文件 /etc/default/bluetooth:`sudo sensible-editor /etc/default/bluetooth`
    * 设置变量 `HIDD_ENABLED=1`.
    * 用这个命令重启蓝牙服务: `sudo /etc/init.d/bluetooth restart`

 Ubuntu Versions Older than 6.10

  • `sudo apt-get install bluez-utils`
  • 编辑文件 /etc/default/bluez-utils: `sudo sensible-editor /etc/default/bluez-utils`
  • 设置变量 `HIDD_ENABLED=1`.
  • 用这个命令重启蓝牙服务: `sudo /etc/init.d/bluez-utils restart`


     Connect the Mouse

现在让我们来连接鼠标:

 sudo hidd --search

重复这个指令至到连接到鼠标。你也许要开启和关闭或者按下鼠标的 重置/连接 按钮几次。
另外,你可以通过MOUSE 来找到你的蓝牙地址:

  • 在鼠标底部的标签
  • 运行 `hcitool scan`

一旦知道了地址,输入:

sudo hidd --connect deviceaddr

deviceaddr 是你鼠标的地址,例如 00:01:02:03:04:05

Now the mouse should reconnect once you turn it on, even if you reboot. Some people experience that using the hcitools for anything might create some fuzz with the hidd tool.
现在只要你启动它,鼠标应该会重新连接 ,即使是重启。有些人的经验,任何东西采用hcitools都可能造成于 hidd tool 的一些模糊
 

Approach is tested using:

  • ubuntu Release Kernel bluez-utils
    Ubuntu 7.10 gutsy 2.6.22-14-386 3.19-0ubuntu3
    Kubuntu 7.04 feisty 2.6.20-15-generic 3.9-0ubuntu4
    Ubuntu 6.10 edgy
    Kubuntu 6.06 dapper 2.6.15-26-386 2.24