summaryrefslogtreecommitdiff
path: root/static/netbsd/man4/ubt.4 4.html
diff options
context:
space:
mode:
Diffstat (limited to 'static/netbsd/man4/ubt.4 4.html')
-rw-r--r--static/netbsd/man4/ubt.4 4.html106
1 files changed, 0 insertions, 106 deletions
diff --git a/static/netbsd/man4/ubt.4 4.html b/static/netbsd/man4/ubt.4 4.html
deleted file mode 100644
index e2fc7af4..00000000
--- a/static/netbsd/man4/ubt.4 4.html
+++ /dev/null
@@ -1,106 +0,0 @@
-<table class="head">
- <tr>
- <td class="head-ltitle">UBT(4)</td>
- <td class="head-vol">Device Drivers Manual</td>
- <td class="head-rtitle">UBT(4)</td>
- </tr>
-</table>
-<div class="manual-text">
-<section class="Sh">
-<h1 class="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
-<p class="Pp"><code class="Nm">ubt</code> &#x2014; <span class="Nd">USB
- Bluetooth driver</span></p>
-</section>
-<section class="Sh">
-<h1 class="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<p class="Pp"><code class="Cd">ubt* at uhub? port ? configuration ? interface
- ?</code></p>
-</section>
-<section class="Sh">
-<h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-<p class="Pp">The <code class="Nm">ubt</code> driver provides support for USB
- Bluetooth dongles to the Bluetooth protocol stack.</p>
-<p class="Pp">USB Bluetooth dongles provide two interfaces, both of which the
- <code class="Nm">ubt</code> driver claims. The second interface is used for
- Isochronous data and will have several alternate configurations regarding
- bandwidth consumption, which can be set using the hw.ubtN.config
- <a class="Xr">sysctl(8)</a> variable. The number of alternate configurations
- is indicated by the value in the hw.ubtN.alt_config variable, and the isoc
- frame size for the current configuration is shown in the hw.ubtN.sco_rxsize
- and hw.ubtN.sco_txsize variables.</p>
-<p class="Pp">By default, configuration 0 is selected, which means that no
- bandwidth is used on the Isochronous interface and no SCO data can be sent.
- Consult the Bluetooth USB specification at https://www.bluetooth.org/ for
- complete instructions on setting bandwidth consumption. The following
- extract may be useful as a general guidance though details may differ
- between manufacturers.</p>
-<p class="Pp"></p>
-<dl class="Bl-tag Bl-compact">
- <dt>0</dt>
- <dd>No active voice channels</dd>
- <dt>1</dt>
- <dd>One voice channel with 8-bit encoding</dd>
- <dt>2</dt>
- <dd>Two voice channels with 8-bit encoding, or one voice channel with 16-bit
- encoding.</dd>
- <dt>3</dt>
- <dd>Three voice channels with 8-bit encoding</dd>
- <dt>4</dt>
- <dd>Two voice channels with 16-bit encoding</dd>
- <dt>5</dt>
- <dd>Three voice channels with 16-bit encoding</dd>
-</dl>
-</section>
-<section class="Sh">
-<h1 class="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
- ALSO</a></h1>
-<p class="Pp"><a class="Xr">bluetooth(4)</a>, <a class="Xr">uhub(4)</a>,
- <a class="Xr">sysctl(8)</a></p>
-</section>
-<section class="Sh">
-<h1 class="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
-<p class="Pp">This <code class="Nm">ubt</code> device driver was originally a
- character device written by <span class="An">David Sainty</span> and
- <span class="An">Lennart Augustsson</span>. It was rewritten to support
- socket based Bluetooth access for <span class="Ux">NetBSD 4.0</span> by
- <span class="An">Iain Hibbert</span>.</p>
-</section>
-<section class="Sh">
-<h1 class="Sh" id="CAVEATS"><a class="permalink" href="#CAVEATS">CAVEATS</a></h1>
-<p class="Pp">Isochronous data is seemingly not well supported over USB in the
- current system and to get SCO working, you may have to calculate the SCO
- packet size that the stack will use. This is the sco_mtu value reported by
- the <a class="Xr">btconfig(8)</a> command, and when combined with the SCO
- header (3 bytes) should fit exactly into an integer number of Isochronous
- data frames where the frame size is indicated by the
- &#x2018;hw.ubtN.sco_txsize&#x2019; sysctl variable.</p>
-<p class="Pp">For example: I want one voice channel (which is all that is
- supported, for now) so am using configuration #2, with a frame length of 17
- bytes. This gives possible values of:</p>
-<p class="Pp"></p>
-<div class="Bd Bd-indent"><code class="Li">(17 * 1) - 3 = 14</code></div>
-<div class="Bd Bd-indent"><code class="Li">(17 * 2) - 3 = 31</code></div>
-<div class="Bd Bd-indent"><code class="Li">(17 * 3) - 3 = 48</code></div>
-<div class="Bd Bd-indent"><code class="Li">(17 * 4) - 3 = 65</code></div>
-<div class="Bd Bd-indent"><code class="Li">(17 * 5) - 3 = 82</code></div>
-<div class="Bd Bd-indent"><code class="Li">etc.</code></div>
-<p class="Pp"><a class="Xr">btconfig(8)</a> shows the maximum SCO payload as 64
- bytes, so I am using the next smaller size of 48, to minimize the overhead
- of the 3 header bytes.</p>
-<p class="Pp">The SCO packet size can be changed using the
- &#x2018;scomtu&#x2019; option to <a class="Xr">btconfig(8)</a>.</p>
-<p class="Pp">The failure mode is that the USB Bluetooth dongle locks up though
- generally removal/reinsertion will clear the problem.</p>
-</section>
-<section class="Sh">
-<h1 class="Sh" id="BUGS"><a class="permalink" href="#BUGS">BUGS</a></h1>
-<p class="Pp">The Isochronous configuration can only be changed when the device
- is not marked up.</p>
-</section>
-</div>
-<table class="foot">
- <tr>
- <td class="foot-date">August 27, 2006</td>
- <td class="foot-os">NetBSD 10.1</td>
- </tr>
-</table>