Bluetooth
From D3xt3r01.tk
What
Trying to play music to my bluetooth headset..
HOW
I have a Intel® Dual Band Wireless-AC 7260 Plus Bluetooth which comes with a bluetooth module. All I needed was to compile with bt support and load the kernel module.
/etc/init.d/bluetooth start
echo 'load-module module-bluetooth-discover' >> /etc/pulseaudio/default.pa
echo 'load-module module-switch-on-connect' >> /etc/pulseaudio/default.pa
pulseaudio -D
usermod -a -G plugdev <username>
modprobe btusb
hciconfig hci0 up
At this point you should be able to see it
hcitool dev
Also, you should be able to see your headset if it's in visible mode:
hcitool scan
Then pair with it
# pactl load-module module-bluetooth-discover
# bluetoothctl -a
[bluetooth]# power on
[bluetooth]# agent on
[bluetooth]# default-agent
[bluetooth]# scan on
[bluetooth]# pair <dev>
[bluetooth]# trust <dev>
[bluetooth]# connect <dev>
If all is ok, you should now see the headset as a sink in pulseaudio.
Links
Gentoo Bluetooth Wiki Page Gentoo Bluetooth Headset Wiki Page