From 78eb99c49673de1a418d60901ed4b7d2907af728 Mon Sep 17 00:00:00 2001 From: Takashi Sakamoto Date: Wed, 5 May 2021 23:10:29 +0900 Subject: hwdb: ieee1394-unit-function: add IIDC generic entries Instrumentation & Industrial Digital Camera (IIDC) specifications are defined by 1394 Trading Association for camera device in IEEE 1394 bus. IIDC2 specifications are defined by joint working group between Japan Industrial Imaging Association (JIIA) and 1394 Trade Association as bus-independent specification. This commit adds entries for the specifications to remove existent udev rules. Supported specifications are listed below: * 1394-based Digital Camera Specification Version 1.04 (Aug. 9, 1996, 1394 Trading Association) * 1394-based Digital Camera Specification Version 1.20 (Jul. 23, 1998, 1394 Trading Association) * IIDC Digital Camera Control Specification Ver.1.30 (Jul. 25, 2000, 1394 Trading Association) * IIDC Digital Camera Control Specification Ver.1.31 (Feb. 2, 2004, 1394 Trading Association, TA Document 2003017) * IIDC Digital Camera Control Specification Ver.1.32 (Jul. 24, 2008, 1394 Trading Association, Document number 2007009) * IIDC2 Digital Camera Control Specification Ver.1.0.0 (Jan 26th, 2012, 1394 Trading Association, TS2011001) * IIDC2 Digital Camera Control Specification Ver.1.1.0 (May 19th, 2015, 1394 Trading Association, TS2015001) Reviewed-by: Damien Douxchamps Signed-off-by: Takashi Sakamoto --- rules.d/50-udev-default.rules.in | 1 - 1 file changed, 1 deletion(-) (limited to 'rules.d') diff --git a/rules.d/50-udev-default.rules.in b/rules.d/50-udev-default.rules.in index dabde06dde..47fd62e778 100644 --- a/rules.d/50-udev-default.rules.in +++ b/rules.d/50-udev-default.rules.in @@ -49,7 +49,6 @@ SUBSYSTEM=="sound", GROUP="audio", \ SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", MODE="0664" -SUBSYSTEM=="firewire", ATTR{units}=="*0x00a02d:0x00010*", GROUP="video" SUBSYSTEM=="firewire", ATTR{units}=="*0x00b09d:0x00010*", GROUP="video" SUBSYSTEM=="firewire", ATTR{units}=="*0x00a02d:0x010001*", GROUP="video" SUBSYSTEM=="firewire", ATTR{units}=="*0x00a02d:0x014001*", GROUP="video" -- cgit v1.2.1 From 70fb7e5da5ad24c09b6b58885c9da6c857beada0 Mon Sep 17 00:00:00 2001 From: Takashi Sakamoto Date: Wed, 5 May 2021 23:10:29 +0900 Subject: hwdb: ieee1394-unit-function: add entries for Point Grey cameras Point Grey Research, inc. shipped cameras to support IIDC, however some of them are necessarily compliant to IIDC specification in terms of the value of software version field in unit directory of configuration ROM. This commit adds entries for them. Reviewed-by: Damien Douxchamps Signed-off-by: Takashi Sakamoto --- rules.d/50-udev-default.rules.in | 1 - 1 file changed, 1 deletion(-) (limited to 'rules.d') diff --git a/rules.d/50-udev-default.rules.in b/rules.d/50-udev-default.rules.in index 47fd62e778..eab6c73461 100644 --- a/rules.d/50-udev-default.rules.in +++ b/rules.d/50-udev-default.rules.in @@ -49,7 +49,6 @@ SUBSYSTEM=="sound", GROUP="audio", \ SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", MODE="0664" -SUBSYSTEM=="firewire", ATTR{units}=="*0x00b09d:0x00010*", GROUP="video" SUBSYSTEM=="firewire", ATTR{units}=="*0x00a02d:0x010001*", GROUP="video" SUBSYSTEM=="firewire", ATTR{units}=="*0x00a02d:0x014001*", GROUP="video" -- cgit v1.2.1 From 002f6e92af14ddb864b7951208e4d93bd32ca61a Mon Sep 17 00:00:00 2001 From: Takashi Sakamoto Date: Wed, 5 May 2021 23:10:29 +0900 Subject: hwdb: ieee1394-unit-function: add entry for AV/C device with generic AV/C command set Typical node of AV/C device has standard content of configuration ROM. This is defined in documentation of 1394 Trading Association. * Configuration ROM for AV/C Devices 1.0 (Dec. 12, 2000, 1394 Trading Association, TA Document 1999027) However, it brings an issue that the functions in AV/C device are not distinguished just by the content of configuration ROM. In former commit, hardware database was added to describe function type of unit in the node, then udev rules are added to utilize the database. However, we have an request to obsolete existent udev rules by putting enough entries to the database. It should be done carefully. This commit adds entry into hardware database just for backward compatibility. The entry can match to some node and unit unexpectedly. Therefore this commit modifies existent entries to invalidate the effect from added entry. Signed-off-by: Takashi Sakamoto --- rules.d/50-udev-default.rules.in | 1 - 1 file changed, 1 deletion(-) (limited to 'rules.d') diff --git a/rules.d/50-udev-default.rules.in b/rules.d/50-udev-default.rules.in index eab6c73461..7ba3b70e09 100644 --- a/rules.d/50-udev-default.rules.in +++ b/rules.d/50-udev-default.rules.in @@ -49,7 +49,6 @@ SUBSYSTEM=="sound", GROUP="audio", \ SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", MODE="0664" -SUBSYSTEM=="firewire", ATTR{units}=="*0x00a02d:0x010001*", GROUP="video" SUBSYSTEM=="firewire", ATTR{units}=="*0x00a02d:0x014001*", GROUP="video" SUBSYSTEM=="firewire", TEST=="units", TEST=="model", \ -- cgit v1.2.1 From e51d5b9c8a4cb083829f48b3e166ada4b953c704 Mon Sep 17 00:00:00 2001 From: Takashi Sakamoto Date: Wed, 5 May 2021 23:10:29 +0900 Subject: hwdb: ieee1394-unit-function: add entry for AV/C device with vendor unique command set In IEC 61883-1:1998, we can see some values for AV/C device with vendor unique command set in IEC 61883-1:1998. Current udev rule handles it for video. However it brings an issue that the functions in AV/C device are not distinguished just by the content of configuration ROM. In former commit, hardware database was added to describe function type of unit in the node, then udev rules are added to utilize the database. However, we have an request to obsolete existent udev rules by putting enough entries to the database. It should be done carefully. This commit adds entry into hardware database just for backward compatibility. The entry can match to some node and unit unexpectedly. Therefore this commit modifies existent entries to invalidate the effect from added entry. Signed-off-by: Takashi Sakamoto --- rules.d/50-udev-default.rules.in | 2 -- 1 file changed, 2 deletions(-) (limited to 'rules.d') diff --git a/rules.d/50-udev-default.rules.in b/rules.d/50-udev-default.rules.in index 7ba3b70e09..53d485dabf 100644 --- a/rules.d/50-udev-default.rules.in +++ b/rules.d/50-udev-default.rules.in @@ -49,8 +49,6 @@ SUBSYSTEM=="sound", GROUP="audio", \ SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", MODE="0664" -SUBSYSTEM=="firewire", ATTR{units}=="*0x00a02d:0x014001*", GROUP="video" - SUBSYSTEM=="firewire", TEST=="units", TEST=="model", \ IMPORT{builtin}="hwdb 'ieee1394:node:ven$attr{vendor}mo$attr{model}units$attr{units}'" -- cgit v1.2.1