最近做了个案子,音频输出有问题,debug后就学习了一下 Verb Table 相关知识,顺便整理了一份 Verb Table 报告给总部大佬们做分享汇报。下面内容都是我直接从我做汇报的全英ppt上 copy + translate 过来的,偷懒嘛!

下面从四个方面讲解 Verb Table

1. What is Verb Table

2. Function

3. How define

4. How create

What is Verb Table

首先来看一下 Verb Table, Ps: 我自己创建的,基于ALC892的

Each Pin widget in an HD Audio codec contains a 32-bit pin configuration register

PinID ≠ NID

PinID: circuit diagram

NID: node id, in codec

Pin Widget Structure: CAd+I+NID+Verb&Command data

此处注意:I+NID在广义上可统一为NID,以上具体什么意思见Audio Spec codec部分,不是此次分享内容,我就不想说了,太多啦!

Just in this case, not all:  0x0[NID]71[C/D/E/F][lower 2-bit]

Function

1. We can know HD audio properties from Verb Table

2. Modify it when fault occurred with audio

method: a. modify on the basis of original one

b. create a new one

How define

Configuration Data Structure 如下图所示,从Audio Spec截过来的

  • “Verb” means to set command (table) to Audio Codec
  • 8 parts: Port Connectivity, Location, Default Device, Connection Type, Color, Misc, Default Association and Sequence

Port Connectivity[1:0] indicates the external connectivity of the Pin Complex. Software can use this value to know what Pin Complexes are connected to jacks, internal devices, or not connected at all.

Location[5:0] indicates the physical location of the jack or device to which the pin complex is connected.

Default Device[3:0] indicates the intended use of the jack or device.

Connection Type[3:0] indicates the type of physical connection, such as a 1/8-inch stereo jack or an optical digital connector, etc.

Color[3:0] indicates the color of the physical jack for use by software.

Misc[3:0] is a bit field used to indicate other information about the jack.  Currently, only bit 0 is defined. If bit 0 is set, it indicates that the jack has no presence detect capability.

  • Bit[0]=1, no Jack detection
  • Bit[0]=0, Jack detection

Default Association and Sequence are used together by software to group Pin Complexes (and therefore jacks) together into functional blocks to support multichannel operation.

Value of Default Association (Used in resource-allocation)

  • Reserved and should not be used: 0.

