Win10论坛

Win10正式版系统下载主题平板

重定义Modern UI,打造完美Windows全新体验

Windows10下载|安装|新手宝典|必备软件

搜索
查看: 1935|回复: 26

[声卡] 求助仿冒声卡 用applealc仿冒cx20632大半月未成功 [复制链接]

Rank: 2Rank: 2

UID
595932
帖子
354
PB币
677
贡献
0
技术
1
活跃
118
发表于 2018-1-14 19:16:47 |显示全部楼层
本帖最后由 k111 于 2018-1-14 21:35 编辑

用applealc仿冒cx20632大半月未成功 求大神指导下,完全找不到错在哪 也不回通过alcdbg进行排错。下步应该怎么排错?
先贴codec#0 如下:Codec: Conexant CX20632
Address: 0
Vendor Id: 0x14f15098
Subsystem Id: 0x103c82b4
Revision Id: 0x100100

No Modem Function Group found
Default PCM:
    rates [0x160]: 44100 48000 96000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
State of AFG node 0x01:
  Power states:  D0 D1 D2 D3 D3cold S3D3cold CLKSTOP EPSS
  Power: setting=D0, actual=D0
GPIO: io=5, o=0, i=0, unsolicited=1, wake=1
  IO[0]: enable=1, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[1]: enable=1, dir=1, wake=0, sticky=0, data=0, unsol=0
  IO[2]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[3]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[4]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
Node 0x10 [Audio Output] wcaps 0xc1d: Stereo Amp-Out R/L
  Control: name="Line Out Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Line Out Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Device: name="CX20632 Analog", type="Audio", device=0
  Amp-Out caps: ofs=0x4a, nsteps=0x4a, stepsize=0x03, mute=1
  Amp-Out vals:  [0x36 0x36]
  Converter: stream=1, 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 0x11 [Audio Output] wcaps 0xc1d: Stereo Amp-Out R/L
  Control: name="Headphone Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Headphone Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x4a, nsteps=0x4a, stepsize=0x03, mute=1
  Amp-Out vals:  [0x36 0x36]
  Converter: stream=1, 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 0x12 [Audio Output] wcaps 0x611: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x49
  IEC Coding Type: 0x0
  PCM:
    rates [0x5e0]: 44100 48000 88200 96000 192000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x13 [Beep Generator Widget] wcaps 0x70000c: Mono Amp-Out
  Control: name="Beep Playback Volume", index=0, device=0
    ControlAmp: chs=1, dir=Out, idx=0, ofs=0
  Control: name="Beep Playback Switch", index=0, device=0
    ControlAmp: chs=1, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x07, nsteps=0x07, stepsize=0x0f, mute=0
  Amp-Out vals:  [0x06]
Node 0x14 [Audio Input] wcaps 0x100d1b: Stereo Amp-In R/L
  Control: name="Capture Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=2, ofs=0
  Control: name="Capture Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=2, ofs=0
  Device: name="CX20632 Analog", type="Audio", device=0
  Amp-In caps: ofs=0x4a, nsteps=0x50, stepsize=0x03, mute=1
  Amp-In vals:  [0x50 0x50] [0x80 0x80] [0x50 0x50] [0x80 0x80]
  Converter: stream=1, channel=0
  SDI-Select: 0
  PCM:
    rates [0x160]: 44100 48000 96000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 4
     0x1a* 0x1b 0x1d 0x1e
Node 0x15 [Audio Input] wcaps 0x100d1b: Stereo Amp-In R/L
  Control: name="Capture Volume", index=1, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Capture Switch", index=1, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Device: name="CX20632 Alt Analog", type="Audio", device=2
  Amp-In caps: ofs=0x4a, nsteps=0x50, stepsize=0x03, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x160]: 44100 48000 96000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 4
     0x1a* 0x1b 0x1d 0x1e
Node 0x16 [Audio Input] wcaps 0x100d1b: Stereo Amp-In R/L
  Amp-In caps: ofs=0x4a, nsteps=0x50, stepsize=0x03, mute=1
  Amp-In vals:  [0x4a 0x4a]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x160]: 44100 48000 96000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x22
Node 0x17 [Audio Output] wcaps 0xc1d: Stereo Amp-Out R/L
  Control: name="Speaker Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Speaker Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x4a, nsteps=0x4a, stepsize=0x03, mute=1
  Amp-Out vals:  [0x80 0x80]
  Converter: stream=1, 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 0x18 [Pin Complex] wcaps 0x400581: Stereo
  Pincap 0x00010014: OUT EAPD Detect
  EAPD 0x2: EAPD
  Pin Default 0x40f001f0: [N/A] Other at Ext N/A
    Conn = Unknown, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x00:
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 3
     0x10* 0x11 0x17
Node 0x19 [Pin Complex] wcaps 0x400581: Stereo
  Pincap 0x0000001c: OUT HP Detect
  Pin Default 0x02211040: [Jack] HP Out at Ext Front
    Conn = 1/8, Color = Black
    DefAssociation = 0x4, Sequence = 0x0
  Pin-ctls: 0xc0: OUT HP
  Unsolicited: tag=01, enabled=1
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 3
     0x10 0x11* 0x17
Node 0x1a [Pin Complex] wcaps 0x40048b: Stereo Amp-In
  Control: name="Mic Boost Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Amp-In caps: ofs=0x00, nsteps=0x04, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Pincap 0x00001324: IN Detect
    Vref caps: HIZ 50 80
  Pin Default 0x02a11020: [Jack] Mic at Ext Front
    Conn = 1/8, Color = Black
    DefAssociation = 0x2, Sequence = 0x0
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=03, enabled=1
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x1b [Pin Complex] wcaps 0x40058b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x04, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Pincap 0x00011334: IN OUT EAPD Detect
    Vref caps: HIZ 50 80
  EAPD 0x2: EAPD
  Pin Default 0x40f001f0: [N/A] Other at Ext N/A
    Conn = Unknown, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x00: VREF_HIZ
  Unsolicited: tag=02, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 3
     0x10* 0x11 0x17
Node 0x1c [Pin Complex] wcaps 0x400581: Stereo
  Pincap 0x0000001c: OUT HP Detect
  Pin Default 0x01011010: [Jack] Line Out at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x00:
  Unsolicited: tag=02, enabled=1
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 3
     0x10* 0x11 0x17
Node 0x1d [Pin Complex] wcaps 0x40058b: Stereo Amp-In
  Control: name="Line Boost Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Amp-In caps: ofs=0x00, nsteps=0x04, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Pincap 0x00010034: IN OUT EAPD Detect
  EAPD 0x2: EAPD
  Pin Default 0x01811030: [Jack] Line In at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0x3, Sequence = 0x0
  Pin-ctls: 0x20: IN
  Unsolicited: tag=04, enabled=1
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 3
     0x10* 0x11 0x17
Node 0x1e [Pin Complex] wcaps 0x40040b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x04, stepsize=0x2f, mute=0
  Amp-In vals:  [0x00 0x00]
  Pincap 0x00000020: IN
  Pin Default 0x40f001f0: [N/A] Other at Ext N/A
    Conn = Unknown, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x00:
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x1f [Pin Complex] wcaps 0x400501: Stereo
  Pincap 0x00000010: OUT
  Pin Default 0x9217011f: [Fixed] Speaker at Int Front
    Conn = Analog, Color = Unknown
    DefAssociation = 0x1, Sequence = 0xf
    Misc = NO_PRESENCE
  Pin-ctls: 0x00:
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 3
     0x10 0x11 0x17*
Node 0x20 [Pin Complex] wcaps 0x400781: Stereo Digital
  Pincap 0x00000014: OUT Detect
  Pin Default 0x40f001f0: [N/A] Other at Ext N/A
    Conn = Unknown, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x00:
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x12
Node 0x21 [Pin Complex] wcaps 0x400501: Stereo
  Pincap 0x00010010: OUT EAPD
  EAPD 0x2: EAPD
  Pin Default 0x40f001f0: [N/A] Other at Ext N/A
    Conn = Unknown, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x00:
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 3
     0x10* 0x11 0x17
