Fedora Linux Support Community & Resources Center
  #1  
Old 17th November 2016, 08:02 PM
Volekker Offline
Registered User
 
Join Date: Nov 2016
Location: Warsaw
Posts: 2
linuxubuntufirefox
Fedora 22 - HFP/HSP bluetooth profile

Hello.

I have problem with Fedora 22 and bluetooth HFP/HSP profile.
I try connect to Philips WeCall conference speaker (http://www.usa.philips.com/c-p/AECS7...specifications) and Forever BS-100.

In A2DP profile sound works fine in both devices.
When I change profile to headset_head_unit I can't play or record sound.

I use pulseaudio 6.0, and I checked bluez in version 5.29 and 5.36.

I checked also different settings from:
http://askubuntu.com/questions/18043...o-sound-no-mic
https://bbs.archlinux.org/viewtopic.php?id=76242
https://wiki.archlinux.org/index.php/Bluetooth_headset


Code:
[root@localhost ~]# hciconfig hci0 voice
hci0:   Type: BR/EDR  Bus: UART
        BD Address: C0:97:27:0F:FC:C9  ACL MTU: 1021:8  SCO MTU: 64:1
        Voice setting: 0x0060 (Default Condition)
        Input Coding: Linear
        Input Data Format: 2's complement
        Input Sample Size: 16 bit
        # of bits padding at MSB: 0
        Air Coding Format: CVSD
Code:
[root@localhost ~]# pactl list cards
Card #0
        Name: alsa_card.platform-sound.20
        [...]

Card #1
        Name: bluez_card.30_21_47_9D_4C_6D
        Driver: module-bluez5-device.c
        Owner Module: 23
        Properties:
                device.description = "BS-100"
                device.string = "30:21:47:9D:4C:6D"
                device.api = "bluez"
                device.class = "sound"
                device.bus = "bluetooth"
                device.form_factor = "hands-free"
                bluez.path = "/org/bluez/hci0/dev_30_21_47_9D_4C_6D"
                bluez.class = "0x240408"
                bluez.alias = "BS-100"
                device.icon_name = "audio-handsfree-bluetooth"
                device.intended_roles = "phone"
        Profiles:
                headset_head_unit: Headset Head Unit (HSP/HFP) (sinks: 1, sources: 1, priority: 20, available: yes)
                a2dp_sink: High Fidelity Playback (A2DP Sink) (sinks: 1, sources: 0, priority: 10, available: yes)
                off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
        Active Profile: headset_head_unit
        Ports:
                handsfree-output: Handsfree (priority: 0, latency offset: 0 usec)
                        Part of profile(s): headset_head_unit, a2dp_sink
                handsfree-input: Handsfree (priority: 0, latency offset: 0 usec)
                        Part of profile(s): headset_head_unit
Code:
[root@localhost ~]# pactl list short modules
0       module-device-restore
1       module-stream-restore
2       module-card-restore
3       module-augment-properties
4       module-switch-on-port-available
5       module-udev-detect      tsched=0
6       module-alsa-card        device_id="0" name="platform-sound.20" card_name="alsa_card.platform-sound.20" namereg_fail=false tsched=no fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes card_properties="module-udev-detect.discovered=1"
7       module-bluetooth-policy
8       module-bluetooth-discover
9       module-bluez5-discover
10      module-esound-protocol-unix
11      module-native-protocol-unix
12      module-default-device-restore
13      module-rescue-streams
14      module-always-sink
15      module-intended-roles
16      module-suspend-on-idle
17      module-systemd-login
18      module-position-event-sounds
19      module-role-cork
20      module-filter-heuristics
21      module-filter-apply
22      module-switch-on-connect
23      module-bluez5-device    path=/org/bluez/hci0/dev_30_21_47_9D_4C_6D
Code:
[root@localhost ~]# pactl list sources
Source #0
        State: SUSPENDED
        Name: alsa_output.platform-sound.20.analog-stereo.monitor
       [...]

Source #1
        State: SUSPENDED
        Name: alsa_input.platform-sound.20.analog-stereo
        [...]

Source #2
        State: SUSPENDED
        Name: bluez_sink.30_21_47_9D_4C_6D.monitor
        Description: Monitor of BS-100
        Driver: module-bluez5-device.c
        Sample Specification: s16le 1ch 8000Hz
        Channel Map: mono
        Owner Module: 23
        Mute: no
        Volume: mono: 65536 / 100% / 0.00 dB
                balance 0.00
        Base Volume: 65536 / 100% / 0.00 dB
        Monitor of Sink: bluez_sink.30_21_47_9D_4C_6D
        Latency: 0 usec, configured 0 usec
        Flags: DECIBEL_VOLUME LATENCY
        Properties:
                device.description = "Monitor of BS-100"
                device.class = "monitor"
                device.string = "30:21:47:9D:4C:6D"
                device.api = "bluez"
                device.bus = "bluetooth"
                device.form_factor = "hands-free"
                bluez.path = "/org/bluez/hci0/dev_30_21_47_9D_4C_6D"
                bluez.class = "0x240408"
                bluez.alias = "BS-100"
                device.icon_name = "audio-handsfree-bluetooth"
                device.intended_roles = "phone"
        Formats:
                pcm

Source #3
        State: SUSPENDED
        Name: bluez_source.30_21_47_9D_4C_6D
        Description: BS-100
        Driver: module-bluez5-device.c
        Sample Specification: s16le 1ch 8000Hz
        Channel Map: mono
        Owner Module: 23
        Mute: no
        Volume: mono: 65536 / 100%
                balance 0.00
        Base Volume: 65536 / 100%
        Monitor of Sink: n/a
        Latency: 0 usec, configured 0 usec
        Flags: HARDWARE HW_VOLUME_CTRL LATENCY
        Properties:
                bluetooth.protocol = "headset_head_unit"
                device.intended_roles = "phone"
                device.description = "BS-100"
                device.string = "30:21:47:9D:4C:6D"
                device.api = "bluez"
                device.class = "sound"
                device.bus = "bluetooth"
                device.form_factor = "hands-free"
                bluez.path = "/org/bluez/hci0/dev_30_21_47_9D_4C_6D"
                bluez.class = "0x240408"
                bluez.alias = "BS-100"
                device.icon_name = "audio-handsfree-bluetooth"
        Ports:
                handsfree-input: Handsfree (priority: 0)
        Active Port: handsfree-input
        Formats:
                pcm
Code:
[root@localhost ~]# pactl list sinks
Sink #0
        State: SUSPENDED
        Name: alsa_output.platform-sound.20.analog-stereo
       [...]

Sink #1
        State: SUSPENDED
        Name: bluez_sink.30_21_47_9D_4C_6D
        Description: BS-100
        Driver: module-bluez5-device.c
        Sample Specification: s16le 1ch 8000Hz
        Channel Map: mono
        Owner Module: 23
        Mute: no
        Volume: mono: 163840 / 250%
                balance 0.00
        Base Volume: 65536 / 100%
        Monitor Source: bluez_sink.30_21_47_9D_4C_6D.monitor
        Latency: 0 usec, configured 0 usec
        Flags: HARDWARE HW_VOLUME_CTRL LATENCY
        Properties:
                bluetooth.protocol = "headset_head_unit"
                device.intended_roles = "phone"
                device.description = "BS-100"
                device.string = "30:21:47:9D:4C:6D"
                device.api = "bluez"
                device.class = "sound"
                device.bus = "bluetooth"
                device.form_factor = "hands-free"
                bluez.path = "/org/bluez/hci0/dev_30_21_47_9D_4C_6D"
                bluez.class = "0x240408"
                bluez.alias = "BS-100"
                device.icon_name = "audio-handsfree-bluetooth"
        Ports:
                handsfree-output: Handsfree (priority: 0)
        Active Port: handsfree-output
        Formats:
                pcm

I add some log:
pulseaudio (6.0): http://wklej.org/id/2965258/
bluetoothd (5.36): http://wklej.org/id/2965259/

Last edited by Volekker; 22nd November 2016 at 10:10 AM.
Reply With Quote
Reply

Tags
bluetooth, fedora, hfp or hsp, profile, pulseaudio

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Bluetooth not working (Atheros Communications, Inc. AR3012 Bluetooth 4.0) Fedora 24 daniell Hardware & Laptops 2 11th September 2016 02:38 PM
F19 A2DP bluetooth profile problem Spaceferret Hardware & Laptops 1 6th July 2013 08:18 PM
[ANN]: Profile-cleaner - reduce browser profile size by cleaning/reindexing graysky Using Fedora 3 28th February 2013 01:27 AM
bluetooth 3g access using bluetooth with fedora 14 X86_64 rpjogee Servers & Networking 3 2nd January 2011 06:03 AM
Fedora Hardware Profile brunoadm Using Fedora 0 3rd April 2008 06:45 AM


Current GMT-time: 00:10 (Saturday, 24-06-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat