- Ubuntu Documentation
- Ubuntu Documentation
- Дополнительная информация
- Ubuntu Documentation
- Introduction
- Requirements
- Installation and Configuration
- Ubuntu 10.04 Install via the command line
- Ubuntu 11.04 Install via the command line
- Older documentation:
- Manual Discovery
- Setup Devices
- Find Device Addresses
- Connect Devices for Current Session Only
- Connect Devices at Startup
- Using Devices as Modems
- Using audio devices
- Troubleshooting
- «obex://[xx:xx:xx:xx:xx:xx]» is not a valid location.
- hcitool scan/dev/inq »’Connection timed out»’ Error
- Comments
- Настройка Bluetooth в Ubuntu
Ubuntu Documentation
Before you can use a Bluetooth device like a mouse or a headset, you first need to connect your computer to the device. This is also called pairing the Bluetooth devices.
Open the Activities overview and start typing Bluetooth .
Click on Bluetooth to open the panel.
Make sure Bluetooth is enabled: the switch at the top should be set to on. With the panel open and the switch on, your computer will begin searching for devices.
Make the other Bluetooth device discoverable or visible and place it within 5-10 meters (about 16-33 feet) of your computer.
Click the device in the Devices list. The panel for the device will open.
If required, confirm the PIN on your other device. The device should show you the PIN you see on your computer screen. Confirm the PIN on the device (you may need to click Pair or Confirm ), then click Confirm on the computer.
You need to finish your entry within about 20 seconds on most devices, or the connection will not be completed. If that happens, return to the device list and start again.
The entry for the device in the Devices list will show a Connected status.
To edit the device, click on it in the Device list. You will see a panel specific to the device. It may display additional options applicable to the type of device to which you are connecting.
Close the panel once you have changed the settings.
When one or more Bluetooth devices are connected, the Bluetooth icon appears in the system status area.
Источник
Ubuntu Documentation
You can turn Bluetooth on to connect to other Bluetooth devices, or turn it off to conserve power. To turn Bluetooth on:
Open the Activities overview and start typing Bluetooth .
Click on Bluetooth to open the panel.
Set the switch at the top to on.
Many laptop computers have a hardware switch or key combination to turn Bluetooth on and off. Look for a switch on your computer or a key on your keyboard. The keyboard key is often accessed with the help of the Fn key.
Чтобы выключить Bluetooth:
Open the system menu from the right side of the top bar.
Select Not In Use . The Bluetooth section of the menu will expand.
Компьютер остаётся видимым пока открыта панель Bluetooth .
Дополнительная информация
You can choose the displayed language by adding a language suffix to the web address so it ends with e.g. .html.en or .html.de.
If the web address has no language suffix, the preferred language specified in your web browser’s settings is used. For your convenience:
[ Change to English Language | Change to Browser’s Preferred Language ]
The material in this document is available under a free license, see Legal for details.
For information on contributing see the Ubuntu Documentation Team wiki page. To report errors in this documentation, file a bug.
Источник
Ubuntu Documentation
Content Cleanup Required
This article should be cleaned-up to follow the content standards in the Wiki Guide. More info.
Introduction
Bluetooth is a widely supported local area communications technology for communications with cellphones, headsets, keyboards, mice, PDAs, and storage devices. See also BluetoothRemoteControl and BluetoothAudio on Ubuntu.
Requirements
For a desktop or laptop without Bluetooth support use a Bluetooth dongle that connects through USB. While adapters can be found all over the web some do not work well with free software systems. The free software foundation recommends users purchase hardware with free drivers. Most cards are not clearly marked. ThinkPenguin.com is an exception and explicitly provide support for Ubuntu and other distributions. Alternatively users can investigate free software compatible bluetooth chipsets and try to locate a card based on this information.
For Dell laptops install the latest drivers from Dell’s website in Windows in order for the bluetooth module to work in Linux. (Required for D430 with Gutsy / Hardy and D830 and D630) (http://ubuntuforums.org/showthread.php?t=572335 https://wiki.ubuntu.com/LaptopTestingTeam/DellLatitudeD430#bluetooth)
For Dell laptops with a Dell Wireless 355 Bluetooth card where the card is turned off, reenable the card before installation. Go to a utility in Windows to turn it on before you can reinstall the driver. If you turn the card off in Windows reenable the card so Ubuntu can recognize it.
Installation and Configuration
Ubuntu 10.04 Install via the command line
python-gobject and python-dbus are needed for the python scripts in /usr/share/doc/bluez/examples/ to work.
Here are the scripts located. Discover the hciX location of the dongle with:
Your Bluetooth device will have a different id.
XX:XX:XX:XX:XX:XX is the MAC or BT ADD or BlueTooth Address of the bt device. Press the reset or pair button on your keyboard, simple-agent will ask to specify a pin like 1111, then type that pin on the bt keyboard and your bt keyboard is paired.
To set the device as trusted
To restart the bluetooth daemon.
Check if the device is added:
The last lines will list your device.
Ubuntu 11.04 Install via the command line
python-gobject and python-dbus are needed for the python scripts bluez-simple-agent and bluez-test-device to work.
Discover the hciX location of the dongle with:
Your Bluetooth device will have a different id.
XX:XX:XX:XX:XX:XX is the MAC or BT ADD or BlueTooth Address of the bt device. Press the reset or pair button on your keyboard, simple-agent will ask to specify a pin like 1111, then type that pin on the bt keyboard and your bt keyboard is paired.
To set the device as trusted
To restart the bluetooth daemon.
Check if the device is added:
The last lines will list your device.
Additionally, according to this thread (http://www.raspberrypi.org/phpBB3/viewtopic.php?f=27&t=6838), it may be necessary, after authenticating your keyboard, to run
to actually get the Bluetooth device to connect to the computer (I had to do this when using a Logitech Dinovo Edge with a generic Bluetooth adapter). After this, set the device to be trusted as above, and the connection should persist upon reboot.
Older documentation:
Before you begin open up the terminal and type the following:
Restart the bluetooth server to ensure your pc can communicate with a bluetooth device
By default the BlueTooth notification icon appears, although the service may not. If the service is not running try the service command, otherwise you can now connect.
For jaunty (9:04) and above verify you have a supported adapter connected. When the icon appears, right click and configure your preferences. Devices should auto connect to your PC where you configure your security options.
To configure mail for your phone, install the gnome-bluetooth package so the system finds it in the accessories menu. Send a file by right clicking the file and selecting Send-to. To automate, select System —> Preferences —> Sessions. Add a Startup program. For example you can name it, «Bluetooth File Transfer» and in the Command box, enter «gnome-obex-server». Click OK.
Manual Discovery
Open a terminal window and install the required packages with their dependencies:
Connect your Bluetooth device and restart the Bluetooth services:
Verify your Bluetooth device is detected along with the appropriate modules. View the lsusb (in case of usb device) output: lsusb output:
Review the output of hcitool dev for all your system’s Bluetooth devices.
hcitool dev output:
Your Bluetooth device will have a different id.
- If the id is all zeros, restart the bluez-utils service and retry.
Setup Devices
Find Device Addresses
Locate the device address, make the device discoverable (a «Connect» button for keyboards and mice or check the manual) and search for the device by the following:
Each device’s address has the aa:bb:cc:dd:ee:ff format. Hint: If no devices are shown for Edgy Eft (6.10), try the following:
See bug #70718. If this helps, you may add the hciconfig command (without «sudo») to your /etc/rc.local file for a permanent workaround.
Connect Devices for Current Session Only
For a temporary connection, use the address of the device ‘aa:bb:cc:dd:ee:ff’
You can now connect.
» height=»16″ src=»/moin_static198/light/img/icon_cool.png» title=»Info » width=»16″/> For a "Can't create HID control channel: Connection refused" error, the discovery period timed out. Try again but enter the command more quickly.
Connect Devices at Startup
To connect automatically, edit the configuration file:
Look in the same file for a line close to:
Leave the «—master» command or remove it, it depends on the device. If you have problems with «—master», remove it or vice versa.
Add additional «—connect» arguments for the device you want to connect to at startup:
Save and add HIDP to /etc/modules:
Your Bluetooth devices should now connect at startup.
Using Devices as Modems
Using audio devices
For Bluetooth Headsets specifically refer to BluetoothHeadset
Troubleshooting
«obex://[xx:xx:xx:xx:xx:xx]» is not a valid location.
If you receive this error in Gutsy enter the following:
Although this gives «Couldn’t display «obex://[xx:xx:xx:xx:xx:xx]».» for some. In this case try:
See this forum thread for information.
hcitool scan/dev/inq »’Connection timed out»’ Error
Reset the adapter:
The hcitool options can now connect and if often required despite an automatic connection setup.
Comments
Reboot after you install bluez packages even if your dongle is recognized after installation. 2/8/2009 bluez-gnome bug:
BluetoothSetup (последним исправлял пользователь knome 2013-12-14 00:23:47)
The material on this wiki is available under a free license, see Copyright / License for details
You can contribute to this wiki, see Wiki Guide for details
Источник
Настройка Bluetooth в Ubuntu
Думаю у многих пользователей/новичков которые пересели на систему Ubuntu возник вопрос, а как настроить Bluetooth. Как я подразумеваю у вас уже есть Bluetooth адаптер и вы его уже вставили в USB порт на вашем компьютере. Далее приступим к более детальной настройке, чтобы вы имели возможность полноценно им пользоваться.
Первым делом включим Центр приложений Ubuntu где в поисковой строке введем — Bluetooth Manager:
выбираем данное приложение и нажмем на кнопку установить, далее ищем установленный менеджер bluetooth в списке установленных приложений:
далее можно запустить приложение которое вы установили Bluetooth Manager.
После после запуска откроется менеджер где у нас появится возможность добавить наше мобильное устройство и обмениваться данными или к примеру перебросить нужные файлы с телефона на компьютер или наоборот.
Если при попытке поиска у вас выдаст ошибку в Ubuntu 20.04 LTS и выше и не захочет находить устройство и будет предлагать отправить отчет об ошибке, вам нужно обновить пакеты для корректной работы Bluetooth, откройте терминал и выполните команду:
после проблема с невозможностью найти устройства решится и ошибок быть не должно.
Включим bluetooth в телефоне и нажмем поиск в менеджере устройств:
нашли мы наше устройство
Настроим сопряжение устройства с компьютером, правой кнопкой мыши по устройству мы откроем меню управления устройством где нужно выбрать пункт «Сопряжение»:
На данном этапе придумайте пин с помощью которого вы сейчас подключитесь на мобильном телефоне и настроите сопряжение устройства с компьютером, можно ввести пин с 4 цифр, подобно 1111 и нажать на кнопку ok.
после на телефоне вам предложит ввести созданный пин, вводим и жмем ок.
Готово, устройство успешно сопряжено данный этап настройки завершен.
Теперь вы имеете полный доступ к обмену файлами с компьютера на телефон или аналогично на оборот с телефона на компьютер. Жмем кнопку отправить файл и выбираем что отправить, пример ниже (отправляем фото с компьютера на телефон) :
не забывайте, что после отправки файла, на телефоне появляется уведомление и вам достаточно лишь принять запрос на получение файла который передается.
Дополнительно, знаю, у многих пользователей нет кабельного интернета или нет возможности к примеру выделить 300-400 гривен(рублей) для покупки модема если у вашей местности нет кабельного провайдера.
Выход один, вот у вас уже есть bluetooth адаптер:
- менеджер устройств мы уже установили
- устройство добавили
- сопряжение настроили
Мы можем настроить интернет и будем серфить по сети через компьютер с помощью нашего телефона и адаптера bluetooth, что для этого нужно, мелочь вот и все. У вас на мобильном устройстве/смартфоне должен быть настроен интернет и подключены пакетные данные, то есть мобильный оператор должен вам предоставлять некий лимит мегабайт на день им мы и будем пользоваться через компьютер.
Если у вас уже есть пакетные данные еще лучше у меня есть, сопряжение с устройством мы уже произвели, смотрим пример ниже как все легко делается:
На этом пока все. Все вопросы задаем в комментариях.
Источник