(will be treated as invalid, as well as the pin widget's   Pin Configuration register it belongs to, which also be   ignored by audio driver.)

  • A multi-pin device range: 0x1 to 0xE.
  • A single-pin device range: 0x1 to 0xF.

Lower Default Association values would be higher in priority for resources such as processing nodes or Input and Output Converters.

Sequence indicates the order of the jacks in the association group. The lowest numbered jack in the association group should be assigned the lowest numbered channels in the stream, etc.

Valid pin sequence numbers range: 0 to 0xF.

  • If the association number is 0xF, every sequence number for every pin in that association must be 0.
  • For a single-pin device, the single sequence number in the association must always be 0.

eg. 3 stereo (two-channel) pin widgets play a six-channel audio stream numbered 0 to 5, then the pin with the lowest sequence number plays channels 0 and 1, the highest plays 4 and 5, and the remaining pin widget plays channels 2 and 3.

How create

Tool: HDACfg

Attention please!

Just adapted to REALTEK!

Different vendor , different pattern!

用 HDACfg创建 Verb Table 后面重新写一篇来讲吧

注意:对于Audio问题,如上可以直接在原来的 Verb Table 相关位基础上进行修改,也可以自己创建新的 Verb Table!

我一般都是在原 Verb Table上修改相关位,方便,注意也不会影响其他位,只有在要求大幅度修改 Audio 的时候我才会自己创建!

Okay,如上,完!

HD Verb Table相关推荐

  1. 10. Joining Data with dplyr in R

    文章目录 1. Joining Tables 1.1 The inner_join verb (video) 1.2 What columns would you join on? 1.3 Joini ...

  2. 收藏!Latex简明速查手册

    作者 | 磁悬浮青蛙呱呱呱  编辑 | 汽车人 原文链接:https://zhuanlan.zhihu.com/p/508559139 点击下方卡片,关注"自动驾驶之心"公众号 A ...

  3. Bios工程师手边事—HDA Audio

    目前正在做一款至强服务器平台,发现居然有接ALC282声卡.一个服务器要声卡做什么呢?百思不得其解.不过既然原理图都画出来了,BIOS就需要将其调试出来.毕竟BIOS就是不做它,也省不了啥成本. 我们 ...

  4. H.265 HD 和H.265 4K Video Encoder IP Core

    H.265 HD 和H.265 4K Video Encoder IP Core H.265 HD Video Encoder IP Core(H.265 HD Video/Audio Encoder ...

  5. java.lang.String cannot be cast to org.apache.flink.table.data.StringData

    完整报错: 16:54:56,851 INFO org.apache.hadoop.conf.Configuration.deprecation - io.bytes.per.checksum is ...

  6. § Transitive Intransitive Verb

    § Transitive & Intransitive Verb 動詞是表示事物的動作或狀態的詞. 根據事物的動作是否需要「承受者」這個標準,動詞可分為及物動詞 Transitive Verb ...

  7. jquery 鼠标拖动排序Li或Table

    1.前端页面 <%@ Page Language="C#" AutoEventWireup="true" CodeFile="拖动排序Li或Ta ...

  8. 亚马逊fire充不上电_如何在Amazon Fire Tablet或Fire HD 8上安装Google Play商店

    亚马逊fire充不上电 Amazon's Fire Tablet normally restricts you to the Amazon Appstore. But the Fire Tablet ...

  9. 短语动词(Phrasal Verb)

    文章目录 定义 动词+副词 作及物动词 作不及物动词 既可作及物动词又可作不及物动词 动词+介词 动词+副词+介词 动词+名词+介词 be+形容词+介词 定义 动词加小品构成的起动词作用的短语叫短语动 ...

最新文章

  1. 图灵访谈:柳泽大辅谈如何想出好创意
  2. 设计模式(五)责任链模式
  3. mongodb 开启身份认证_Yum安装mongodb及开启用户认证远程登录
  4. POJ 1182 食物链,并查集的拓展
  5. 数据 格式化 format
  6. html元素嵌套与并列,HTML的元素嵌套规则
  7. 【Modern OpenGL】纹理 Textures
  8. 小白学数据分析-----ARPDAU的价值
  9. 【BZOJ1815BZOJ1488】有色图图的同构,Polya计数+暴力
  10. php链接数据库实行增删查改_最方便最简单的php操作mysql的增删改查方法
  11. 必须先说明组件oracle,Oracle Enterprise Manager 组件 说明 .
  12. Centos7下搭建LAMP平台环境
  13. AJ是什么牌子,AJ是什么意思,AJ鞋子价格多少一起来看一下
  14. Informix 11.5 SQL 语句性能监控方法及实现
  15. 试题10 最大子阵(枚举)
  16. 打开unity卡在loading白屏界面
  17. Mybatis-Plus
  18. 2003sql php_Windows Server 2003下安装PHP +mssql2000
  19. 继续:个人微信的自动收款解决(思路)
  20. Java多线程 -- 深入理解JMM(Java内存模型) --(五)锁

热门文章

  1. 计算机概论易错题总结:概念类
  2. 记录学习Java HttpServletRequests报错The server encountered an internal error that prevented it from fulfil
  3. 加拿大海运专线操作流程详解
  4. C语言求ax2+bx+c=0的解,解一元二次方程
  5. 主数据管理(MDM)的一些概念
  6. STM32F103ZE驱动PMW3901光流模块
  7. C++实验六:继承,对BMP图片操作
  8. 3Dlanenet+
  9. VRIK+Unity XR Interaction Toolkit 配置 VR 全身模型(下):实现腿部行走动画
  10. “互联网+”如何“+”纺织服装?