#14581: no audio on T410 (8086/3b56) - mixer not used (DMA/IRQ problem?)
---------------------------------+----------------------------
Reporter: ttcoder | Owner: korli
Type: bug | Status: new
Priority: normal | Milestone: R1/beta2
Component: Drivers/Audio/HDA | Version: R1/Development
Resolution: | Keywords:
Blocked By: | Blocking:
Has a Patch: 0 | Platform: All
---------------------------------+----------------------------
Comment (by ttcoder):
Wow. Sound works today.
Was working with qemu on an "audio_out" scenario. At about an uptime of 2+
hours, on a whim I launched MediaPlayer and boom -- the music plays!
That's with Haiku x64 R1/beta1, using the "stock" HDA driver. The (acpi-
driven?) "mute" button works for muting and un-muting audio. The "-" and
"+" keyboard keys do not do anything, however. Didn't try headphones yet.
Did the qemu run manage to initialize the HDA hardware ? Or did the
hardware preserve its state from yesterday's test of the OpenBSD driver ?
This computer remained powered off for 10 hours in between. So if it's the
latter, just wow. Or was it just a matter of having a 2 hours uptime
before trying ? (saw things like that before with media_server, but more
on a scale of minutes, not hours). Will test more over the next few days
and update.
Syslog differences follow..
- Different in irq vector:
{{{
KERN: hda: enabling PCI bus mastering
KERN: allocate_io_interrupt_vectors: allocated 1 vectors starting
from 20
KERN: msi_allocate_vectors: allocated 1 vectors starting from 20
KERN: msi enabled: 0x0081
KERN: hda: using MSI vector 20
}}}
whereas in https://dev.haiku-
os.org/attachment/ticket/14581/syslog_with_additional_tracing.txt
you'll see it using **19**
- DMA snooping differs:
KERN: hda: DMA snooping: yes
whereas here https://dev.haiku-
os.org/attachment/ticket/14581/syslog_with_additional_tracing.txt
it says
KERN: hda: DMA snooping: **no**
- settings:
3 extra lines after "looking for settings file"
on this side: https://dev.haiku-
os.org/attachment/ticket/14581/syslog_with_additional_tracing.txt
- lots of "MTRR" differences (is MTRR related to DMA ?)
- no change in the rest (routing from widget to widget, logged init
verbs..)
- couldn't compare setmix()-style logging, as that logging is not
activated in the "stock" driver.
If I understood irq and dma I could review the OpenBSD 5.7 code to see if
it does something special with that.. But that's probably above my pay
grade.
--
Ticket URL: <https://dev.haiku-os.org/ticket/14581#comment:14>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.