summaryrefslogtreecommitdiff
path: root/hwdb.d
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2022-10-31 12:48:31 +0900
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>2022-10-31 12:48:31 +0900
commitc017623254549d2b7ea41062ed6d0719a4aae03f (patch)
treed2c8aaa6c768a9ae9943e0eaa53add5d36ed5151 /hwdb.d
parent8bc468190b3f4bb943384681d5d1c9b94a0dfcbc (diff)
downloadsystemd-c017623254549d2b7ea41062ed6d0719a4aae03f.tar.gz
hwdb: ieee1394-unit-function: add comment about legacy AV/C devices
It appears that exceptional layout of legacy device requires extra care of hwdb entry for node device since Linux FireWire subsystem do not pick up numeric model identifier in vendor directory. In detail, see: * https://github.com/systemd/systemd/issues/25029 In the case, udev rule without model attribute is used. Thus hwdb entry for generic AV/C device should match both cases with and without the attribute. The wildcard added by a commit 5e577da5f824 ("hwdb: drop model specifier from general entries") satisfies this condition, This commit adds comment about it.
Diffstat (limited to 'hwdb.d')
-rw-r--r--hwdb.d/80-ieee1394-unit-function.hwdb5
1 files changed, 5 insertions, 0 deletions
diff --git a/hwdb.d/80-ieee1394-unit-function.hwdb b/hwdb.d/80-ieee1394-unit-function.hwdb
index dcc60fd3c8..6fa1329171 100644
--- a/hwdb.d/80-ieee1394-unit-function.hwdb
+++ b/hwdb.d/80-ieee1394-unit-function.hwdb
@@ -42,6 +42,11 @@
# * Configuration ROM for AV/C Devices 1.0 (Dec. 12, 2000, 1394 Trading Association, TA Document
# 1999027)
#
+# Exceptional layout of configuration ROM for legacy device is described in annex of the above
+# document. The layout has some entries for model information in vendor directory instead of root
+# or unit directories. For the case, Linux FireWire subsystem don't detect Model_ID and model name,
+# thus node key without 'mo' field is detected. Wild card pattern is used to match the case with and
+# without mo field in customized key for node device.
# Just for backward compatibility. Please invalidate IEEE1394_UNIT_FUNCTION_VIDEO by adding entries
# if it is inconvenient.