We need to modify device info (strings & VID/PID) in the rndis.inf driver. However windows appears to detect the modified driver as being tampered. Pls let us know how to resolve this issue. Thanks.
; Modify these strings for your device as needed.
[Strings]
COMPANY="123"
RNDISDEV="123 USB RNDIS"
[RndisDevices.NTx86]
%RNDISDEV% = RNDIS.NT.5.1, USB\VID_1FC9&PID_0095
; Decoration for x64 architecture
[RndisDevices.NTamd64]
%RNDISDEV% = RNDIS.NT.5.1, USB\VID_1FC9&PID_0095
; Decoration for ia64 architecture
[RndisDevices.NTia64]
%RNDISDEV% = RNDIS.NT.5.1, USB\VID_1FC9&PID_0095
Solved! Go to Solution.
Hi @JamesNgo ,
According to the AE's reply, the RNDIS driver needs to be re-signed if the information changes in the .inf file. The signing method can refer to the readme.pdf in the RNDIS demo. About getting a signing certificate, please refer to https://docs.microsoft.com/en-us/windows-hardware/drivers/dashboard/get-a-code-signing-certificate
Have a great day,
TIC
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
Test setup on Windows 10, SDK 2.10.0 & RT1020 EVK. Tried it with virus scan disabled with same error result.
Hi,
Sorry for the reply late and I basically replicate the issue you mentioned.
Just as the error message reveals, the modified inf can't pass the authentication process when installing the driver, in another word, the Window OS considers that the inf is not trusted.
I guess that the rndis.cat also needs to be updated, but I have no idea how to do it and you may need to ask some driver development engineer for help.
Have a great day,
TIC
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
Hi TIC, by any chance you can get the help from driver development to resolve the rndis.cat issue? Thanks.
Hi @JamesNgo ,
According to the AE's reply, the RNDIS driver needs to be re-signed if the information changes in the .inf file. The signing method can refer to the readme.pdf in the RNDIS demo. About getting a signing certificate, please refer to https://docs.microsoft.com/en-us/windows-hardware/drivers/dashboard/get-a-code-signing-certificate
Have a great day,
TIC
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
Thanks for your help. However, the driver resigning or usage may be not desirable for our design at this point.
After some research regarding RNDIS USB (configuration-wise) information, I believe the USB configuration could be made to be "Remote NDIS Compatible Device" that is auto-detected by Windows when plugged in; hence the driver could then be not needed. I'm wondering if there's any info or development work you have available to achieve this as I think that'd be best use case for a generic code sample. Please let me know. Thanks.
Hi @JamesNgo ,
Sorry for reply late, as Chinese New Year holidays has not ended.
I'll update my reply after I go back to office at Feb 7th.
Thanks for your understand.
BR,
Jeremy
Hi,
Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
To be prudent, I was wondering if you can introduce your testing environment, such as versions of Window OS and SDK library.
Furthermore, did you turn off antivirus during the testing?
Have a great day,
TIC
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------