Solved: Auvisio VRC-1100 stopped working after Win 10 update 1607

Found a bug in EventGhost? Report it here.
User avatar
kgschlosser
Site Admin
Posts: 5498
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: Solved: Auvisio VRC-1100 stopped working after Win 10 update 1607

Post by kgschlosser » Fri Feb 28, 2020 12:05 am

OK it is really easy to do.


click this link

http://www.eventghost.net/downloads/Eve ... Add-on.zip

once the download is complete extract the contents of the zipfile inside the zipfile is an executable. go ahead and run that executable. This is going to install the driver package.

open up a command prompt and type in this command

Code: Select all

xcopy "c:\program files (x86)\eventghost\drivers" %programdata%\eventghost\drivers\ /E/H
once that is finished then start eventghost and install the plugin. The plugin should then install the drivers.
If you like the work I have been doing then feel free to Image

jrockow
Posts: 10
Joined: Fri Nov 15, 2013 12:26 pm

Re: Solved: Auvisio VRC-1100 stopped working after Win 10 update 1607

Post by jrockow » Fri Feb 28, 2020 3:14 am

Thanx for responding.

I tried the WinUSB Add On method in one of my previous tests.
That gives me a different error than I first described.

When I try to install the plugin I get a message, "GetUncPathOf Error: 1200 The specified device name is invalid."
Then when I try to complete the install it errors, "EventGhost auvisio VRC-1100 Ro (01/25/2010 1.0.2.0)" Status "Install Failed"

User avatar
kgschlosser
Site Admin
Posts: 5498
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: Solved: Auvisio VRC-1100 stopped working after Win 10 update 1607

Post by kgschlosser » Fri Feb 28, 2020 6:05 am

I need to see the first error the GetUncPathOf error in it's entirety.

Is this error being shown in the EventGhost log? If it is then I need you to select the first line of the error then press your left shift key down and then click the last line of the error. this will select multiple lines in the log. then use ctrl+c to copy the log entries and paste them into a post.

It looks like the device is recognized by EventGhost and then it tries to get the driver package built for it. but there is some call somewhere that is causing an error. specifically with the device name..

what do you have your region and language set to in Windows?
If you like the work I have been doing then feel free to Image

User avatar
kgschlosser
Site Admin
Posts: 5498
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: Solved: Auvisio VRC-1100 stopped working after Win 10 update 1607

Post by kgschlosser » Fri Feb 28, 2020 6:10 am

I need one other thing.

