Age | Commit message (Collapse) | Author |
|
ok matthieu@
|
|
|
|
|
|
channel of the speaker.
|
|
VRef level and be sure to turn VRef off when not set for input.
|
|
- don't set vref bits on mic pins unless the pin says it supports it
- fall back on 50% vref if 80% vref isn't supported
|
|
possibly matching a nonexistent hp or spkr dac.
|
|
|
|
tested by danh@, thanks!
|
|
is the end of a continuous list that started with the last entry.
while here, rewrite a bit so both long form and short form entries
are handled by the same code, and don't allocate more space than is
needed.
|
|
that don't have selectable inputs. all connections are active, always.
showing all connections in the set rather than just one makes a lot
more sense.
|
|
beep generators or mixers and selectors that are more than 2
connections away from a DAC.
|
|
instead they use the connection list setting like selectors do.
this is somewhat common in Analog Devices codecs. it's extremely
rare in all other codecs.
|
|
ok oga@
|
|
originally written by Juan Romero Pardines.
Thanks to Lars Kotthoff for testing on a HeroLogic HL-463 system.
Because the CS5535 doesn't provide SMM emulated PCI access to set
DMA/PIO modes or a real PCI IDE controller we have to resort to
making MSR calls. As this is very MD specific, hide most of uglyness
away in i386 MD pciide code.
ok grange@
|
|
a header file where MD code can get at them.
ok grange@
|
|
longer direcly affect other widgets
- if an unsolicited response is received from a volume knob widget,
adjust outputs.master according to the measured change in level of the
volume knob widget
|
|
Tested on Asus P5B-MX motherboard.
ok kettenis@, oga@
|
|
seem to work properly.
it is checked later in wpi_post_alive() anyway.
pointed out by many, further investigated by Tim van der Molen.
|
|
function for creating "master" volume control.
- apply gpio quirks separately from and prior to configuring the mixer.
gpio manipulation can cause noise on output channels. configuring
gpio before amps are unmuted in the mixer configuration is a good
thing.
from Alexey Suslikov, thanks
|
|
magic numbers
from Alexey Suslikov
|
|
* move quirk for Dell E6400 into the group of quirks that set GPIO 0
from Alexey Suslikov, thanks
|
|
are not really useful as output devices and fixed speakers are not
really useful as input devices
|
|
outputs by default it's nice to have a way to control multiple sources/
outputs with a single control setting.
so here's an implementation of "master" controls that uses selectable
control lists, because the biggest problem is figuring out what should
be "master".
outputs.master.slaves is the current set of output mixer controls
that settings for outputs.master and outputs.master will be applied
to. record.volume.slaves works similarly for recording inputs.
|
|
recording and playback paths.
- select a subset of controls that are relevant in a default
configuration for each path.
|
|
"master" volume controls coming shortly.
|
|
it and the associated macros. this is part of NetBSD's "converter
pipeline", and it isn't really used there either.
|
|
like the way it looks.
- run the speaker mute handler when a muter jack changes I/O direction
|
|
jacks which can mute speaker output are chosen with the new mixer item
'outputs.spkr_muters'. e.g.
$ mixerctl -v outputs.spkr_muters
outputs.spkr_muters=hp,mic,line-in { hp mic line-in }
if a jack is present in any listed "muter" plug, AND that plug is
configured for output (e.g. outputs.hp_dir=output) the speaker will
be muted. the list of muters is selectable, selecting none turns of
muting altogether.
|
|
- quit swapping channels 2:3 with 4:5 when processing 6 or more channels.
hacks deep in drivers to "fix" wrongly encoded files is just wrong.
- try to be sure headphones AND speakers get DAC output by default.
|
|
|
|
keep track of some information about them, such as the DAC they are
connected to by default. this will be used soon.
|
|
speaker isn't very useful as an input device
|
|
- remove a couple pointless comments
|
|
- make the code readable and the comment understandable
|
|
|
|
for claudio cos he fixed the routing table for me
|
|
Thanks to Alexey Suslikov
|
|
widget X should be disabled as well.
- change the comment about renaming widgets to better explain why
instead of how the renaming is done.
|
|
of 22.5 kHz, since this is an ac97(4) device, and the default sample
rate for ac97(4) is 48 kHz.
tested by jasper@, thanks
|
|
|
|
product names.
|
|
|
|
machines that get a spurious hotplug reove event when resetting their
onboard re(4).
|
|
#ifdef __i386__ code that can go now things have been cleaned up.
|
|
mixers. problem noticed by Tas. thanks!
|
|
and use it in 6 places.
|
|
|
|
- beep and CD support for a few more realtek codecs (ALC268 verified by
Alexey Suslikov, the others are quite similar based on datasheets)
- "ALC662-GR" is a part number. "ALC662" is a codec identifier.
|
|
first codec with an audio function group, use the first codec with
an audio function group that can do analog I/O, if there is one.
codecs that just do digital I/O aren't quite as useful, yet.
|