diff options
Diffstat (limited to 'static/netbsd/man4/wsbell.4 4.html')
| -rw-r--r-- | static/netbsd/man4/wsbell.4 4.html | 85 |
1 files changed, 0 insertions, 85 deletions
diff --git a/static/netbsd/man4/wsbell.4 4.html b/static/netbsd/man4/wsbell.4 4.html deleted file mode 100644 index 32680ac2..00000000 --- a/static/netbsd/man4/wsbell.4 4.html +++ /dev/null @@ -1,85 +0,0 @@ -<table class="head"> - <tr> - <td class="head-ltitle">WSBELL(4)</td> - <td class="head-vol">Device Drivers Manual</td> - <td class="head-rtitle">WSBELL(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">wsbell</code> — <span class="Nd">generic - bell support in wscons</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">wsbell* at spkr? console?</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">wsbell</code> driver utilizes the - <a class="Xr">speaker(4)</a> driver to provide a system bell with or without - a keyboard for the <a class="Xr">wscons(4)</a> framework. When a bell - character is received on a <a class="Xr">wsdisplay(4)</a> screen, - <code class="Nm">wsbell</code> sounds the bell.</p> -<p class="Pp">The <a class="Xr">wsconsctl(8)</a> utility gives access to several - configurable parameters that affect the sound of the system bell.</p> -<section class="Ss"> -<h2 class="Ss" id="Ioctls"><a class="permalink" href="#Ioctls">Ioctls</a></h2> -<p class="Pp">The following <a class="Xr">ioctl(2)</a> calls are provided by the - <code class="Nm">wsbell</code> driver. Their definitions are found in - <span class="Pa">dev/wscons/wsconsio.h</span>.</p> -<dl class="Bl-tag"> - <dt id="WSKBDIO_BELL"><a class="permalink" href="#WSKBDIO_BELL"><code class="Dv">WSKBDIO_BELL</code></a></dt> - <dd>Will sound the default bell.</dd> - <dt id="WSKBDIO_GETBELL"><a class="permalink" href="#WSKBDIO_GETBELL"><code class="Dv">WSKBDIO_GETBELL</code></a></dt> - <dd>Will return a struct wskbd_bell_data with the current bell - parameters.</dd> - <dt id="WSKBDIO_SETBELL"><a class="permalink" href="#WSKBDIO_SETBELL"><code class="Dv">WSKBDIO_SETBELL</code></a></dt> - <dd>Takes a struct wskbd_bell_data and uses it to set the bell parameters. - These are used by the WSKBDIO_BELL <a class="Xr">ioctl(2)</a> call.</dd> - <dt id="WSKBDIO_COMPLEXBELL"><a class="permalink" href="#WSKBDIO_COMPLEXBELL"><code class="Dv">WSKBDIO_COMPLEXBELL</code></a></dt> - <dd>Will sound a bell using a supplied struct wskbd_bell_data for its - parameters.</dd> - <dt id="WSKBDIO_GETDEFAULTBELL"><a class="permalink" href="#WSKBDIO_GETDEFAULTBELL"><code class="Dv">WSKBDIO_GETDEFAULTBELL</code></a></dt> - <dd>Will return a struct wskbd_bell_data with the <i class="Em">default</i> - bell parameters.</dd> - <dt id="WSKBDIO_SETDEFAULTBELL"><a class="permalink" href="#WSKBDIO_SETDEFAULTBELL"><code class="Dv">WSKBDIO_SETDEFAULTBELL</code></a></dt> - <dd>Takes a struct wskbd_bell_data and uses it to set the - <i class="Em">default</i> bell parameters.</dd> -</dl> -<p class="Pp">Ioctls use the following structure:</p> -<div class="Bd Pp Li"> -<pre>struct wskbd_bell_data { - u_int which; /* values to get/set */ -#define WSKBD_BELL_DOPITCH 0x1 /* get/set pitch */ -#define WSKBD_BELL_DOPERIOD 0x2 /* get/set period */ -#define WSKBD_BELL_DOVOLUME 0x4 /* get/set volume */ -#define WSKBD_BELL_DOALL 0x7 /* all of the above */ - u_int pitch; /* pitch, in Hz */ - u_int period; /* period, in milliseconds */ - u_int volume; /* percentage of max volume */ -};</pre> -</div> -</section> -</section> -<section class="Sh"> -<h1 class="Sh" id="FILES"><a class="permalink" href="#FILES">FILES</a></h1> -<ul class="Bl-item"> - <li><span class="Pa">/usr/include/dev/wscons/wsconsio.h</span>.</li> -</ul> -</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">speaker(4)</a>, <a class="Xr">wscons(4)</a>, - <a class="Xr">wskbd(4)</a>, <a class="Xr">wsmux(4)</a>, - <a class="Xr">wsconsctl(8)</a>, <a class="Xr">wsbell(9)</a></p> -</section> -</div> -<table class="foot"> - <tr> - <td class="foot-date">June 13, 2017</td> - <td class="foot-os">NetBSD 10.1</td> - </tr> -</table> |
