Comment # 2 on bug 1159962 from
Thanks for your feedback, Takashi.

All further experiments were done with Kernel 5.4.6-1.ge5f8301-default from
Kernel:stable.

> Actually, it's other way round: the error at probe happens for the secondary 
> device, i.e. the onboard audio, while the first device, HDMI, was probed 
> correctly, judging from alsa-info.sh output.  

Yes, you're right. yast is confused about two devices, that are handled from
the same driver, and consequently doesn't manage these two devices correctly. 

If I remove the former setup and start with Azalia, it creates:

/etc/modprobe.d/50-sound.conf:

options snd slots=snd-hda-intel
# 5Dex.Ra8MFFdEW23:SBx00 Azalia (Intel HDA)

and if I remove this again, and start with HDMI, it creates:

options snd slots=snd-hda-intel
# mnDB.SblQee99PEF:Wrestler HDMI Audio
alias snd-card-0 snd-hda-intel

Hence, it differs in the comments only. :-(

No matter, what yast thinks, the system always sets up the HDMI device,
according to alsa:

cat /proc/asound/card0/codec#0:
Codec: ATI R6xx HDMI
Address: 0
AFG Function Id: 0x1 (unsol 0)
Vendor Id: 0x1002aa01
Subsystem Id: 0x00aa0100
Revision Id: 0x100200
No Modem Function Group found
Default PCM:
    rates [0x70]: 32000 44100 48000
    bits [0x2]: 16
    formats [0x1]: PCM
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
State of AFG node 0x01:
  Power states:  D0 D3
  Power: setting=D0, actual=D0
GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
Node 0x02 [Audio Output] wcaps 0x201: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  IEC Coding Type: 0x0
Node 0x03 [Pin Complex] wcaps 0x400381: Stereo Digital
  Control: name="IEC958 Playback Con Mask", index=0, device=0
  Control: name="IEC958 Playback Pro Mask", index=0, device=0
  Control: name="IEC958 Playback Default", index=0, device=0
  Control: name="IEC958 Playback Switch", index=0, device=0
  Pincap 0x00000094: OUT Detect HDMI
  Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=01, enabled=1
  Connection: 1
     0x02

Manually appending this doesn't change the picture:

alias snd-card-1 snd-hda-intel

> I have no idea why it failed, so far, so let's try the following at first:

- Please try to remove the extra configuration for sound drivers in
/etc/modprobe.d/*.conf.  enable_msi=0 should be superfluous, at least.

Done, see above. 

- Try the 5.4.y kernel in OBS Kernel:stable repo.  It should be the same
result, but who knows...

Done, see above.

> Other than that, I'd check BIOS setup.  You might have some item allowing to 
> disable the onboard audio.

I've upgraded to the latest BIOS version already: 119.

Unfortunately, the BIOS doesn't provide *any* audio related switches, and is
very sparse at any controls. See Page 96ff, if you like:

https://download.msi.com/archive/mnu_exe/CR650_English.zip

Our main objective is getting the onboard sound (Azalia) to work. The HDMI
sound is a rarely used (if at all) nice to have option, while the onboard sound
is *essential*. I've no good way to test HDMI output at the moment without some
fuzz, but yes, it looks, like HDMI is working correctly, independently from
what yast thinks, it is controlling. 

Interestingly, the only snd related kernel message is:

dmesg | grep snd
[   29.887885] snd_hda_intel 0000:00:14.2: no codecs found!

which means, that setting up HDMI doesn't trigger any kernel messages:

00:01.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Wrestler HDMI
Audio
        Subsystem: Micro-Star International Co., Ltd. [MSI] Device 109a
        Flags: bus master, fast devsel, latency 0, IRQ 28
        Memory at feb44000 (32-bit, non-prefetchable) [size=16K]
        Capabilities: [50] Power Management version 3
        Capabilities: [58] Express Root Complex Integrated Endpoint, MSI 00
        Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010
<?>
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel


only this one:

00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia
(Intel HDA) (rev 40)
        Subsystem: Micro-Star International Co., Ltd. [MSI] Device 109a
        Flags: bus master, slow devsel, latency 32, IRQ 16
        Memory at feb40000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [50] Power Management version 2
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel

so I'm certain, that the Codec problem is in charge of Azalia not working.


You are receiving this mail because: