Page 1 of 1

Bug in hwinterfacedrv.c

Posted: Mon Feb 09, 2015 5:24 pm
by jctaz
HI Phil
Nice port of the software. I found and fixed a bug in hwinterfacedrv.c which prevents 32-bit writes from working. The original code and the fix are below:

// WRITE_PORT_ULONG(&(lData[0]), lData[1]); //Short 0=Address long 1=Value
WRITE_PORT_ULONG((PULONG)address[0], lData[1]); //Short 0=Address Short 1=Value

Re: Bug in hwinterfacedrv.c

Posted: Mon Feb 09, 2015 5:44 pm
by phil
Yes, others have also found this bug. Unfortunately it cant be fixed as I have no way of signing the driver right now. I'm looking at getting a certificate but they dont come cheap.There is one provider tht cliams to provide certificates to open source projects free - but they are not very quick to respond to my emails and requests.

We shall see if that ever comes through and works, if not, the only small chance of getting it working is if I purchase a certificate myself ($$$) which I might do for my other projects but its not easy as most certificate providers dont offer code signing certificates to individuals (only companies).

Thanks,
Phil

Re: Bug in hwinterfacedrv.c

Posted: Mon Feb 09, 2015 5:45 pm
by phil
Oh, I spoke too soon, my latest certificate request has been accepted. I will see tonight if I can sign the driver with it and if so, I can finally fix these bugs :)

Will let you know how I get on.

Thanks again,
Phil

Re: Bug in hwinterfacedrv.c

Posted: Tue Feb 10, 2015 12:21 am
by phil
Oh Well, back to square one... The "free" open source code signing cert does not work for drivers.
Oh well - I will have to try and buy an expensive one (pita as I need to get all my documents notarised and that alone is not cheap in the UK).

One day I will be able to fix this bug with a bit of luck!

Thanks,
Phil