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

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


-- Frank Dean - 20 Jul 2008

Related Topics: GprsModem, CellPhoneHints, ThinkPadBlueTooth, LinuxSound, SkypeSound