Commit Graph

2815 Commits

Author SHA1 Message Date
wiz 8c3f91e23f Bump date for previous. 2004-01-31 21:30:09 +00:00
wiz 906d130d98 Some grammar and typo fixes for the previous. 2004-01-31 21:28:45 +00:00
jdc 2b64789ec6 Minor grammer improvements.
Mention filtering using ipf.
2004-01-31 20:14:11 +00:00
heinz 4ea0bdc634 Add missing word 2004-01-31 18:02:52 +00:00
fredb 7f674884ad Fix a couple of long-standing bugs in the volume control(s) part of the
audio device interface:

1) When attempting to match the appropriate mixer control, we weren't
checking the class label, but only the second level label, so for
devices that had both an "inputs.cd" and a "record.cd", for example,
we could never do the right thing except by chance. For this reason,
evidently, all the record masters were labeled (by the underlying
drivers) either "record.record" or "record.volume", to distinguish
from "outputs.master". We'll now accept "record.master", and document
that as the the new preferred way.

2) More importantly, the model was deficient. Selecting a port on many
chips completely disables most of the level controls, which doesn't play
nice with other applications which are trying to use the interface. Now,
selecting a port simply sets which mixer input control shall be changed,
setting state in the audio layer. In other words, the "mixerout" port
is really selected all the time, enabling the final stage mixer, and
setting "gain" sets the level of the appropriate input. It should be
possible for separate applications to each control the mic, dac, and cd
inputs at the same time using this interface, simply by reiterating their
port selections with each change, but applications that don't bother to
do that aren't any worse off than they were before.

The user is expected to set the master output with another application,
dedicated to that task. Though it is now meaningful to select "no port"
with the audio device interface, to manipulate the master output, there's
no particular reason for an audio device consumer to do that. (I added
the capability in order to restore the initial state of the audio device,
for testing purposes. It might also be useful to users of broken binary-
only applications.)

Observe that the mixer device interface (and so, "mixerctl") still
retains all capabilities, including the ability to set the actual input
port on the chip, overriding the level controls. No change is being made
to the mixer device interface. The mixer device simply presents all the
controls on the chip, with no attempt at abstraction, so there are no
bugs there.

The upshot is, that applications that have been trying to use the audio
device interface to change the volume, such as mplayer, now "just work".

I've tested these changes extensively with "eso" and "eap" since first
proposing them on tech-kern last January, and somewhat with "esm" and a
few others. This closes both PR kern/10221, and PR kern/17159.
2004-01-31 00:07:56 +00:00
jdolecek f25934df25 rework the sections mentioning support for specific chipsets; that FreeBSD
code does only device probe for nonstandard I/O locations on ISA bus,
and is not useful for other attachments

drop the list of tested stuff; that information doesn't belong in this
manpage
2004-01-30 19:06:36 +00:00
wiz 1c6f398ba8 Add comma in enumeration, drop trailing whitespace, |fmt,
and remove dummy (empty) Xr.
2004-01-30 15:48:38 +00:00
wiz df3366a5a1 Add definite article. 2004-01-30 15:46:30 +00:00
wiz 129c874aa5 Sort SEE ALSO after renaming of lp to plip. 2004-01-30 15:45:34 +00:00
jdolecek a56d10e9dc remove the 'Software Interfaces' paragraph, it wasn't particularily
informative and contained trailing xrefs to atppc(9) and ppbus(9)
pointed out by Thomas Klausner
2004-01-28 20:02:22 +00:00
jdolecek 4dce398974 update the 'purpose' paragraph; particularily, remove the sentence
about inb/outb, since they were removed in our old MI ic/lpt.c too
2004-01-28 19:54:15 +00:00
jdolecek 398fbd7ed6 update HISTORY section 2004-01-28 19:44:39 +00:00
jdolecek eb51939102 update copyright notice to what is in current netbsd-ppbus CVS 2004-01-28 19:40:06 +00:00
jdolecek 37c6bae631 ISA PnP attachment added 2004-01-28 19:35:24 +00:00
jdolecek c015af1da2 Open Firmware ISA attachment added 2004-01-28 18:48:33 +00:00
jdolecek 629b25cf95 one more lp(4) -> plip(4)
add BUGS section noting this is experimental and not enabled by default
yet
2004-01-28 17:31:51 +00:00
jdolecek 1604c0df5c remove lpbb(4) references - it was not ported yet 2004-01-28 17:26:45 +00:00
jdolecek e61bcb8605 do not xref ppbus subdevices except lpt(4)
xref puc(4), pnpbios(4), acpi(4)
2004-01-28 17:25:12 +00:00
jdolecek 36d581e313 lp(4) renamed to plip(4) 2004-01-28 17:21:15 +00:00
jdolecek 15768f53c0 remove reference to vpo(4) until it would get ported 2004-01-28 17:15:49 +00:00
jdolecek e1b2a4adf7 update synopsis to note this is 'EtherExpress PRO/10' driver 2004-01-28 09:15:46 +00:00
jdolecek c9c2a64fa2 add recently added attachment to synopsis, and remove
the BUGS item about PNPBIOS/ACPI attachments
add ECP to list of tested write modes
2004-01-28 09:13:55 +00:00
wiz bd46fc1aae Complete typedef of struct audio_info to audio_info_t.
From Jared Yanovich via jmc@openbsd.
2004-01-26 18:17:08 +00:00
bjh21 1ad0ea7fa0 Remove beep(4). 2004-01-25 14:02:44 +00:00
wiz d4785c2b1d Sort sections; sort SEE ALSO; add RCS Id;
drop trailing whitespace.
2004-01-23 19:36:23 +00:00
wiz 92dfb453ab Use more macros; sort SEE ALSO; |fmt. 2004-01-23 19:24:17 +00:00
wiz f651473b0c Use more macros; fix typo; |fmt;
remove superfluous .Pp.
2004-01-23 15:59:18 +00:00
wiz 9bc1411047 Use \*[Lt] and \*[Gt] instead of <> for HTML output; use
Nx instead of NetBSD; avoid Xrefing ourselves.
2004-01-23 15:52:28 +00:00
wiz 8164f91b39 Add RCS Id. 2004-01-23 15:49:41 +00:00
wiz fb42aec2fb New sentence, new line; |fmt; use more
macros; some fixes; add RCS Id.
2004-01-23 15:49:26 +00:00
wiz 357dfb1927 New sentence, new line; use Fx and Nx;
limit line lengths; misc fixes.
2004-01-23 15:38:48 +00:00
wiz 9fa543d057 Drop trailing whitespace. 2004-01-23 15:33:13 +00:00
heas 8bb92045b9 Correct a few typos &/ spellos. Start new sentences on a new line. 2004-01-20 18:31:18 +00:00
wiz bd7049448e New sentence, new line; drop trailing spaces. 2004-01-20 16:42:05 +00:00
rearnsha a29f7ddebd Add intro(4) for evbarm. 2004-01-20 15:21:55 +00:00
jdolecek e23cd1a78a Import Gary Thorpe's netbsd-ppbus 1.3. This is NetBSD port
of FreeBSD Parallel Port Bus framework. Work in progress.
2004-01-19 23:22:23 +00:00
wiz 1cbf165d86 Bump date for previous. 2004-01-19 08:39:51 +00:00
gson 50c2638eeb Removed BUGS section saying "not tested with standard USB MIDI
devices", as the driver now has been tested and found to work with
at least one.
2004-01-19 07:41:40 +00:00
wiz 2bd383a4cc New sentence, new line; remove unnecessary comma. 2004-01-18 15:48:01 +00:00
jdolecek 32375045b4 fill in some information about nsmb(4) 2004-01-18 15:23:15 +00:00
bjh21 4f403e81c5 Bell interface works again. 2004-01-18 12:53:43 +00:00
wiz cd94abe28f Bump date for previous. 2004-01-15 13:54:22 +00:00
onoe 4f290d318e Cleanup obsolete text:
- wiconfig is no longer used for configuration.
- delete messages for common net80211 layer from DIAGNOSTICS.
2004-01-15 13:46:58 +00:00
wiz 9b80edabea Add fssbs as Nm (for makewhatis/apropos). 2004-01-13 20:42:43 +00:00
wiz 434027f3b1 Add comma in enumeration. 2004-01-13 20:28:45 +00:00
kent 9114197a24 mention nForce3 support.
bump date.
2004-01-13 14:34:55 +00:00
wiz e72df29d6d Bump date for previous. Punctuation nits. Sort SEE ALSO. 2004-01-12 21:17:30 +00:00
wiz 73abe3ee52 Bump date for previous. Remove trailing whitespace. 2004-01-12 21:17:15 +00:00
is 80c46878b1 Add a reference to options(4) in md(4).
Document missing options which change md(4) behaviour.
2004-01-12 20:03:39 +00:00
hannken 067a3b897d Update the file system snapshot driver:
- Document the kernel thread.
- Rename some functions and variables.
- Return EROFS where appropriate.
- Use shifts instead of 64-bit divide.
- Use a simple_lock to make it MP-safe.
- Add M_CANFAIL to malloc to avoid panic on large cluster size.
- Allow sparse file for backing store and use VOP_BALLOC() to allocate
  space. Default size of backing store is the size of the file system.
2004-01-11 19:05:26 +00:00