查看: 2306|回复: 7

[分享] 运行于Win32/Win64/EI Capitan的lspci + DirectHW,推荐大家使用

[复制链接]
wwashington 发表于 2016-8-2 22:50 | 显示全部楼层 |阅读模式
快御云安全
本帖最后由 wwashington 于 2016-8-3 13:20 编辑

【软件介绍】

  Two lspci binaries, tested in MacOS 10.9-10.11
  1) lspci v3.1.7 + DirectHW Kext/Frame v1.4
  2) lspci v3.1.9 + LspciIO Kext v1.0

  Source Code: https://github.com/PureDarwin/DirectHW/
  Compiled By: Wwashington AT bbs.pcbeta.com

【软件下载】







【功能简介】

旧版的DirectHW因为进了系统黑名单无法使用,用Xcode 6.1.1重新编译,改了特征码。
代码是GitHub网友提供的,做了点轻度修改防止AppleKextExcludeList.kext系统封杀。
已在四台MacOS机器测试,证明它们可以在MacOS 10.9/10.10/10.11下正常运行。

这个工具作用很大,通过lspci或者lspci -v或者lspci -vv,可以在命令行查看系统的硬件
信息,等于是文字版的DPCIManager,大家遇到硬件驱动故障之时,如果需要找人求助
可以用这个工具采集硬件信息保存到文件里,lspci -vv > info.txt,就可以方便交流。


【参考资源】

https://github.com/PureDarwin/DirectHW
DirectHW by coresystems GmbH (Kext+Frame)

https://github.com/osresearch/rwmem
Read and write physical memory on OS X

https://sourceforge.net/p/dpcimanager/wiki/Building%20the%20Tools/
DPCIManager / Wiki / Building the Tools

https://eternallybored.org/misc/pciutils/
PCI Utilities (lspci, setpci) for Windows

http://scateu.me/2015/07/18/dump-mac-uefi.html
提取Macbook的EFI固件(DirectHW相关开发案例)

http://ho.ax/posts/2012/06/send-me-your-lspci/
ho.ax - Send me your `lspci -vv` (专家远程指导)


本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
wwashington  楼主| 发表于 2016-8-3 13:15 | 显示全部楼层
看来大家都比较喜欢免费工具啊~这样吧,我再补充两个Win32/Win64,欢迎下载使用。
别人的成果当然不收费,可以自己出国下载,也可以本论坛扣积分下载,售价为零。
回复

使用道具 举报

wwashington  楼主| 发表于 2016-8-3 13:35 | 显示全部楼层
我举例说明一下Win32/Win64版的用法,MacOS版的用法也是大同小异。

1)查看帮助,lspci --help

2)查看信息,lspci -nn ,即同时显示文字信息和数字信息(设备ID)。
注意:必须是两个n,一个n没有文字信息,不带n直接运行没有设备ID。

3)查看明细,lspci -nnv 或者 lspci -nnvv,一般来说一个v就比较充分。

【实例节选】

1)lspci -nn
......
0c:00.0 Network controller [0280]: Broadcom Corporation BCM4322 802.11a/b/g/n Wi
reless LAN Controller [14e4:432b] (rev 01)

2)lspci -nnv
......
0c:00.0 Network controller [0280]: Broadcom Corporation BCM4322 802.11a/b/g/n Wi
reless LAN Controller [14e4:432b] (rev 01)
        Subsystem: Hewlett-Packard Company Device [103c:1510]
        Flags: fast devsel, IRQ 10
        Memory at f1ffc000 (64-bit, non-prefetchable) [disabled]
        Capabilities: [40] Power Management version 3
        Capabilities: [58] Vendor Specific Information: Len=78 <?>
        Capabilities: [e8] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [d0] Express Endpoint, MSI 00

3)lspci -nnvv
......
0c:00.0 Network controller [0280]: Broadcom Corporation BCM4322 802.11a/b/g/n Wi
reless LAN Controller [14e4:432b] (rev 01)
        Subsystem: Hewlett-Packard Company Device [103c:1510]
        Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Step
ping- SERR+ FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort-
<MAbort- >SERR- <PERR- INTx-
        Interrupt: pin A routed to IRQ 10
        Region 0: Memory at f1ffc000 (64-bit, non-prefetchable) [disabled]
        Capabilities: [40] Power Management version 3
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot
-,D3cold-)
                Status: D3 NoSoftRst+ PME-Enable- DSel=0 DScale=2 PME-
        Capabilities: [58] Vendor Specific Information: Len=78 <?>
        Capabilities: [e8] MSI: Enable- Count=1/1 Maskable- 64bit+
                Address: 0000000000000000  Data: 0000
        Capabilities: [d0] Express (v1) Endpoint, MSI 00
                DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <4us, L1
unlimited
                        ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
                DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupporte
d-
                        RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
                        MaxPayload 128 bytes, MaxReadReq 128 bytes
                DevSta: CorrErr+ UncorrErr- FatalErr- UnsuppReq+ AuxPwr- TransPe
nd-
                LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Exit Late
ncy L0s <4us, L1 <64us
                        ClockPM+ Surprise- LLActRep- BwNot- ASPMOptComp-
                LnkCtl: ASPM L0s L1 Enabled; RCB 64 bytes Disabled- CommClk+
                        ExtSynch- ClockPM+ AutWidDis- BWInt- AutBWInt-
                LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive
- BWMgmt- ABWMgmt-

点评

如果Mac版运行lspci显示纯数字,可以先用lspci -q或者lspci -Q更新设备ID数据库。 如果Win版运行lspci显示纯数字,可以先用update-pciids.cmd更新设备ID数据库。  发表于 2016-8-3 14:16
回复

使用道具 举报

lanlingfeixue 发表于 2016-8-3 14:45 | 显示全部楼层
很有用的软件,支持了
回复

使用道具 举报

大马克 发表于 2016-8-5 18:04 | 显示全部楼层
多谢分享多谢分享
回复

使用道具 举报

yaofenggis 发表于 2017-11-9 14:16 来自手机 | 显示全部楼层
感谢分享
回复

使用道具 举报

hzx505 发表于 2017-11-9 15:08 | 显示全部楼层

感谢分享
回复

使用道具 举报

aa714 发表于 2018-12-9 15:35 | 显示全部楼层
很有用的软件
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋手机版联系我们

Copyright © 2005-2025 PCBeta. All rights reserved.

Powered by Discuz!  CDN加速及安全服务由「快御」提供

请勿发布违反中华人民共和国法律法规的言论,会员观点不代表远景论坛官方立场。

远景在线 ( 苏ICP备17027154号 )|远景论坛 |Win11论坛 |Win10论坛 |Win8论坛 |Win7论坛 |WP论坛 |Office论坛

GMT+8, 2025-3-12 12:18

快速回复 返回顶部 返回列表