You are not logged in.

#1 2020-10-26 02:08:48

benpeltz
Member
Registered: 2020-09-07
Posts: 20

ofono not enabling headset profile [SOLVED]

I am trying to connect a new pair of bluetooth headphones (OnePlus Buds) to my Arch laptop. As others have experienced, they connect to A2DP_sink fine, but the headset profile is unavailable and as such I can't use the built-in mic. I have followed the instructions here. list-modems shows:

[ /phonesim ]
    Online = 1
    Powered = 1
    Lockdown = 0
    Emergency = 0
    Manufacturer = MeeGo
    Model = Synthetic Device
    Revision = REV1
    Serial = 1234567890
    Interfaces = org.ofono.AssistedSatelliteNavigation org.ofono.CellBroadcast org.ofono.NetworkRegistration org.ofono.CallVolume org.ofono.CallMeter org.ofono.SupplementaryServices org.ofono.CallBarring org.ofono.CallSettings org.ofono.MessageWaiting org.ofono.SmartMessaging org.ofono.PushNotification org.ofono.MessageManager org.ofono.Phonebook org.ofono.TextTelephony org.ofono.RadioSettings org.ofono.CallForwarding org.ofono.SimToolkit org.ofono.SimAuthentication org.ofono.AllowedAccessPoints org.ofono.VoiceCallManager org.ofono.SimManager 
    Features = cbs net ussd sms tty rat stk sim 
    Type = hardware
    [ org.ofono.AssistedSatelliteNavigation ]
    [ org.ofono.CellBroadcast ]
        Powered = 1
        Topics = 50,999
    [ org.ofono.NetworkRegistration ]
        Status = registered
        Mode = auto
        MobileCountryCode = 234
        MobileNetworkCode = 01
        Name = oFono (T-MeeGo)
        Strength = 100
    [ org.ofono.CallVolume ]
        SpeakerVolume = 50
        MicrophoneVolume = 100
        Muted = 0
    [ org.ofono.CallMeter ]
        CallMeter = 0
        AccumulatedCallMeter = 1152
        AccumulatedCallMeterMaximum = 1280
        PricePerUnit = 2.66
        Currency = GBP
    [ org.ofono.SupplementaryServices ]
        State = idle
    [ org.ofono.CallBarring ]
        VoiceOutgoing = disabled
        VoiceIncoming = disabled
    [ org.ofono.CallSettings ]
        CallingLinePresentation = enabled
        CallingNamePresentation = enabled
        ConnectedLinePresentation = enabled
        ConnectedLineRestriction = enabled
        CalledLinePresentation = enabled
        CallingLineRestriction = on
        HideCallerId = default
        VoiceCallWaiting = enabled
    [ org.ofono.MessageWaiting ]
        VoicemailWaiting = 1
        VoicemailMessageCount = 1
        VoicemailMailboxNumber = 6789
    [ org.ofono.SmartMessaging ]
    [ org.ofono.PushNotification ]
    [ org.ofono.MessageManager ]
        ServiceCenterAddress = +15551234567
        UseDeliveryReports = 0
        Bearer = cs-preferred
        Alphabet = default
    [ org.ofono.Phonebook ]
    [ org.ofono.TextTelephony ]
        Enabled = 1
    [ org.ofono.RadioSettings ]
        TechnologyPreference = any
        AvailableTechnologies = gsm umts lte 
    [ org.ofono.CallForwarding ]
        VoiceUnconditional = 
        VoiceBusy = 
        VoiceNoReply = 
        VoiceNoReplyTimeout = 20
        VoiceNotReachable = 
        ForwardingFlagOnSim = 0
    [ org.ofono.SimToolkit ]
        IdleModeText = 
        IdleModeIcon = 
        MainMenuTitle = 
        MainMenuIcon = 
        MainMenu = 
    [ org.ofono.SimAuthentication ]
        NetworkAccessIdentity = 12345678@phonesim.org
    [ org.ofono.AllowedAccessPoints ]
    [ org.ofono.VoiceCallManager ]
        EmergencyNumbers = 911 1020 112 
    [ org.ofono.SimManager ]
        Present = 1
        CardIdentifier = 8949222074451242066
        SubscriberIdentity = 246813579
        ServiceProviderName = oFono
        ImsPrivateIdentity = 12345678@phonesim.org
        FixedDialing = 0
        BarredDialing = 0
        MobileCountryCode = 246
        MobileNetworkCode = 81
        SubscriberNumbers = 358501234567 
        LockedPins = 
        ServiceNumbers = [112] = '112' [Emergency] = '999' [Police] = '997' [Firemen] = '998' [Sea emergency] = '+48601100100' [Mountain emer.] = '+48601100300' [.HELP DESK] = '2601' [.RECHARGE] = '5555' [.Voicemail] = '+48601222222' [.Voice access] = '+48601104444' 
        PreferredLanguages = de en it fr es nl 
        PinRequired = none
        Retries = [pin = 3] 
        CardSlotCount = 1
        ActiveCardSlot = 1

