alsa-lib's /usr/share/alsa/alsa.conf should contain configuration file pointers to files installed by net-wireless/bluez (/usr/share/alsa/bluetooth.conf) and media-libs/alsa-plugins (/usr/share/alsa/pulse.conf). In this way, if these pkgs are installed, respective ALSA plugins and devices will work out-of-the-box.
For the record, this configuration has been taken from Ubuntu and makes everything working flawlessly.
See attached patches
Created attachment 222871 [details, diff]
Created attachment 222873 [details, diff]
bluetooth configuration patch
Created attachment 222875 [details, diff]
pulseaudio configuration patch
ALSA team? Can I merge the patches?
This bug is rotting! Please do something.
Since nobody is responding here, I did it myself.
+*alsa-lib-1.0.23-r1 (28 May 2010)
+ 28 May 2010; Fabio Erculiani <firstname.lastname@example.org> -alsa-lib-1.0.23.ebuild,
+ +alsa-lib-1.0.23-r1.ebuild, +files/bluetooth_configuration.patch,
+ add Pulseaudio and Bluetooth configuration files support, see #308701