Commit Graph

46 Commits

Author SHA1 Message Date
bjk
0d269ebbd5 Fix formatting in snd_hda.4
Submitted by:	0mp
Reviewed by:	skreuzer
Differential Revision:	https://reviews.freebsd.org/D14922
2018-04-02 22:59:33 +00:00
trasz
b9efacda12 Fix a bunch of "sentence not on new line" warnings from igor(1).
MFC after:	1 month
2016-06-08 08:50:35 +00:00
brueffer
b61c6e4e79 Fix various mdoc issues.
Found with:	mandoc -Tlint
2014-12-21 09:53:29 +00:00
bapt
5da5395a98 use .Mt to mark up email addresses consistently (final part)
PR:		191174
Submitted by:	Franco Fichtner <franco at lastsummer.de>
2014-06-26 21:46:14 +00:00
joel
f2d65ab354 mdoc: minor Bl improvements. 2012-06-02 11:03:14 +00:00
gjb
ed459e330b General mdoc(7) and typo fixes.
PR:		167776
Submitted by:	Nobuyuki Koganemaru (kogane!jp.freebsd.org)
MFC after:	3 days
2012-05-12 03:25:46 +00:00
joel
1994f885d3 Remove superfluous paragraph macro. 2012-03-24 13:37:57 +00:00
mav
30761935c6 Rewrite jack presence detection and implement automatic recording source
selection in snd_hda(4) driver.

Now driver tracks jack presence detection status for every CODEC pin. For
playback associations, when configured, that information, same as before,
can be used to automatically redirect audio to headphones. Also same as
before, these events are used to track digital display connection status
and fetch ELD. Now in addition to that driver uses that information to
automatically switch recording source of the mixer to the connected input.

When there are devices with no jack detection and with one both connected,
last ones will have the precedence. As result, on most laptops after boot
internal microphone should be automatically selected. But if external one
(for example, headset) connected, it will be selected automatically.
When external mic disconnected, internal one will be selected again.

Automatic recording source selection is enabled by default now to make
recording work out of the box without touching mixer. But it can be
disabled or limited only to attach time using hint.pcm.X.rec.autosrc loader
tunables or dev.pcm.X.rec.autosrc sysctls.

MFC after:	2 months
Sponsored by:	iXsystems, Inc.
2012-01-25 20:46:10 +00:00
mav
a84af1b28c Major snd_hda driver rewrite:
- Huge old hdac driver was split into three independent pieces: HDA
controller driver (hdac), HDA CODEC driver (hdacc) and HDA sudio function
driver (hdaa).
 - Support for multichannel recording was added. Now, as specification
defines, driver checks input associations for pins with sequence numbers
14 and 15, and if found (usually) -- works as before, mixing signals
together. If it doesn't, it configures input association as multichannel.
 - Signal tracer was improved to look for cases where several DACs/ADCs in
CODEC can work with the same audio signal. If such case found, driver
registers additional playback/record stream (channel) for the pcm device.
 - New controller streams reservation mechanism was implemented. That
allows to have more pcm devices then streams supported by the controller
(usually 4 in each direction). Now it limits only number of simultaneously
transferred audio streams, that is rarely reachable and properly reported
if happens.
 - Codec pins and GPIO signals configuration was exported via set of
writable sysctls. Another sysctl dev.hdaa.X.reconfig allows to trigger
driver reconfiguration in run-time.
 - Driver now decodes pins location and connector type names. In some cases
it allows to hint user where on the system case connectors, related to the
pcm device, are located. Number of channels supported by pcm device,
reported now (if it is not 2), should also make search easier.
 - Added workaround for digital mic on some Asus laptops/netbooks.

