Digistump Forums

The DigiX => DigiX Support => Topic started by: ags131 on September 10, 2013, 09:04:03 pm

Title: Signed Driver
Post by: ags131 on September 10, 2013, 09:04:03 pm
Just tried installing the drivers on my Windows 8 Install and realized that the drivers are not signed. Could you build a signed version please? I can install self signed drivers, but have no idea how to sign them myself, and since windows 8, all drivers HAVE to be signed, even testing mode doesn't bypass that. (It works as long as its signed, even if its untrusted)
Title: Re: Signed Driver
Post by: RicM on September 10, 2013, 10:00:37 pm
Following. I have to also install on windows 8 on Thursday.
Title: Re: Signed Driver
Post by: digistump on September 10, 2013, 11:25:25 pm

I'll work on that - anyone know a good tutorial on how to self sign them?




How to install unsigned drivers on windows 8: (from https://github.com/arduino/Arduino/issues/1114)


Pass the mouse on the lower right corner and chose "Settings"
Then "Change PC Settings" -> "General" and on the bottom under "Advanced startup" you click "Restart Now"
After that you chose "Troubleshoot" -> "Advanced options" -> "Startup Settings" and click "Restart"
Now the pc have restarted and shows some options.
Press the key 7 for "Disable driver signature enforcement"
Title: Re: Signed Driver
Post by: Eje_G on September 11, 2013, 08:01:25 am
Think this might contain all the info you need to at least create a test signed driver http://technet.microsoft.com/en-us/library/dd919238(v=ws.10).aspx (http://technet.microsoft.com/en-us/library/dd919238(v=ws.10).aspx)
Title: Re: Signed Driver
Post by: ags131 on September 11, 2013, 05:22:50 pm
The windows 8 trick doesn't always work, I remember fighting with it and the Arduino UNO drivers a couple months ago, I ended up finding where someone had generated a self signed certificate that worked.


(If I'm not mistaken, it DOES work on 32bit windows 8, but 64bit windows adds more security)
Title: Re: Signed Driver
Post by: RicM on September 12, 2013, 07:18:51 pm

I'll work on that - anyone know a good tutorial on how to self sign them?




How to install unsigned drivers on windows 8: (from https://github.com/arduino/Arduino/issues/1114 (https://github.com/arduino/Arduino/issues/1114))


Pass the mouse on the lower right corner and chose "Settings"
Then "Change PC Settings" -> "General" and on the bottom under "Advanced startup" you click "Restart Now"
After that you chose "Troubleshoot" -> "Advanced options" -> "Startup Settings" and click "Restart"
Now the pc have restarted and shows some options.
Press the key 7 for "Disable driver signature enforcement"


This worked for me
Title: Re: Signed Driver
Post by: digistump on September 27, 2013, 02:46:27 pm

Self signed drivers now included - you will still get a warning, but win8 should allow it.

http://digistump.com/wiki/digix/tutorials/software (http://digistump.com/wiki/digix/tutorials/software)

Title: Re: Signed Driver
Post by: ags131 on September 27, 2013, 06:42:40 pm
Cool! I was just checking this thread for an update as my laptop only uploads ~10% of the time.
(Sam-ba error, Maybe low power output on the port, or might be a Linux issue, don't know, works fine from work PC.)
Time to install these drivers on desktop and play with my digix some :)
Title: Re: Signed Driver
Post by: PeterF on September 29, 2013, 04:07:21 am
@digistump Have you thought of using the dpscat.exe self-signing app (like you do with the Digistump?) Then there won't be any nasty red warning dialog (on x86 windows, anyway, I can't comment on x64). You could add it as the first call in the bat files before running the driver install. Or even make the self-extracting packages for the DigiX also, thus only needing one UAC prompt.



@ags131 Can you be more specific about the error? Does the DigiX change it's COM port, as I know I get that a lot on Windows - keeps hopping between 2 or 3 ports when uploading / resetting.
Title: Re: Signed Driver
Post by: digistump on September 29, 2013, 06:57:51 pm
We're actually looking at signing them for real with a paid signing cert - but that is for the production run release - for beta, if it works then we won't spend more time on it.


@ags131 - even with a nice short cable? I get that issue for time to time, and it tends to be that I went back to one of my "bad" cables or plugged into my cheapo-ebay-hub - it never persists though.
Title: Re: Signed Driver
Post by: ags131 on September 30, 2013, 02:24:45 pm
@pfeerick Nope, no com port changes, it just drops out randomly in the middle of programming or verifying. Both result in having to erase and reflash.
[/size]
[/size]@digistump Even with a shorter cable, I used that same cable with it on my main desktop PC no problem.
[/size]
[/size]I'm leaning more towards not enough power from laptop ports or linux bug. And it is VERY common when flashing from laptop, from desktop I never get it.
Title: Re: Signed Driver
Post by: digistump on September 30, 2013, 05:42:10 pm
@ags131 - out of curiosity - can you try removing the jumper on the DigiX which will disconnect the Wifi module, and see if it works then - that would eliminate the wifi modules power usage.
Title: Re: Signed Driver
Post by: ags131 on October 01, 2013, 10:18:20 am
@digistump I did try that, it seemed to help some, but still get aborted flashes. I need to just get a power hub for the laptop anyway. :)
Title: Re: Signed Driver
Post by: chrisr on November 29, 2013, 03:01:44 pm
Received my Kickstarter DigiX and have got it up and running as an Arduino Due successfully. Downloaded the https://sourceforge.net/projects/digistump/files/DigiXAddons-v04.zip/download file and unzipped successfully. I have one issue. When I try to install the 32 bit DigiX driver dpinst-x86.exe on my Windows XP SP3 Home PC I get a Install Failure as it says the driver is unsigned. I have set the Driver Signing Options in the Hardware System Properties to "Ignore - Install the Software Anyway" but this makes no difference. Please could anyone suggest how to get the driver installed. Thank you
Title: Re: Signed Driver
Post by: digistump on November 30, 2013, 01:46:45 am
Try putting this file in the same folder as the driver files and running it instead.

Untested as I don't have any more XP computers left!
Title: Re: Signed Driver
Post by: Durandal on December 05, 2013, 10:14:27 pm
I'm still running into an issue on Win8 64bit. When I do the simple install, it tells me that there was an issue, and leaves it at that. If I open up the security catalog file, it tells me the signature is invalid. Advanced driver install (going into manage devices, and install driver from disk) tells me that I have an invalid security hash.

I'm using the latest version of the add-ons zip, v06.

EDIT: Tried again with v05, just in case. Still no dice. I'll try disabling Win8 signing tomorrow.
Title: Re: Signed Driver
Post by: Stefbar on December 06, 2013, 11:23:57 am
@pfeerick: I have the issue with the changing COM port on my Windows 7 desktop.
I installed the driver as mentioned in the Wiki " getting started" but some time the DigiX is not recognized and some other is changing the COM port when I download a sketch or when it is finish with download and it reset the CPU. I have to reset the board with the reset button more time and maybe it is then working.
Another problem that I have, is that I'm using a USB wireless adapter for my desktop and when I connect the DigiX the adapter disappear and I don't have wifi anymore!!
It is probably a question of power on the USB ports?
Thanks for any ideas/help.

Stefano

Title: Re: Signed Driver
Post by: Durandal on December 08, 2013, 04:34:35 pm
Turning off signed driver verification worked perfectly for Windows 8 64-bit. For some reason, my DigiX was still registering as an Arduino Due until I flashed a new sketch to it. Once I pushed the sketch, it re-registered as a Digistump DigiX, and showed up on different ports. The changing ports thing might have been confusing if I wasn't watching my device monitor already.

Seems to be working just fine now.
Title: Re: Signed Driver
Post by: digistump on December 08, 2013, 10:01:24 pm
@pfeerick: I have the issue with the changing COM port on my Windows 7 desktop.
I installed the driver as mentioned in the Wiki " getting started" but some time the DigiX is not recognized and some other is changing the COM port when I download a sketch or when it is finish with download and it reset the CPU. I have to reset the board with the reset button more time and maybe it is then working.
Another problem that I have, is that I'm using a USB wireless adapter for my desktop and when I connect the DigiX the adapter disappear and I don't have wifi anymore!!
It is probably a question of power on the USB ports?
Thanks for any ideas/help.

Stefano

Stefano -

for the first issue make sure you have also installed the Arduino Due/Atmel drivers that come with Arduino 1.5.x

COM port changes explained here: http://digistump.com/board/index.php/topic,1199.msg5236/topicseen.html#msg5236

Last issues with other USB devices disconnecting is probably power related - you can try pulling the blue WiFi enable jumper on the DigiX to turn off wifi and lower power consumption - or use a powered hub.
Title: Re: Signed Driver
Post by: N3rdle on December 08, 2013, 10:20:37 pm
Just FYI for anyone that might be struggling with this:

on Windows 8.1 64 bit, i had to BOTH disable signed driver enforcement THEN select the odd device in device manager that it didn't know what to do with and forcibly use the DigiX driver for it.  THEN, and ONLY THEN, did things work acceptably for me.

hopefully this points someone who might be struggling in the right direction.

Peter
Title: Re: Signed Driver
Post by: Durandal on December 08, 2013, 10:45:43 pm
@N3rdle did you try pushing a sketch to the DigiX before forcing the DigiX drivers? For me, when I set the Arduino IDE to DigiX and set the port, then pushed a sketch, the "Arduino Due" disconnected and reconnected as a DigiX. It did shift around my COM ports, though.

Glad there's a resolution, but it will be nice when the drivers are properly signed and we don't have to jump through these hoops on Win8.x.
Title: Re: Signed Driver
Post by: N3rdle on December 08, 2013, 11:45:59 pm
yessir, i did attempt to push prior to having to go through that hoop jump to get the driver bound.  ultimately, it's pretty stable once done.  yes, i'm burning COM port interfaces, but they can also be removed from the OS with another bit of hoop jumping ;)
Title: Re: Signed Driver
Post by: Stefbar on December 09, 2013, 07:30:09 am
@pfeerick: I have the issue with the changing COM port on my Windows 7 desktop.
I installed the driver as mentioned in the Wiki " getting started" but some time the DigiX is not recognized and some other is changing the COM port when I download a sketch or when it is finish with download and it reset the CPU. I have to reset the board with the reset button more time and maybe it is then working.
Another problem that I have, is that I'm using a USB wireless adapter for my desktop and when I connect the DigiX the adapter disappear and I don't have wifi anymore!!
It is probably a question of power on the USB ports?
Thanks for any ideas/help.

Stefano

Stefano -

for the first issue make sure you have also installed the Arduino Due/Atmel drivers that come with Arduino 1.5.x

COM port changes explained here: http://digistump.com/board/index.php/topic,1199.msg5236/topicseen.html#msg5236

Last issues with other USB devices disconnecting is probably power related - you can try pulling the blue WiFi enable jumper on the DigiX to turn off wifi and lower power consumption - or use a powered hub.

Many thanks for the help: it's now working!!
I didn't download the last version of the Arduino IDE (I was using 1.5.4) with the drivers  :( After installing version 1.5.5 and the drivers all worked fine. During compiling and downloading the sketches the port change between to COM ports but then it is working fine.
The second issue was probably due to a power problem because of the usage of an extension USB cable: connecting the DigiX with a short cable solved the problem (without turning off the wifi module).
Title: Re: Signed Driver
Post by: defragster on December 26, 2013, 10:52:02 pm
DigiX Success on my 10.1" 32 bit Win 8.1 tablet.

> Disable Unsigned drivers { Win8.1 Windows 8. Windows8.1 } following these steps (similar to above with pics if link works):
> http://revryl.com/2013/08/06/install-unsigned-drivers/ (http://revryl.com/2013/08/06/install-unsigned-drivers/)

I did that and hit 3 other AVR boards to get the 1.5.5 drivers installed - then downloaded DigiX and connected and it installed.  Uploaded BLINK and examples\04.communication\ASCIITable and the serial monitor showed my ASCII.
Title: Re: Signed Driver
Post by: gparvind on January 10, 2014, 06:11:35 am
disabling unsigned driver check in windows 8.1 worked for me. Driver installed with warning.
Title: Re: Signed Driver
Post by: merlin2049er on May 23, 2014, 01:49:50 pm
Yippee, I got it installed.
Title: Re: Signed Driver
Post by: gogol on July 06, 2014, 10:49:01 am
We're actually looking at signing them for real with a paid signing cert - but that is for the production run release - for beta, if it works then we won't spend more time on it.

Is there a schedule available, when that driver might be available?
Title: Re: Signed Driver
Post by: dfarrell on July 30, 2014, 05:29:17 pm
I just use the Due drivers, to many headaches otherwise.