We have moved to a new Sailfish OS Forum. Please start new discussions there.
7

Is it possible to connect two pair of headphones?

asked 2015-05-25 10:34:20 +0300

eson gravatar image

updated 2015-05-25 10:45:00 +0300

Lets say a friend and I, both want to listen to music from my device. Is it in any way possible to connect two bluetooth headsets or maybe one bluetooth + one wired? If possible, what do I need? If not possible, why not? Is it hardware or software related?

I realise it is possible to connect two wired headsets using a adapter.

edit retag flag offensive close delete

Comments

Two bluetooth headphones, or one wired one bluetooth would require two separate audiodevices in Linux. The latter could be possible but would need majore reconfiguration of the underlying operating system.

However, to connect two or more wired headphones, I'd recommend the Belkin Rockstar: http://www.belkin.com/us/p/P-F8Z274/

Venty ( 2015-05-25 14:04:48 +0300 )edit

It is software - pulseaudio sink, iirc I had music playback on jack and answered a call on BT, then it returned to jack so it probably depends on how you initially wire it as I also had it play everything on BT too but replugging jack did fix it.

chemist ( 2015-05-25 14:38:02 +0300 )edit

I have a pair of Bose AE2W headphones (bluetooth). I had trouble with the first bluetooth module and so I contacted Bose, they sent me another bluetooth module.

I actually managed to connect to both modules on Jolla showing the 'audio connected' banner under each device. (Original module named AE OLD, while new module is named AE NEW)

image description

So, both modules connected - I plugged in the original one (AE OLD) and the music came straight through. I then removed the 'AE OLD' module from the headphones and attached 'AE NEW', but no music came through - Once I disconnected the bluetooth connection for 'AE OLD', the music came straight through 'AE NEW'.

So, I could actually (via bluetooth) connect to 2 audio devices but not actually use both at once. I would imagine a duplication of some settings in pulseaudio's bluetooth functions might possibly allow this to happen - just a guess, but I wouldn't really know how to approach this. Thought I'd share my findings (albeit, very loose findings that aren't a great deal of help!)

Spam Hunter ( 2015-05-25 15:03:31 +0300 )edit
3

At /etc/bluetooth/audio.conf there is an option MaxConnected which defaults to 1. Try 2.

lakutalo ( 2015-05-25 15:20:55 +0300 )edit
1

@lakuto I think you're on track, but it didn't work, so there must be something else that has to be set. Thanks all!

eson ( 2015-05-25 19:05:57 +0300 )edit

1 Answer

Sort by » oldest newest most voted
3

answered 2015-05-28 23:43:49 +0300

Jacek gravatar image

First, I must admit that I do not know what this Jolla device is :)

But nevertheless I thought I should share the knowledge I found somewhere on the internet about exactly the same problem for Linux in general.

There is this Linux command-line incantation that creates one sink out of two and then it is enough to redirect the output of your application to the new "combined" sink.

pactl load-module module-combine-sink sink_name=combined slaves=bluez_sink.00_0D_FD_4C_82_BC,alsa_output.pci-0000_00_1b.0.analog-stereo

The name of the new sink (after sink_name=) can of course be anything and the names of the actual devices after slaves= can be found by

pactl list sinks

This works for me on a Thinkpad under Fedora 20 and 21 - but I can only "combine" a bluetooth headset with the wired one. For some reason I cannot connect two bluetooth headsets (and set them both to A2DP profile) at the same time. Even though it used to work a couple of Fedora versions ago (bluez4 by that time may-be?) on a different Thinkpad...

edit flag offensive delete publish link more

Comments

Sounds interesting, will try. Thx

lakutalo ( 2015-05-28 23:51:22 +0300 )edit
Login/Signup to Answer

Question tools

Follow
3 followers

Stats

Asked: 2015-05-25 10:34:20 +0300

Seen: 1,857 times

Last updated: May 28 '15