1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>org.freedesktop.UDisks.Port</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="udisks Reference Manual">
<link rel="up" href="ref-dbus.html" title="D-Bus API Reference">
<link rel="prev" href="Expander.html" title="org.freedesktop.UDisks.Expander">
<link rel="next" href="tools-fileformats.html" title="Manual Pages">
<meta name="generator" content="GTK-Doc V1.17 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="Expander.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="ref-dbus.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">udisks Reference Manual</th>
<td><a accesskey="n" href="tools-fileformats.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#Port.synopsis" class="shortcut">Top</a>
|
<a href="#Port.description" class="shortcut">Description</a>
|
<a href="#Port.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
|
<a href="#Port.properties" class="shortcut">Properties</a>
|
<a href="#Port.signals" class="shortcut">Signals</a>
</td></tr>
</table>
<div class="refentry">
<a name="Port"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle">org.freedesktop.UDisks.Port</span></h2>
<p>org.freedesktop.UDisks.Port — Port interface</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<h2>Methods</h2>
<pre class="synopsis"></pre>
</div>
<div class="refsect1">
<a name="id441426"></a><h2>Signals</h2>
<pre class="synopsis"><a class="link" href="Port.html#Port::Changed">Changed</a> ()
</pre>
</div>
<div class="refsect1">
<a name="id438179"></a><h2>Implemented Interfaces</h2>
<p>
Objects implementing org.freedesktop.UDisks.Port also implements
org.freedesktop.DBus.Introspectable,
org.freedesktop.DBus.Properties
</p>
</div>
<div class="refsect1">
<a name="id447365"></a><h2>Properties</h2>
<pre class="synopsis"><a class="link" href="Port.html#Port:NativePath">'NativePath'</a> read 's'
<a class="link" href="Port.html#Port:Adapter">'Adapter'</a> read 'o'
<a class="link" href="Port.html#Port:Parent">'Parent'</a> read 'o'
<a class="link" href="Port.html#Port:Number">'Number'</a> read 'i'
<a class="link" href="Port.html#Port:ConnectorType">'ConnectorType'</a> read 's'
</pre>
</div>
<div class="refsect1">
<a name="id444303"></a><h2>Description</h2>
<p>
</p>
<p>
This interface provides information about ports attached to
either an adapter or expander (e.g. SAS expanders or
SATA Port Multipliers).
</p>
<p>
</p>
</div>
<div class="refsect1">
<a name="id447047"></a><h2>Details</h2>
</div>
<div class="refsect1">
<a name="id447059"></a><h2>Signal Details</h2>
<div class="refsect2">
<a name="id447067"></a><h3>
<a name="Port::Changed"></a>The Changed signal</h3>
<pre class="programlisting">Changed ()</pre>
</div>
<p>
Something on the port changed.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody></tbody>
</table></div>
</div>
<div class="refsect1">
<a name="id441359"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="id441370"></a><h3>
<a name="Port:NativePath"></a>The "NativePath" property</h3>
<pre class="programlisting">'NativePath' read 's'
</pre>
</div>
<p>
OS specific native path of the port. On Linux this is the sysfs path, for example <code class="literal">/sys/devices/pci0000:00/0000:00:1f.1/host3/scsi_host/host3</code> or TODO:SAS example.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody></tbody>
</table></div>
<hr>
<div class="refsect2">
<a name="id441418"></a><h3>
<a name="Port:Adapter"></a>The "Adapter" property</h3>
<pre class="programlisting">'Adapter' read 'o'
</pre>
</div>
<p>
The object path of the adapter the port is attached to.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody></tbody>
</table></div>
<hr>
<div class="refsect2">
<a name="id441234"></a><h3>
<a name="Port:Parent"></a>The "Parent" property</h3>
<pre class="programlisting">'Parent' read 'o'
</pre>
</div>
<p>
The object path of the adapter or expansion device the port is attached to.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody></tbody>
</table></div>
<hr>
<div class="refsect2">
<a name="id447112"></a><h3>
<a name="Port:Number"></a>The "Number" property</h3>
<pre class="programlisting">'Number' read 'i'
</pre>
</div>
<p>
The number of the port (starting from zero) or -1 if unknown.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody></tbody>
</table></div>
<hr>
<div class="refsect2">
<a name="id447153"></a><h3>
<a name="Port:ConnectorType"></a>The "ConnectorType" property</h3>
<pre class="programlisting">'ConnectorType' read 's'
</pre>
</div>
<p>
The connector type for the port (or for wide connectors, that the port is part of) or blank if unknown.
</p>
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
<span class="bold"><strong>ata: </strong></span>Some kind of ATA connector</li>
<li class="listitem">
<span class="bold"><strong>ata_pata: </strong></span>Parallel ATA</li>
<li class="listitem">
<span class="bold"><strong>ata_sata: </strong></span>Serial ATA - not sure whether it's an internal or external port.</li>
<li class="listitem">
<span class="bold"><strong>ata_sata_internal: </strong></span>Internal Serial ATA</li>
<li class="listitem">
<span class="bold"><strong>ata_sata_external: </strong></span>External Serial ATA</li>
<li class="listitem">
<span class="bold"><strong>scsi: </strong></span>Some kind of SCSI connector</li>
<li class="listitem">
<span class="bold"><strong>scsi_sas: </strong></span>Some kind of SAS connector</li>
<li class="listitem">
<span class="bold"><strong>scsi_sas_internal: </strong></span>SAS (SFF-8482)</li>
<li class="listitem">
<span class="bold"><strong>scsi_sas_2x: </strong></span>SAS connector with 2 lanes</li>
<li class="listitem">
<span class="bold"><strong>scsi_sas_2x_wideband: </strong></span>SAS Hi-Density with 2 lanes (SFF-8484)</li>
<li class="listitem">
<span class="bold"><strong>scsi_sas_4x: </strong></span>Some kind of SAS connector with 4 lanes</li>
<li class="listitem">
<span class="bold"><strong>scsi_sas_4x_wideband: </strong></span>SAS Hi-Density with 4 lanes (SFF-8484)</li>
<li class="listitem">
<span class="bold"><strong>scsi_sas_4x_mini: </strong></span>Mini-SAS with 4 lanes (SFF-8087, iPass)</li>
<li class="listitem">
<span class="bold"><strong>scsi_sas_4x_mini_external: </strong></span>External Mini-SAS with 4 lanes (SFF-8088)</li>
<li class="listitem">
<span class="bold"><strong>scsi_sas_4x_infiband: </strong></span>Infiniband with 4 lanes (SFF-8470)</li>
</ul></div>
<p>
TODO: include other connector types
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody></tbody>
</table></div>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.17</div>
</body>
</html>
|