Page 1 of 3 123 LastLast
Results 1 to 10 of 96

Thread: My Solution: Hardy 8.04 and Bluetooth headsets

Hybrid View

  1. #1
    Join Date
    Jul 2007
    Beans
    15

    Talking My Solution: Hardy 8.04, Bluetooth headsets & Skype

    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)
    4) discover your headset address by putting the headset in discoverable mode then using the command:
    $ sudo hcitool scan
    Code:
    Scanning ...
            xx:xx:xx:xx:xx:xx       BT Headset-F
    5) Add .asoundrc file to your home directory
    6) In it put:
    Code:
    pcm.bluetooth {
      type bluetooth
      device xx:xx:xx:xx:xx:xx
      profile "auto"
    }
    where xx:xx:xx:xx:xx:xx is the address of your head set above.


    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
    13) adjust volumes for headset
    $ 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 01:01 PM. Reason: added linux-ubuntu-modules-(kernel version)-generic

  2. #2
    Join Date
    Nov 2005
    Beans
    149
    Distro
    Ubuntu 9.10 Karmic Koala

    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. #3
    Join Date
    Jul 2007
    Beans
    15

    Re: My Solution: Hardy 8.04, Bluetooth headsets & Skype

    Quote Originally Posted by Permafrost91 View Post
    This works! Unfortunately, Ekiga still can't use my device. It finds it but says it can't read/write to the device.
    This might help?

    https://bugs.launchpad.net/ubuntu/+s...ga/+bug/178555

  4. #4
    Join Date
    May 2008
    Beans
    2
    Distro
    Ubuntu 8.04 Hardy Heron

    Smile Re: My Solution: Hardy 8.04 and Bluetooth headsets

    Works for me on Skype. Thanks a lot! I've been struggling with this for quite some time.

  5. #5
    Join Date
    May 2005
    Location
    Nice
    Beans
    24
    Distro
    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
    I assume this is because I am running 32-bit Skype on Hardy 64-bit.

    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
    I think it's quite a shame that there are so many hurdles to getting a bluetooth headset & Skype to work with Ubuntu. Any suggestions on getting Bluetooth headset + Skype + Ubuntu 8.05 amd64 working better?

  6. #6
    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. #7
    Join Date
    Oct 2006
    Location
    Hollywood, CA
    Beans
    125
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: My Solution: Hardy 8.04, Bluetooth headsets & Skype

    Quote Originally Posted by psyke777 View Post
    2) uninstall or do not install bluetooth-alsa or bluez-btsco
    Why don't you want bluetooh-alsa or bluez-btsco installed? Do those two packages not function properly, or do they need more development?

  8. #8
    Join Date
    Jun 2008
    Beans
    3

    Re: My Solution: Hardy 8.04, Bluetooth headsets & Skype

    Quote Originally Posted by Zer0Nin3r View Post
    Why don't you want bluetooh-alsa or bluez-btsco installed? Do those two packages not function properly, or do they need more development?
    bluetooth-alsa comes with Hardy 8.04 by default, as well as all the other bluez-utils and whatnot

    Quote Originally Posted by sravi_in View Post
    I followed the instructions above to setup skype and music player correctly. But the issue is now only one application is able to use bluetooth device exclusively.

    So if I am listening to music in amarok, i won't be able to open kaffine or i will miss incoming skype call. Kaffine says the device is busy and cannot use it. Skype says failure to caputre audio.

    Is there any solution for this?
    As far as I know, you can only have one configured at a time.. I know it sucks, but we're definitely making progress.. I got around this by having 2 different bluetooth devices which i connect and configure separately.

  9. #9
    Join Date
    Dec 2007
    Beans
    4

    Re: My Solution: Hardy 8.04 and Bluetooth headsets

    I have followed the directions several times, have gotten the headset to pair and even beep when I begin to do a test record so I know there is a connection.

    However it does not record anything and when I try to play something back through the headset the capslock and scroll lock lights on my keyboard begin to blink and I am unable to input anything from mouse or keyboard and must force the laptop to power down.

    This happens both within Skype and other programs.

    I am using a Targus USB dongle (MBT-1203) and a LG HBM-750 Headset.

    Are either of these not compatible with sound on Ubuntu or am I not doing something correctly?

  10. #10
    Join Date
    May 2007
    Beans
    37

    Re: My Solution: Hardy 8.04 and Bluetooth headsets

    Quote Originally Posted by g3k View Post
    I have followed the directions several times, have gotten the headset to pair and even beep when I begin to do a test record so I know there is a connection.

    However it does not record anything and when I try to play something back through the headset the capslock and scroll lock lights on my keyboard begin to blink and I am unable to input anything from mouse or keyboard and must force the laptop to power down.

    This happens both within Skype and other programs.

    I am using a Targus USB dongle (MBT-1203) and a LG HBM-750 Headset.

    Are either of these not compatible with sound on Ubuntu or am I not doing something correctly?
    I don't know if you figured it out yet or not, but I had the same problem. Whenever outputting any sound to the BT headset, my caps lock and scroll lock lights would flash too. From what i found, it was going into kernel panic? But I was using an old generic Broadcom dongle that I got from work which is definitely 1.1. I picked up a cheap 2.0 adapter today and plugged it in and it now works. I searched the forums and it looks like one other person had the same issue. So hopefully that helps.

    And thanks to the OP for the post. I got my headset working with skype now also.

Page 1 of 3 123 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •