Bluetooth
Debian Linux Bluetooth Packages
Debian 4.0 (Etch) install the following packages:
# aptitude install bluez-gnome bluez-utils
Bluez Utils
Scan
$ hcitool scan
Information
$ sudo hcitool info DEVICE
e.g.
$ sudo hcitool info AA:AA:AA:AA:AA:AA:AA
List Folders
$ obexftp -b DEVICE -l
$ obexftp -b DEVICE -c FOLDER -l SUB-FOLDER
Fetch File
$ obexftp -b DEVICE -c FOLDER -g FILE
Push File
$ obexftp -b DEVICE -c FOLDER -p /PATH/TO/LOCAL/FILE
Bluetooth Modem
- http://www.lynchconsulting.com.au/blog/index.cfm/2006/12/11/Nokia-N73-Bluetooth-modem-with-Ubuntu-Linux-Howto
- http://www.howtoforge.com/linux_internet_access_gprs_edge_via_bluetooth_gsm_phone
- http://javier.rodriguez.org.mx/index.php/2008/09/28/howto-use-your-nokia-n95-cellphone-as-a-bluetooth-modem-for-linux
- http://tekguru.wordpress.com/2008/01/19/howto-airtel-gprs-on-linux-via-bluetooth/
Bluetooth Audio Streaming
Install the following packages:
sudo apt-get install bluez pulseaudio pulseaudio-module-bluetooth pavucontrol
Optionally install blueman which provides more control and information than the standard tools.
sudo apt-get install blueman
Create the ~/.asoundrc configuration file:
cat >> ~/.asoundrc <<EOF
pcm.!default plug:pulse
pcm.pulse {
type pulse
}
EOF
See Bluetooth handsfree with laptop in debian squeeze for more information.
Debian 8 (Jessie)
You don't seem to need the ~/.asoundrc file anymore. If you want a headset profile to work with alsa and bluetooth, you need to install the pulseaudio-module-bluetooth package from Debian Backports
$ sudo apt-get install -t jessie-backports pulseaudio-module-bluetooth
Resources
- HOWTO/BluetoothMouse - Debian Wiki
- Bluetooth host-to-host HOWTO
- Bluetooth handsree with laptop in debian squeeze
-- Frank Dean - 20 Jul 2008
Related Topics: GprsModem, CellPhoneHints, ThinkPadBlueTooth, LinuxSound, SkypeSound