Comments (5)
你写这个是编号41的,编号10的能支持一下吗?
from dmidecode.
from dmidecode.
我已经看到了你的提交了,我测试一下,这个是我dmidecde命令执行的输出https://github.com/xx132917/dmidecode/blob/master/test/dmi.txt
from dmidecode.
这个是你命令行的结果
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.
编译后 命令行 添加-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)
- feature request: Obtain OEM info HOT 4
- dmidecode -t processor bug
- 获取OEM信息时候报错 HOT 3
- runtime error: invalid memory address or nil pointer HOT 2
- about the question “ROM Size:0”
- permission denied
- 读取设备信息时报错
- wrong system-uuid HOT 1
- Hello, smbios/structrue.go的GetString函数可能数组越界panic
- cpuid似乎解析的不对 HOT 1
- 可以默认不打印SMBIOS版本信息吗? HOT 1
- centos6下执行报错 HOT 1
- parse的时候有panic的情况,我觉得应该处理一下panic的情况! HOT 2
- 友善R1S开发板不行 HOT 2
- 为什么不返回一个对象,而返回一个数组呢?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dmidecode.