Node 0x22 [Audio Mixer] wcaps 0x20050b: Stereo Amp-In
  Amp-In caps: ofs=0x4a, nsteps=0x4a, stepsize=0x03, mute=1
  Amp-In vals:  [0x4a 0x4a] [0x4a 0x4a] [0x4a 0x4a]
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 3
     0x10 0x11 0x17
Node 0x23 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x24 [Volume Knob Widget] wcaps 0x600080: Mono
  Volume-Knob: delta=1, steps=74, direct=0, val=74
  Unsolicited: tag=00, enabled=0
  Connection: 3
     0x10 0x11 0x17
Node 0x25 [Audio Input] wcaps 0x100711: Stereo Digital
  Converter: stream=0, channel=0
  SDI-Select: 0
  Digital: Enabled Non-Copyright
  Digital category: 0x49
  IEC Coding Type: 0x0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x26
Node 0x26 [Pin Complex] wcaps 0x400681: Stereo Digital
  Pincap 0x00000024: IN Detect
  Pin Default 0x40f001f0: [N/A] Other at Ext N/A
    Conn = Unknown, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x00:
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0

使用verbit得到如下数据:

Verbs from Linux Codec Dump File: codec_dump.txt

Codec: Conexant CX20632   Address: 0   DevID: 351359128 (0x14f15098)

   Jack   Color  Description                  Node     PinDefault             Original Verbs
--------------------------------------------------------------------------------------------------------
Unknown Unknown  Other at Ext N/A            24 0x18   0x40f001f0   01871cf0 01871d01 01871ef0 01871f40
    1/8   Black  HP Out at Ext Front         25 0x19   0x02211040   01971c40 01971d10 01971e21 01971f02
    1/8   Black  Mic at Ext Front            26 0x1a   0x02a11020   01a71c20 01a71d10 01a71ea1 01a71f02
Unknown Unknown  Other at Ext N/A            27 0x1b   0x40f001f0   01b71cf0 01b71d01 01b71ef0 01b71f40
    1/8   Black  Line Out at Ext Rear        28 0x1c   0x01011010   01c71c10 01c71d10 01c71e01 01c71f01
    1/8   Black  Line In at Ext Rear         29 0x1d   0x01811030   01d71c30 01d71d10 01d71e81 01d71f01
Unknown Unknown  Other at Ext N/A            30 0x1e   0x40f001f0   01e71cf0 01e71d01 01e71ef0 01e71f40
Analog Unknown  Speaker at Int Front        31 0x1f   0x9217011f   01f71c1f 01f71d01 01f71e17 01f71f92
Unknown Unknown  Other at Ext N/A            32 0x20   0x40f001f0   02071cf0 02071d01 02071ef0 02071f40
Unknown Unknown  Other at Ext N/A            33 0x21   0x40f001f0   02171cf0 02171d01 02171ef0 02171f40
Unknown Unknown  Other at Ext N/A            38 0x26   0x40f001f0   02671cf0 02671d01 02671ef0 02671f40
--------------------------------------------------------------------------------------------------------


   Jack   Color  Description                  Node     PinDefault             Modified Verbs
--------------------------------------------------------------------------------------------------------
Unknown Unknown  Other at Ext N/A            24 0x18   0x40f001f0   01871cf0 01871d00 01871ef0 01871f40
    1/8   Black  HP Out at Ext Front         25 0x19   0x02211040   01971c40 01971d10 01971e21 01971f01
    1/8   Black  Mic at Ext Front            26 0x1a   0x02a11020   01a71c20 01a71d10 01a71ea1 01a71f01
Unknown Unknown  Other at Ext N/A            27 0x1b   0x40f001f0   01b71c50 01b71d00 01b71ef0 01b71f40
    1/8   Black  Line Out at Ext Rear        28 0x1c   0x01011010   01c71c10 01c71d10 01c71e01 01c71f01
    1/8   Black  Line In at Ext Rear         29 0x1d   0x01811030   01d71c30 01d71d10 01d71e81 01d71f01
