summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2022-10-31 15:03:44 +0900
committerGitHub <noreply@github.com>2022-10-31 15:03:44 +0900
commit0e523432aa0c6531203c5d9b6fe220a19df6b99b (patch)
treed2c8aaa6c768a9ae9943e0eaa53add5d36ed5151
parent0f9a160ae1f893cfeb20b34622564684806994d8 (diff)
parentc017623254549d2b7ea41062ed6d0719a4aae03f (diff)
downloadsystemd-0e523432aa0c6531203c5d9b6fe220a19df6b99b.tar.gz
Merge pull request #25193 from takaswie/topic/udev/builtin/hwdb/ieee1394/support-legacy-layout-of-configuration-rom
hwdb: ieee1394-unit-function: arrangement for legacy device
-rw-r--r--hwdb.d/80-ieee1394-unit-function.hwdb16
1 files changed, 16 insertions, 0 deletions
diff --git a/hwdb.d/80-ieee1394-unit-function.hwdb b/hwdb.d/80-ieee1394-unit-function.hwdb
index 2ff66f15e0..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.
@@ -1304,6 +1309,17 @@ ieee1394:ven00001287mo00000036sp0000A02Dver00010001
IEEE1394_UNIT_FUNCTION_VIDEO=1
#
+# Legacy layout of configuration ROM described in Annex 1 of 'Configuration ROM for AV/C Devices
+# 1.0 (December 12, 2000, 1394 Trading Association, TA Document 1999027)'.
+#
+
+ieee1394:node:ven0x080046units0x00a02d:0x010001
+ieee1394:ven00080046mo00000000sp0000A02Dver00010001
+ ID_VENDOR_FROM_DATABASE=Sony Corporation
+ ID_MODEL_FROM_DATABASE=DCR-TRV310
+ IEEE1394_UNIT_FUNCTION_VIDEO=1
+
+#
# Node with multiple units for several functions.
#
# When deciding the type of unit, please cooperate with kernel developers working for driver.