[Bug 306721] Re: Bluetooth is completely broken on Ubuntu 8.10

Jeremy Visser jeremy.visser at gmail.com
Wed Dec 10 03:48:05 GMT 2008


** Description changed:

  Binary package hint: bluez
  
  In Ubuntu 8.10, Bluetooth is completely broken. I can reproduce this
  from two fresh installs of Ubuntu 8.10, and from the live CD. I have
  tested this on three computers, with two different Bluetooth dongles,
  and one built-in Bluetooth device. No difference -- it is broken
  regardless.
  
      $ lsb_release -rd
      Description:    Ubuntu 8.10
      Release:        8.10
  
      $ apt-cache policy bluez
      bluez:
        Installed: 4.12-0ubuntu5
        Candidate: 4.12-0ubuntu5
        Version table:
       *** 4.12-0ubuntu5 0
              500 http://apt.sunriseroad.net intrepid/main Packages
              100 /var/lib/dpkg/status
  
  Bluetooth file sharing is broken. Attempting to pair devices with the
  GUI makes the remote device ask for a PIN code, then the local machine
  instantly fails with "Pairing with whatever-device failed".
  
  Bluetooth audio is broken. I can reproduce this from, as I said, the
  live CD, with several different dongles. There are no updates to the
  bluez-* packages available to install.
  
  When trying to add a Bluetooth headset (X5 Stereo), I first add the
  following to .asoundrc (or /etc/asound.conf):
  
      pcm.bluetooth {
          type bluetooth
          device "00:00:00:00:00:00" #obviously, I hid my bd address for privacy here
      }
  
  Then attempt to play sound through it:
  
-     $ aplay -D bluetooth /usr/share/sounds/ubuntu/stereo/desktop-
- login.ogg
+     $ oggdec -o - /usr/share/sounds/ubuntu/stereo/desktop-login.ogg |
+ aplay -D bluetooth
  
  This results in:
  
      ALSA lib pcm_bluetooth.c:1619:(bluetooth_init) BT_GETCAPABILITIES failed : Input/output error(5)
      aplay: main:583: audio open error: Input/output error
  
  The same error occurs if I try loading the PulseAudio module-alsa-sink
  module:
  
      $ pactl load-module module-alsa-sink device=bluetooth
  
  As I said, I can reproduce this with different dongles, different PCs on
  fresh installs or on live CDs. Also, I am following directions.
  Therefore, either the documentation is broken, or Ubuntu is broken.
  
  Also, on one machine, I installed PulseAudio 0.9.13 on 8.10 from a PPA
  to see if PulseAudio → Bluetooth without ALSA in between would fix it.
  However, I got this error:
  
      module-bluetooth-device.c: BT_GETCAPABILITIES failed : Input/output error (5)
      module-bluetooth-device.c: Failed to get device capabilities
  
  I can, however, scan for devices with hcitool:
  
      $ hcitool scan
      Scanning ...
          00:00:00:00:00:00    X5 Stereo v1.3
          00:00:00:00:00:00    moonwood
          00:00:00:00:00:00    Scrubb
  
  Obviously, the BD addresses have been blanked out for privacy purposes.
  When actually running the command, the addresses are fine.
  
  When attempting to run all the above commands as root, the exact same
  result occurs. Therefore, it is not a user/group problem.
  
  Please note that it does not matter whether or not the Bluetooth dongle
  is present or not or whether the headset is switched on or off, or if I
  type in a phoney BD address -- the exact same "BT_GETCAPABILITIES
  failed" errors occur. Therefore, the problem is not with communication
  between the headset and PC -- the problem is occurring before the PC
  even communicates with the headset.

-- 
Bluetooth is completely broken on Ubuntu 8.10
https://bugs.launchpad.net/bugs/306721
You received this bug notification because you are a member of
Bluetooth, which is subscribed to bluez in ubuntu.



More information about the Ubuntu-bluetooth mailing list