Page 1 of 2
#1 Utility to view some info on PCI devices by mbk1969 02.12.2018 18:34

http://www.mediafire.com/file/u9moyg23o6...evices.zip/file

Screeshot

Utility uses WMI to enumerate PCI devices and their properties.
Features:
- Sortable by any column (just click on the column`s header).
- In column "status" an exclamation glyph is shown when error code is not "0" so that user can hover mouse pointer over it to view the description (I faked errors in the screenshot - to demonstrate the view).
- Most columns have description - hover mouse pointer over the column`s header.
- Utility is built with .Net 4.5
- On Win7/Win8 some columns will stay empty.

#2 RE: Utility to view some info on PCI devices by Lost_N_BIOS 02.12.2018 21:58

avatar

Thanks, looks interesting and useful! In addition to the link speed and link width, can you add in one more column to show what lanes are assigned to each device?
I will test on Win7 for you tonight! Never mind, it opens but I see you have disabled Win7 support by default, so I can't test for you. If you want to add win7 compatibility I can test for you.

#3 RE: Utility to view some info on PCI devices by mbk1969 02.12.2018 22:25

Zitat von Lost_N_BIOS im Beitrag #2
I will test on Win7 for you tonight! Never mind, it opens but I see you have disabled Win7 support by default, so I can't test for you. If you want to add win7 compatibility I can test for you.


Re-download and try on Win7 and on Win8 if you have it. It should show some info but some columns will stay empty. It is not my choice - to not support Win7 (and Win8); it is about some things in WMI not implemented in older versions of Windows.


Zitat von Lost_N_BIOS im Beitrag #2
Thanks, looks interesting and useful! In addition to the link speed and link width, can you add in one more column to show what lanes are assigned to each device?


There is no such info in WMI. Also why do you want to see this? You can find/use/configure individual lanes in PCI Express bus?

#4 RE: Utility to view some info on PCI devices by Lost_N_BIOS 03.12.2018 06:05

avatar

Thanks, testing now. I wanted to see the lane assignments for when I want to switch lanes around, change lane speeds, change split lane amounts, or disable something in a test for someone. Yes, that can be done in by editing, sometimes BIOS settings editing, and also mainly in Intel ME FW editing.
* Edit - it opens in win7, remains blank, and gives warning box "One or more errors occurred"

#5 RE: Utility to view some info on PCI devices by mbk1969 03.12.2018 11:35

@Lost_N_BIOS
OK, I need to debug in older OS.

May be there is some API in Windows for such PCI Express manipulation. If you will find it I can try to use it, or I can write new utility specially for you.

#6 RE: Utility to view some info on PCI devices by Lost_N_BIOS 03.12.2018 20:07

avatar

Sorry to bring you new issues, I thought maybe it would be simple test I could do for you, and then maybe simple fix on your end if it didn't work.
As for the PCIE stuff I wanted, I am not sure about an API for manipulation, maybe you need or not to make it show up in your app? I don't need your app to manipulate anything, only show me current values for devices in use. I will do the manipulations with BIOS tools

#7 RE: Utility to view some info on PCI devices by mbk1969 05.12.2018 12:13

@Lost_N_BIOS
No need to be sorry. It is a good thing you reported an issues.
It will be simple fix if I do debug utility on computer with Win7. Otherwise it could be resolved only by meditation on source text.

As for API I mean that if such API for manipulation exists it should contain informational functions which can be used to show current state.

PS Btw, if you are talking about ME stuff for lanes manipulation, does it mean there is no such manipulation for AMD systems?

#8 RE: Utility to view some info on PCI devices by Lost_N_BIOS 05.12.2018 15:57

avatar

Well I mean sorry to bring more work your way if you intend to debug and try to fix it, I know this kind of thing can be a hassle sometimes
I'm sure there is some kind of API for getting these values, I think AIDA64/HWInfo64 shows sometimes but I can never be sure (Never looked up on my end when the time was right, will do now I think!)

I assume AMD similar things can be edited in the BIOS, but for the Intel ME side of those edits not shown in BIOS settings I do not know how that correlates on AMD (possibly in another AMD BIOS module, for whatever is not available in hidden BIOS settings)
Do you want me to show you some images of the type of things you can adjust related to that in Intel ME FW Tools?

#9 RE: Utility to view some info on PCI devices by mbk1969 05.12.2018 16:59

Zitat von Lost_N_BIOS im Beitrag #8
Do you want me to show you some images of the type of things you can adjust related to that in Intel ME FW Tools?


Yes, please.

PS If I will fail to find Win7 at work I will add tracing code and will ask you to execute utility once more - to gather trace info.

#10 RE: Utility to view some info on PCI devices by Lost_N_BIOS 05.12.2018 17:55

avatar

Here's some examples from a Z370 ME (ver 11.8)


Further changes can be set at the BIOS level, usually in hidden from user settings (that can sometimes be made visible for user, but not always, but can always be changed if present even if not visible to user)
For example, these below from same BIOS are hidden from user, and there is several other sections with other settings and controls for all this hidden from user too


Fail to find Win7 at work, do you mean ISO to install for testing? You can download Win7 ISO directly from Microsoft and use in trial mode for 30 days I think, let me know if you need link I will PM you.

#11 RE: Utility to view some info on PCI devices by mbk1969 06.12.2018 00:08

@Lost_N_BIOS
I see no individual lanes mappings in these screenshots. I see width selection.

#12 RE: Utility to view some info on PCI devices by Lost_N_BIOS 06.12.2018 20:29

avatar

Individual mappings are in other BIOS settings I didn't post. Width selection and changing those around, can then change already individually mapped items or with other BIOS setting adjustments you can change around further as well.

#13 RE: Utility to view some info on PCI devices by mbk1969 06.12.2018 21:42

@Lost_N_BIOS

I re-built utility with .Net Framework 4.5 (instead of initial 4.7.1), and I forgot to mention that Windows 7 by default is shipped with .Net Framework 4.0 - so if you have never installed newer .Net then utility will refuse to work (with error "One or more errors occurred").
Also I optimized WMI queries a bit.

You can re-download and test (with .Net 4.5 or newer installed in Win7).

#14 RE: Utility to view some info on PCI devices by Lost_N_BIOS 07.12.2018 07:04

avatar

I already had .NET 4.7 installed (4.7.02053 - since 7/17), so should be good! Downloading now, thanks * Tested, same "One or more errors occurred" I see link speed and width

#15 RE: Utility to view some info on PCI devices by mbk1969 07.12.2018 19:19

@Lost_N_BIOS
I found the problem with Windows 7 (and 8). Will fix as soon as I get to home.

Xobor Forum Software von Xobor
Datenschutz