Unknown Unknown  Other at Ext N/A            30 0x1e   0x40f001f0   01e71c60 01e71d00 01e71ef0 01e71f40
Analog Unknown  Speaker at Int Front        31 0x1f   0x9217011f   01f71c70 01f71d00 01f71e17 01f71f91
Unknown Unknown  Other at Ext N/A            32 0x20   0x40f001f0   02071c80 02071d00 02071ef0 02071f40
Unknown Unknown  Other at Ext N/A            33 0x21   0x40f001f0   02171c90 02171d00 02171ef0 02171f40
Unknown Unknown  Other at Ext N/A            38 0x26   0x40f001f0   02671ca0 02671d00 02671ef0 02671f40
--------------------------------------------------------------------------------------------------------

前置耳机孔为二合一耳机孔 修改后:

Unknown         Unknown          Other at Ext N/A         24 0x18           0x40f001f0           01871cf0 01871d00 01871e00 01871f40

Combination Black          HP Out at Ext Front     25 0x19           0x02211040           01971c20 01971d10 01971e2b 01971f02

Combination Black          Mic at Ext Front          26 0x1a           0x02a11020           01a71c40 01a71d10 01a71eab 01a71f02

Unknown         Unknown          Other at Ext N/A         27 0x1b           0x40f001f0           01b71cf0 01b71d00 01b71e00 01b71f40

    1/8           Black          Line Out at Ext Rear    28 0x1c           0x01011010           01c71c30 01c71d10 01c71e01 01c71f01

    1/8           Black          Line In at Ext Rear       29 0x1d           0x01811030           01d71c50 01d71d10 01d71e81 01d71f01

Unknown         Unknown          Other at Ext N/A         30 0x1e           0x40f001f0           01e71cf0 01e71d00 01e71e00 01e71f40

Analog         Unknown          Speaker at Int Front     31 0x1f           0x9217011f           01f71c10 01f71d01 01f71e17 01f71f92

Unknown         Unknown          Other at Ext N/A         32 0x20           0x40f001f0           02071cf0 02071d00 02071e00 02071f40

Unknown         Unknown          Other at Ext N/A         33 0x21           0x40f001f0           02171cf0 02171d00 02171e00 02171f40

Unknown         Unknown          Other at Ext N/A         38 0x26           0x40f001f0           02671cf0 02671d00 02671e00 02671f40



整理后得:01871cf0 01871d00 01871e00 01871f40 01971c20 01971d10 01971e2b 01971f02 01a71c40 01a71d10 01a71eab 01a71f02 01b71cf0 01b71d00 01b71e00 01b71f40 01c71c30 01c71d10 01c71e01 01c71f01 01d71c50 01d71d10 01d71e81 01d71f01 01e71cf0 01e71d00 01e71e00 01e71f40 01f71c10 01f71d01 01f71e17 01f71f92 02071cf0 02071d00 02071e00 02071f40 02171cf0 02171d00 02171e00 02171f40 02671cf0 02671d00 02671e00 02671f40上(输出设备未含eadp等字样,未加0xx70c02字符串 加了也不驱动。)



万能声卡除了扬声器都能驱动 直接复制其path
+-------------------------------+
| DUMPING Playback/Record Paths |
+-------------------------------+

Playback:

    nid=28 [pin: Line-out (Black Rear)]
      |
      + <- nid=16 [audio output] [src: pcm] bindSeq=00000001


    nid=31 [pin: Speaker (Analog)]
      |
      + <- nid=17 [audio output] [src: pcm] bindSeq=00008000


Record:

    nid=20 [audio input]
      |
      + <- nid=26 [pin: Microphone (Black Front)] [src: mic] bindSeq=00000001

+-------------------------------+
| DUMPING Playback/Record Paths |
+-------------------------------+

Playback:

    nid=25 [pin: Headphones (Black Front)]
      |
      + <- nid=23 [audio output] [src: pcm] bindSeq=00000001


Record:

    nid=21 [audio input]
      |
      + <- nid=29 [pin: Line-in (Black Rear)] [src: line] bindSeq=00000001

[img]blob:http://bbs.pcbeta.com/c9380370-5d75-4d59-a6c5-7e49fb6dbb1c[/img]

