^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) What: /sys/bus/firewire/devices/fw[0-9]+/
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) Date: May 2007
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) KernelVersion: 2.6.22
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) Contact: linux1394-devel@lists.sourceforge.net
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) IEEE 1394 node device attributes.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) Read-only. Mutable during the node device's lifetime.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) See IEEE 1212 for semantic definitions.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) config_rom
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) Contents of the Configuration ROM register.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) Binary attribute; an array of host-endian u32.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) guid
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) The node's EUI-64 in the bus information block of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) Configuration ROM.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) Hexadecimal string representation of an u64.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) What: /sys/bus/firewire/devices/fw[0-9]+/units
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) Date: June 2009
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) KernelVersion: 2.6.31
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) Contact: linux1394-devel@lists.sourceforge.net
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) IEEE 1394 node device attribute.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) Read-only. Mutable during the node device's lifetime.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) See IEEE 1212 for semantic definitions.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) units
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) Summary of all units present in an IEEE 1394 node.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) Contains space-separated tuples of specifier_id and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) version of each unit present in the node. Specifier_id
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) and version are hexadecimal string representations of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) u24 of the respective unit directory entries.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) Specifier_id and version within each tuple are separated
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) by a colon.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) Users: udev rules to set ownership and access permissions or ACLs of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) /dev/fw[0-9]+ character device files
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) What: /sys/bus/firewire/devices/fw[0-9]+/is_local
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) Date: July 2012
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) KernelVersion: 3.6
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) Contact: linux1394-devel@lists.sourceforge.net
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) IEEE 1394 node device attribute.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) Read-only and immutable.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) Values: 1: The sysfs entry represents a local node (a controller card).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) 0: The sysfs entry represents a remote node.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) What: /sys/bus/firewire/devices/fw[0-9]+[.][0-9]+/
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) Date: May 2007
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) KernelVersion: 2.6.22
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) Contact: linux1394-devel@lists.sourceforge.net
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) IEEE 1394 unit device attributes.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60) Read-only. Immutable during the unit device's lifetime.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) See IEEE 1212 for semantic definitions.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63) modalias
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64) Same as MODALIAS in the uevent at device creation.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66) rom_index
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67) Offset of the unit directory within the parent device's
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68) (node device's) Configuration ROM, in quadlets.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 69) Decimal string representation.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 70)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 71)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 72) What: /sys/bus/firewire/devices/*/
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 73) Date: May 2007
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 74) KernelVersion: 2.6.22
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 75) Contact: linux1394-devel@lists.sourceforge.net
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 76) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 77) Attributes common to IEEE 1394 node devices and unit devices.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 78) Read-only. Mutable during the node device's lifetime.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 79) Immutable during the unit device's lifetime.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 80) See IEEE 1212 for semantic definitions.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 81)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 82) These attributes are only created if the root directory of an
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 83) IEEE 1394 node or the unit directory of an IEEE 1394 unit
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 84) actually contains according entries.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 85)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 86) hardware_version
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 87) Hexadecimal string representation of an u24.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 88)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 89) hardware_version_name
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 90) Contents of a respective textual descriptor leaf.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 91)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 92) model
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 93) Hexadecimal string representation of an u24.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 94)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 95) model_name
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 96) Contents of a respective textual descriptor leaf.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 97)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 98) specifier_id
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 99) Hexadecimal string representation of an u24.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 100) Mandatory in unit directories according to IEEE 1212.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 101)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 102) vendor
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 103) Hexadecimal string representation of an u24.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 104) Mandatory in the root directory according to IEEE 1212.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 105)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 106) vendor_name
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 107) Contents of a respective textual descriptor leaf.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 108)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 109) version
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 110) Hexadecimal string representation of an u24.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 111) Mandatory in unit directories according to IEEE 1212.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 112)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 113)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 114) What: /sys/bus/firewire/drivers/sbp2/fw*/host*/target*/*:*:*:*/ieee1394_id
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 115) formerly
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 116) /sys/bus/ieee1394/drivers/sbp2/fw*/host*/target*/*:*:*:*/ieee1394_id
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 117) Date: Feb 2004
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 118) KernelVersion: 2.6.4
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 119) Contact: linux1394-devel@lists.sourceforge.net
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 120) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 121) SCSI target port identifier and logical unit identifier of a
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 122) logical unit of an SBP-2 target. The identifiers are specified
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 123) in SAM-2...SAM-4 annex A. They are persistent and world-wide
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 124) unique properties the SBP-2 attached target.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 125)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 126) Read-only attribute, immutable during the target's lifetime.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 127) Format, as exposed by firewire-sbp2 since 2.6.22, May 2007:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 128) Colon-separated hexadecimal string representations of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 129)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 130) u64 EUI-64 : u24 directory_ID : u16 LUN
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 131)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 132) without 0x prefixes, without whitespace. The former sbp2 driver
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 133) (removed in 2.6.37 after being superseded by firewire-sbp2) used
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 134) a somewhat shorter format which was not as close to SAM.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 135)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 136) Users: udev rules to create /dev/disk/by-id/ symlinks