SEL3505-3 USB-Ethernet Driver on Windows 8.1 x64

I recently acquired a SEL 3505-3 RTU for testing, and to configure it one must connect to it via the USB port. The USB port in question is actually a virtual ethernet interface, and according to the documentation in the manual for the 3505 the driver should have been installed automatically. However, for me it simply didn't work. I had a wee look in device manager and tried to install the driver manually to be greeted with this:

sel350533505-driver1
I recently purchasedĀ a code signing certificate so I could build a custom com0com driver, maybe I could sign the SEL driver and then install it? Only one way to find out...

signtool.exe sign /ac "DigiCert High Assurance EV Root CA.crt" /n "Certificate" /t http://timestamp.verisign.com/scripts/timestamp.dll *.cat
Done Adding Additional Store
SignTool Error: SignedCode::Sign returned error: 0x80070057
The parameter is incorrect.
SignTool Error: An error occurred while attempting to sign: selusbgadget.cat
Number of errors: 1

Bugger. Googling this error didn't really get me anywhere, so maybe I had to recreate the catalog?

inf2cat /driver:C:\driver /os:8_X64
................................
Signability test failed.

Errors:
22.9.4: Missing AMD64 CatalogFile entry (CatalogFile.ntamd64, CatalogFile.nt, CatalogFile) from [Version] section in \selusbgadget.inf
22.9.7: DriverVer set to incorrect date (must be postdated to 4/27/2012 for newest OS) in \selusbgadget.inf

After setting the date to today, and adding

CatalogFile=SELusbGadget.cat
CatalogFile.nt=SELusbGadget.cat
CatalogFile.ntx86=SELusbGadget.cat
CatalogFile.ntia64=SELusbGadget.cat
CatalogFile.ntamd64=SELusbGadget.cat

to the [Version] section of the inf, I tried again:

inf2cat /driver:C:\driver /os:8_X64
................................
Signability test complete.
Errors:None
Warnings:None
Catalog generation complete.

Wohoo! Now

signtool.exe sign /ac "DigiCert High Assurance EV Root CA.crt" /n "Certificate" /t http://timestamp.verisign.com/scripts/timestamp.dll *.cat
Done Adding Additional Store
Successfully signed: selusbgadget.cat

Wohoo! Now:
3505-driver2
You can download the signed driver fromĀ https://mega.co.nz/#!iU1gjSJY!YAr0lWPunTxWeTSRcjcNhffoGVFdIx5qXziSdWS_lWk, just right click the inf and click install.

| May 7th, 2015 | Posted in Software |

Leave a Reply