summaryrefslogtreecommitdiff
path: root/sys/dev/pci/envy.c
AgeCommit message (Collapse)Author
2009-11-02Add support for ``M-Audio Revolution 5.1'' cards, based on envy24HT.Alexandre Ratchov
From Alexandr Shadchin <ShadchinAV _at_ mail.ru> Thanks!
2009-10-24add the subvendor ID of ``M-Audio Audiophile 2496'' and add it toAlexandre Ratchov
the list of supported cards
2009-10-11At initialization of HT chips, write configuration on the correspondingAlexandre Ratchov
control registers rather than on the PCI configuration space (which is ok for non-HT chips only). Also fix the offset GPIO mask/dir are read from EEPROM, old ones are working by accident. both fixes are from Alexandr Shadchin <ShadchinAV _at_ mail.ru> Thanks!
2009-05-18the block size must be multiple of the pci burst size (overwiseAlexandre Ratchov
dma pointers can overrun)
2009-05-08add support HT mixer knobs (ie routing control). Allow monitoringAlexandre Ratchov
analog inputs
2009-05-08add support for the ak4358 DAC used in ESI Julia cards. There areAlexandre Ratchov
two mono line0 and line1 knobs rather than a single stereo knob because that's how the routing control (not exposed for ht chips yet) works.
2009-05-08print card model, the number of inputs and the number of outputsAlexandre Ratchov
when the device attaches
2009-05-08add support for m-audio delta 1010, delta 66 and delta 44 sinceAlexandre Ratchov
they are the same as the delta 1010lt card, only the number of implemented codecs change
2009-05-08rename few functions and macros, fix styleAlexandre Ratchov
2009-05-08expose HT mixer; since neither the digital mixer nor codecAlexandre Ratchov
sub-mixers are implemented, it's empty.
2009-05-08use the number of channels rather than the number of stereo dacs/adcs,Alexandre Ratchov
because there will support for non-stereo dacs/adcs soon.
2009-05-08hide controls corresponding to missing dacs, adcs or spdifs.Alexandre Ratchov
2009-05-04put codec-specific mixer bits in their own routines andAlexandre Ratchov
reference the code in global envy_card structures. Allows the same mixer code to be shared across differents cards. Will ease adding codec-specific knobs when adding support for new cards.
2009-05-03reorganize mixer bits to allow, supporting codec-dependent mixerAlexandre Ratchov
controls later. Also stop using ``next'' and ``prev'' pointers, since they make impossible exposing ``source'' knobs for streams that do not have ``gain'' knobs. This implies renaming ``xxx.source'' knobs to ``xxx_source''. Besides that, no behaviour change.
2009-04-25add basic support for Envy24HT chips and for ``ESI Juli@''Alexandre Ratchov
cards using it. No mixer yet. ok jakemsr@
2009-04-25start splitting the driver in two parts: one specific to theAlexandre Ratchov
generic Envy24 chip common to all cards and another part specific to the cards. This will ease adding support for other card models. ok jakemsr@
2009-03-29make various strings ("can't map mem space" and similar) more consistentStuart Henderson
between instances, saving space in the kernel. feedback from many (some incorporated, some left for future work). ok deraadt, kettenis, "why not" miod.
2009-03-04don't bus_space_unmap() sc->mt_ioh with the wrong bus tagAlexandre Ratchov
from Alexandr Shadchin <ShadchinAV(at)mail.ru>, Thanks!
2009-01-17use 24-bit precision (encoded in 32-bit words) rather thanAlexandre Ratchov
fake 32-bit precision. Allowed by recent audio(4) changes.
2008-12-09Non soundblaster-like devices must set AUDIO_PROP_INDEPENDENTAlexandre Ratchov
flag even if playback and record are not independent; otherwise AUDIO_GETINFO ioctl may return false parameters on devices like envy(4) that don't use the same number of channels for playback and recording.
2008-11-29use the the correct register mask. Fixes certain mixer settingsAlexandre Ratchov
being unreachable.
2008-10-25audio(9) says low level drivers are allowed to change the requestedJacob Meuser
values of the audio_params structure during AUDIO_SETINFO if the hardware cannot be set to exactly the requested mode. some drivers do this sometimes. others always return EINVAL if there isn't an exact match. be more consistent. only return EINVAL if an absurd parameter was requested, otherwise return a supported set of parameters, as close as possible to what was requested. with/ok ratchov@
2008-04-30don't stop both play and record in envy_halt_input() ad envy_halt_output()Alexandre Ratchov
ok jakemsr@
2008-04-21allow low level audio drivers to specify a default sample format,Jacob Meuser
instead of 8-bit mono mulaw @ 8kHz. this is just the infrastructure; no drivers are specifying a default yet. ok ratchov@, deanna@
2008-02-21since now we have volume knobs, use next/prev pointers to attachAlexandre Ratchov
outputs.lineN.source to them. Rename various labels to use "standard" names, ie AudioNxxx macros. ok jakemsr@
2008-02-21implement AK4524 input and output volume knobs and output mute switches.Alexandre Ratchov
There are 8 gain knobs but only 4 mute switches because each codec has two channels but only one mute switch. ok jakemsr@
2008-01-14protect against an invalid device index possibly leading to kernelJacob Meuser
crash. inspired by deanna's similar bug fix in ac97. ok ratchov
2007-12-08there should be 10 stereo or 20 mono knobs (but not 20 stereo!).Alexandre Ratchov
Fix this by changing monitor knobs to be mono (as all other knobs are).
2007-12-08mixer_devinfo->type is uninitialized for classesAlexandre Ratchov
2007-10-28id tags.Federico G. Schwindt
2007-10-28add new envy(4) driver for ICE1712 (aka VIA Envy24) audio devices. TheAlexandre Ratchov
device uses 32bit samples, up to 96kHz sample rate, 12 input channels and 10 output channels. Currently AK4524 codecs are supported, so M-Audio Delta cards should work. Playback and capture work, but the mixer is still incomplete. ok jakemsr@