Bug 6185

Summary: Alsa does not detect the audio device
Product: [Hardware Platforms] MinnowBoard MAX Firmware Reporter: Stephen K Jolley <sjolley.yp.pm>
Component: minnowmax-edk2Assignee: Darren Hart <dvhart>
Status: VERIFIED FIXED QA Contact:
Severity: major    
Priority: High CC: sjolley.yp.pm
Version: unspecified   
Target Milestone: ---   
Hardware: MinnowBoard Max   
OS: x86_64   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Stephen K Jolley 2014-04-18 20:27:15 UTC
Alsa does not detect the audio device
  - This may require a custom asound.conf
Firmware issues are being worked.
Comment 1 Darren Hart 2014-04-22 20:46:36 UTC
As of firmware MNW2_IFWI_X64_D_2014_04_22_1659.zip, the audio device is detected:

root@intel-corei7-64:~# dmesg | grep sound
[    8.566287] sound hdaudioC0D2: autoconfig: line_outs=0 (0x0/0x0/0x0/0x0/0x0) type:line
[    8.566291] sound hdaudioC0D2:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    8.566295] sound hdaudioC0D2:    hp_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    8.566298] sound hdaudioC0D2:    mono: mono_out=0x0
[    8.566300] sound hdaudioC0D2:    dig-out=0x4/0x5
[    8.566303] sound hdaudioC0D2:    inputs:

We appear to have one digital output device as expected:
root@intel-corei7-64:~# 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

Alsamixer detects an S/PDIF Playback device and nothing else, which seems appropriate.

Unfortunately, I don't hear anything when testing this device:

root@intel-corei7-64:/etc# speaker-test -t sine -f 1000 -D "hw:0,3" -c2

speaker-test 1.0.27.2

Playback device is hw:0,3
Stream parameters are 48000Hz, S16_LE, 2 channels
Sine wave rate is 1000.0000Hz
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 64 to 16384
Period size range from 32 to 8192
Using max buffer size 16384
Periods = 4
was set period_size = 4096
was set buffer_size = 16384
 0 - Front Left
 1 - Front Right
Time per period = 5.638792
 0 - Front Left
 1 - Front Right
Time per period = 5.973074
 0 - Front Left
 1 - Front Right

At this point, this is very possibly a Linux issue. Marking as resolved and opening an OS bug for no playback.
Comment 2 Darren Hart 2014-07-10 17:19:37 UTC
ALSA support is restored in Firmware 07-10, aplay and speaker-test function as expected. Thank you!
Comment 3 Darren Hart 2014-07-10 17:20:50 UTC
.