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>
This commit is contained in:
Takashi Sakamoto 2021-04-07 11:49:22 +09:00
parent 8b4b76dc50
commit 12dd2404be

View file

@ -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