Installing bluetooth and pairing a head_set on debian 11 without any gui
Requirements
-
1.Bluetooth Headset
-
2.prerequisites installed
Some Notes:
-
1. I am assuming that you have some basic understanding of the unix utilities and unix systems in general.
Steps
Install bluetoothctl bluez and other things i dont remember
Install alsa audio mixer and alsa stuff get audio working
pacmd should be there, i dont remember exact packages needed to be installed.
What To Do
- 1. bluetoothctl scan bredr
[soundcore R50i]# scan bredr
[CHG] Device F0:AE:66:C3:02:EC RSSI is nil
[CHG] Device 49:35:56:C3:FA:6D RSSI is nil
[CHG] Device 46:3A:BF:CF:86:C1 RSSI is nil
[CHG] Device 4D:2B:6F:5D:8E:1F RSSI is nil
[CHG] Device 70:03:33:AE:4D:2F RSSI is nil
[CHG] Device 4A:DA:BA:15:B6:E7 RSSI is nil
[CHG] Transport /org/bluez/hci0/dev_F0_AE_66_66_C8_5F/sep1/fd0 Stat
[soundcore R50i]#
- 2.trust <mac_of_dev>
- 3.pair <mac_of_dev>
- 4.connect <mac_of_dev>
- 5. $pacmd list-sinks
- 6. remember the index of the device or sink it lists as bluetooth it should have something bluez bluetooth in name, you will get it.
- 7. $pacmd set-default-sink <number of sink you want to select>