New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lenovo Battery Firmware Update Utility shows required but is up to date according to wudetect.exe #64
Comments
I think, the leading zeros in the
Test:
The easiest solution would be to change this line in Test-MachineSatisfiesDependency Or for later tests, with hexadecimal comparisons and taking the circumflex into consideration:
|
Thanks for reporting this. @animentork is right, this is caused by the same underlying issue (lack of complete support for _Firmware tests and hexadecimal version comparisons) that also causes #61. I have just pushed a5a2047 which should completely fix this now. If one of you has a 20Y0 or 20UC handy and wants to test the latest develop branch version then please go ahead and report back. |
Thanks for that, I wanted to test and maybe I'm doing something wrong but I'm getting some errors. Does this make any sense to you? PS C:\WINDOWS\system32> Import-Module -Name C:\Temp\developermodule12-13\LSUClient-develop\LSUClient.psm1 -Verbose PS C:\WINDOWS\system32> Import-Module -Name C:\Temp\developermodule12-13\LSUClient-develop\LSUClient.psd1 -Verbose PS C:\WINDOWS\system32> Get-LSUpdate | Where-Object { $.Installer.Unattended -and $.Title -notlike "Intel Graphics Driver"} -Verbose
Cannot find an overload for "Add" and the argument count: "1".
Cannot find an overload for "Add" and the argument count: "1".
Cannot create object of type "LenovoPackage". Cannot convert the "System.Collections.Generic.List
Cannot find an overload for "Add" and the argument count: "1".
Cannot find an overload for "Add" and the argument count: "1".
Cannot find an overload for "Add" and the argument count: "1".
Cannot find an overload for "Add" and the argument count: "1".
Cannot find an overload for "Add" and the argument count: "1".
WARNING: The command or file '%PACKAGEPATH%\usbcdkfw3704_1_version.exe /HWID=3060 /APPNAME=usbcdkfw3704_1_detect' could not be found from 'C:\Users\DoughertyP\AppData\Local\Temp\howuc32z.i01
Cannot find an overload for "Add" and the argument count: "1".
|
I don't know why I'm getting so many errors when trying to do get-lsuupdate. |
That is a long-standing issue in PowerShell but you should just be able to open a new PowerShell window and import the develop module right away (it's important to do it before importing or using the regular version or you'll get the errors above) |
Thank you! That looks like it worked and the Lenovo Battery Firmware Update Utility is no longer returned-
|
Looking forward to this fix int he next release! Is there a way I can see when the next Lsuclient release will be? |
Just checking in to find out how I can see when updates to the client are scheduled to be released? I'm planning to do some pilot testing and eventually roll this out to laptops in our company. |
There is no regular release schedule or anything like that. When bugfixes or features are done I test them for a while and release when I'm pretty sure the changes won't break anything. Because the module has so many downloads now and because of the wide wide variety of hardware and driver packages a change can often affect the results in a different environment too. I take some time to compare 1.5.0 vs develop results on as many different models as I have access to and look for regressions. If I don't find any then 1.5.1 should be out next week. |
Published Version 1.5.1 which includes this fix |
Thank you very much jantari!!! |
Version
1.5.0 and lsuclient-develop
Computer Model
20Y0
Problem
Trying to run the LSUclient 1.5.0 and the LSUclient-develop and both are showing that "Lenovo Battery Firmware Update Utility" is needed but it does not ever install. The exit code is -3. The battery firmware is up to date on that one according to the wudetect.exe but detection is off I think.
In the additional context field I put a text file of the output of the get-lsuupdate -verbose -debug to see if that helps. That is using the lsuclient-develop module.
Additional context
get-lsuupdate -verbose -debug.txt
The text was updated successfully, but these errors were encountered: