Code Monkey home page Code Monkey logo

Comments (5)

xlango avatar xlango commented on May 25, 2024

你写这个是编号41的,编号10的能支持一下吗?

from dmidecode.

yumaojun03 avatar yumaojun03 commented on May 25, 2024

from dmidecode.

xlango avatar xlango commented on May 25, 2024

我已经看到了你的提交了,我测试一下,这个是我dmidecde命令执行的输出https://github.com/xx132917/dmidecode/blob/master/test/dmi.txt

from dmidecode.

yumaojun03 avatar yumaojun03 commented on May 25, 2024

这个是你命令行的结果

Handle 0x019F, DMI type 10, 8 bytes
On Board Device 1 Information
	Type: Video
	Status: Disabled
	Description: VMware SVGA II
On Board Device 2 Information
	Type: Sound
	Status: Disabled
	Description: ES1371

解析是按照 spec文档写的,测试用例也是按照 spec文档构建的, 我没有type10 的测试环境, 你可以 基于你的环境测试下,把结果发出看看

from dmidecode.

yumaojun03 avatar yumaojun03 commented on May 25, 2024

编译后 命令行 添加-d 参数 可以打印 smbios二进制数据, 如果解析出问题, 请将报错和二进制样例数据贴出来

[root@xxx]# ./dmidecode -d -t onboard
SMBIOS 2.7.0 - table: address: 0xe0010, size: 10240
[Debug] *smbios.Structure: Header: Type: 10, Length: 8, Handle: 43, Data: [3 1 7 2] Strings: [VMware SVGA II ES1371]
On Board Device 1 Information
        Device Type: Video
        Device Status: Disabled
        Description: VMware SVGA II
On Board Device 2 Information
        Device Type: Sound
        Device Status: Disabled
        Description: ES1371

from dmidecode.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.