You are not logged in.

#1 2023-04-03 22:52:11

parsody
Member
Registered: 2022-04-21
Posts: 34

[SOLVED] can't switch bluetooth headset profiles using pipewire-pulse

I am trying to switch profile to hfp_hs but can't seem to get the <cardindex> right using pactl

pactl list sinks

output: http://0x0.st/HHRm.txt

it has device.name in bluez_card.XX_XX_XX_XX_XX_XX format.

pactl set-card-profile bluez_card.XX_XX_XX_XX_XX_XX hfp_hs

gives output,

Failure: No such entity

I have tried just the number part, replacing underscores with colons, with / without bluez_card etc... nothing works. What to do?

UPDATE:
found a workaround to make earphone tap to pause-play work, install xbindkeys
~/.xbindkeysrc

"xdotool key XF86AudioPlay"
    c:208
"xdotool key XF86AudioPlay"
    c:215
"xdotool key XF86AudioPlay"
    c:209
"xdotool key XF86AudioPlay"
    c:172

Last edited by parsody (2023-04-05 09:41:44)

Offline

#2 2023-04-04 07:58:55

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,128

Re: [SOLVED] can't switch bluetooth headset profiles using pipewire-pulse

You'll want to look at the name given by

pactl list cards

Offline

#3 2023-04-04 09:48:22

parsody
Member
Registered: 2022-04-21
Posts: 34

Re: [SOLVED] can't switch bluetooth headset profiles using pipewire-pulse

V1del wrote:

You'll want to look at the name given by

pactl list cards

already tried that it has the same device name
http://0x0.st/HHh1.txt here's the output in case I am missing something

edit:

pactl set-card-profile bluez_card.00_00_AB_CD_48_CD headset-head-unit

this worked, thank you so much. I was getting profile name wrong, but tapping on earphone to pause is still not working for some reason sad I just get the error sound in earphone when I try to do that.
pipewire-pulse service has no log of the time I tried to pause by tapping earphone here's the log of wireplumber service (look at the last lines)

http://0x0.st/HHhy.txt  my bluez version is 5.66-1 and my earphones are boat airdopes 441P

EDIT: SOLVED

Last edited by parsody (2023-04-05 09:43:47)

Offline

Board footer

Powered by FluxBB