platforms修改如下 文件名platforms1.xml.zlib
[img]blob:http://bbs.pcbeta.com/715efa6b-af1b-4374-9ae3-078e58bfec29[/img]
layout1.xml.zlib
[img]blob:http://bbs.pcbeta.com/5d779036-153d-46bb-9643-250a6a9950f4[/img]
info.plist

[img]blob:http://bbs.pcbeta.com/f9ed79b8-5875-404a-adab-494f8b775732[/img]
pinconfig.kext中info.plist
[img]blob:http://bbs.pcbeta.com/78727efe-1988-4aa1-b27a-7902c96b8a13[/img]

clover注入id和dsdt都进行了修改,但是启动后完全没加载输入输出设备:
[img]blob:http://bbs.pcbeta.com/6182a460-fd97-4e96-bc6d-2b139f828682[/img]

Rank: 5Rank: 5Rank: 5

UID
2515926
帖子
1193
PB币
45
贡献
0
技术
84
活跃
1101
发表于 2018-1-14 21:21:55 |显示全部楼层

庆祝论坛开放,把我精心整理的资料给你,对于仿冒AppleHDA非常有用


下面是仿冒AppleHDA的一部分

—————————————————————————————————————

AppleHDA的ConfigData

所要用的参数

0 = Port Connectivity(连接端口)          /*正序

1 = Location(位置)

2 = Default Device(默认硬件接口)

3 = Connection Type(连接类型)

4 = Color(接口颜色)

5 = Miscellaneous(其他)

6 = Default Association(默认组)

7 = Sequence(序号)


Port Connectivity1:0(指是否有插孔(内置或外置))

Format:
0 = Jack
4 = No physical connection for Port
9 = A fixed function device (integrated speaker, integrated mic,etc.)
也可以解释为0=外接装置,9=内建装置
解释:0就是插入接口的,就像麦克风、喇叭等。如果你dump出来有 [N/A] 的就是无用的port,那么这里的数字是4
         
9通常是给本本的,像内置喇叭、内置麦克风(mic)

Location5:0=5:4+3:0(指插孔所在位置)
高位【5:4提供一个总的位置,如内部和外部

低位【3:0提供一个几何位置,如前后左右等等

假如Pin Default0x99a30940Port ConnectivityLocation相关的是0x99

0x99转成2进制=10011001

Port Connectivity=10,表示这是一个Fixed functiondevice

Location=011001

高二位(bit[5:4])=01,表示这是一个Internal的接口

低四位(bit[3:0])=1001,表示这是一个Special的设备,结合图示,可以看到这是一个ATAPI的设备

要屏蔽的设备设为0

Format:
0 = Rear(后面) ??ß对于台式机来讲??
1 = Front(
前面)??

对于Location填错了影响也不大,紫米里说除了内建设备和需要屏蔽是设备设置为0,其他都为1

用于表示物理引脚或上面的插孔的物理位置。它允许被软件所表示,比如,这个设备是<前面板耳机插孔> 而不是后面的耳机插孔

对于笔记本来说内建为0,外接为1,至于哪个外接哪个内建,参考第七个数字最后???

Default Device3:0(指设备的类型控制输入及输出)
Format:
0 = Line Out
1 = Speaker
2 = HP Out
3 = CD
4 = SPDIF Out
5 = Digital Other Out
6 = Modem Line Side
7 = Modem Handset Side
8 = Line In
9 = AUX
A = Mic In
B = Telephone
C = SPDIF In
D = Digital Other In
E = Reserved
F = Other
要屏蔽的设备设为0

表明插口的预定用途。他能表明插口标签或者所连接到该插口的硬件设备,比如继承扬声器或者类似的东东
解释:DefaultDevice 就是说明特定接口的功能是什么,这个是让你的接口可以在System Preferences出现如Headphone, Line In 等。

很多人喜欢把line outintspeaker都改成intspeaker或者都改成line out

Connection Type3:0
Format:
0 = Unknown
1 = 1/8" stereo/mono
2 = 1/4' stereo/mono
3 = ATAPI internal
4 = RCA
5 = Optical
6 = Other Digital
7 = Other Analog
8 = Multichannel Analog (DIN)
9 = XLR/Professional
A = RJ-11 (Modem)
B = Combination
F = Other
要屏蔽的设备设为0

表示物理连接的插头类型。比如8英寸的立体声插孔,或者光纤数字接口等,软件能基于该声卡硬件物理传输外部传输能力然后使用这些信息数据生成用户可见的界面报告或者修改编码器功能的报告内容
解释:通常接口是 1/8 stereo(立体声)/mono(单声道)SPDIF Optical(光纤)。本本内建的接口是 ATAPIinternal

Color3:0(指接口的颜色)   
Format:
0 = Unknown
1 = Black
2 = Grey
3 = Blue
4 = Green
5 = Red
6 = Orange
7 = Yellow
8 = Purple
9 = Pink
A - D = Reserved
E = White
F = Other

要屏蔽的设备设为0

Miscellaneous3:0(是否侦测插孔即识别切换)     
Format:
0= Jack Detect Override
ß代表第0位,也就是只有位0被定义(该值可以为0也可以为1)
1=
Reserved

2= Reserved

3= Reserved

要屏蔽的设备设为0

解释:接口一般是 0

如果是本本的话内建的麦克风(mic)和喇叭要设成1

使用0 用于未禁用 设备检测-外部设备(如外置mic和扬声器耳机等)
使用1用于已禁用 设备检测-内建设备 (如内置扬声器,麦克风(mic)等)

Default Association(默认组别)

No1. Mic

No2.Line In

No3.SPDIF In

No4. IntSpeaker

No5.Headphone

No6.Line Out

No7.SPIDF Out

No8. ExtMic


一般对于笔记本可将外接Mic改成Line In

()如果有 [N/A] 的接口既是无用的接口可以设成 f(0xF表示节点没有联接到任何节点)

() Association 0是无效的。

()定义节点的优先级,数字越低那么优先权就越高。

每一个接口的顺序必须不一样。??

Default Association(默认组别) Sequence(组别位置) 内的针脚的定义(插孔)将会一起被软件调用并加载到功能模块,以支持多通道操作。软件可以假定所有具有相同组别代码的插孔被拟定归类为一组,举例来说,比如提供六声道的模拟输出。(默认组别)也可被用于在受限情况下根据优先次序重新被软件分配节点资源。低的(默认组别)的值将在资源分配中获得更高的优先级,解决资源争端(高优先级先行)

值得注意的是在默认组别中的组别序号必须唯一不要让各组的数值相同



附件: 你需要登录才可以下载或查看附件。没有帐号?注册

Rank: 2Rank: 2

UID
595932
帖子
354
PB币
677
贡献
0
技术
1
活跃
118
发表于 2018-1-14 21:34:12 |显示全部楼层
为啥图挂了呢

Rank: 2Rank: 2

UID
595932
帖子
354
PB币
677
贡献
0
技术
1
活跃
118
发表于 2018-1-15 16:34:34 |显示全部楼层
附件为applealc里的修改文件 codec为提取的codec和节点path
附件: 你需要登录才可以下载或查看附件。没有帐号?注册

Rank: 2Rank: 2

UID
595932
帖子
354
PB币
677
贡献
0
技术
1
活跃
118
发表于 2018-1-15 16:41:03 |显示全部楼层
xupeng19881010 发表于 2018-1-14 21:21
庆祝论坛开放,把我精心整理的资料给你,对于仿冒AppleHDA非常有用
下面是仿冒AppleHDA的一部分————— ...

能看下我错在哪吗 这个我没看懂 但是后面的configdata和我从别的贴中扒出来的感觉差不多

Rank: 2Rank: 2

UID
595932
帖子
354
PB币
677
贡献
0
技术
1
活跃
118
发表于 2018-1-15 20:47:19 |显示全部楼层
顶上去 求大神指导

Rank: 2Rank: 2

UID
595932
帖子
354
PB币
677
贡献
0
技术
1
活跃
118
发表于 2018-1-16 11:42:51 |显示全部楼层
一日一日常

Rank: 1

UID
4036647
帖子
14
PB币
31
贡献
0
技术
0
活跃
42
发表于 2018-1-16 16:26:06 |显示全部楼层
k111 发表于 2018-1-15 16:34
附件为applealc里的修改文件 codec为提取的codec和节点path

苹果系统下怎么看自己的声卡型号?

Rank: 7Rank: 7Rank: 7

UID
634854
帖子
1404
PB币
3330
贡献
0
技术
1
活跃
1152
发表于 2018-1-16 17:04:53 |显示全部楼层
我当时也搞了很长时间。

Rank: 2Rank: 2

UID
595932
帖子
354
PB币
677
贡献
0
技术
1
活跃
118
发表于 2018-1-18 18:56:10 |显示全部楼层
maj 发表于 2018-1-16 17:04
我当时也搞了很长时间。

搞定了吗?

Rank: 2Rank: 2

UID
595932
帖子
354
PB币
677
贡献
0
技术
1
活跃
118
发表于 2018-1-18 18:57:03 |显示全部楼层
与爱有冉 发表于 2018-1-16 16:26
苹果系统下怎么看自己的声卡型号?

不知道,win和linux知道

Rank: 5Rank: 5Rank: 5

UID
713205
帖子
1214
PB币
852
贡献
0
技术
1
活跃
1642
发表于 2018-1-18 21:13:18 |显示全部楼层
去github把code提交给vit9696来完善alc又方便大家

Rank: 2Rank: 2

UID
595932
帖子
354
PB币
677
贡献
0
技术
1
活跃
118
发表于 2018-1-20 14:04:34 |显示全部楼层
yjplayer 发表于 2018-1-18 21:13
去github把code提交给vit9696来完善alc又方便大家

利人利己的感觉,实际是自己太水搞不定

Rank: 2Rank: 2

UID
595932
帖子
354
PB币
677
贡献
0
技术
1
活跃
118
发表于 2018-1-20 18:01:38 |显示全部楼层
yjplayer 发表于 2018-1-18 21:13
去github把code提交给vit9696来完善alc又方便大家

怎么操作呢?

Rank: 2Rank: 2

UID
595932
帖子
354
PB币
677
贡献
0
技术
1
活跃
118
发表于 2018-1-22 09:30:56 |显示全部楼层
还是不会,有没有能帮下的

Rank: 2Rank: 2

UID
595932
帖子
354
PB币
677
贡献
0
技术
1
活跃
118
发表于 2018-1-22 10:09:43 |显示全部楼层
yjplayer 发表于 2018-1-18 21:13
去github把code提交给vit9696来完善alc又方便大家

这个需要自己调试好才能提交啊,我这自己都没搞定

Rank: 2Rank: 2

UID
595932
帖子
354
PB币
677
贡献
0
技术
1
活跃
118
发表于 2018-1-23 14:19:44 |显示全部楼层
有没有帮忙的啊

Rank: 2Rank: 2

UID
595932
帖子
354
PB币
677
贡献
0
技术
1
活跃
118
发表于 2018-2-4 09:04:53 |显示全部楼层
内容有大佬帮忙吗?

Rank: 2Rank: 2

UID
595932
帖子
354
PB币
677
贡献
0
技术
1
活跃
118
发表于 2018-2-24 14:17:37 |显示全部楼层
还是没搞定

Rank: 5Rank: 5Rank: 5

UID
1775544
帖子
571
PB币
784
贡献
0
技术
1
活跃
1003
发表于 2018-8-1 17:56:00 |显示全部楼层
k111 发表于 2018-2-24 14:17
还是没搞定

搞定没有??
回顶部
Copyright (C) 2005-2020 pcbeta.com, All rights reserved
Powered by Discuz!  苏ICP备17027154号
请勿发布违反中华人民共和国法律法规的言论,会员观点不代表远景论坛官方立场。
远景在线 | 远景论坛 | 苹果论坛 | Win10论坛 | Win8论坛 | Win7论坛 | WP论坛 | Office论坛 | 电脑硬件 | 安卓软件