特殊:Badtitle/NS100:BluetoothMouse:修订间差异

来自Ubuntu中文
跳到导航跳到搜索
Oneleaf留言 | 贡献
无编辑摘要
Oneleaf留言 | 贡献
无编辑摘要
第1行: 第1行:
{{From|https://help.ubuntu.com/community/BluetoothMouse}}
{{From|https://help.ubuntu.com/community/BluetoothMouse}}
{{Languages|php5}}
{{Languages|UbuntuHelp:BluetoothMouse}}
== Bluetooth Mouse ==
== Bluetooth Mouse ==
Many people have reported problems with connecting a Bluetooth mouse and making it stay connected. There is an easy solution to this problem. You only have to do this once, and the mouse will connect automatically when you turn it on, or it resumes from power savings.
Many people have reported problems with connecting a Bluetooth mouse and making it stay connected. There is an easy solution to this problem. You only have to do this once, and the mouse will connect automatically when you turn it on, or it resumes from power savings.
第11行: 第11行:
Other than that, setup should involve the same steps for all versions of Ubuntu. Do the following steps:
Other than that, setup should involve the same steps for all versions of Ubuntu. Do the following steps:
# Edit the file /etc/default/bluetooth: `sudo nano -w /etc/default/bluetooth`
# Edit the file /etc/default/bluetooth: `sudo nano -w /etc/default/bluetooth`
2. Set the variable `HIDD_ENABLED=1`.
# Set the variable `HIDD_ENABLED=1`.
3. Restart the bluetooth service with the command: `sudo /etc/init.d/bluetooth restart`
# Restart the bluetooth service with the command: `sudo /etc/init.d/bluetooth restart`


(On versions older than 6.10, replace bluetooth with bluez-utils on the instructions above)
(On versions older than 6.10, replace bluetooth with bluez-utils on the instructions above)
第45行: 第45行:


----
----
CategoryDocumentation CategoryHardware CategoryBluetooth
[[category:CategoryDocumentation]] [[category:CategoryHardware]] [[category:CategoryBluetooth]]


[[category:UbuntuHelp]]
[[category:UbuntuHelp]]

2007年5月14日 (一) 11:21的版本

{{#ifexist: :BluetoothMouse/zh | | {{#ifexist: BluetoothMouse/zh | | {{#ifeq: {{#titleparts:BluetoothMouse|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:BluetoothMouse|1|-1|}} | zh | | }}

Bluetooth Mouse

Many people have reported problems with connecting a Bluetooth mouse and making it stay connected. There is an easy solution to this problem. You only have to do this once, and the mouse will connect automatically when you turn it on, or it resumes from power savings.

Preparation

Users of Ubuntu versions that are older than 6.10 Edgy Eft will have to install bluez-utils:

sudo apt-get install bluez-utils

Other than that, setup should involve the same steps for all versions of Ubuntu. Do the following steps:

  1. Edit the file /etc/default/bluetooth: `sudo nano -w /etc/default/bluetooth`
  2. Set the variable `HIDD_ENABLED=1`.
  3. Restart the bluetooth service with the command: `sudo /etc/init.d/bluetooth restart`

(On versions older than 6.10, replace bluetooth with bluez-utils on the instructions above)

Connect the Mouse

Now let's connect the mouse:

sudo hidd --search

Retry this command until the mouse connects. You may have to turn it off and on or press the reset/connect button a couple of times.

Alternately, you can find the Bluetooth address of your mouse, it's usually labeled on the bottom, and type:

sudo hidd --connect deviceaddr

Where deviceaddr is the address of your mouse, for example 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.

Approach is tested using:

*ubuntu Release Kernel bluez-utils
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