alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* Weird jack detection on ASRock B450M Pro4
@ 2020-07-10 15:31 Arun Raghavan
  2020-07-10 15:35 ` Arun Raghavan
  0 siblings, 1 reply; 2+ messages in thread
From: Arun Raghavan @ 2020-07-10 15:31 UTC (permalink / raw)
  To: alsa-devel, PulseAudio Discussion

Hi folks,
I ran into some weird behaviour on this motherboard. First, alsa-info is here: http://alsa-project.org/db/?f=f48105f391d848b34b3779f27369130ca024f417

The weird behaviour is that the HDA card is picked up fine, but jack detection is broken on boot. However, this gets "fixed" after you run alsa-info. The before/after codec info is at:

https://arunraghavan.net/temp/alsa-codecs-before.txt
https://arunraghavan.net/temp/alsa-codecs-after.txt

The key delta is:

----
@@ -133,24 +133,24 @@
 Node 0x02 [Audio Output] wcaps 0x41d: Stereo Amp-Out
   Control: name="Front Playback Volume", index=0, device=0
     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
   Device: name="ALC892 Analog", type="Audio", device=0
   Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
-  Amp-Out vals:  [0x34 0x34]
-  Converter: stream=0, channel=0
+  Amp-Out vals:  [0x29 0x29]
+  Converter: stream=5, channel=0
   PCM:
     rates [0x560]: 44100 48000 96000 192000
     bits [0xe]: 16 20 24
     formats [0x1]: PCM
   Power states:  D0 D1 D2 D3 EPSS
   Power: setting=D0, actual=D0
 Node 0x03 [Audio Output] wcaps 0x41d: Stereo Amp-Out
   Control: name="Surround Playback Volume", index=0, device=0
     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
   Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
-  Amp-Out vals:  [0x34 0x34]
-  Converter: stream=0, channel=0
+  Amp-Out vals:  [0x29 0x29]
+  Converter: stream=5, channel=0
   PCM:
     rates [0x560]: 44100 48000 96000 192000
     bits [0xe]: 16 20 24
     formats [0x1]: PCM
   Power states:  D0 D1 D2 D3 EPSS
@@ -159,12 +159,12 @@
   Control: name="Center Playback Volume", index=0, device=0
     ControlAmp: chs=1, dir=Out, idx=0, ofs=0
   Control: name="LFE Playback Volume", index=0, device=0
     ControlAmp: chs=2, dir=Out, idx=0, ofs=0
   Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
-  Amp-Out vals:  [0x34 0x34]
-  Converter: stream=0, channel=0
+  Amp-Out vals:  [0x29 0x29]
+  Converter: stream=5, channel=0
   PCM:
     rates [0x560]: 44100 48000 96000 192000
     bits [0xe]: 16 20 24
     formats [0x1]: PCM
   Power states:  D0 D1 D2 D3 EPSS
@@ -172,11 +172,11 @@
 Node 0x05 [Audio Output] wcaps 0x41d: Stereo Amp-Out
   Control: name="Headphone Playback Volume", index=0, device=0
     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
   Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
   Amp-Out vals:  [0x00 0x00]
-  Converter: stream=0, channel=0
+  Converter: stream=5, channel=0
   PCM:
     rates [0x560]: 44100 48000 96000 192000
     bits [0xe]: 16 20 24
     formats [0x1]: PCM
   Power states:  D0 D1 D2 D3 EPSS
----

Any thoughts on what's changing that, and how this should be fixed?

Cheers,
Arun

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Weird jack detection on ASRock B450M Pro4
  2020-07-10 15:31 Weird jack detection on ASRock B450M Pro4 Arun Raghavan
@ 2020-07-10 15:35 ` Arun Raghavan
  0 siblings, 0 replies; 2+ messages in thread
From: Arun Raghavan @ 2020-07-10 15:35 UTC (permalink / raw)
  To: alsa-devel, PulseAudio Discussion

On Fri, 10 Jul 2020, at 11:31 AM, Arun Raghavan wrote:
> Hi folks,
> I ran into some weird behaviour on this motherboard. First, alsa-info 
> is here: 
> http://alsa-project.org/db/?f=f48105f391d848b34b3779f27369130ca024f417
> 
> The weird behaviour is that the HDA card is picked up fine, but jack 
> detection is broken on boot. However, this gets "fixed" after you run 
> alsa-info. The before/after codec info is at:

Quick note, the same behviour is seen on unplug/replug on that port as well (i.e. unplug is detected, but replug is not until alsa-info is run again).

-- Arun

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-07-10 15:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-10 15:31 Weird jack detection on ASRock B450M Pro4 Arun Raghavan
2020-07-10 15:35 ` Arun Raghavan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).