LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-05-2011, 11:49 AM   #1
xj25vm
Member
 
Registered: Jun 2008
Posts: 331

Rep: Reputation: 31
Problems connecting bluetooth headset to Linux box


I'm trying to connect my handsfree Jabra BT2010 headset with my Linux laptop. I'm using a bluetooth dongle with the Cambridge Silicone Radio chip which works very well on another computer, with Asterisk and chan_mobile (connecting to a Nokia mobile phone).

I've managed to pair up with the headset. I've put the following in /etc/asound.conf:

Code:
pcm.btheadset {
   type bluetooth
   device  00:1D:82:39:AD:FC
   profile "voice"
}

ctl.btheadset {
  type bluetooth
  profile "voice"
}
When I try to play through it with aplay, I get the following:

Code:
# aplay -D btheadset Front_Right.wav 
Playing WAVE 'Front_Right.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
Warning: rate is not accurate (requested = 48000Hz, got = 8000Hz)
         please, try the plug plugin (-Dplug:btheadset)
ALSA lib audio/pcm_bluetooth.c:1613:(audioservice_expect) BT_START_STREAM failed : Success(0)
ALSA lib audio/pcm_bluetooth.c:1572:(audioservice_recv) Too short (1 bytes) IPC packet from bluetoothd
aplay: set_params:1123: Unable to install hw params:
ACCESS:  RW_INTERLEAVED
FORMAT:  S16_LE
SUBFORMAT:  STD
SAMPLE_BITS: 16
FRAME_BITS: 16
CHANNELS: 1
RATE: 8000
PERIOD_TIME: 125000
PERIOD_SIZE: 1000
PERIOD_BYTES: 2000
PERIODS: 4
BUFFER_TIME: 500000
BUFFER_SIZE: 4000
BUFFER_BYTES: 8000
TICK_TIME: [0 0]
I just can't find an up-to-date tutorial on the Internet for connecting bluetooth headsets to Linux/bluez. There are lots of them, but the options for bluez and alsa seem to have changed so much over the years - I just can't work out which are the current options.

This laptop doesn't have pulse-audio - it is just alsa. This Jabra headset is a simple, mono device, for mobile phone calls - not some A2DP stereo device.

Linux: Slackware 13.37
Bluez: 4.91
Kernel: 2.6.37.6
Alsa: 1.0.24
Bluetooth adapter: CSR based

Any hints are much appreciated.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Bluetooth headset, Alsa - no soundcard in /proc/asound/cards (but headset works) simopal6 Linux - Hardware 1 04-29-2009 09:07 AM
connecting bluetooth headset through kbluetooth in kubuntu 8.10 salfuser Linux - Newbie 0 03-10-2009 06:53 AM
Problems with Bluetooth headset in Feisty PseudoRandom Linux - Hardware 5 10-12-2007 05:30 PM
Linux machine as a bluetooth headset? untoldone Linux - Software 0 07-10-2007 08:28 AM
Bluetooth headset not connecting Kubuntu Frank Leone Linux - Newbie 1 07-10-2006 11:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration