Age | Commit message (Collapse) | Author |
|
* deal with the possibility of the hardware being detached, as could
happen with expresscard. from deraadt@
* only return 1 if an interrupt was actually serviced. fixes "constant
interrupts when the device isn't being used" issue reported by oga@.
|
|
detach happens after the hardware is gone, so don't try to touch
the hardware in the detach path
but azalia_pci_detach is called if the device coiuld not be initialized.
in that case, shut the hardware down.
|
|
by claudio to be related to this commit) until jakemsr has time to fix it
|
|
the hardware in the detach path
|
|
azalia_configure_pci(). use that function in azalia_attach() and
azalia_resume(). fixes post-resume "static" during playback for
some machines with ATI chipsets.
|
|
valid connection and a valid converter. fixes speaker auto-mute
for some IDT codecs.
ok miod@
|
|
number of widget connection list entries. if the high bit is set in
a connection list entry, all widgets between the previous and current
entry are connected. go through the connection list entry once to
figure out how many connections there are, then go through it again
to build the connection list.
ok miod@
|
|
|
|
|
|
|
|
DVACT_SUSPEND, therefore DVACT_QUIECE can do standard sleeping operations
to get ready.
Discussed quite a while back with kettenis and jakemsr, oga suddenly needed
it as well and wrote half of it, so it was time to finish it.
proofread by miod.
|
|
|
|
silencing requested by deraadt
|
|
trigger a broken code path
|
|
|
|
tested by deraadt
|
|
rev 1.172. restore it so headphone/speaker switching can work
after resume.
ok deraadt
|
|
ok deraadt
|
|
means they lose their quirk fixups. check for widget quirks and
apply as necessary.
ok deraadt
|
|
than one block of data since the interrupt handler was last run.
when azalia detects these situations, it will print a line to the
dmesg buffer like:
stream 1: swpos XXXX hwpos XXXX, adding intr
getting these messages in itself is not bad, but if audio breaks, I
need to see these messages. this will be changed to a DPRINTF once
I get more feedback.
ok deraadt
|
|
if so, don't do anything on suspend/resume. should fix crash reported
by mlarkin.
|
|
for both structs, the new members are 'bps' and 'msb', which
describe the number of bytes per sample and data alignment in the
sample, respectively. drivers must properly set these fields in
the 'query_encoding', 'set_parameters' and 'get_default_params'
hardware interface methods.
discussed with ratchov, deraadt
|
|
is currently breaking resume.
ok pirofti
|
|
index
- we only care about unsolicited responses from the codec we're using
- no need to enable unsolicited responses until we know which codec
we're using
fixes crash reported by jacekm@
|
|
with codecs like the ALC269 that have pins that need to be configured but
don't have an associated mixer item.
ok jakemsr@
|
|
somewhere meaningful later on. Save the PCI device tag instead and use it
instead.
ok miod@, jakemsr@
|
|
|
|
macbooks that have a "normal" pair of stereo speakers as well
as subwoofer(s). problem reported and fix tested by Ted Roby.
|
|
ok kettenis@
|
|
instead, install a timeout(9) to run the queue. fixes a panic
reported by wilfried@
|
|
default DAC receive the first playback stereo channel pair if the DAC
wouldn't otherwise be used and allow the jack's output volume to be
controlled by outputs.master by default. this was already mostly
implemented for codecs with 3 or more dacs, but front headphone jacks
are also common on 2 dac codecs as well.
|
|
|
|
outputs.master.slaves group. lets outputs.master by default control
more than just the internal speaker on some Dell desktops.
|
|
|
|
Okay deraadt@.
|
|
|
|
mixer name.
|
|
This is needed for the addition of further suspend/resume actions.
Okay deraadt@, marco@.
|
|
codecs a controller can support
* dynamically allocate memory for the array of codec structures
|
|
* instead of printing "initialization failure", print "initialization
failure, detaching". perhaps instills more confidence that the
failure was handled in an orderly manner.
|
|
usable. detach the driver if the device is only capable of HDMI.
this keeps an unusable device from being /dev/audio0 (thus
/dev/audio by default), while /dev/audio1 is fully functional.
|
|
controllers. according to ALSA and OSS, these enable input and
output stream DMA coherency.
fixes broken playback problem reported by Laurence Tratt (laurie at
tratt dot net), who graciously tested a number of previous attempts
to solve this problem.
|
|
problem reported by martynas@. this bug has been there a long
time (r1.61), but sloppy RIRB handling was hiding it ...
|
|
the one with the lowest association.
|
|
and into it's own function, azalia_get_ctrlr_caps()
|
|
rather than in it's user(s)
|
|
|
|
own function
|
|
of information about a stream
|
|
mixer get/set routines instead of in the MI audio routines.
|