Applying hda-analyzer diff output

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

I've got a problem with enabling the front mic input on my Zotac Ion 
mainboard (MCP7A based) which I've eventually managed to get working 
with  hda-analyzer.  This gave me a diff output and I now need a clue on 
how to apply these changes from the command-line.

I found hda-verb but that  doesn't take the diff natively, and trying to 
work out how to convert to the needed format is hurting my head. Any clues?


The diff is pretty small so I hope it's considered ok to include incase 
it helps:


Diff for codec 0/0 (0x10ec0662):
--- 
+++ 
@@ -53,18 +53,18 @@
   PCM:
     rates [0x160]: 44100 48000 96000
     bits [0x6]: 16 20
     formats [0x1]: PCM
   Connection: 1
      0x23
 Node 0x09 [Audio Input] wcaps 0x10011b: Stereo Amp-In
   Amp-In caps: ofs=0x09, nsteps=0x1f, stepsize=0x05, mute=1
-  Amp-In vals: [0x9e 0x9e]
-  Converter: stream=0, channel=0
+  Amp-In vals: [0x1e 0x1e]
+  Converter: stream=1, channel=0
   SDI-Select: 0
   PCM:
     rates [0x160]: 44100 48000 96000
     bits [0x6]: 16 20
     formats [0x1]: PCM
   Connection: 1
      0x22
 Node 0x0a [Vendor Defined Widget] wcaps 0xf00000: Mono
@@ -128,39 +128,39 @@
     Misc = NO_PRESENCE
   Pin-ctls: 0x20: IN
   Unsolicited: tag=0x00, enabled=0
   Connection: 1
      0x0e
 Node 0x17 [Vendor Defined Widget] wcaps 0xf00000: Mono
 Node 0x18 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
   Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
-  Amp-In vals: [0x02 0x02]
+  Amp-In vals: [0x00 0x00]
   Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
   Amp-Out vals: [0x80 0x80]
   Pincap 0x00001734: IN OUT Detect
     Vref caps: HIZ 50 GRD 80
   Pin Default 0x01a19830: [Jack] Mic at Ext Rear
     Conn = 1/8, Color = Pink
     DefAssociation = 0x3, Sequence = 0x0
   Pin-ctls: 0x24: IN VREF_80
   Unsolicited: tag=0x00, enabled=0
   Connection: 1
      0x0e
 Node 0x19 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
   Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
-  Amp-In vals: [0x02 0x02]
+  Amp-In vals: [0x01 0x01]
   Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
   Amp-Out vals: [0x80 0x80]
   Pincap 0x0000173c: IN OUT HP Detect
     Vref caps: HIZ 50 GRD 80
   Pin Default 0x02a19831: [Jack] Mic at Ext Front
     Conn = 1/8, Color = Pink
     DefAssociation = 0x3, Sequence = 0x1
-  Pin-ctls: 0x24: IN VREF_80
+  Pin-ctls: 0x21: IN VREF_50
   Unsolicited: tag=0x00, enabled=0
   Connection: 2
      0x0c* 0x0e
 Node 0x1a [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
   Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
   Amp-Out vals: [0x80 0x80]
   Pincap 0x00000034: IN OUT Detect
   Pin Default 0x0181303f: [Jack] Line In at Ext Rear
@@ -206,17 +206,17 @@
   Pin-ctls: 0x40: OUT
   Connection: 1
      0x06
 Node 0x1f [Vendor Defined Widget] wcaps 0xf00000: Mono
 Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono
 Node 0x21 [Vendor Defined Widget] wcaps 0xf00000: Mono
 Node 0x22 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
   Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
-  Amp-In vals: [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 
0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
+  Amp-In vals: [0x80 0x80] [0x00 0x80] [0x80 0x80] [0x80 0x80] [0x80 
0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
   Connection: 10
      0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x0b
 Node 0x23 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
   Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
   Amp-In vals: [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 
0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
   Connection: 10
      0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x0b
 Node 0x24 [Vendor Defined Widget] wcaps 0xf00000: Mon



Steve

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux