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 95aa37f..c2784b5 100644 --- a/libmtp.spec +++ b/libmtp.spec @@ -3,7 +3,7 @@ Name: libmtp Version: 1.1.19 -Release: 9%{?dist} +Release: 10%{?dist} Summary: Software library for MTP media players URL: http://libmtp.sourceforge.net/ @@ -24,6 +24,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 @@ -47,8 +49,7 @@ This package provides development files for the libmtp library for MTP media players. %prep -%setup -q -%patch0 -p1 +%autosetup -p1 %build yes "" | ./autogen.sh @@ -115,6 +116,9 @@ chrpath --delete $RPM_BUILD_ROOT{%{_bindir},/usr/lib/udev}/mtp* %{_libdir}/pkgconfig/libmtp.pc %changelog +* Tue Jan 13 2026 Ondrej Holy - 1.1.19-10 +- Disable player match that breaks Bluetooth on Mediatek MT7925 adapters (RHEL-116829) + * Tue Oct 29 2024 Troy Dawson - 1.1.19-9 - Bump release for October 2024 mass rebuild: Resolves: RHEL-64018