1a2m3 / SPD-Reader-Writer

SPD Reader & Writer with Software Write Protection capabilities supporting Arduino and SMBus
https://forums.evga.com/m3053544.aspx
GNU General Public License v3.0
77 stars 13 forks source link

tested on H61 and H81 SMB "nothing found" #17

Closed ankarle closed 2 years ago

ankarle commented 2 years ago

Hi, tested on H61 and H81 SMB I get on both "nothing found", is there anything I have to do or the chipsets aren't supported yet?

1a2m3 commented 2 years ago

Are you running the program as admin?

ankarle commented 2 years ago

yes I did run as admin, moreover I tried in the meantime on another two pcs with LGA1150, same result. All the pcs have windows 10 x64

1a2m3 commented 2 years ago

When you run the program, does event log show any driver info?

image

Please also post a CPU-Z report by running report.cmd from the archive attached and paste the txt contents here (or on pastebin and post a link).

CPU-Z.zip

ankarle commented 2 years ago

no, which driver should I install?

1a2m3 commented 2 years ago

The WinRing0 driver is loaded automatically when program is started as admin, no manual installation is needed. Make sure all winring0 dll and sys files are present in the same dir where the program is located. The program has to be run from a directory located on a local drive. Also some anti-cheat software might be blocking the driver from being loaded, so try disabling/uninstalling if you have any of those running.

ankarle commented 2 years ago

I did it again but same result, it doesn't load the driver

1a2m3 commented 2 years ago

Run this as admin and show me the event log contents.

20220322-test.zip

ankarle commented 2 years ago

image

1a2m3 commented 2 years ago

Ok, that explains. Either your account type isn't administrator, or the program isn't detecting it properly. Try this and show me the log output.

20220322-test2.zip

ankarle commented 2 years ago

on H61 doesn't start, I just get a black window

1a2m3 commented 2 years ago

Something is preventing from acquiring full administrative rights. The test2 build uses two different methods to checks for administrative privileges before loading the driver.

Make sure your account has full administrative rights. Open command prompt as administrator, enter command "whoami /priv" without quotes, and post the output.

ankarle commented 2 years ago
Permission name Description Status
========================================= 
SeIncreaseQuotaPrivilege Adjust memory quotas for a process Disabled
SeSecurityPrivilege Manage monitoring and security protocols Disabled
SeTakeOwnershipPrivilege Take ownership of files and objects Disabled
SeLoadDriverPrivilege Load and remove device drivers Disabled
SeSystemProfilePrivilege Creating a profile of system performance Disabled
SeSystemtimePrivilege Changing the system time Disabled
SeProfileSingleProcessPrivilege Create a profile for a single process Disabled
SeIncreaseBasePriorityPrivilege Raise the scheduling priority Disabled
SeCreatePagefilePrivilege Create a page file Disabled
SeBackupPrivilege Back up files and directories Disabled
SeRestorePrivilege Restore files and directories Disabled
SeShutdownPrivilege Shut down the system Disabled
SeDebugPrivilege Debugging of programmes Enabled
SeSystemEnvironmentPrivilege Changing firmware environment variables Disabled
SeChangeNotifyPrivilege Omit scanning Enabled
SeRemoteShutdownPrivilege Force shutdown from a remote system Disabled
SeUndockPrivilege Removing the computer from the docking station Disabled
SeManageVolumePrivilege Performing volume maintenance tasks Disabled
SeImpersonatePrivilege Accept client identity after authentication Enabled
SeCreateGlobalPrivilege Create global objects Enabled
SeIncreaseWorkingSetPrivilege Increase working set of a process Disabled
SeTimeZonePrivilege Change time zone Disabled
SeCreateSymbolicLinkPrivilege Create symbolic links Disabled
SeDelegateSessionUserImpersonatePrivilege Retrieve identity token for another user in the same session Disabled
1a2m3 commented 2 years ago

Ok, your privileges are good.

Try this build and post results. It skips test for administrative rights and goes straight to SMBus initialization.

(You can right click on any event log line and select "copy all lines..." to paste here).

20220323-test3.zip

ankarle commented 2 years ago

unfortunately same as before, just a black window

1a2m3 commented 2 years ago

Try this, I've removed embedded manifest, run manually as admin.

If main window doesn't appear, post console window contents, otherwise post both event log and console contents.

20220323-test4.zip

ankarle commented 2 years ago

just console windows showing 4 messages, the last one is Initializing SMBbus

1a2m3 commented 2 years ago

Added extra debugging info, try again.

20220323-test5.zip

ankarle commented 2 years ago

OLS_DLL_DRIVER_NOT_LOADED

1a2m3 commented 2 years ago

Post the full output, I need to see what happens before and after that line appears.

ankarle commented 2 years ago

test5 first run

ankarle commented 2 years ago

test5-second time second run, it doesn't do the same anymore

1a2m3 commented 2 years ago

Try this and post the results. It's part of original original WinRing0 source code bundle, it's modified to load the driver and display the results only. Run the exe as admin.

WinRing0Test.zip

ankarle commented 2 years ago

no results, no any windows gets open, running on the powershell also no output

1a2m3 commented 2 years ago

Issue identified, stay tuned for fixed test build.

1a2m3 commented 2 years ago

Try this. Should be working this time.

Restart your system before running this, in case previous builds caused SMBus to lock and you are seeing console window only or "nothing found" in the connect window.

Previous versions didn't work on non-English Windows. This build was tested on English and non-English versions of Windows 10 x86 and x64 with HM55 and NM10 based systems.

20220323-test6.zip

ankarle commented 2 years ago

Hey, seems to work now, congratulation! :) I tried the reading function, I currently cannot test the writing function

spd-test6

1a2m3 commented 2 years ago

Great! I'll be closing this issue and will release an updated version shortly along with other fixes. If you discover another bug, open a new issue as this one is resolved.