特殊:Badtitle/NS100:BluetoothMouse:修订间差异
小 New page: {{From|https://help.ubuntu.com/community/BluetoothMouse}} {{Languages|php5}} == Bluetooth Mouse == Many people have reported problems with connecting a Bluetooth mouse and making it stay c... |
小无编辑摘要 |
||
第8行: | 第8行: | ||
<pre><nowiki> | <pre><nowiki> | ||
sudo apt-get install bluez-utils | sudo apt-get install bluez-utils | ||
</nowiki></ | </nowiki></pre> | ||
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: | ||
1. Edit the file /etc/default/bluetooth: `sudo nano -w /etc/default/bluetooth` | 1. Edit the file /etc/default/bluetooth: `sudo nano -w /etc/default/bluetooth` | ||
第21行: | 第21行: | ||
<pre><nowiki> | <pre><nowiki> | ||
sudo hidd --search | sudo hidd --search | ||
</nowiki></ | </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. | ||
第27行: | 第27行: | ||
<pre><nowiki> | <pre><nowiki> | ||
sudo hidd --connect deviceaddr | sudo hidd --connect deviceaddr | ||
</nowiki></ | </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. |
2007年5月13日 (日) 12:47的版本
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/BluetoothMouse }} |
点击翻译: |
English {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}BluetoothMouse}}/af | • {{#if: php5|Afrikaans| [[::BluetoothMouse/af|Afrikaans]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}BluetoothMouse}}/ar | • {{#if: php5|العربية| [[::BluetoothMouse/ar|العربية]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}BluetoothMouse}}/az | • {{#if: php5|azərbaycanca| [[::BluetoothMouse/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}BluetoothMouse}}/bcc | • {{#if: php5|جهلسری بلوچی| [[::BluetoothMouse/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}BluetoothMouse}}/bg | • {{#if: php5|български| [[::BluetoothMouse/bg|български]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}BluetoothMouse}}/br | • {{#if: php5|brezhoneg| [[::BluetoothMouse/br|brezhoneg]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}BluetoothMouse}}/ca | • {{#if: php5|català| [[::BluetoothMouse/ca|català]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}BluetoothMouse}}/cs | • {{#if: php5|čeština| [[::BluetoothMouse/cs|čeština]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}BluetoothMouse}}/de | • {{#if: php5|Deutsch| [[::BluetoothMouse/de|Deutsch]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}BluetoothMouse}}/el | • {{#if: php5|Ελληνικά| [[::BluetoothMouse/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}BluetoothMouse}}/es | • {{#if: php5|español| [[::BluetoothMouse/es|español]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}BluetoothMouse}}/fa | • {{#if: php5|فارسی| [[::BluetoothMouse/fa|فارسی]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}BluetoothMouse}}/fi | • {{#if: php5|suomi| [[::BluetoothMouse/fi|suomi]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}BluetoothMouse}}/fr | • {{#if: php5|français| [[::BluetoothMouse/fr|français]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}BluetoothMouse}}/gu | • {{#if: php5|ગુજરાતી| [[::BluetoothMouse/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}BluetoothMouse}}/he | • {{#if: php5|עברית| [[::BluetoothMouse/he|עברית]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}BluetoothMouse}}/hu | • {{#if: php5|magyar| [[::BluetoothMouse/hu|magyar]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}BluetoothMouse}}/id | • {{#if: php5|Bahasa Indonesia| [[::BluetoothMouse/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}BluetoothMouse}}/it | • {{#if: php5|italiano| [[::BluetoothMouse/it|italiano]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}BluetoothMouse}}/ja | • {{#if: php5|日本語| [[::BluetoothMouse/ja|日本語]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}BluetoothMouse}}/ko | • {{#if: php5|한국어| [[::BluetoothMouse/ko|한국어]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}BluetoothMouse}}/ksh | • {{#if: php5|Ripoarisch| [[::BluetoothMouse/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}BluetoothMouse}}/mr | • {{#if: php5|मराठी| [[::BluetoothMouse/mr|मराठी]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}BluetoothMouse}}/ms | • {{#if: php5|Bahasa Melayu| [[::BluetoothMouse/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}BluetoothMouse}}/nl | • {{#if: php5|Nederlands| [[::BluetoothMouse/nl|Nederlands]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}BluetoothMouse}}/no | • {{#if: php5|norsk| [[::BluetoothMouse/no|norsk]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}BluetoothMouse}}/oc | • {{#if: php5|occitan| [[::BluetoothMouse/oc|occitan]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}BluetoothMouse}}/pl | • {{#if: php5|polski| [[::BluetoothMouse/pl|polski]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}BluetoothMouse}}/pt | • {{#if: php5|português| [[::BluetoothMouse/pt|português]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}BluetoothMouse}}/ro | • {{#if: php5|română| [[::BluetoothMouse/ro|română]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}BluetoothMouse}}/ru | • {{#if: php5|русский| [[::BluetoothMouse/ru|русский]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}BluetoothMouse}}/si | • {{#if: php5|සිංහල| [[::BluetoothMouse/si|සිංහල]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}BluetoothMouse}}/sq | • {{#if: php5|shqip| [[::BluetoothMouse/sq|shqip]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}BluetoothMouse}}/sr | • {{#if: php5|српски / srpski| [[::BluetoothMouse/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}BluetoothMouse}}/sv | • {{#if: php5|svenska| [[::BluetoothMouse/sv|svenska]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}BluetoothMouse}}/th | • {{#if: php5|ไทย| [[::BluetoothMouse/th|ไทย]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}BluetoothMouse}}/tr | • {{#if: php5|Türkçe| [[::BluetoothMouse/tr|Türkçe]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}BluetoothMouse}}/vi | • {{#if: php5|Tiếng Việt| [[::BluetoothMouse/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}BluetoothMouse}}/yue | • {{#if: php5|粵語| [[::BluetoothMouse/yue|粵語]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}BluetoothMouse}}/zh | • {{#if: php5|中文| [[::BluetoothMouse/zh|中文]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}BluetoothMouse}}/zh-hans | • {{#if: php5|中文(简体)| [[::BluetoothMouse/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}BluetoothMouse}}/zh-hant | • {{#if: php5|中文(繁體)| [[::BluetoothMouse/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:php5|: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
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 ||
CategoryDocumentation CategoryHardware CategoryBluetooth