Open File Explorer(Windows Explorer and in the address bar type this in

Code: Select all

%programdata%\eventghost\drivers\winusb\x64
and then press enter

I need you to zip up all of the files in there then attach the zip to a PM to me. This is going to be the driver that gets created by EventGhost, That is if it actually got that far. I am thinking there might be some kind of an obscure character in the device name. If EG made the files I will be able to see if that is the case and we can go from there and fix the issue.
If you like the work I have been doing then feel free to Image

jrockow
Posts: 10
Joined: Fri Nov 15, 2013 12:26 pm

Re: Solved: Auvisio VRC-1100 stopped working after Win 10 update 1607

Post by jrockow » Fri Feb 28, 2020 10:20 am

First off, thanx for taking the time to help me.
This was running fine until I decided to upgrade from WIN 7 to WIN 10.
This has been a very frustrating week.

My region is set to the United States.
My language is set to English (United States).

Log file:
New Instance: send message 'eg.document.ShowFrame, ()'
New Instance: response 'None'
Traceback (most recent call last):
File "EventGhost.pyw", line 51, in <module>
import eg
File "C:\Program Files (x86)\EventGhost\eg\__init__.py", line 31, in <module>
import Cli
File "C:\Program Files (x86)\EventGhost\eg\Cli.py", line 30, in <module>
import PythonPaths
File "C:\Program Files (x86)\EventGhost\eg\PythonPaths.py", line 23, in <module>
import winreg
ImportError: No module named winreg
Traceback (most recent call last):
File "EventGhost.pyw", line 51, in <module>
import eg
File "C:\Program Files (x86)\EventGhost\eg\__init__.py", line 31, in <module>
import Cli
File "C:\Program Files (x86)\EventGhost\eg\Cli.py", line 30, in <module>
import PythonPaths
File "C:\Program Files (x86)\EventGhost\eg\PythonPaths.py", line 23, in <module>
import winreg
ImportError: No module named winreg
New Instance: send message 'eg.document.ShowFrame, ()'
New Instance: response 'None'
New Instance: send message 'eg.document.ShowFrame, ()'
New Instance: response 'None'
New Instance: send message 'eg.document.IsDirty, ()'
New Instance: response 'False'
New Instance: send message 'shutdown, ()'
New Instance: response 'True'

User avatar
kgschlosser
Site Admin
Posts: 5498
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: Solved: Auvisio VRC-1100 stopped working after Win 10 update 1607

Post by kgschlosser » Fri Feb 28, 2020 7:36 pm

OK this is what I want you to do.


****if there are any errors during any of this do not continue the process. Let me know what the error is that you have received***

create a macro and add the python script action to it.
paste the code below into the script

Code: Select all

import os
import shutil
import subprocess
import threading

def do():
    print 'This may take a while to run.'
    print 'Please be patient and do not close EG'
    print 'or any command prompt windows that open'

    def check_net():
        command = 'PowerShell -ExecutionPolicy ByPass -Command "[environment]::Version"'
        proc = subprocess.Popen(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
        out, err = proc.communicate()

        out = list(line for line in out.split('\r\n') if line.strip())
        err = list(line for line in err.split('\r\n') if line.strip())

        if err:
            print '\n'.join(err)
            return None

        return int(out[2].split(' ', 1)[0])

    print 'Checking .NET version attached to PowerShell'
    net_ver = check_net()
    if net_ver is None:
        print 'exiting backup'
        eg.globals.backup_thread = None
        return
    
    if net_ver != 4:
        ans = raw_input(
            'PowerShell is using .NET version {0},\n'
            'we need it to be running version 4\n\n'
            'Would you like to upgrade it to .NET\n'
            'version 4? (y, n)'.format(net_ver)
        )
        if ans.lower() == 'n':
            eg.globals.backup_thread = None
            print 'exiting backup'
            return
            
        power_shell_cfg =[         
            '<?xml version="1.0"?>',
            '<configuration>',
            '    <startup useLegacyV2RuntimeActivationPolicy="true">',
            '        <supportedRuntime version="v4.0.30319"/>',
            '        <supportedRuntime version="v2.0.50727"/>',
            '    </startup>',
            '</configuration>'
        ]
        
        power_shell_cfg = '\r\n'.join(power_shell_cfg)

        ps_path = r'C:\Windows\System32\WindowsPowerShell\v1.0\PowerShell.Exe.Config'
        
        if os.path.exists(ps_path):
            os.rename(ps_path, ps_path + '.backup')    
        
        with open(ps_path, 'w') as f:
            f.write(power_shell_cfg) 
        
        print 'Verifying that .NET version change was sucessful'
        net_ver = check_net()
        if net_ver is None:
            print 'exiting backup'
            eg.globals.backup_thread = None
            return
    
        if net_ver != 4:
            print 'ERROR: unable to upgrade to .net version 4'
            print 'exiting backup'
            eg.globals.backup_thread = None
            return
        
        print 'PowerShell .NET version change sucessful'

    else:
        print 'PowerShell .NET version is 4'

    print 'Copying files'
    
    eg.config.Save()

    output_path = os.path.expandvars(r'%userprofile%\desktop\eventghost_backup')

    if os.path.exists(output_path):
        print 'temp file path already exists', output_path
        print 'exiting backup'
        eg.globals.backup_thread = None
        return

    os.mkdir(output_path)
    eg.document.Save()
    
    app_dst = os.path.join(output_path, 'application')
    appdata_dst = os.path.join(output_path, 'appdata')
    programdata_dst = os.path.join(output_path, 'programdata')
    save_file_dst = os.path.join(output_path, os.path.split(eg.document.filePath)[-1])

    app_src = eg.mainDir
    appdata_src = eg.configDir
    programdata_src = os.path.abspath(os.path.join(eg.localPluginDir, '..'))
    save_file_src = eg.document.filePath

    print app_src, ' --> ', app_dst
    shutil.copytree(app_src, app_dst)
    print app_src, ' --> ', app_dst, 'COMPLETE'

    print appdata_src, ' --> ', appdata_dst
    shutil.copytree(appdata_src, appdata_dst)
    print appdata_src, ' --> ', appdata_dst, 'COMPLETE'


    print programdata_src, ' --> ', programdata_dst
    shutil.copytree(programdata_src, programdata_dst)
    print programdata_src, ' --> ', programdata_dst, 'COMPLETE'
    
    print save_file_src, ' --> ', save_file_dst
    shutil.copyfile(save_file_src, save_file_dst)
    print save_file_src, ' --> ', save_file_dst, 'COMPLETE'


    print 'Compressing files'

    zip_file = os.path.abspath(
        os.path.join(output_path, '..')
    )

    zip_file = os.path.join(zip_file, 'eg_backup.zip')
    
    if os.path.exists(zip_file):
        ans = raw_input(
            'a backup file already exists ({0})\n\n'
            'Would you like to overwright the file (y/n)?'.format(zip_file)
        )
        if ans.lower() == 'n':
            shutil.rmtree(output_path)
            print 'exiting backup'
            eg.globals.backup_thread = None
            return
        
        os.remove(zip_file)

    print output_path, ' --> ', zip_file

    command = (
        'PowerShell '
        '-ExecutionPolicy ByPass '
        '-Command "'
        'Add-Type -Path C:\\Windows\\Microsoft.NET\\assembly\\GAC_MSIL\\System.IO.Compression\\v4.0_4.0.0.0__b77a5c561934e089\\System.IO.Compression.dll;\r\n'
        'Add-Type -Path C:\\Windows\\Microsoft.NET\\assembly\\GAC_MSIL\\System.IO.Compression.FileSystem\\v4.0_4.0.0.0__b77a5c561934e089\\System.IO.Compression.FileSystem.dll;\r\n'
        'Add-Type -Path C:\\Windows\\Microsoft.NET\\assembly\\GAC_MSIL\\System.IO.Compression.ZipFile\\v4.0_4.0.0.0__b77a5c561934e089\\System.IO.Compression.ZipFile.dll;\r\n'
        "[System.IO.Compression.ZipFile]::CreateFromDirectory('{0}', '{1}', [System.IO.Compression.CompressionLevel]::Optimal, $false);".format(output_path, zip_file)
    )

    proc = subprocess.Popen(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
    out, err = proc.communicate()

    out = list(line for line in out.split('\r\n') if line.strip())
    err = list(line for line in err.split('\r\n') if line.strip())

    if err:
        print '\n'.join(err)
        shutil.rmtree(output_path)
        print output_path, ' --> ', zip_file, 'FAILED'
        print 'FAILED'

    else:
        print '\n'.join(out)
        shutil.rmtree(output_path)
        print 'backup is located', zip_file    
        print 'FINISHED'
    
    eg.globals.backup_thread = None

eg.globals.backup_thread = getattr(eg.globals, 'backup_thread', None)

if eg.globals.backup_thread is not None:
    print 'backup already running'
    print 'exiting'
    eg.Exit()

eg.globals.backup_thread = threading.Thread(target=do)
eg.globals.backup_thread.start()


click on the apply button then click on the test button.

this is going to backup eventghost. It will backup all of it. It is going to make a file on your desktop called eg_backup.zip.
once that is finished (it can take a while) close EG


Verify the backup exists. open the zip file and make sure you see 3 folders and your save file in there. you can navigate the zip file to make sure it backed up everything if you like.

Once the backup has been verified go to
Start --> Control Panel --> Add Remove Programs
locate EventGhost and uninstall it.

Once it is finished doing the uninstall we are going to do some cleanup.

open up File Explorer (Windows Explorer)
in the address bar type in

Code: Select all

%appdata%
press enter
If there is a folder "EventGhost" I want you to delete it.

In the address bar type in

Code: Select all

%programdata%
press enter
If there is a folder "EventGhost " I want you to delete it

in the address bar type in

Code: Select all

C:\Program Files (x86)
If there is a folder "EventGhost " I want you to delete it


This has completely removed EventGhost from your system.

I now want you to download EventGhost from the link below and install it.
https://github.com/EventGhost/EventGhos ... v0.5.0-rc6

once that is finished then download the WinUSB addon and install it.
http://www.eventghost.net/downloads/Eve ... Add-on.zip

Start EventGhost.
create a new save file
File --> New
Then save the empty save file
File --> Save As

Close EventGhost
open a command prompt
type in the command below

Code: Select all

xcopy "c:\program files (x86)\eventghost\drivers" %programdata%\eventghost\drivers\ /E/H

Once that has finished then open up EventGhost again.
Install the plugin. Any errors you get while the plugin is installing please paste them to me.

This is going to set up a baseline for us to make sure that there is nothing that could be causing a problem anywhere.
Rest assured there is a backup and we can always restore that backup in whole or parts of it if necessary.
If you like the work I have been doing then feel free to Image

jrockow
Posts: 10
Joined: Fri Nov 15, 2013 12:26 pm

Re: Solved: Auvisio VRC-1100 stopped working after Win 10 update 1607

Post by jrockow » Fri Feb 28, 2020 9:27 pm

There's been a development here....

A new mini-PC (that I had on order) arrived today.
Since I had to set up WIN 10 I thought I would try to install EventGhost just to see what happened.
At first I got the same error, then I remembered I forgot to turn off the signed driver feature.
After I did that the Auvisio driver installed as you said it would.

I went back to the problem PC and discovered I had a problem using the F7 key to turn off the signed driver feature.
The system just hung after issuing the F7, so I used the "bcdedit test" method.
It appeared to work, I got the "test" notification text on my screen, but I still got the error trying to load the driver.

I'm wondering now if I ever actually had the driver signature feature turned off?
I asked that question in my original post; if there was a way to insure it was actually turned off.
I'm thinking now with all the screwing around I did if somehow I messed it up and the sig test is always on?

At this point I am going to try rebuilding the WIN 10 software on the problem PC and try to do the install again.
Maybe that was the problem all along?
If that doesn't help, then I'll do the steps you left in your last message.

Either way I will update this thread after the WIN 10 rebuild.
As I said before, thanx for your continuing support!

User avatar
kgschlosser
Site Admin
Posts: 5498
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: Solved: Auvisio VRC-1100 stopped working after Win 10 update 1607

Post by kgschlosser » Sat Feb 29, 2020 2:08 am

no worries m8

There is more then one way to turn of driver signing. I do not know if you are using the method that I have outlined HERE

This method will not place Windows into "Test Mode" This method does not require you to use any of the F keys in order to get into it. You do not end up with any unsightly watermarks on the desktop either.
If you like the work I have been doing then feel free to Image

User avatar
kgschlosser
Site Admin
Posts: 5498
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: Solved: Auvisio VRC-1100 stopped working after Win 10 update 1607

Post by kgschlosser » Sat Feb 29, 2020 5:16 am

I believe I should have fixed the installer. I also made a change that uses the windows 10 driver framework files instead of the windows vista ones. This may help with the issues running on Windows 10.

I do not have any devices that can make use of this portion of EG. If someone would be willing to test it out for me that would be appreciated.

Make a copy of C:\Program Files (x86)\EventGhost\Classes\WinUsb.py aand put it anywhere. This is for backup purposes.

download the attached file and place it in C:\Program Files (x86)\EventGhost\Classes overwrite the existing file

Give it a go and see if it works.
I did check the file transfer portion of the program and it does work properly the files do download correctly. All of the paths point to the correct locations. Everything looks like it should work properly we will see what happens.
Attachments
WinUsb.py
(24.52 KiB) Downloaded 49 times
If you like the work I have been doing then feel free to Image

jrockow
Posts: 10
Joined: Fri Nov 15, 2013 12:26 pm

Re: Solved: Auvisio VRC-1100 stopped working after Win 10 update 1607

Post by jrockow » Sat Feb 29, 2020 2:53 pm

The command-line method you suggest to disable signing looks to be essentially the same as I've tried.
In any event, I followed your post but it didn't make a difference.
My PC still hangs on the F7.

I'm convinced this problem is unique to my BRIX Mini-PC 2807 (firmware vers F9). For whatever reason it won't let me install unsigned drivers.
I even went into the bios and disabled the Secure Boot; still won't go.
I had no problem installing the driver on 2 other PCs I have.
I need to put this project on the back-burner for now; I've wasted too much of my time and yours.

As for your second post, about the new WinUsb.py, that seems to work.
The only difference I noticed is when the install fails, the error message refers to "driver.inf"; previously it was "Auvisio".

Thanx again for all your help.

User avatar
kgschlosser
Site Admin
Posts: 5498
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: Solved: Auvisio VRC-1100 stopped working after Win 10 update 1607

Post by kgschlosser » Sat Feb 29, 2020 8:10 pm

what F7???

There is no use of the F7 key in the method I Posted.

Do you mean option 7? you use your arrow keys to navigate down to the option and then press enter.

You are not wasting my time at all. I would like to know what the issue is so if someone else comes across the same problem in the future I will know what the actual problem is and if there is a solution for it I will be able to provide the solution.
If you like the work I have been doing then feel free to Image

jrockow
Posts: 10
Joined: Fri Nov 15, 2013 12:26 pm

Re: Solved: Auvisio VRC-1100 stopped working after Win 10 update 1607

Post by jrockow » Sat Feb 29, 2020 8:28 pm

OMG!! FINALLY!! It's working!

After all this screwing around I finally hit the right combination.
First I had to set up my bios as follows: Secure Boot (Disabled) and Secure Boot Mode (Standard).
After that I was able to use the WIN, settings, recovery, F7 method to get my PC to restart without driver sig checking.

Finally, I could install the driver according to your previous instructions.
I can't believe this nightmare is over!
Once more, thanx for your time and hopefully someone else may get some use out of this.

User avatar
kgschlosser
Site Admin
Posts: 5498
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: Solved: Auvisio VRC-1100 stopped working after Win 10 update 1607

Post by kgschlosser » Sat Feb 29, 2020 8:37 pm

Never mind about the F7 thing. I see where it is at.

Next question. Is this computer running in UEFI mode? and if so have you disabled SecureBoot? If you are not using UEFI or have SecureBoot disabled have you tried using this command at the command line?

Code: Select all

bcdedit.exe /set nointegritychecks on
you may have tried this command

Code: Select all

bcdedit /set testsigning on
which does not disable driver signing. instead it allows drivers signed with an EV certificate to be used. This is not going to pertain to the drivers installed by EG.

You may be running into an issue because possibly driver signing is already disabled?
so run these commands

Code: Select all

bcdedit.exe /set nointegritychecks off

Code: Select all

bcdedit /set testsigning off
restart the computer.
then try the "F7" method again.

you DO not want to use the following commands at the same time.

Code: Select all

bcdedit /set testsigning on
and

Code: Select all

bcdedit.exe /set nointegritychecks on
The test signing is still driver signing it is just a different variant of it. I am not sure if there can be some kind of odd behavior like the F7 method locking up your computer if you have test signing turned on. This could very well be the cause.
If you like the work I have been doing then feel free to Image

User avatar
kgschlosser
Site Admin
Posts: 5498
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: Solved: Auvisio VRC-1100 stopped working after Win 10 update 1607

Post by kgschlosser » Sat Feb 29, 2020 8:50 pm

That is too funny. the SecureBoot thing comes up by both of us at the same time.

This is a fantastic example of why you should not give up. Do not get frustrated, There have been very few issues that have come up that I have not been able to solve or at the very least find the cause of the problem. To be honest I do not think there have been any that I have come across.

The phrase "It cannot be done" has no meaning to me.. I may say that that with my present knowledge I do not know of a way. It may take a few minutes or it may take 6 months, But I will usually comes up with the cause and usually a solution. My knowledge is also not limited to only EG.
I am A+ N+ S+ L+ MCSE CNA ITF+ CCENT... plus a few more. been dealing with computer since the AS400 mainframe. so a long time close to 32 years. There are a whole lot of strange problems I have had to work through over the years. and there isn't a whole hell of a lot that I have not seen. I personally do not run Windows 10 and I will not run Windows 10 (too much personal data collection). I like my hacked copy of Windows 7 x64 that uses < 1GB or ram and has a footprint of around 10GB on my drive. Rock solid stable. I just did a new install because of a disk drive upgrade. I had been running the last install for 6 years with a 99.9% uptime. never needing to reboot or restart. only once a year for 15 minutes only to clean the dust out the machine.
If you like the work I have been doing then feel free to Image

User avatar
kgschlosser
Site Admin
Posts: 5498
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: Solved: Auvisio VRC-1100 stopped working after Win 10 update 1607

Post by kgschlosser » Sat Feb 29, 2020 8:51 pm

I am going to update the directions to include the disabling of SecureBoot so this will not happen again.
If you like the work I have been doing then feel free to Image

Post Reply