summaryrefslogtreecommitdiffstats
path: root/sys/dev/sound/pcm/ac97.c
Commit message (Collapse)AuthorAgeFilesLines
* Add support CS4294sanpei2004-05-081-0/+1
| | | | | PR: kern/66280 Submitted by: Christian Brueffer <chris@unixpages.org>
* Sync with DFBSD v.1.16. Add new codecs IDs, fix some spelling.matk2004-01-231-3/+21
| | | | Approved by: des (interim mentor)
* Add ID for ALC658 CODEC.kuriyama2003-11-111-0/+1
| | | | | Tested on: GIGABYTE GA-8S655FX-L Reviewed by: orion
* Recognize the Avance Logic ALC655 codec found on some ICH4/5-baseddes2003-10-121-0/+1
| | | | | | | | motherboards, such as the Gigabyte I848P. PR: kern/54176 Submitted by: Chris Keladis <chris@cmc.optus.net.au> Forgotten by: orion
* update my email address.cg2003-09-071-1/+1
|
* Add Creative EV1938.orion2003-08-291-0/+2
| | | | | Submitted by: David Xu <davidxu@FreeBSD.org> PR: kern/54810
* When present use ogain instead of master for surround sound channels.orion2003-08-231-14/+14
| | | | | | The latter has lead to reports of broken audio. Do not swap ogain and master when headphones detected.
* Additional VT1616 id.orion2003-08-211-1/+1
| | | | Submitted by: Greg Lewis
* Apply Rudolf Cejka's patch for:orion2003-08-211-46/+41
| | | | | | | | | | | | o AD1980 hook. o ac97_fix_auxout. and: o Associate AC97_MIX_AUXOUT with SOUND_MIXER_OGAIN rather than SOUND_MIXER_MONITOR. o Add ac97_fix_tone to remove tone controls from mixer if invalid.
* Comment out the mixer entry for igain for the mic 20dB boost for now sincejhb2003-04-231-0/+2
| | | | | | it can cause feedback problems on some laptops. Reviewed by: orion
* Add eMicro codec ids.orion2003-04-211-1/+4
|
* Use SOUND_MIXER_IGAIN to toggle 20dB mic boost for want of a betterorion2003-04-211-18/+50
| | | | | | | | place for it. Assorted comments. Submitted by: luigi
* Additional codec ids.orion2003-04-041-0/+6
|
* Correct vendor id for ALC101.orion2003-03-201-1/+1
|
* Correct CS4205 base vendor id.orion2003-03-121-1/+1
| | | | Reported by: Christophe Juniet and Mark Santcroos.
* o Move vendor ids into separate table.orion2003-02-281-62/+139
| | | | o Add assorted vendor and codec ids.
* Add the ID for the CS4205 codec found in Dell laptops. Obtained fromscottl2003-02-271-0/+1
| | | | the CS4205 spec.
* Add SigmaTel STAC9750 entry.cognet2003-02-261-0/+1
| | | | Submitted by: Paulius Bulotas <paulius.bulotas@microlink.lt>
* Back out M_* changes, per decision of the TRB.imp2003-02-191-1/+1
| | | | Approved by: trb
* Print ac97 name/id on normal boot.orion2003-02-031-6/+9
| | | | Fix typo reported in pr misc/47794.
* Add ac97_patch.[ch] that provide space for ac97 codec specific patches.orion2003-01-251-74/+83
|
* Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0.alfred2003-01-211-1/+1
| | | | Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT.
* Add Realtek ALC650 id.orion2003-01-131-0/+1
| | | | | Submitted by: "Mikko S. Hyvarinen" <morphy@morphy.iki.fi> MFC after: 5 days
* (hopefully) fix build breakage some people are seeingcg2002-11-261-9/+9
| | | | Approved by: re
* s/AC97_MIX_PHONES/AC97_MIX_AUXOUT/ to match ac97r2.{2,3}.orion2002-08-231-4/+35
| | | | | | | | | | | | Attempt to determine what function of AUX_OUT is: "True line level out", "Headphone out", or "4-Channel out" and frig OSS mixer label accordingly. Addresses problem raised by Randy Bush on -multimedia of not being able to hear audio on ich2 m/b which was eventually found to be because the mixer monitor value was 0. On this h/w the label "monitor" should now be presented as the marginally more intuitive "ogain".
* Add ac97_reset function that polls ready bits in power register. Oneorion2002-04-261-7/+16
| | | | | component in tweaks required for the ICH3 controller in the thinkpad x22 reported by Colin Perkins on -multimedia.
* Add lock type arguments to callers of snd_mtxcreate().jhb2002-04-041-1/+1
|
* Get rid of irritating (bogus) message:guido2001-12-101-2/+5
| | | | | | | | pcm0: ac97 codec failed to reset extended mode (0, got 80) This was due to not masking off the correct extended function bits in the read value from the extended status reg. MFC after: 2 days
* Emit a warning if invalid mode passed to ac97_setextmode.orion2001-11-211-3/+6
| | | | MFC after: 3 days
* add a method for retrieving codec capabilitiescg2001-09-181-0/+6
|
* many changes:cg2001-08-231-2/+2
| | | | | | | | | | | | | | | * add new channels to the end of the list so channels used in order of addition * de-globalise definition of struct snddev_info and provide accessor functions where necessary. * move the $FreeBSD$ tag in each .c file into a macro and allow the /dev/sndstat handler to display these when set to maximum verbosity to aid debugging. * allow each device to register its own sndstat handler to reduce the amount of groping sndstat must do in foreign structs.
* move a private struct definition from ac97.h to ac97.ccg2001-06-231-3/+29
| | | | | add proper handling of cards which take eapd=1 to mean 'produce sound' instead of 'external amplifier power down'
* mega-commit.cg2001-03-241-9/+43
| | | | | | | | | | | | | | | this introduces a new buffering mechanism which results in dramatic simplification of the channel manager. as several structures have changed, we take the opportunity to move their definitions into the source files where they are used, make them private and de-typedef them. the sound drivers are updated to use snd_setup_intr instead of bus_setup_intr, and to comply with the de-typedefed structures. the ac97, mixer and channel layers have been updated with finegrained locking, as have some drivers- not all though. the rest will follow soon.
* * power up the external amplifiercg2001-03-231-1/+2
| | | | * after chip reset, reapply power settings
* add/correct a bunch of codec idscg2001-03-221-9/+40
| | | | Obtained from: linux, alsa, various datasheets
* compensate for broken codecs that return 0xffff on unimplemented registerscg2000-12-241-9/+10
| | | | instead of 0.
* kobjify.cg2000-12-181-55/+48
| | | | | | | | | | this gives us several benefits, including: * easier extensibility- new optional methods can be added to ac97/mixer/channel classes without having to fixup every driver. * forward compatibility for drivers, provided no new mandatory methods are added.
* add reinit functions to mixerscg2000-10-261-0/+55
| | | | | unstaticize chn_start() add reset/resetdone functions to channels
* only probe mandatory channels on known bad codecscg2000-09-231-1/+2
|
* dynamify- probe codec for supported channelscg2000-09-171-30/+50
| | | | add channel mappings for mixer
* initial support for multiple ac97 codecscg2000-09-051-16/+22
|
* change mixer api slightlycg2000-09-011-0/+21
| | | | | | | | | change channel interface - kobj implementation coming soonish make pcm_makelinks not panic if modular add pcm_unregister() these changes support newpcm kld unloading, but this is only implemented by ds1.c
* if we have a codec init routine, fail the attach if init failscg2000-05-261-3/+7
|
* fail in attach if we seem to have no ac97 codeccg2000-04-011-3/+8
|
* don't check extended features on codecs known to hang. should fix neomagiccg2000-03-241-16/+26
| | | | problems.
* update the ac97 layer:cg2000-03-201-62/+135
| | | | | | | | | * add a callback for initialising the mixer interface * support ac97 2.1 variable rate audio feature fix ac97-using drivers for the above add suspend/resume support for neomagic
* update ac97 layer to use device_printf when printing messagescg2000-01-181-4/+7
|
* fix for -fno-builtincg1999-11-211-2/+2
| | | | PR: kern/14278
* repo-copied to make way for newmidi, this commit updates include pathscg1999-11-201-2/+2
|
* $Id$ -> $FreeBSD$peter1999-09-011-1/+1
|
OpenPOWER on IntegriCloud