How To Connect To Bluetooth Headset/Soundbar/Speaker

Most modern laptops are equipped alongside the Bluetooth radio. It agency that y'all tin purpose a Bluetooth mouse together with keyboard equally your input device, together with a Bluetooth headset, soundbar, or speaker for your well output. This article gives an event of how to connect your Linux laptop to a Bluetooth soundbar.

Device model

My laptop is a DELL Vostro 1015 running Ubuntu 12.04.3 LTS ("precise"). The bluez Bluetooth stack is of version 4.98.

My soundbar is the Panasonic HTB450. According to the Owner's Manual, this model features Bluetooth V2.1 + EDR. Note that this model is non a Bluetooth Low Energy device. The method inward this weblog post service has alone been tested on non-Low-Energy Bluetooth devices.

Getting ready

  • Install the bluez-tools packet on your Linux reckoner (assuming it is Debian-based):
     $ sudo apt-get install bluez-tools 
  • Power upwards the Panasonic soundbar. Make certain that Bluetooth is selected equally the well source, together with that the device is configured to endure discoverable to other Bluetooth devices.
  • The soundbar together with the Linux laptop must endure inside a "short" distance of each other (10 feet to endure safe).

Connection procedure

The next assumes y'all convey alone ane Bluetooth adapter inward your Linux computer. If y'all convey to a greater extent than than 1, purpose the hciconfig dominance to uncovering out the cite of the Bluetooth adapter to purpose for connection, together with specify that device cite equally a parameter to the commands below.

  1. Discover the soundbar.

    Run the next dominance on Linux to scan for the soundbar. The primal slice of information to jot downwards is the Bluetooth address of the soundbar (e.g., 00:0B:97:0F:C5:2D).

     $ bt-adapter -d Searching... [00:0B:97:0F:C5:2A]   Name: SC-HTB450   Alias: SC-HTB450   Address: 00:0B:97:0F:C5:2D   Icon: audio-card   Class: 0x240404   LegacyPairing: 0   Paired: 0   RSSI: -56 Done 

    You tin also scan using the hcitool command:

     $ hcitool scan Scanning ...  00:0B:97:0F:C5:2D    SC-HTB450 
  2. Pair alongside the soundbar.

    This pace is alone necessary if the ii devices convey never been "paired" before.

    To pair, piece of employment the bt-device dominance alongside the Bluetooth address from pace 1 equally the parameter.

     $ bt-device -c 00:0B:97:0F:C5:2D Connecting to: 00:0B:97:0F:C5:2D Agent registered Agent released Done 

    You tin verify the effect past times listing the paired devices:

     $ bt-device -l Added devices: SC-HTB450 (00:0B:97:0F:C5:2D) 
  3. Connect well output to soundbar.
     $ bt-audio -c 00:0B:97:0F:C5:2D Connecting to an well service Audio service is connected 

    You tin verify the connexion past times querying information almost the Bluetooth device cite (SC-HTB450). Note that the output contains a trouble alongside Connected equals 1 (meaning success!)

     $ bt-device -i SC-HTB450 [00:0B:97:0F:C5:2A]   Name: SC-HTB450   Alias: SC-HTB450 [rw]   Address: 00:0B:97:0F:C5:2D   Icon: audio-card   Class: 0x240404   Paired: 1   Trusted: 0 [rw]   Blocked: 0 [rw]   Connected: 1   UUIDs: [AudioSink, AVRemoteControl] 
  4. Make soundbar a trusted device.

    After the soundbar is turned off together with thence on again, the Bluetooth well connexion is NOT automatically reconnected. To brand re-connection automatic, piece of employment the next dominance to designate the soundbar equally a trusted device.

     $ bt-device --set  SC-HTB450 Trusted 1 Trusted: 0 -> 1 

    Note that if y'all reboot your laptop, y'all take away to manually re-connect using bt-audio -c equally shown inward a higher house (but pairing tin endure skipped). This is truthful fifty-fifty when the Bluetooth device is designated equally trusted.

Playback sound

The well connexion is straightaway made betwixt your laptop together with the soundbar.

You tin play your favourite well rails together with the well volition come upwards from the soundbar, instead of the built-in laptop speakers.

p.s. You may endure interested inward my ii before posts on Bluetooth:

Berlangganan update artikel terbaru via email:

2 Responses to "How To Connect To Bluetooth Headset/Soundbar/Speaker"

  1. Your website is really cool and this is a great inspiring article.
    honet Bluetooth Radio review

    ReplyDelete
  2. This would be the right blog for anyone who desires to find out about this topic. You know a whole lot its practically difficult to argue along with you (not that When i would want…HaHa). You certainly put a new spin on the topic thats been discussing for years. Fantastic stuff, just fantastic! see here

    ReplyDelete

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel