Bluetooth Headphone and Fedora 4 - configuration


bluetooth-logo-thumb

One of my buddy was trying to get his Bluetooth Headset to his desktop , and he asked me to help him. I tried with my laptop after rapidly searching the net, and atlast succeeded. i thought it will be very easy to connect and use it with Fedora Core 4 Linux, but it was not so…..

fedora

Fedora and Bluetooth Headset How to

What you need:

bluetooth support (Bluez with library) , Alsa ( with the devel packages ), automake, a Bluetooth Headphone supported by list available at http://bluetooth-alsa.sourceforge.net/ , and Obviously a Computer with Fedora loaded :D

Preparation:

* Install the bluetooth support (Bluez)
yum install bluez-libs bluez-pin bluez-utils bluez-hcidump bluez-utils-cup

* Install Alsa, with the devel packages
yum install alsa-tools alsa-lib alsa-utils alsa-lib-devel

* Install automake
yum install automake

* Ensure that you are using a 2.6* kernel and that you have the emu10k1 module (Sound blaster Live) compiled (you don’t need to load it or anything - and Fedora Core 4 should have it as part of their standard Kernel RPM by default anyway. )

Installation:

* Ensure that bluetooth is up and running on your PC
hcitool dev should return the MAC address of your bluetooth device in the form:
Devices:
hci0 11:11:11:11:11:11

* Put your headset into pairing mode
* Scan for your headset by running
* hcitool scan - this will return the MAC and name of your headset device.
* Connect to the headset using:

hcitool cc MACofHeadset

If you have any problems then you should check the files in /etc/bluetooth. Mine are as follows:

hcid.conf

options {
autoinit yes;
security user;
pairing multi;
# PIN helper
pin_helper /etc/bluetooth/feed-pin.sh;
# D-Bus PIN helper
#dbus_pin_helper;
}

device {
name "%h-%d";
# Local device class
class 0×120104;
# Inquiry and Page scan
iscan enable; pscan enable;
lm accept;
lp rswitch,hold,sniff,park;
# Authentication and Encryption (Security Mode 3)
auth enable;
encrypt enable;
}

rfcomm.conf

rfcomm0 {
# Automatically bind the device at startup
bind no;

# Bluetooth address of the device
device 11:11:11:11:11:11;

# RFCOMM channel for the connection
channel 1;

# Description of the connection
comment "Bluetooth Device
}

Installing and using BTSCO:

Once the device is paired the next step is to download and install BTSCO, I installed from CVS:

* Check btsco out from cvs:

cvs -d:pserver:anonymous@cvs.sf.net:/cvsroot/bluetooth-alsa log
cvs -d:pserver:anonymous@cvs.sf.net:/cvsroot/bluetooth-alsa co btsco

* Compile:

./bootstrap
./configure
make
make install
make maintainer-clean

* Build the kernel module:

cd kernel
make
make install
depmod -e
make clean

* Load the module

modprobe snd-bt-sco

* Connect btsco to your headset

btsco -v MACofHeadset

And Voila !! Now you will find another Sound device on list of sound devices. Let me know if you know any other easier process.

Popularity: 39% [?]

Listen to this article Listen to this post
Bookmark and Share: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • Technorati
  • del.icio.us
  • YahooMyWeb
  • blinkbits
  • Furl
  • IndianPad
  • feedmelinks
  • blogmarks
  • Internetmedia
  • Linkter
  • MyShare
  • PlugIM
  • Simpy
  • Spurl

Leave a Comment

You must be logged in to post a comment.


Close
E-mail It