summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2021-04-07 11:49:22 +0900
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>2021-04-07 11:49:22 +0900
commit12dd2404bee8400e0f8c7725748db5582b1a07f8 (patch)
treed39181d74b6e674e51572e8d27dc5a282d6a6bf7
parent8b4b76dc50210263aee3f36be6ecf000a7ff6d30 (diff)
downloadsystemd-12dd2404bee8400e0f8c7725748db5582b1a07f8.tar.gz
hwdb: add database entries for node with multiple units
In IEEE 1394 bus, one node can include multiple units, which represent certain functions such as video and audio. Although it's possible to distinguish each unit, Linux FireWire character device corresponding to the node can not have multiple group owners, therefore it's forced to select one of the units as representative for function. This commit adds database entries for units belongs to the same node. The entries are aligned to inverse order of corresponding unit order in configuration ROM to select the first unit as the representative. Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
-rw-r--r--hwdb.d/80-ieee1394-unit-function.hwdb62
1 files changed, 62 insertions, 0 deletions
diff --git a/hwdb.d/80-ieee1394-unit-function.hwdb b/hwdb.d/80-ieee1394-unit-function.hwdb
index c499f938bf..359ec8e5da 100644
--- a/hwdb.d/80-ieee1394-unit-function.hwdb
+++ b/hwdb.d/80-ieee1394-unit-function.hwdb
@@ -1071,3 +1071,65 @@ ieee1394:ven000002F0mo00000000sp0000A02Dver00000100
ID_VENDOR_FROM_DATABASE=Cool Stream
ID_MODEL_FROM_DATABASE=iSweet
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.
+#
+
+# Apple iSight: unit 0: IIDC v1.30 function.
+ieee1394:node:ven0x080007mo0x000008units*0x00a02d:0x000102*
+ieee1394:ven00080007mo00000008sp0000A02Dver00000102
+ ID_VENDOR_FROM_DATABASE=Apple
+ ID_MODEL_FROM_DATABASE=iSight
+ IEEE1394_UNIT_FUNCTION_VIDEO=1
+
+# Apple iSight: unit 1: audio function.
+ieee1394:node:ven0x080007mo0x000008units*0x000a27:0x000010*
+ieee1394:ven00080007mo00000008sp00000A27ver00000010
+ ID_VENDOR_FROM_DATABASE=Apple
+ ID_MODEL_FROM_DATABASE=iSight
+ IEEE1394_UNIT_FUNCTION_AUDIO=1
+
+# Apple iSight: unit 2: factory function.
+ieee1394:node:ven0x080007mo0x000008units*0x000a27:0x000011*
+ieee1394:ven00080007mo00000008sp00000A27ver00000011
+ ID_VENDOR_FROM_DATABASE=Apple
+ ID_MODEL_FROM_DATABASE=iSight
+ IEEE1394_UNIT_FUNCTION_VIDEO=1
+
+# Apple iSight: unit 3: iris diaphragm function.
+ieee1394:node:ven0x080007mo0x000008units*0x000a27:0x000012*
+ieee1394:ven00080007mo00000008sp00000A27ver00000012
+ ID_VENDOR_FROM_DATABASE=Apple
+ ID_MODEL_FROM_DATABASE=iSight
+ IEEE1394_UNIT_FUNCTION_VIDEO=1
+
+# MOTU V4HD: unit 0: unknown function.
+ieee1394:node:ven0x0001f2units*0x0001f2:0x000021*
+ieee1394:ven000001F2mo*sp000001F2ver00000021
+ ID_VENDOR_FROM_DATABASE=MOTU
+ ID_MODEL_FROM_DATABASE=MOTU V4HD
+ IEEE1394_UNIT_FUNCTION_VIDEO=1
+
+# MOTU V4HD: unit 1: unknown function.
+ieee1394:node:ven0x0001f2units*0x0001f2:0x000022*
+ieee1394:ven000001F2mo*sp000001F2ver00000022
+ ID_VENDOR_FROM_DATABASE=MOTU
+ ID_MODEL_FROM_DATABASE=MOTU V4HD
+ IEEE1394_UNIT_FUNCTION_VIDEO=1
+
+# MOTU V4HD: unit 2: unknown function.
+ieee1394:node:ven0x0001f2units*0x0001f2:0x000023*
+ieee1394:ven000001F2mo*sp000001F2ver00000023
+ ID_VENDOR_FROM_DATABASE=MOTU
+ ID_MODEL_FROM_DATABASE=MOTU V4HD
+ IEEE1394_UNIT_FUNCTION_VIDEO=1
+
+# MOTU V4HD: unit 3: unknown function.
+ieee1394:node:ven0x0001f2units*0x0001f2:0x000024*
+ieee1394:ven000001F2mo*sp000001F2ver00000024
+ ID_VENDOR_FROM_DATABASE=MOTU
+ ID_MODEL_FROM_DATABASE=MOTU V4HD
+ IEEE1394_UNIT_FUNCTION_VIDEO=1