Bug 6185 - Alsa does not detect the audio device
Summary: Alsa does not detect the audio device
Status: VERIFIED FIXED
Alias: None
Product: MinnowBoard MAX Firmware
Classification: Hardware Platforms
Component: minnowmax-edk2 (show other bugs)
Version: unspecified
Hardware: MinnowBoard Max x86_64
: High major
Target Milestone: ---
Assignee: Darren Hart
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2014-04-18 20:27 UTC by Stephen K Jolley
Modified: 2014-07-10 17:20 UTC (History)
1 user (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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
.