Disable player match that breaks Bluetooth on Mediatek MT7925 adapters

Resolves: RHEL-140110
This commit is contained in:
Ondrej Holy 2026-01-13 13:28:53 +01:00
parent a88c04fd07
commit c79506f733
2 changed files with 35 additions and 3 deletions

View File

@ -0,0 +1,28 @@
From 2f8c5a9b54487637857387c2e9547969f0cacdac Mon Sep 17 00:00:00 2001
From: Marcus Meissner <marcus@jet.franken.de>
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

View File

@ -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 <oholy@redhat.com> - 1.1.18-7
- Disable player match that breaks Bluetooth on Mediatek MT7925 adapters (RHEL-140110)
* Fri Jan 21 2022 Ondrej Holy <oholy@redhat.com> - 1.1.18-6
- Ship libmtp-devel in CRB (#2026310)