Despite this, after restarting Pulseaudio and reconnecting the headphones, pactl list shows:

Card #2
        Name: bluez_card.E4_41_22_09_E2_AE
        Driver: module-bluez5-device.c
        Owner Module: 24
        Properties:
                device.description = "OnePlus Buds"
                device.string = "E4:41:22:09:E2:AE"
                device.api = "bluez"
                device.class = "sound"
                device.bus = "bluetooth"
                device.form_factor = "headset"
                bluez.path = "/org/bluez/hci0/dev_E4_41_22_09_E2_AE"
                bluez.class = "0x240404"
                bluez.alias = "OnePlus Buds"
                device.icon_name = "audio-headset-bluetooth"
                device.intended_roles = "phone"
        Profiles:
                a2dp_sink_sbc: High Fidelity Playback (A2DP Sink: SBC) (sinks: 1, sources: 0, priority: 40, available: yes)
                a2dp_sink_aac: High Fidelity Playback (A2DP Sink: AAC) (sinks: 1, sources: 0, priority: 40, available: yes)
                a2dp_sink_aptx: High Fidelity Playback (A2DP Sink: aptX) (sinks: 1, sources: 0, priority: 40, available: no)
                a2dp_sink_aptx_hd: High Fidelity Playback (A2DP Sink: aptX HD) (sinks: 1, sources: 0, priority: 40, available: no)
                a2dp_sink_ldac: High Fidelity Playback (A2DP Sink: LDAC) (sinks: 1, sources: 0, priority: 40, available: no)
                headset_head_unit: Headset Head Unit (HSP/HFP) (sinks: 1, sources: 1, priority: 30, available: no)
                off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
        Active Profile: a2dp_sink_aac
        Ports:
                headset-output: Headset (type: Unknown, priority: 0, latency offset: 0 usec)
                        Part of profile(s): a2dp_sink_sbc, a2dp_sink_aac, a2dp_sink_aptx, a2dp_sink_aptx_hd, a2dp_sink_ldac, headset_head_unit
                headset-input: Headset (type: Unknown, priority: 0, latency offset: 0 usec, not available)
                        Part of profile(s): headset_head_unit

and I am unable to switch to the headset_head_unit profile accordingly. Any suggestions for why this isn't working, or alternative workarounds so I can use my headphones' microphone when needed?

FWIW, the FAQ on the OnePlus website reads:

Which car Bluetooth protocols does OnePlus Buds support?
Supports A2DP/AVRCP/HFP/HSP car Bluetooth protocol.

I have no idea whether supporting HSP/HFP for cars means that it should work with Linux. Other headsets have worked for me in headset mode in the recent past.

Last edited by benpeltz (2020-10-30 00:25:09)

Offline

#2 2020-10-30 00:24:47

benpeltz
Member
Registered: 2020-09-07
Posts: 20

Re: ofono not enabling headset profile [SOLVED]

I've decided to return the headphones because of other issues, so unfortunately I won't be able to work on any proposed solutions. With that in mind I'm marking this as solved.

Offline

Board footer

Powered by FluxBB