![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Ubuntu 9.10 is out!!!
When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu. The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely. |
|
General Help All your general support questions for Ubuntu, Kubuntu, Edubuntu and Xubuntu. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
5 Cups of Ubuntu
![]() Join Date: Jul 2007
Beans: 15
|
Notes: These instructions work for 32-bit Ubuntu. (64-bit needs more work by someone with a 64-bit system. See the 4th post below this.)
1) make sure linux-ubuntu-modules-(kernel version)-generic, bluetooth, bluez-audio, bluez-gnome and bluez-utils are installed 2) uninstall or do not install bluetooth-alsa or bluez-btsco 3) Make sure your bluetooth hub is plugged in and working $ hciconfig -a Code:
hci0: Type: USB
BD Address: 11:11:11:11:11:11 ACL MTU: 678:8 SCO MTU: 48:10
UP RUNNING PSCAN
RX bytes:3935493 acl:271 sco:76851 events:660 errors:0
TX bytes:3437929 acl:264 sco:67270 commands:223 errors:0
Features: 0xbf 0xfe 0x8d 0x78 0x08 0x18 0x00 0x00
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy: RSWITCH HOLD SNIFF PARK
Link mode: SLAVE ACCEPT
Name: 'dell-0'
Class: 0x08010c
Service Classes: Capturing
Device Class: Computer, Laptop
HCI Ver: 1.2 (0x2) HCI Rev: 0x1fe LMP Ver: 1.2 (0x2) LMP Subver: 0x1fe
Manufacturer: Integrated System Solution Corp. (57)
$ sudo hcitool scan Code:
Scanning ...
xx:xx:xx:xx:xx:xx BT Headset-F
6) In it put: Code:
pcm.bluetooth {
type bluetooth
device xx:xx:xx:xx:xx:xx
profile "auto"
}
7) enable bluetooth sound on bluetooth hub $ sudo hciconfig hci0 voice 0x0060 8) Check bluetooth Audio service is running right click the bluetooth icon in your Notification Area click Preferences / Services Tab make sure Audio service is running close it 9) load bluetooth SCO drivers $ sudo modprobe snd_bt_sco $ sudo modprobe sco You might want to put these in /etc/modules 10) turn on the headset and hit volume up on the headset which should cause your PC to ask for the passkey to pair with the headset 11) check bluetooth sees the head set and has realised it is for audio right click the bluetooth icon in your Notification Area click Preferences / Services Tab select 'Audio service' and your headset should be listed below 12) Check bluetooth headset is seen by ALSA $ sudo cat /proc/asound/cards Code:
0 [I82801CAICH3 ]: ICH - Intel 82801CA-ICH3
Intel 82801CA-ICH3 with CS4205 at irq 5
1 [Headset ]: Bluetooth SCO - BT Headset
BT Headset 1
$ alsamixer -c1 where 1 means card 1 listed above. Yours may be different. 14) Testing $ arecord -D bluetooth -f s16_LE test.wav talk for 10 seconds into the headset then press ctrl-C (note it might take a few seconds to start recording) $ aplay -D bluetooth -f S16_LE test.wav Playing WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 8000 Hz, Mono 15) in your software such as skype choose the device called 'bluetooth' which is the pcm.bluetooth name used in .asoundrc I still have problems sometimes... bad recordings, error messages in the logs etc. But it works. Perhaps someone can add this in a more accessable place once it has been verified that it works. Some of my steps may be superfluous but I wanted to get the info out there. It might be neccessary sometimes to remove the headset from the Bluetooth Manager and have it re-add itself by pressing Volume up. Last edited by psyke777; May 11th, 2008 at 08:01 AM.. Reason: added linux-ubuntu-modules-(kernel version)-generic |
|
|
|
|
|
#2 |
|
A Carafe of Ubuntu
![]() Join Date: Nov 2005
Beans: 148
Ubuntu Intrepid Ibex (testing)
|
Re: My Solution: Hardy 8.04, Bluetooth headsets & Skype
This works! Unfortunately, Ekiga still can't use my device. It finds it but says it can't read/write to the device.
|
|
|
|
|
|
#3 | |
|
5 Cups of Ubuntu
![]() Join Date: Jul 2007
Beans: 15
|
Re: My Solution: Hardy 8.04, Bluetooth headsets & Skype
Quote:
https://bugs.launchpad.net/ubuntu/+s...ga/+bug/178555 |
|
|
|
|
|
|
#4 |
|
First Cup of Ubuntu
![]() Join Date: May 2008
Beans: 2
Ubuntu 8.04 Hardy Heron
|
Works for me on Skype. Thanks a lot! I've been struggling with this for quite some time.
|
|
|
|
|
|
#5 |
|
5 Cups of Ubuntu
![]() Join Date: May 2005
Location: Nice
Beans: 24
Ubuntu 9.04 Jaunty Jackalope
|
Re: My Solution: Hardy 8.04 and Bluetooth headsets
Even following these instructions, Skype audio with my bluetooth headset doesn't work:
Code:
ALSA lib ../../../src/pcm/pcm_params.c:2135:(snd_pcm_hw_refine_slave) Slave PCM not usable ALSA lib ../../../src/pcm/pcm.c:2106:(snd_pcm_open_conf) Cannot open shared library /usr/lib32/alsa-lib/libasound_module_pcm_bluetooth.so Searching packages.ubuntu.com for libasound_module_pcm_bluetooth.so returned bluez-audio. I grabbed the deb for i386 and copied libasound_module_pcm_bluetooth.so to /usr/lib32/alsa-lib/ and now audio works-sort of. The sound quality is poor: crackling and static. I also still see the following output: Code:
ALSA lib ../../../src/pcm/pcm_params.c:2135:(snd_pcm_hw_refine_slave) Slave PCM not usable ALSA lib ../../../src/pcm/pcm_params.c:2135:(snd_pcm_hw_refine_slave) Slave PCM not usable |
|
|
|
|
|
#6 |
|
Spilled the Beans
![]() Join Date: Jan 2008
Beans: 14
|
Re: My Solution: Hardy 8.04 and Bluetooth headsets
Thanks the Blue Audio is go..
But Skype have error: Cannot open shared library /usr/lib32/alsa-lib/libasound_module_pcm_bluetooth.so Help me Bye |
|
|
|
|
|
#7 |
|
5 Cups of Ubuntu
![]() Join Date: Jul 2007
Beans: 15
|
Re: My Solution: Hardy 8.04 and Bluetooth headsets
|
|
|
|
|
|
#8 |
|
Spilled the Beans
![]() Join Date: Jan 2008
Beans: 14
|
Re: My Solution: Hardy 8.04 and Bluetooth headsets
Yes I use Ubuntu 64..
Only skype is not works ![]() |
|
|
|
|
|
#9 |
|
May the Ubuntu Be With You!
![]() Join Date: Jan 2008
Location: the space between spaces.
Beans: 1,652
|
Re: My Solution: Hardy 8.04 and Bluetooth headsets
I think it is much simpler to go into Bluez preferences and then click the services tab, enable audio service and click add at the bottom? Maybe just me...
|
|
|
|
|
|
#10 |
|
5 Cups of Ubuntu
![]() Join Date: Dec 2006
Location: Melbourne, Australia
Beans: 39
|
Re: My Solution: Hardy 8.04 and Bluetooth headsets
It seems like far more work than it should be but it works and I am very grateful. Thankyou.
|
|
|
|
| Bookmarks |
| Tags |
| 8.04, bluetooth, hardy, headset, heron |
| Thread Tools | |
| Display Modes | |
|
|