Comment 1 for bug 135196

Revision history for this message
Marcel Holtmann (holtmann) wrote :

I tried to talk to the Debian guys to make them clean up the package and actually enable the new services (they are off by default even if they are stable enough). So far I haven't seen a fixed up Debian package.

The main issue is DEB_CONFIGURE_EXTRA_FLAGS. The --enable-obex part is not needed since currently there is no support for any OBEX service inside this package. What is needed is however --enable-network --enable-serial --enable-input --enable-audio and --enable-alsa and a build dependency against libasound2-dev.

The old hidd, pand, dund etc. can be installed but should not be started by the init script. The init script actually only needs to start hcid with the -s option to enable the built-in SDP server and then hid2hci to switch HID proxy devices into HCI mode. The services will be automatically started on request or can be marked as autostart via their /etc/bluetooth/*.service files.

I am also releasing today bluez-utils-3.16 that should include the support for mono headsets and will make the device setup easier. It will be as simple as adding something like the following to your .asoundrc:

pcm.bluetooth {
   type bluetooth
   device 00:11:22:33:44:55
}

When connecting to the "bluetooth" (you could use !default instead to make it default) device then it will automatically create the devices. No need to deal with D-Bus by yourself. This is helpful until we have full integration of audio device setup via bluetooth-wizard.