jmcneill
77c34d4c1c
AD1984: Use the same DAC for speaker and headphones, so the headphone jack
...
works as expected on Thinkpad T61 (and probably others).
2008-01-30 22:09:00 +00:00
kent
9602a50eb5
recognized the names of Sigmatel STAC9227-9230
2008-01-06 13:33:21 +00:00
kent
e93ecba847
shorten mixer-input names by mixer-name automatic generation
...
PR/37273
2008-01-04 17:00:05 +00:00
kent
16504b27b0
simplify conversion rule between device volume values and userland
...
volume values. Some mixer values never be 255 by this change.
PR#37274
2008-01-04 12:18:00 +00:00
kent
f8415b4922
code cleanup
...
- use __arraycount
- remove unnecessary M_ZERO flags
2008-01-03 18:00:43 +00:00
kent
c89324c85e
- add initialization for ATI HDMI audio
...
- add custom mixer table for AD1986A by scw@
PR: kern/36140
2008-01-03 17:39:03 +00:00
jmcneill
4c1d81b2b5
Merge jmcneill-pm branch.
2007-12-09 20:27:42 +00:00
christos
1b601e0085
Add dell latitude 420 in the list of machines that need special treatment
...
to silence speakers when headphones are plugged in. From Marcin Michal Jessa
2007-11-26 15:47:36 +00:00
joerg
75bc145079
When converting mixer values to hardware values, round up. This makes
...
stepping and restore actually work.
2007-11-07 00:47:18 +00:00
markd
7893af1639
Add support for Analog Devices AD1983 codec as found in Dell Optiplex 745.
2007-11-03 20:55:58 +00:00
joerg
2cdafd23af
Add another Dell machine where the head phone event needs to be handled.
2007-10-30 19:36:10 +00:00
xtraeme
1e59d2ec47
alc883_mixer_init: fix this->nmixers, __arraycount() wasn't correct.
2007-09-22 15:14:33 +00:00
xtraeme
9d68543f98
Apply revision 1.22 from OpenBSD, quoting deanna's commit:
...
"Add support for Realtek ALC883. This is the "value" edition of the
ALC882, and differs only by lacking an ADC and a mixer, so have it use
ALC882's get_port(), set_port() and a slightly modified version of its
mixer init."
2007-09-22 05:55:59 +00:00
jmcneill
786691ad36
Add basic support for the Analog Devices AD1984 codec as found in the
...
ThinkPad T61.
2007-09-13 03:54:51 +00:00
kent
c3b41473a8
* stac9221_gpio_unmute()
...
The target node should be the audio function group, not 0.
Pointed out by Deanna Phillips
* stac9221_mixer_init()
Enable GPIO unmute for Intel Macintosh
2007-05-13 03:28:19 +00:00
sketch
5f4b89c72b
Match recent addition as a STAC9200.
2007-05-10 07:48:16 +00:00
sketch
aeb96b4230
Update previous to match what the author probably meant to do.
2007-05-10 07:34:59 +00:00
kent
d32678c2dd
Support for headphone-sensing for DELL Inspiron 6400.
...
PR#36302 by Aleksej Saushev
2007-05-10 05:44:37 +00:00
kent
ec3dff2790
fix a typo: PRESENSE -> PRESENCE
...
From deanna@OpenBSD
2007-05-08 05:18:20 +00:00
kent
fea2165faf
- fix incorrect codec name of STAC9200
...
- support for headphone-sensing in some DELL machines with STAC9200
From azalia_codec.c rev.1.19 by deanna@OpenBSD
2007-05-08 05:03:50 +00:00
kent
5deb14ad9d
readable mixer item names for AD1981HD
2007-03-19 16:27:00 +00:00
kent
3e124ca34a
don't make a mixer item for a power widget
2007-03-18 14:16:00 +00:00
kent
371c325530
correct the DAC group definition for AD1988.
...
reported by wiz
2007-03-18 11:49:21 +00:00
kent
b7fab1d1f2
* codec names for Realtek ALC262, ALC268, ALC861, ALC861-VD-GR,
...
ALC883, ALC885, and ALC888
* DAC/ADC group definitions for Realtek ALC861, ALC861-VD-GR,
ALC883, ALC885, and ALC888
2007-03-11 15:42:00 +00:00
kent
88b9b15961
remove DPRINTF() in generic_mixer_init() because they are useless
...
in many cases.
2007-03-11 13:41:18 +00:00
kent
d7d522ea80
- Add jack-sense code for STAC9220 in some DELL models (currently disabled)
...
- Add DAC/ADC grouping for AD1988
2007-03-11 13:34:40 +00:00
kent
c88ac48ab9
reviced Intel Mac support code (currently disabled)
...
PR#34880
2007-03-11 13:31:36 +00:00
thorpej
712239e366
Replace the Mach-derived boolean_t type with the C99 bool type. A
...
future commit will replace use of TRUE and FALSE with true and false.
2007-02-21 22:59:35 +00:00
kent
52bad336b0
* generic_mixer_default()
...
make the default values of bidirectional pins `output' because
they were often the main reason of no sound problems.
* add stac9221_mixer_init()
It has a code for Intel Mac but it is disabled for now.
2007-01-06 18:35:35 +00:00
christos
168cd830d2
__unused removal on arguments; approved by core.
2006-11-16 01:32:37 +00:00
christos
4d595fd7b1
- sprinkle __unused on function decls.
...
- fix a couple of unused bugs
- no more -Wno-unused for i386
2006-10-12 01:30:41 +00:00
christos
93a520d8b0
fix initializers
2006-09-03 22:17:35 +00:00
kent
6f99efd46f
For ThinkPad T60, make the default value of outputs.linein.dir "output"
2006-07-23 16:05:21 +00:00
kent
21623cc733
support for EAPD, Balanced I/O, and LR-Swap
2006-07-21 14:40:12 +00:00
kent
9f8e1fe441
fix crash by reading a mixer value with AD1981HD codec, which
...
has invalid connection lists.
2006-07-19 02:40:18 +00:00
kent
14db0438ab
* custom mixer table for ALC880
...
* remove useless mixers of ALC882
2006-06-26 11:06:01 +00:00
kent
b2c67a5653
* disconnect a stream and audio converters on a halt of the stream
...
* enable S/PDIF for a digital audio converter when connecting
a stream
* rename "inputs.usingdac" to "playback.mode", and
"record.usingadc" to "record.mode"
* add S/PDIF output configuration to ALC882
2006-06-25 13:41:58 +00:00
kent
6d02918db1
ALC260 & Fujitsu LOOX:
...
mute the internal speaker when the headphone is inserted, and
unmute the internal speaker when the headphone is pulled out.
2006-06-25 07:36:33 +00:00
kent
8bbeab641c
custom mixer table for CMI9880
...
PR#33787
2006-06-24 02:20:54 +00:00
kent
f6686d8a2d
DAC&ADC group for CMI9880
...
PR#33787
2006-06-24 00:33:44 +00:00
kent
1d63fe65d9
Fix a bug that AUDIO_MIXER_READ returns an incorrect
...
mixer_ctrl_t::un.value.num_channels in the case of the
combination of a mono pin and a stereo mixer.
2006-06-15 16:11:15 +00:00
kent
39140597bf
* generic_mixer_default()
...
set the default pin direction depending on the pin's device, not color
2006-06-13 14:38:01 +00:00
kent
32d7370ad8
ALC882:
...
- add usingdac and usingadc
- remove alc882_init_widget() because it has no effect any more
2006-06-13 14:29:21 +00:00
kent
a2aa9135f1
codec-specific mixer initialization for Realtek ALC882
2006-06-11 15:16:41 +00:00
kent
fa89e6f87e
support for multi-channel (>=3) recording with ALC880, ALC882, or STAC9221
2006-06-11 11:48:39 +00:00
kent
7d2bcc7299
* azalia_codec_init_vtbl()
...
recognize the name of AD1983
* generic_codec_find_dac()
check validity of a node in a connection list
* introduce MIXER_DELTA, and simplify the code with it
* codec-specific mixer initialization for STAC9220
2006-06-11 07:52:00 +00:00
kent
a70f7f188d
- print audio format only when the format is changed
...
- print the name of STAC9220 codec
2006-06-09 16:56:30 +00:00
kent
0b0ab7efe7
* move mixer functions from azalia.c to azalia_codec.c, and
...
rename them like azalia_mixer_foo() to generic_mixer_foo()
* enable codec-specific code to hook any mixer operations such
as creating mixer items, or special handling for a specific
item.
* provide a custom mixer table specific to ALC260
* provide a custom mixer table specific to Fujitsu LOOX
2006-06-07 15:23:59 +00:00
kent
856fb95215
fix incorrect ADC list for ALC880.
...
PR kern/33326 by Uwe Klaus
2006-05-10 11:17:27 +00:00
kent
1e8e79dd3b
readable names for AD1981HD codec
2006-01-16 14:28:38 +00:00