MFC after:	2 months
Sponsored by:	iXsystems, Inc.
2012-01-15 13:21:36 +00:00
bcr
812705c73f Fix some wording and grammar in the BUGS section.
PR:             docs/157901
Submitted by:   Niclas Zeising (niclas dot zeising at gmail dot com)
Reviewed by:    mav
MFC after:      3 days
2011-06-16 19:57:07 +00:00
uqs
8ae3afcfad mdoc: drop redundant .Pp and .LP calls
They have no effect when coming in pairs, or before .Bl/.Bd
2010-10-08 12:40:16 +00:00
joel
8c3d367011 Fix a bunch of typos and spelling mistakes. 2010-07-31 12:14:28 +00:00
mav
b1036989e7 Add "MIXER CONTROLS" chapter. 2010-01-22 11:04:25 +00:00
mav
ca52a33d35 Update, reflecting added multichannel playback support. 2010-01-12 17:50:26 +00:00
mav
063906a1aa Remove part that HDMI is not implemented. It had different meaning and
confuse users.
Extend BUGS section.
Add some supported chipsets.
2009-11-13 09:57:50 +00:00
mav
f692f38dd2 Fix spelling a bit. 2009-02-12 13:04:13 +00:00
mav
85cc44f9ee Update date. 2009-01-07 16:06:09 +00:00
mav
87b86443ae Add some more supported controller and codec models.
Add one more proposition to check correct PCM audio device usage.
2009-01-07 16:01:23 +00:00
mav
df83de35eb Cross-reference snd_ich and snd_hda man pages.
Some hardware require different drivers depending on implementation,
that may confuse users.
2009-01-06 11:11:58 +00:00
keramida
968a3d70d8 Spell 'different' correctly. 2008-11-08 17:45:47 +00:00
mav
6b691ca72e Two minor fixes. 2008-11-07 17:55:09 +00:00
mav
e7107444e0 A lot of spelling fixes.
Submitted by:	keramida
2008-11-06 21:47:02 +00:00
mav
8a6828b297 Improve driver operation example description. 2008-11-05 17:12:18 +00:00
mav
7ab8bc1fe7 Fix month mistake. Again. Sorry. :) 2008-10-24 18:57:11 +00:00
mav
e2f3199b95 Add hint.hdac.%d.msi description. 2008-10-24 18:28:52 +00:00
mav
056c4f1d97 Add hint about hw.snd.default_unit sysctl. 2008-10-03 09:19:07 +00:00
mav
2df5f40f49 Fix small mistake. 2008-09-18 10:30:29 +00:00
mav
9839b6d9f2 Bump modification date. 2008-09-17 20:34:50 +00:00
mav
522ebfdbfa Fix a typo. 2008-09-17 20:28:01 +00:00
mav
fc3ea65f78 Add set of snd_hda driver configuration examples to the man page. 2008-09-17 20:17:22 +00:00
joel
bf08111cf0 Minor language fixes and updates to the hardware section. 2008-09-14 09:56:35 +00:00
mav
e9c25337c1 Update man page according to r182999 snd_hda driver update. 2008-09-13 17:01:38 +00:00
joel
3b2c44be48 Update HARDWARE section. 2008-05-11 06:40:04 +00:00
gabor
d88e57a0b6 - This driver will first appear in 6.3, not 7.0
MFC after:	0 days
2008-01-04 12:57:34 +00:00
joel
d9a65cda92 Document support for Intel 82801I and Realtek ALC268.
Approved by:	re
2007-07-14 12:35:29 +00:00
joel
d6014e5948 - Document support for Realtek ALC660 and Analog Devices AD1988B.
- Fix minor typos.
2007-06-12 15:26:41 +00:00
joel
cc8e9e1d5e Forgot to bump .Dd 2007-05-05 10:36:57 +00:00
joel
0f48173b69 Document more quirks and supported codecs. 2007-05-05 10:33:28 +00:00
joel
c2f30557f9 Add Sigmatel STAC9271D. 2007-02-16 18:23:17 +00:00
joel
bd9f82b763 Add missing comma.
Noticed by:	ru
2007-01-18 15:27:15 +00:00
joel
7aa8d3d573 - Add a small section on boot-time configuration.
- Add more Xrefs.
- Fix minor nits.

Reviewed by:	ru
2007-01-17 14:27:03 +00:00
joel
df7ef8bfdc Add Realtek ALC888 and Sigmatel STAC9227 to the HARDWARE section. 2006-12-17 16:48:26 +00:00
joel
bcf19b8816 Add the dev.pcm.%d.polling sysctl and a short description.
Reviewed by:	ru
2006-11-29 17:07:02 +00:00
joel
704cc3b17d Update the list of codecs as well... 2006-10-08 19:57:53 +00:00
joel
8153109650 Update list of supported hardware. 2006-10-08 19:41:37 +00:00
joel
2d73ac3c57 Add a manual page for snd_hda(4) and hook it up to the build.
Reviewed by:	brueffer, ariff
2006-10-01 11:16:31 +00:00