Skip to content
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

"unsigned" driver (Windows 7 AMD64) #6

Open
march42 opened this issue Jun 17, 2014 · 9 comments
Open

"unsigned" driver (Windows 7 AMD64) #6

march42 opened this issue Jun 17, 2014 · 9 comments
Assignees
Labels

Comments

@march42
Copy link

march42 commented Jun 17, 2014

win7 64bit complains about unsigned driver, even though catalog file is present.

Maybe the INF was edited after signing the CAT ?
Edit: just recognized, its the mchpcdc.cat and customized mchpcdc.inf from the MLA, actually not a really signed driver package. Maybe the CAT should simply be removed.

@tonynaggs
Copy link
Contributor

Thanks for reporting this.

I will look at the Windows driver installation and updating the instructions over the weekend.

@tonynaggs tonynaggs self-assigned this Jun 20, 2014
@firefart
Copy link

If the driver is unsigned, it will be hard to install it under windows 8 (http://www.makeuseof.com/tag/how-can-i-install-hardware-with-unsigned-drivers-in-windows-8/)

Is there a way we can get a signed driver?

@tonynaggs
Copy link
Contributor

I will investigate how to support Windows 8. The Alpha version of RFIDler just presented a virtual COM port over USB. I don't think Adam has changed this in the Beta, and so with some tweaking of the USB descriptors Windows 8 should not need a driver.
I may need someone with Windows 8 & an RFIDler to test any fix I make.

@march42
Copy link
Author

march42 commented Jun 22, 2014

I just commited a self signed driver package and instructions (branch AVT_signed_driver).
These procedure works for me on Winows 7, 8, 8.1, and Server 2008R2, 2012R2
https://github.com/march42/RFIDler/tree/AVT_signed_driver

Getting a real software publisher certificate (for Windows HCL) is way too expensive for a small number of devices, so i have choosen this way for our devices.

EDIT: with changing USB descriptor VID to 04D8 and PID to 000A it is possible to use the original signed driver from Microchip MLA (mla\v2013-06-15\USB\Device - CDC - Basic Demo\inf\mchpcdc.inf/cat) - maybe this was what Adam used in the Alpha.

@thierryzoller
Copy link

Thank you, I proceeded to Import as per instructions - error remains.

@tonynaggs
Copy link
Contributor

I think it is quite a common requirement for a USB virtual COM port device to want the default MS Windows (7, 8) usbser driver.

However I cannot find instructions to do this. Though there plenty on how to configure the USB descriptors to request some other builtin Windows 8 drivers eg
http://msdn.microsoft.com/en-gb/library/windows/hardware/hh450799.aspx

I will dig further, but if anyone finds the answer before I do please let me know. :-)

@thierryzoller
Copy link

With reference to "I may need someone with Windows 8 & an RFIDler to test any fix I make." - I am on standby for Windows8 Test

@march42
Copy link
Author

march42 commented Jun 28, 2014

I just rechecked the probloem with my provided self signed driver and found the INF changed after getting it from GitHub - maybe because of converting line ending or something like that. I uploaded a ZIP with all the files inside, to correct this.
@marcomomsen you can retry with the files from the ZIP these are working on my Win8 and Win8.1 systems without problem.

@tonynaggs i have multiple devices running with usbser driver, maybe i can help you with this...

  1. Windows uses USB Vendor and Product ID reported by the devices in USB device descriptor to choose driver from INF - usb_descriptors.c line 177/178 VID=1D50/PID=6098
  2. Windows needs an INF with given VID/PID combination to know which driver installation must be used - rfidlercdc.inf line 33/36 telling section DriverInstall to be used for device "USB\VID_1D50&PID_6098"
  3. Section DriverInstall.NT/NTamd64 refers to mdmcpq.inf provided by Windows - sections FakeModemCopyFileSection and LowerFilter_Service_Inst are declared there (for a small example see http://support.microsoft.com/kb/837637/en-us)

Simple way would be changing usb_descriptors.c to identify as Microchip CDC Demo Vendor ID 0x04D8, Product ID 0x000A, then the WHQL signed mchpcdc.inf can be used to install. But, this is not allowed for production use. Somewhere in the MLA help files, i cannot rember where, was a WHQL recertification of MCHPCDC.INF through Microchip mentioned. I will check the help files again and see if i can find it in the next days.
PS: There is a post in the forum (http://rfidler.org/index.php?p=/discussion/9/windows-driver-weirdness#latest) about the signed driver issue.

@thierryzoller
Copy link

@march42 : Tested and works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants