Bug 196601

Summary: snd_hdmi_lpe_audio breaks audio if HDMI is not connected at boot (or module load?)
Product: Drivers Reporter: dan.g.tob
Component: Sound(ALSA)Assignee: Jaroslav Kysela (perex)
Status: NEW ---    
Severity: normal CC: dan.g.tob, pierre-louis.bossart
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 4.12 Subsystem:
Regression: No Bisected commit-id:
Bug Depends on:    
Bug Blocks: 113151    
Attachments: dmesg; boot with hdmi plugged
dmesg; boot with hdmi UNplugged

Description dan.g.tob 2017-08-06 20:04:40 UTC
Created attachment 257839 [details]
dmesg; boot with hdmi plugged

Regression from 4.11, snd_hdmi_lpe_audio is a new module in 4.12 to support HDMI audio on atom that is auto loaded at boot.

Booting the machine with the HDMI cable plugged in (TV on) audio all works correctly (headphones, laptop speakers & TV speakers).

Booting the machine _without_ the HDMI cable plugged in leaves me unable to select any audio devices.

In both cases aplay -l reports

**** List of PLAYBACK Hardware Devices ****
card 0: Audio [Intel HDMI/DP LPE Audio], device 0: HdmiLpeAudio [Intel HDMI/DP LPE Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: bytcrrt5640 [bytcr-rt5640], device 0: 3 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: bytcrrt5640 [bytcr-rt5640], device 1: Deep-Buffer Audio (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0


Only changes I can see in dmesg are aound here in the unplugged case

[    2.931141]  index1: hash matches
[    2.931144]  index1: hash matches
[    2.931147]  index1: hash matches
[    2.931149]  index1: hash matches
[    2.931193] graphics fbcon: hash matches
Comment 1 dan.g.tob 2017-08-06 20:05:09 UTC
Created attachment 257841 [details]
dmesg; boot with hdmi UNplugged