summaryrefslogtreecommitdiff
path: root/sys/dev/ic/ac97.c
AgeCommit message (Collapse)Author
2008-02-12pin 47 on ALC65{0,5,8} ac97 codecs can be used for either eapd orJacob Meuser
spdif-in. usually the deault of spdif-in is used, but some ATI devices use pin 47 for eapd. add a list of subsystem ids (from ALSA) for these devices, and set bit 1 of register 7a to select the correct function of pin 47 for these devices. there was code here to do this prior to the ac97 update, but it was accidentally removed. rename the flag and bit to more accurately reflect what this does and hopefully avoid future confusion. problem noticed and fix tested/ok'd by matthieu@, thanks also some discussion with and pointers from brad@, thanks
2008-01-15bring in lots of ac97(4) and auvia(4) updates from NetBSDJacob Meuser
user visible changes: - when setting up ac97(4) mixer items, for some features like surround sound, check if the feature if supported by the codec and only add items for that feature if it is - auvia(4) now supports multichannel playback with at least some multichannel ac97(4) codecs fixes problems for me and ajacoutot with different auvia(4) devices/codecs. no regressions reported by testers. if you have an ac97(4) audio device and are using mixerctl.conf(5), you may want/need to update it. ok ratchov
2008-01-13Check for a negative devinfo index, which could get here throughDeanna Phillips
mixer_ioctl. ok jakemsr@
2007-10-01More easy bzero() -> M_ZERO. Use 'p = malloc(sizeof(*p) ...'.Kenneth R Westerback
2007-07-27Add ids for two Conexant codecs; not sure they're officialIan Darwin
("does not exist outside of mentions in linux/netbsd on the web"), gleaned from http://www.ussg.iu.edu/hypermail/linux/kernel/0504.0/1146.html. "sure" deraadt@, ok with above comment jsg@
2007-07-09don't always spew massive debug messages just because AUDIO_DEBUG isJacob Meuser
defined.
2006-06-30newer alc codecs have revision in the low bits; pt out by jasperMichael Shalayeff
2006-04-27Quirk for MSI Megabook S270 audio output. Ok deraadt@.Matthieu Herrb
2005-12-28correct CX20468 initialization; mickey@ ok'ed this some time ago.Federico G. Schwindt
if you have this conexant codec give it a try.
2005-12-14some codecs have an external amplifier, and in some hw the bit to poweringFederico G. Schwindt
it down seems to be inverted, so rather than guessing or workaround this, add a extamp var so it can be toggled in userland via mixerctl(1). audio works in hp nx6125 now; tested by todd@, mickey@ ok.
2005-12-12ansi, no binary change.Federico G. Schwindt
2005-06-18Switch master and surround volume controls on AD1888 and AD1985Can Erkin Acar
Control muting of both left and right channels.
2005-06-06correct names for miscellaneous control bit registerMichael Coulter
ok mickey@
2005-06-06AD1981 is actually AD1980Michael Coulter
ok mickey@
2005-05-25correctly initialize AD1886.Joris Vink
"go ahead" mickey@
2005-02-16add support for enabling amp power on a non-documented Conexant codecTodd T. Fries
ideas from alsa pointers by jsg@; mickey@ ok
2005-01-31add a bunch of more codecs from var srcs. this makes almost everything from ↵Michael Shalayeff
the dmesglog to be resolved proper. most unresolvants are bit-errors on the ac link anyway
2005-01-30Fix two Cirrus Logic codec IDs.Mark Kettenis
ok millert@
2005-01-17update dead URL, from Steve Shockley <steve.shockley@shockley.net>Jared Yanovich
2004-11-22ad1981 does not like init; from fgsch@Michael Shalayeff
2004-11-18a few more codecs from nbsdMichael Shalayeff
2004-10-14a few more c-media codec idsMichael Shalayeff
2004-10-04a whole bunch of avance logic codecs and also patch for someMichael Shalayeff
2004-09-14two more icensemble codecs. now they are via really...Michael Shalayeff
2004-04-23kill evil spacesMichael Shalayeff
2004-04-23properly id CX20468 and patch it too, also one more _cx codec; made possible ↵Michael Shalayeff
by fries@
2004-02-27change url; jjy2+@pitt.eduTheo de Raadt
2003-11-05another ad codecMichael Shalayeff
2003-09-25more codecMichael Shalayeff
2003-07-23VT1612A; matthew.gream@pobox.comTheo de Raadt
2003-07-15Add support for AD1985, deraadt@ okDamien Couderc
2003-04-27strcpy/sprintf cleanup of sys/dev. miod@, deraadt@ says to commit.Hakan Olsson
2003-04-09a couple of sigmatel codec idsMichael Shalayeff
2003-04-07a couple more codec ids from peopleMichael Shalayeff
2002-09-17add ad1981a id; from hunter@dg.net.uaMichael Shalayeff
2002-09-05Use the value from AUDIO_CTRL, later to be or'ed with VRM or VRA, notFederico G. Schwindt
AUDIO_ID which contains what the codec supports, and do it only if the codec supports VRM or VRA. discussed with mickey@ a while ago.
2002-07-28minor things from ac97 rev 2.3; mickey@ okFederico G. Schwindt
2002-04-08add flag to swap channels. from netbsd.Mike Frantzen
ok deraadt@
2002-03-14First round of __P removal in sysTodd C. Miller
2002-01-09add ess1921 codec idMichael Shalayeff
2001-12-17be more accurate in enabling variable rate bitsMichael Shalayeff
2001-12-01fix realtek codec ids. fxi codec id decode -- from krw@Michael Shalayeff
2001-10-28it appears that some non-vra compatible codecs implement partMichael Shalayeff
of vra protocol by rounding all rates to 48kHz, but some return 0. fix this by reporting 48kHz for all codecs w/o vra. problem (finally) identified by hunter@dg.net.ua, diff by me. also, while here a/AC97_SOUND_ENHANCEMENT/AC97_CAPS_ENHANCEMENT/ .
2001-10-24replace strings w/ defined names, missing initializer for pcbeep and split ↵Michael Shalayeff
tone into bass/treble
2001-10-24add several more codecs, from elsaMichael Shalayeff
2001-09-15fix unknown codec id printoutMichael Shalayeff
2001-06-20fix array filling; alaric@MIT.EDUTheo de Raadt
2001-06-17Set the delta for the particular source so telling mixerctl to decrease theMichael Shalayeff
volume (using --) adjusts it far enough to stick. from Eric Haszlakiewicz <erh@netbsd.org>
2001-05-16add surrond, center and lfe ports (per 2.2 spec).Michael Shalayeff
provide set_rate function, per 2.2 spec.
2001-05-16call malloc w/ NOWAIT and check for NULL returnMichael Shalayeff