Automatically connect Bluetooth headset and enable HSP mode for bidirectional audio in IGEL OS


Automatically connect Bluetooth headset and enable HSP mode for bidirectional audio

Learn more, read the entire thread inside the IGEL Community o Slack

Hello everyone, I had a recent case where a customer wanted his Bluetooth headset to be in mobilityarena.com/bluetooth-profiles-protocols-hsp-a2dp-avrcp-hfp/ (Headset Profile) mode automatically.

By default, IGEL OS seems to connect Bluetooth headsets in A2DP mode (good for high-quality audio but no mic input).

However, it’s possible to run a command to switch to headset mode.

To achieve this, you can do the following:

• go to System > Firmware Customization > Custom Applications

• add a new Custom Application

• under Settings, add the following test into the Command box:

“`bluetoothctl connect $(bluetoothctl paired-devices | awk ‘{print $2}’); su user; pactl set-card-profile $(pactl list cards short | grep bluez | awk ‘{print $2}’) headset_head_unit“`

• The above command will automatically connect an already-paired Bluetooth headset and will enable the “HSP” mode for bidirectional audio.

• I found that I also had to disable the following setting so that the audio device would work correctly inside Citrix: System > Registry > ica.module.vdcamversion4support

• To make sure that the command runs at startup, go to Desktop Integration and tick Autostart, but untick Autostart requires network

• Lastly, if you want to you can hide the desktop shortcut by unticking Desktop under Desktop Integration > Starting Methods

You can check if it worked by right-clicking the desktop and opening Sound Preferences. The Audio Input tab should show Headset Head Unit (see screenshot)

If this solution comes in handy for you, please let me know!


Will definitely be testing this.


I used this today for a customer having issue with Jabra Motion and it worked perfect! Thanks for posting

Continue reading and comment on the thread ‘Automatically connect Bluetooth headset and enable HSP mode for bidirectional audio in IGEL OS’.  Not a member? Join Here!

Learn more, search the IGEL Knowledge Base



Ask a question or comment on the above message thread?

Join or log in to the IGEL Community to ask us anything and meet other IGEL customers, partners, and EUC enthusiasts.

Submit a question, or Join Today!


Popular Message Threads


Categories & Tags: