From c79506f73357d46f18abca286bca6a83e5329061 Mon Sep 17 00:00:00 2001 From: Ondrej Holy Date: Tue, 13 Jan 2026 13:28:53 +0100 Subject: [PATCH] Disable player match that breaks Bluetooth on Mediatek MT7925 adapters Resolves: RHEL-140110 --- ...-487-e111-id.-https-github.com-libmt.patch | 28 +++++++++++++++++++ libmtp.spec | 10 +++++-- 2 files changed, 35 insertions(+), 3 deletions(-) create mode 100644 0001-disabled-foxconn-487-e111-id.-https-github.com-libmt.patch diff --git a/0001-disabled-foxconn-487-e111-id.-https-github.com-libmt.patch b/0001-disabled-foxconn-487-e111-id.-https-github.com-libmt.patch new file mode 100644 index 0000000..4396174 --- /dev/null +++ b/0001-disabled-foxconn-487-e111-id.-https-github.com-libmt.patch @@ -0,0 +1,28 @@ +From 2f8c5a9b54487637857387c2e9547969f0cacdac Mon Sep 17 00:00:00 2001 +From: Marcus Meissner +Date: Sun, 23 Nov 2025 20:17:11 +0100 +Subject: [PATCH] disabled foxconn 487 / e111 id. + https://github.com/libmtp/libmtp/issues/346 + +--- + src/music-players.h | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/src/music-players.h b/src/music-players.h +index caee506..ace62ca 100644 +--- a/src/music-players.h ++++ b/src/music-players.h +@@ -3465,8 +3465,10 @@ + DEVICE_FLAGS_ANDROID_BUGS }, + { "Vizio", 0x0489, "VTAB1008", 0xe040, + DEVICE_FLAGS_ANDROID_BUGS }, ++/* ... seems to cause problems, see https://github.com/libmtp/libmtp/issues/346 + { "Vizio (for Lenovo)", 0x0489, "LIFETAB S9714", 0xe111, + DEVICE_FLAGS_ANDROID_BUGS }, ++*/ + + + /* +-- +2.51.0 + diff --git a/libmtp.spec b/libmtp.spec index 5e3eb04..07f6fea 100644 --- a/libmtp.spec +++ b/libmtp.spec @@ -3,7 +3,7 @@ Name: libmtp Version: 1.1.18 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Software library for MTP media players URL: http://libmtp.sourceforge.net/ @@ -20,6 +20,8 @@ BuildRequires: libgcrypt-devel BuildRequires: chrpath Patch0: 0001-doc-Don-t-document-internal-endian-macros.patch +# https://github.com/libmtp/libmtp/issues/346 +Patch1: 0001-disabled-foxconn-487-e111-id.-https-github.com-libmt.patch %description This package provides a software library for communicating with MTP @@ -43,8 +45,7 @@ This package provides development files for the libmtp library for MTP media players. %prep -%setup -q -%patch0 -p1 +%autosetup -p1 %build %configure --disable-static \ @@ -110,6 +111,9 @@ chrpath --delete $RPM_BUILD_ROOT{%{_bindir},/usr/lib/udev}/mtp* %{_libdir}/pkgconfig/libmtp.pc %changelog +* Tue Jan 13 2026 Ondrej Holy - 1.1.18-7 +- Disable player match that breaks Bluetooth on Mediatek MT7925 adapters (RHEL-140110) + * Fri Jan 21 2022 Ondrej Holy - 1.1.18-6 - Ship libmtp-devel in CRB (#2026310)