Bluetooth: Difference between revisions
From D3xt3r01.tk
Jump to navigationJump to search
Created page with "==What== Trying to play music to my bluetooth headset.. ==HOW== I have a [http://www.intel.com/content/www/us/en/wireless-products/dual-band-wireless-ac-7260-bluetooth.html..." |
m →HOW |
||
| Line 9: | Line 9: | ||
<source lang="bash"> | <source lang="bash"> | ||
/etc/init.d/bluetooth start | /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> | usermod -a -G plugdev <username> | ||
modprobe btusb | modprobe btusb | ||
| Line 26: | Line 29: | ||
Then pair with it | Then pair with it | ||
<source lang="bash"> | <source lang="bash"> | ||
bluetoothctl | # pactl load-module module-bluetooth-discover | ||
# bluetoothctl -a | |||
[bluetooth]# power on | [bluetooth]# power on | ||
[bluetooth]# agent on | [bluetooth]# agent on | ||
Latest revision as of 17:39, 19 July 2014
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 upAt this point you should be able to see it
hcitool devAlso, you should be able to see your headset if it's in visible mode:
hcitool scanThen 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