HOWTO install a headset for Linux
Apr 10th, 2006 by carles
# HOWTO install a headset for Linux
# Carles Sanz Casañas (2006-04-10)
# This Howto has been made after reading the Bluetooth-alsa Project
# I did it because I’m using Ekiga for VoIP and I need this configuration at differents pc’s (job, home, etc)
# At the moment this works well in my Debian-Etch (at work) and in my Ubuntu-Breezy (at home)
# My Bluetooth USB: Energy Sistem Linnker 1550
# My Bluetooth Headset: Siemens HHB-600
# What is my current kernel version?
root@pc# uname -a
# example: Linux pc 2.6.15-1-ARCHITECTURE
# Do I have the bluetooth usb connected?
root@pc# lsusb
# example: Bus 001 Device 002: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
# What is the headset address?
root@pc# hcitool scan
# obtain XX:XX:XX:XX:XX:XX address
# Is the headset in reception mode? (look the headset manual)
# Work with superuser
# sudo su or su
# Install packages required
root@pc# aptitude update
root@pc# aptitude install bluez-utils bluez-pin automake1.7 libbluetooth1-dev libasound2-dev libtool libao-dev libao2 cvs linux-headers-`uname -r`
# Install and configure
root@pc# cd /root/
root@pc# cvs -d:pserver:anonymous@cvs.sf.net:/cvsroot/bluetooth-alsa login
# password: press enter
root@pc# cvs -d:pserver:anonymous@cvs.sf.net:/cvsroot/bluetooth-alsa co btsco
root@pc# cd /root/btsco/
root@pc# ./bootstrap
root@pc# ./configure
root@pc# make
root@pc# make install
root@pc# make maintainer-clean
root@pc# cd /root/btsco/kernel
root@pc# make
root@pc# make install
root@pc# depmod -e
root@pc# make clean
root@pc# modprobe snd_bt_sco
root@pc# echo “snd_bt_sco” >> /etc/modules
# Repeat these two instructions every time you want to use it
root@pc# hciconfig hci0 voice 0×0060
root@pc# btsco XX:XX:XX:XX:XX:XX &
# In background mode
# The headset should be in reception mode and then a pop-up will prompt for the headset’s PIN
# A problem in Ubuntu-Breezy
root@pc# btsco XX:XX:XX:XX:XX:XX &
# Error: Failed to connect to SDP server: Permission denied Assuming channel 2
# Solution
# Restart bluez-utils
root@pc# /etc/init.d/bluez-utils restart
# Change configuration editing this file
root@pc# vi /etc/bluetooth/hcid.conf
# Put/Change this info
## auth disable;
## encrypt disable;
# Thanks a lot to the Bluetooth-alsa Project, the ubuntu forums, and Pep for his revision ![]()
