Comments (13)
Check #31
from pulseaudio-modules-bt.
I have a similar issue.
Unfortunately, Fedora's bluez
package comes without the avinfo
tool included: bug #1699680, so I rebuilt it myself with the tool included. My headset seems to support SBC only:
Connecting ...
Stream End-Point #1: Audio Sink
Media Codec: SBC
Channel Modes: Mono DualChannel Stereo JointStereo
Frequencies: 16Khz 32Khz 44.1Khz 48Khz
Subbands: 4 8
Blocks: 4 8 12 16
Bitpool Range: 2-53
Content Protection: SCMS-T
from pulseaudio-modules-bt.
I also have a similar issue on Fedora. I am connecting to a BTR3 device (https://www.fiio.com/btr3) which supports SBC, aptX, aptX-HD, and LDAC. However, I can only connect using aptX-HD. If I try to switch to any other audio profile with either gnome settings or blueman, I get the same error in journalctl.
My avinfo output is as follows:
Stream End-Point #6: Audio Sink
Media Codec: Vendor Specific A2DP Codec
Vendor ID 0x0000000a
Vendor Specific Codec ID 0x0002
Content Protection: SCMS-T
Stream End-Point #7: Audio Sink
Media Codec: Vendor Specific A2DP Codec
Vendor ID 0x000000d7
Vendor Specific Codec ID 0x0024
Content Protection: SCMS-T
Stream End-Point #5: Audio Sink
Media Codec: Vendor Specific A2DP Codec
Vendor ID 0x0000004f
Vendor Specific Codec ID 0x0001
Vendor Specific Value (aptX)
Frequencies: 44.1kHz 48kHz
Channel modes: Stereo
Content Protection: SCMS-T
Stream End-Point #4: Audio Sink
Media Codec: Vendor Specific A2DP Codec
Vendor ID 0x0000000a
Vendor Specific Codec ID 0x0001
Stream End-Point #3: Audio Sink
Media Codec: MPEG24
Object Types: MPEG-2 AAC LC MPEG-4 AAC LC
Frequencies: 8kHz 11.025kHz 12kHz 16kHz 22.05kHz 24kHz 32kHz 44.1kHz 48kHz
Channels: 1 2
Bitrate: 320000
VBR: Yes
Content Protection: SCMS-T
Stream End-Point #2: Audio Sink
Media Codec: MPEG12
Channel Modes: Mono DualChannel Stereo JointStereo
Frequencies: 16Khz 22.05Khz 24Khz 32Khz 44.1Khz 48Khz
CRC: Yes
Layer: 3
Bit Rate: Free format
VBR: Yes
Payload Format: RFC-2250
Content Protection: SCMS-T
Stream End-Point #9: Audio Sink
Media Codec: Vendor Specific A2DP Codec
Vendor ID 0x0000012d
Vendor Specific Codec ID 0x00aa
Vendor Specific Value (LDAC)
Unknown: 3c 07
Content Protection: SCMS-T
Stream End-Point #8: Audio Sink
Media Codec: Vendor Specific A2DP Codec
Vendor ID 0x0000053a
Vendor Specific Codec ID 0x484c
Content Protection: SCMS-T
Stream End-Point #1: Audio Sink
Media Codec: SBC
Channel Modes: Mono DualChannel Stereo JointStereo
Frequencies: 16Khz 32Khz 44.1Khz 48Khz
Subbands: 4 8
Blocks: 4 8 12 16
Bitpool Range: 2-53
Content Protection: SCMS-T ```
from pulseaudio-modules-bt.
Have you got ffmpeg and libldac installed?
If you are not using v1.1.99, devel-package also required.
from pulseaudio-modules-bt.
Have you got ffmpeg and libldac installed?
Aha, I was missing libldac-devel. After restarting pulseaudio and the bluetooth service, it now uses the LDAC profile by default.
However, I still cannot switch to other audio profiles - including the aptX-HD one that it was using previously!
from pulseaudio-modules-bt.
@bwars
https://github.com/EHfive/pulseaudio-modules-bt/wiki#can-i-choose-codec-
from pulseaudio-modules-bt.
The "Unavailable", literally ... unavailable, at least inside these modules
from pulseaudio-modules-bt.
I tried enabling the -E option, but it didn't help. I'm using bluez-5.50-3.fc29 from the official Fedora repository though - perhaps the experimental features aren't available in that?
If I do "pactl list sinks | grep -e bluez -e a2dp_codec" I do indeed just get the LDAC option listed.
For the record, I'm also using pulseaudio-module-bluetooth-freeworld-1.1-3.fc29.
from pulseaudio-modules-bt.
Help yourself, plzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
from pulseaudio-modules-bt.
Yeah, I figured it would be that, just thought I'd give an update first as I can't try that just now. Thanks for the help!
from pulseaudio-modules-bt.
I have a similar issue.
Unfortunately, Fedora's
bluez
package comes without theavinfo
tool included: bug #1699680, so I rebuilt it myself with the tool included. My headset seems to support SBC only:Connecting ... Stream End-Point #1: Audio Sink Media Codec: SBC Channel Modes: Mono DualChannel Stereo JointStereo Frequencies: 16Khz 32Khz 44.1Khz 48Khz Subbands: 4 8 Blocks: 4 8 12 16 Bitpool Range: 2-53 Content Protection: SCMS-T
I've rebuilt the Fedora's bluez rpm package (https://packagecloud.io/eminguez/bluez) and now I have avinfo
but I don't have my headphones to test it :) I'll update the comment to reflect my findings.
Thanks.
Just in case, the patch is simply this:
diff --git a/bluez.spec b/bluez.spec
index c0a7d4a..820ce55 100644
--- a/bluez.spec
+++ b/bluez.spec
@@ -1,7 +1,7 @@
Name: bluez
Summary: Bluetooth utilities
Version: 5.50
-Release: 6%{?dist}
+Release: 7%{?dist}
License: GPLv2+
URL: http://www.bluez.org/
@@ -69,6 +69,7 @@ Utilities for use in Bluetooth applications:
- gatttool
- start scripts (Red Hat)
- pcmcia configuration files
+ - avinfo
The BLUETOOTH trademarks are owned by Bluetooth SIG, Inc., U.S.A.
@@ -146,6 +147,10 @@ make install DESTDIR=$RPM_BUILD_ROOT
# Debian bug #720486
install -m0755 attrib/gatttool $RPM_BUILD_ROOT%{_bindir}
+# "make install" fails to install avinfo, for Bluetooth protocol discovery
+# Red Hat Bugzilla bug #1699680
+install -m0755 tools/avinfo $RPM_BUILD_ROOT%{_bindir}
+
# Remove autocrap and libtool droppings
find $RPM_BUILD_ROOT -name '*.la' -delete
@@ -219,6 +224,7 @@ install -D -p -m0755 %{SOURCE4} ${RPM_BUILD_ROOT}/%{_libexecdir}/bluetooth/
%{_bindir}/mpris-proxy
%{_bindir}/gatttool
%{_bindir}/rctest
+%{_bindir}/avinfo
%{_mandir}/man1/btattach.1.gz
%{_mandir}/man1/ciptool.1.gz
%{_mandir}/man1/hcitool.1.gz
@@ -265,6 +271,9 @@ install -D -p -m0755 %{SOURCE4} ${RPM_BUILD_ROOT}/%{_libexecdir}/bluetooth/
%{_userunitdir}/obex.service
%changelog
+* Tue Apr 16 2019 Eduardo Minguez <[email protected]> - 5.50-7
+- Added avinfo
+
* Sun Feb 17 2019 Igor Gnatenko <[email protected]> - 5.50-6
- Disable tests temporarily
I'm having issues (https://pagure.io/fedora-infrastructure/issue/7715) trying to create the PR to the bluez repo (https://src.fedoraproject.org/rpms/bluez) but once fixed, hopefully I will create the PR to be included in Fedora
from pulseaudio-modules-bt.
avinfo output:
Connecting ...
Stream End-Point #6: Audio Sink
Media Codec: Vendor Specific A2DP Codec
Vendor ID 0x0000000a
Vendor Specific Codec ID 0x0002
Content Protection: SCMS-T
Stream End-Point #5: Audio Sink
Media Codec: Vendor Specific A2DP Codec
Vendor ID 0x0000004f
Vendor Specific Codec ID 0x0001
Vendor Specific Value (aptX)
Frequencies: 44.1kHz 48kHz
Channel modes: Stereo
Content Protection: SCMS-T
Stream End-Point #53: Audio Source
Media Codec: Vendor Specific A2DP Codec
Vendor ID 0x0000000a
Vendor Specific Codec ID 0x0106
Content Protection: SCMS-T
Stream End-Point #21: Audio Sink
Media Codec: Vendor Specific A2DP Codec
Vendor ID 0x0000000a
Vendor Specific Codec ID 0x0106
Content Protection: SCMS-T
Stream End-Point #49: Audio Source
Media Codec: Vendor Specific A2DP Codec
Vendor ID 0x0000000a
Vendor Specific Codec ID 0x0103
Content Protection: SCMS-T
Stream End-Point #17: Audio Sink
Media Codec: Vendor Specific A2DP Codec
Vendor ID 0x0000000a
Vendor Specific Codec ID 0x0103
Content Protection: SCMS-T
Stream End-Point #33: Audio Source
Media Codec: SBC
Channel Modes: Mono DualChannel Stereo JointStereo
Frequencies: 16Khz 32Khz 44.1Khz 48Khz
Subbands: 4 8
Blocks: 4 8 12 16
Bitpool Range: 2-53
Content Protection: SCMS-T
Stream End-Point #1: Audio Sink
Media Codec: SBC
Channel Modes: Mono DualChannel Stereo JointStereo
Frequencies: 16Khz 32Khz 44.1Khz 48Khz
Subbands: 4 8
Blocks: 4 8 12 16
Bitpool Range: 2-53
Content Protection: SCMS-T
Then, I've updated to pulseaudio-module-bluetooth-freeworld-1.1.99-2.fc29.x86_64
, modified /etc/systemd/system/bluetooth.target.wants/bluetooth.service
to add -E
at the Exec command, reloaded systemd and restarted the bluetooth service.
Now I can use aptX, but no LDAC (which doesn't seem to be supported by the headphones), nor aptX HD (which doesn't seem to be supported by the headphones) nor SBC (IDK why):
abr 17 11:23:43 galactica.minwi.lan pulseaudio[1943]: W: [pulseaudio] module-bluez5-device.c: Refused to switch profile to a2dp_sink_ldac: Unavailable profile
abr 17 11:23:48 galactica.minwi.lan pulseaudio[1943]: W: [pulseaudio] module-bluez5-device.c: Refused to switch profile to a2dp_sink_aptx_hd: Unavailable profile
abr 17 11:23:54 galactica.minwi.lan pulseaudio[1943]: W: [pulseaudio] module-bluez5-device.c: Refused to switch profile to a2dp_sink_sbc: Unavailable profile
Also, I've just did the PR to Fedora's bluez package to include avinfo
https://src.fedoraproject.org/rpms/bluez/pull-request/1
from pulseaudio-modules-bt.
Now I can use aptX, but no LDAC (which doesn't seem to be supported by the headphones), nor aptX HD (which doesn't seem to be supported by the headphones) nor SBC (IDK why):
There was a bug in bluez; https://git.kernel.org/pub/scm/bluetooth/bluez.git/commit/?id=9f7659a44601e043bdb6724b0ab4f3f59c46e9fe.
Then, I commited 9ff89b4 after v1.1.99 released.
So you have to upgrade both pulseaudio-modules-bt and bluez to newest, or downgrade bluez revision which before https://git.kernel.org/pub/scm/bluetooth/bluez.git/commit/?id=9f7659a44601e043bdb6724b0ab4f3f59c46e9fe
from pulseaudio-modules-bt.
Related Issues (20)
- ffmpeg_libs.c: Cannot open libavcodec library: libavcodec.so.58. /lib/i386-linux-gnu/libxvidcore.so.4: cannot make segment writable for relocation: Operation not permitted HOT 3
- Support for 2 SBC profiles HOT 2
- [Question] How to change LDAC bit rate or force highest abrQualityModeID HOT 2
- [BUG] bluetooth HSP/HFP does not work with autodetect_mtu=1 HOT 3
- [BUG] Can't build with libpulse/pulseaudio v13.99.3 HOT 2
- Module settings ignored? Cannot connect Bose 700 in Dual Channel SBC HD/XQ mode. HOT 4
- Incompatible with pulseaudio 14.0 release HOT 2
- Packaging issue? Cannot install on Fedora Silverblue 33 using RPM Fusion 33? HOT 2
- [BUG] Only SBC Available on WH-1000xm3 HOT 1
- unsupported codecs on QCC3020 device HOT 5
- [BUG] unable to create file src/modules/alsa/mixer/samples/USB Device 0x46d:0x9a4--USB Mixer: Invalid argument HOT 2
- Get it into official repositories HOT 4
- Pipewire coming to Fedora HOT 10
- Donations HOT 1
- Support for changing AAC frequency cutoff HOT 1
- Errors when trying to use SBC HOT 1
- [BUG] HOT 1
- [BUG] error: pathspec 'v14.0' did not match any file(s) known to git HOT 2
- [BUG] Can no longer switch from HFP/HSP to any other profile HOT 1
- Deprecation Announcement HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pulseaudio-modules-bt.