| Summary: | [MinnowMax] Alsa playback is silent | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] BSPs | Reporter: | Darren Hart <dvhart> |
| Component: | bsps-meta-intel | Assignee: | Darren Hart <dvhart> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium | CC: | carlos.e.navarro.palos, danders, sjolley.yp.pm, tom.zanussi |
| Version: | 1.6 | ||
| Target Milestone: | Future | ||
| Hardware: | MinnowBoard Max | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
|
Description
Darren Hart
2014-04-22 20:51:03 UTC
I used to run across this regularly when testing audio - the problem being that the volume was all the way down. Doing something like: amixer set master 60 or amixer set master 100 unmute would usually do the trick (To test I just cat'ed a .wav file to the device). Probably not the problem, but might be worth a try. In this case, we only have digital output - which tends not to have a volume control, and I have confirmed it is unmuted. Just in case, I tried:
root@intel-corei7-64:/etc# amixer set IEC958 100 unmute
Simple mixer control 'IEC958',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Note that there is no "Master" control, nor a "PCM" control - which concerns me.
Note: no PCM playback devices listed here:
# aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
There are at least a hardware device... maybe I have to use a plugin to get a pcm?
# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 3: ID 2882 Digital [ID 2882 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
I've tried using hw:0,3 directly, but have also tried the nuc asound.conf using the dmixer plugin:
pcm.!default {
type plug
slave.pcm "dmixer"
}
pcm.dmixer {
type dmix
ipc_key 1024
ipc_key_add_uid 0
ipc_perm 0666
slave {
pcm "hw:0,3" # HDMI CARD AND DEVICE
period_time 0
period_size 1024
buffer_size 8192
rate 48000 #or 44100
}
}
ctl.dmixer {
type hw
card 0
}
There may be some issue related to the HDD (?) (detect) line being active low per the GOP driver expectations, and all the other devices Dave Anders has worked with use active high. Something to discuss... This is Yocto-specific as some of the more current distros work out of the box. As of: # dmidecode | grep "BIOS Information" -A3 BIOS Information Vendor: Intel Corp. Version: MNW2CRB1.X64.0071.D30.1406171531 Release Date: 06/17/2014 No ALSA devices are detected at all. I veried that this image (Yocto 5/13 image) works as initially described below on the Intel E3815 NUC, so I suspect something has changed in firmware to have broken audio. The asound.conf workaround is still needed, but the firmware as of 7/10 and later are now working. Marking this as resolved, and the OS side of things will be resolved in Bug 6362. Firmware fix is done. |