systemd/0977-hwdb-ieee1394-unit-function-add-Tascam-IF-FW-DM-mkII.patch
Jan Macku 5e4e586032 systemd-252-41
Resolves: RHEL-36276,RHEL-45020,RHEL-50672,RHEL-5950
2024-08-16 09:00:42 +02:00

44 lines
1.7 KiB
Diff

From 509a1512956c01f0f6e13f85ecd8afc1c40f8def Mon Sep 17 00:00:00 2001
From: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Date: Mon, 6 May 2024 17:46:00 +0900
Subject: [PATCH] hwdb: ieee1394-unit-function: add Tascam IF-FW/DM mkII
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Jörg M. Sigle contriutes configuration ROM image for Tascam IF-FW/DM mkII,
which includes a quirk that the values of model fields in both root and
unit directory entries are different. In device attributes, it appears
that the value of model attribute in unit device is different from the one
in node device.
This commit adds hwdb entry for the model.
(cherry picked from commit 9223a4993a2d96369a528ed03d13b0650850500b)
Related: RHEL-5950
---
hwdb.d/80-ieee1394-unit-function.hwdb | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/hwdb.d/80-ieee1394-unit-function.hwdb b/hwdb.d/80-ieee1394-unit-function.hwdb
index ce29c5b217..62a8dda90b 100644
--- a/hwdb.d/80-ieee1394-unit-function.hwdb
+++ b/hwdb.d/80-ieee1394-unit-function.hwdb
@@ -850,6 +850,15 @@ ieee1394:ven000050C2mo00000070sp000050C2ver00000001
ID_MODEL_FROM_DATABASE=Duende FireWire
IEEE1394_UNIT_FUNCTION_AUDIO=1
+# The value of model attribute in unit device is different from the one in node device, due to the
+# content of its configuration ROM.
+ieee1394:node:ven0x00022emo0x800006units0x00022e:0x800006
+ieee1394:ven0000022Emo0000022Esp0000022Ever00800006
+ ID_VENDOR_FROM_DATABASE=TASCAM
+ ID_MODEL_FROM_DATABASE=IF-FW/DM mkII
+ IEEE1394_UNIT_FUNCTION_MIDI=1
+ IEEE1394_UNIT_FUNCTION_AUDIO=1
+
ieee1394:node:ven0x000166mo0x000024units0x000166:0x000001
ieee1394:ven00000166mo00000024sp00000166ver00000001
ID_VENDOR_FROM_DATABASE=TC Electronic