Headset-output: Headset (priority: 0, latency offset: 0 usec) Off: Off (sinks: 0, sources: 0, priority: 0, available: yes) Headset_head_unit: Headset Head Unit (HSP/HFP) (sinks: 1, sources: 1, priority: 20, available: yes) For instance, with the LG Tone Ultra headset, I get this: Name: bluez_card.B8_AD_3E_**_**_**īluez.path = "/org/bluez/hci0/dev_B8_AD_3E_**_**_**"ĭevice.icon_name = "audio-headset-bluetooth"Ī2dp_sink: High Fidelity Playback (A2DP Sink) (sinks: 1, sources: 0, priority: 10, available: yes) This will return everything after where it finds a bluetooth device. That code will work for most bluetooth devices it appears, but to get this working correctly for those devices that don't have the a2dp profile or the hsp profile, type in: pactl list | grep -Pzo '.*bluez_card(.*\n)*' #!/bin/bashīLUEZCARD=$(pactl list cards short | egrep -o bluez.*]) Neither of these are available with my LG Tones, for example, but they are with other devices like my Sony headset. For instance, in the following code, which was originally posted by that person, it apparently has profiles named a2dp and hsp. Some devices have different profile names than what that poster has with his Bluetooth speakers. The top reply here works, but not for every Bluetooth audio device. Whenever you connect and notice the lag, you should press the keyboard shortcut chosen above to attempt to fix the latency - hopefully it works for you! What this does is force the PulseAudio system to resynchronize the audio being sent to your headset/speakers by switching profiles from ad2p -> hsp -> a2dp, thus hopefully getting rid of any latency. Click Apply, and then click on the right where it says Disabled to set up a keyboard shortcut to execute the script. Go to, and create a custom shortcut name it whatever you want, with the command as /home/$USER/pabluezswitch.sh (substitute with the appropriate path). Make the file executable by opening a terminal and typing chmod +x ~/pabluezswitch.sh sh file in your home directory, say /home/brillout/pabluezswitch.sh: #!/bin/bashīluezcard=$(pactl list cards short | awk '/bluez/') Try this:įirst, delete and re-pair your Bluetooth device. If you're looking for a culprit, I'd look at Ubuntu's sound system, PulseAudio first, and then your Bluetooth receiver. Auto-switching Bluetooth profiles to re-initialize PulseAudio Something similar in concept to Sri's answer almost always works for me, and I need to do it only once per connect. No, this is not normal but I've had a similar problem occasionally with my Altec Lansing iMT525 Bluetooth Speakers.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |