特殊:Badtitle/NS100:BluetoothMouse:修订间差异
小无编辑摘要 |
小无编辑摘要 |
||
第3行: | 第3行: | ||
== 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. | ||
=== Preparation === | === Preparation === | ||
==== 6.10 and Newer ==== | ==== 6.10 and Newer ==== | ||
# Edit the file /etc/default/bluetooth: `sudo sensible-editor /etc/default/bluetooth` | |||
# Set the variable `HIDD_ENABLED=1`. | |||
# Restart the bluetooth service with the command: `sudo /etc/init.d/bluetooth restart` | |||
==== Ubuntu Versions Older than 6.10 ==== | ==== Ubuntu Versions Older than 6.10 ==== | ||
# `sudo apt-get install bluez-utils` | |||
# Edit the file /etc/default/bluez-utils: `sudo sensible-editor /etc/default/bluez-utils` | |||
# Set the variable `HIDD_ENABLED=1`. | |||
# Restart the bluetooth service with the command: `sudo /etc/init.d/bluez-utils restart` | |||
=== Connect the Mouse === | === Connect the Mouse === | ||
Now let's connect the mouse: | Now let's connect the mouse: | ||
<pre><nowiki> | <pre><nowiki> | ||
第23行: | 第19行: | ||
</nowiki></pre> | </nowiki></pre> | ||
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. | 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 via: | Alternately, you can find the Bluetooth address of your mouse via: | ||
* a label on the bottom of the mouse | * a label on the bottom of the mouse | ||
* running `hcitool scan` | * running `hcitool scan` | ||
Once the address is known, type: | Once the address is known, type: | ||
<pre><nowiki> | <pre><nowiki> | ||
sudo hidd --connect deviceaddr | sudo hidd --connect deviceaddr | ||
</nowiki></pre> Where deviceaddr is the address of your mouse, for example 00:01:02:03:04:05 | </nowiki></pre> 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. | 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: ==== | ==== Approach is tested using: ==== | ||
{|border="1" cellspacing="0" | {|border="1" cellspacing="0" | ||
| '''*ubuntu Release''' || '''Kernel''' || '''bluez-utils''' | | '''*ubuntu Release''' || '''Kernel''' || '''bluez-utils''' | ||
第48行: | 第39行: | ||
| Kubuntu 6.06 dapper || 2.6.15-26-386 || 2.24 | | Kubuntu 6.06 dapper || 2.6.15-26-386 || 2.24 | ||
|} | |} | ||
---- | ---- | ||
[[category:CategoryDocumentation]] [[category:CategoryHardware]] [[category:CategoryBluetooth]] | [[category:CategoryDocumentation]] [[category:CategoryHardware]] [[category:CategoryBluetooth]] | ||
[[category:UbuntuHelp]] | [[category:UbuntuHelp]] |
2007年11月30日 (五) 16:19的版本
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/BluetoothMouse }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:BluetoothMouse | UbuntuHelp:BluetoothMouse | {{#if: | :}}BluetoothMouse}}/af | • {{#if: UbuntuHelp:BluetoothMouse|Afrikaans| [[::BluetoothMouse/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BluetoothMouse | UbuntuHelp:BluetoothMouse | {{#if: | :}}BluetoothMouse}}/ar | • {{#if: UbuntuHelp:BluetoothMouse|العربية| [[::BluetoothMouse/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BluetoothMouse | UbuntuHelp:BluetoothMouse | {{#if: | :}}BluetoothMouse}}/az | • {{#if: UbuntuHelp:BluetoothMouse|azərbaycanca| [[::BluetoothMouse/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BluetoothMouse | UbuntuHelp:BluetoothMouse | {{#if: | :}}BluetoothMouse}}/bcc | • {{#if: UbuntuHelp:BluetoothMouse|جهلسری بلوچی| [[::BluetoothMouse/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BluetoothMouse | UbuntuHelp:BluetoothMouse | {{#if: | :}}BluetoothMouse}}/bg | • {{#if: UbuntuHelp:BluetoothMouse|български| [[::BluetoothMouse/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BluetoothMouse | UbuntuHelp:BluetoothMouse | {{#if: | :}}BluetoothMouse}}/br | • {{#if: UbuntuHelp:BluetoothMouse|brezhoneg| [[::BluetoothMouse/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BluetoothMouse | UbuntuHelp:BluetoothMouse | {{#if: | :}}BluetoothMouse}}/ca | • {{#if: UbuntuHelp:BluetoothMouse|català| [[::BluetoothMouse/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BluetoothMouse | UbuntuHelp:BluetoothMouse | {{#if: | :}}BluetoothMouse}}/cs | • {{#if: UbuntuHelp:BluetoothMouse|čeština| [[::BluetoothMouse/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BluetoothMouse | UbuntuHelp:BluetoothMouse | {{#if: | :}}BluetoothMouse}}/de | • {{#if: UbuntuHelp:BluetoothMouse|Deutsch| [[::BluetoothMouse/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BluetoothMouse | UbuntuHelp:BluetoothMouse | {{#if: | :}}BluetoothMouse}}/el | • {{#if: UbuntuHelp:BluetoothMouse|Ελληνικά| [[::BluetoothMouse/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BluetoothMouse | UbuntuHelp:BluetoothMouse | {{#if: | :}}BluetoothMouse}}/es | • {{#if: UbuntuHelp:BluetoothMouse|español| [[::BluetoothMouse/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BluetoothMouse | UbuntuHelp:BluetoothMouse | {{#if: | :}}BluetoothMouse}}/fa | • {{#if: UbuntuHelp:BluetoothMouse|فارسی| [[::BluetoothMouse/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BluetoothMouse | UbuntuHelp:BluetoothMouse | {{#if: | :}}BluetoothMouse}}/fi | • {{#if: UbuntuHelp:BluetoothMouse|suomi| [[::BluetoothMouse/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BluetoothMouse | UbuntuHelp:BluetoothMouse | {{#if: | :}}BluetoothMouse}}/fr | • {{#if: UbuntuHelp:BluetoothMouse|français| [[::BluetoothMouse/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BluetoothMouse | UbuntuHelp:BluetoothMouse | {{#if: | :}}BluetoothMouse}}/gu | • {{#if: UbuntuHelp:BluetoothMouse|ગુજરાતી| [[::BluetoothMouse/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BluetoothMouse | UbuntuHelp:BluetoothMouse | {{#if: | :}}BluetoothMouse}}/he | • {{#if: UbuntuHelp:BluetoothMouse|עברית| [[::BluetoothMouse/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BluetoothMouse | UbuntuHelp:BluetoothMouse | {{#if: | :}}BluetoothMouse}}/hu | • {{#if: UbuntuHelp:BluetoothMouse|magyar| [[::BluetoothMouse/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BluetoothMouse | UbuntuHelp:BluetoothMouse | {{#if: | :}}BluetoothMouse}}/id | • {{#if: UbuntuHelp:BluetoothMouse|Bahasa Indonesia| [[::BluetoothMouse/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BluetoothMouse | UbuntuHelp:BluetoothMouse | {{#if: | :}}BluetoothMouse}}/it | • {{#if: UbuntuHelp:BluetoothMouse|italiano| [[::BluetoothMouse/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BluetoothMouse | UbuntuHelp:BluetoothMouse | {{#if: | :}}BluetoothMouse}}/ja | • {{#if: UbuntuHelp:BluetoothMouse|日本語| [[::BluetoothMouse/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BluetoothMouse | UbuntuHelp:BluetoothMouse | {{#if: | :}}BluetoothMouse}}/ko | • {{#if: UbuntuHelp:BluetoothMouse|한국어| [[::BluetoothMouse/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BluetoothMouse | UbuntuHelp:BluetoothMouse | {{#if: | :}}BluetoothMouse}}/ksh | • {{#if: UbuntuHelp:BluetoothMouse|Ripoarisch| [[::BluetoothMouse/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BluetoothMouse | UbuntuHelp:BluetoothMouse | {{#if: | :}}BluetoothMouse}}/mr | • {{#if: UbuntuHelp:BluetoothMouse|मराठी| [[::BluetoothMouse/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BluetoothMouse | UbuntuHelp:BluetoothMouse | {{#if: | :}}BluetoothMouse}}/ms | • {{#if: UbuntuHelp:BluetoothMouse|Bahasa Melayu| [[::BluetoothMouse/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BluetoothMouse | UbuntuHelp:BluetoothMouse | {{#if: | :}}BluetoothMouse}}/nl | • {{#if: UbuntuHelp:BluetoothMouse|Nederlands| [[::BluetoothMouse/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BluetoothMouse | UbuntuHelp:BluetoothMouse | {{#if: | :}}BluetoothMouse}}/no | • {{#if: UbuntuHelp:BluetoothMouse|norsk| [[::BluetoothMouse/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BluetoothMouse | UbuntuHelp:BluetoothMouse | {{#if: | :}}BluetoothMouse}}/oc | • {{#if: UbuntuHelp:BluetoothMouse|occitan| [[::BluetoothMouse/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BluetoothMouse | UbuntuHelp:BluetoothMouse | {{#if: | :}}BluetoothMouse}}/pl | • {{#if: UbuntuHelp:BluetoothMouse|polski| [[::BluetoothMouse/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BluetoothMouse | UbuntuHelp:BluetoothMouse | {{#if: | :}}BluetoothMouse}}/pt | • {{#if: UbuntuHelp:BluetoothMouse|português| [[::BluetoothMouse/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BluetoothMouse | UbuntuHelp:BluetoothMouse | {{#if: | :}}BluetoothMouse}}/ro | • {{#if: UbuntuHelp:BluetoothMouse|română| [[::BluetoothMouse/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BluetoothMouse | UbuntuHelp:BluetoothMouse | {{#if: | :}}BluetoothMouse}}/ru | • {{#if: UbuntuHelp:BluetoothMouse|русский| [[::BluetoothMouse/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BluetoothMouse | UbuntuHelp:BluetoothMouse | {{#if: | :}}BluetoothMouse}}/si | • {{#if: UbuntuHelp:BluetoothMouse|සිංහල| [[::BluetoothMouse/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BluetoothMouse | UbuntuHelp:BluetoothMouse | {{#if: | :}}BluetoothMouse}}/sq | • {{#if: UbuntuHelp:BluetoothMouse|shqip| [[::BluetoothMouse/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BluetoothMouse | UbuntuHelp:BluetoothMouse | {{#if: | :}}BluetoothMouse}}/sr | • {{#if: UbuntuHelp:BluetoothMouse|српски / srpski| [[::BluetoothMouse/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BluetoothMouse | UbuntuHelp:BluetoothMouse | {{#if: | :}}BluetoothMouse}}/sv | • {{#if: UbuntuHelp:BluetoothMouse|svenska| [[::BluetoothMouse/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BluetoothMouse | UbuntuHelp:BluetoothMouse | {{#if: | :}}BluetoothMouse}}/th | • {{#if: UbuntuHelp:BluetoothMouse|ไทย| [[::BluetoothMouse/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BluetoothMouse | UbuntuHelp:BluetoothMouse | {{#if: | :}}BluetoothMouse}}/tr | • {{#if: UbuntuHelp:BluetoothMouse|Türkçe| [[::BluetoothMouse/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BluetoothMouse | UbuntuHelp:BluetoothMouse | {{#if: | :}}BluetoothMouse}}/vi | • {{#if: UbuntuHelp:BluetoothMouse|Tiếng Việt| [[::BluetoothMouse/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BluetoothMouse | UbuntuHelp:BluetoothMouse | {{#if: | :}}BluetoothMouse}}/yue | • {{#if: UbuntuHelp:BluetoothMouse|粵語| [[::BluetoothMouse/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BluetoothMouse | UbuntuHelp:BluetoothMouse | {{#if: | :}}BluetoothMouse}}/zh | • {{#if: UbuntuHelp:BluetoothMouse|中文| [[::BluetoothMouse/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BluetoothMouse | UbuntuHelp:BluetoothMouse | {{#if: | :}}BluetoothMouse}}/zh-hans | • {{#if: UbuntuHelp:BluetoothMouse|中文(简体)| [[::BluetoothMouse/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BluetoothMouse | UbuntuHelp:BluetoothMouse | {{#if: | :}}BluetoothMouse}}/zh-hant | • {{#if: UbuntuHelp:BluetoothMouse|中文(繁體)| [[::BluetoothMouse/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:BluetoothMouse|:BluetoothMouse|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#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
6.10 and Newer
- Edit the file /etc/default/bluetooth: `sudo sensible-editor /etc/default/bluetooth`
- Set the variable `HIDD_ENABLED=1`.
- Restart the bluetooth service with the command: `sudo /etc/init.d/bluetooth restart`
Ubuntu Versions Older than 6.10
- `sudo apt-get install bluez-utils`
- Edit the file /etc/default/bluez-utils: `sudo sensible-editor /etc/default/bluez-utils`
- Set the variable `HIDD_ENABLED=1`.
- Restart the bluetooth service with the command: `sudo /etc/init.d/bluez-utils restart`
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 via:
- a label on the bottom of the mouse
- running `hcitool scan`
Once the address is known, 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 |
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 |