Please download version 1.3.5 of the server AND version 1.3.9 (or later) of the client. You can now name and auto-connect qualified by PORT.forenbenutzer wrote:One more thing (sorry for double post):
I have several identical HASP USB devices (dongles for CAM software) which all appear with the same name in the list.
The problem is: They have different features "inside". I always have to "try and error" before finding the right one.
Is it possible to "name" the devices serverside by their USB port on the hub (e.g. "Dongle at port 1", "Dongle at port 2")?
Code: Select all
/Q quiet mode
/T:<full path> - specify temp working folder
/C extract only (use with /T)
/C: <cmd> override install command by author.Code: Select all
usbserver vhusbdpi: >>> Starting vhusbd 1.3.5 <<<
usbserver vhusbdpi: Using default configuration /opt/vh/config.ini
usbserver vhusbdpi: Serial:000000003dfa2518
usbserver vhusbdpi: Server licensed to=unlicensed max_devices=1
usbserver vhusbdpi: /opt/vh/vhusbdpi(crashHandler+0x34) [0x13d68]
usbserver vhusbdpi: /lib/arm-linux-gnueabihf/libc.so.6(__default_sa_restorer_v2+0) [0xb632be40]
usbserver vhusbdpi: /lib/arm-linux-gnueabihf/libc.so.6(+0x3349c) [0xb633149c]
usbserver vhusbdpi: End backtrace, vhusbd exiting...Code: Select all
ServerName=USB Server
License=unlicensed,1,MCACDkn0jww6R5WOIjFqU/apAg4Um+mDkU2TBcC7fA1FrA==
DeviceNicknames=NUMROTO PP
TraceMsgs=0
UseAVAHI=1
Ignores=ID_MODEL,WLAN
TcpPort=7575
CompressionLimit=1024
HubTimeout=3000Code: Select all
ServerName=Raspberry Hub
License=unlicensed,1,MCACDkn0jww6R5WOIjFqU/apAg4Um+mDkU2TBcC7fA1FrA==
DeviceNicknames=NUMROTO PP,0529,0001,1131
TraceMsgs=0
UseAVAHI=1
Ignores=ID_MODEL,WLAN
TcpPort=7575
CompressionLimit=1024Maybe you could give some more advice. I managed to extract the inf files, but dpinst fails because of missing driver signing. I do not understand what is wrong here, because the manual installation clearly shows that your drivers are signed.msbroadf wrote:Yes unattended installation of the drivers is available. The drivers install using the standard microsoft driver installer.
There are multiple options when installing the driver unattended
To extract the driver you need to run the client on a machine without drivers (or uninstall the drivers and reboot on a machine with drivers) then when the client trys to install the driver take a look in the temp directory. You will see a file vhdrivers32.exe or vhdrivers64.exe. Run that with a /H option and it will show the options above.Code: Select all
/Q quiet mode /T:<full path> - specify temp working folder /C extract only (use with /T) /C: <cmd> override install command by author.
2. -> I already tried the quiet mode "/Q" directly, but still it asks for my interaction, so i extracted the files to test if that works. Am I doing something wrong?msbroadf wrote:1. Sounds like a bug, I will take a look at why the server is losing the nicknames settings....
2. Sounds like you somehow are are missing the cat file. That contains the signatures of the drivers and must be in the same directory as the drivers during installation. I thought you were just doing to run the driver exe in quiet mode. If you are trying to extract the individual files and install those that is more complicated because its not the same as a standard windows hardware driver because there is no hardware to trigger the driver to load. The driver needs to be triggered to load by another program vhenum.exe so its no good just installing the driver files manually.
OK i figured it out, you need to do it this way:forenbenutzer wrote: 2. -> I already tried the quiet mode "/Q" directly, but still it asks for my interaction, so i extracted the files to test if that works. Am I doing something wrong?
Code: Select all
09:59:32 INFO :No drivers found, they will be installedCode: Select all
C:\Users\***\Desktop\dpinst>dpinst.exe /Q /C
INFO: Option set: dumping log info to console.
INFO: Current working directory: 'C:\Users\***\Desktop\dpinst'
INFO: Running on path 'C:\Users\***\Desktop\dpinst'
INFO: No valid 'dpinst.xml' file provided.
INFO: Install option set: Running in quiet mode. Suppressing Wizard and OS popups.
INFO: Found driver package: 'C:\Users\***\Desktop\dpinst\vhhcd.inf'.
INFO: Found driver package: 'C:\Users\***\Desktop\dpinst\vhhub.inf'.
INFO: Preinstalling 'c:\users\***\desktop\dpinst\vhhcd.inf' ...
INFO: ENTER: DriverPackagePreinstallW
SUCCESS:c:\users\***\desktop\dpinst\vhhcd.inf is preinstalled.
INFO: RETURN: DriverPackagePreinstallW (0x0)
INFO: ENTER: DriverPackageGetPathW
INFO: RETURN: DriverPackageGetPathW (0x0)
INFO: Preinstalling 'c:\users\***\desktop\dpinst\vhhub.inf' ...
INFO: ENTER: DriverPackagePreinstallW
SUCCESS:c:\users\***\desktop\dpinst\vhhub.inf is preinstalled.
INFO: RETURN: DriverPackagePreinstallW (0x0)
INFO: ENTER: DriverPackageGetPathW
INFO: RETURN: DriverPackageGetPathW (0x0)
INFO: ENTER: DriverPackageInstallW
INFO: Installing INF file 'c:\users\***\desktop\dpinst\vhhcd.inf' (Plug and Play).
INFO: Looking for Model Section [Standard.NTamd64]...
INFO: No matching devices found in INF "C:\Windows\System32\DriverStore\FileRepository\vhhcd.inf_amd64_neutral_177fd4e6ffed51ba\vhhcd.inf" on the Machine.
INFO: No drivers installed. No devices found that match driver(s) contained in 'C:\Windows\System32\DriverStore\FileRepository\vhhcd.inf_amd64_neutral_177fd4e6ffed51ba\vhhcd.inf'.
INFO: RETURN: DriverPackageInstallW (0xE000020B)
INFO: No matching device was found for 'c:\users\***\desktop\dpinst\vhhcd.inf'. Driver will be installed when plugged in.
INFO: ENTER: DriverPackageInstallW
INFO: Installing INF file 'c:\users\***\desktop\dpinst\vhhub.inf' (Plug and Play).
INFO: Looking for Model Section [Standard.NTamd64]...
INFO: No matching devices found in INF "C:\Windows\System32\DriverStore\FileRepository\vhhub.inf_amd64_neutral_3c65c3a8cefae385\vhhub.inf" on the Machine.
INFO: No drivers installed. No devices found that match driver(s) contained in 'C:\Windows\System32\DriverStore\FileRepository\vhhub.inf_amd64_neutral_3c65c3a8cefae385\vhhub.inf'.
INFO: RETURN: DriverPackageInstallW (0xE000020B)
INFO: No matching device was found for 'c:\users\***\desktop\dpinst\vhhub.inf'. Driver will be installed when plugged in.
INFO: Created entry in Add or Remove Programs for 'C:\Windows\System32\DriverStore\FileRepository\vhhcd.inf_amd64_neutral_177fd4e6ffed51ba\vhhcd.inf'.
INFO: Created entry in Add or Remove Programs for 'C:\Windows\System32\DriverStore\FileRepository\vhhub.inf_amd64_neutral_3c65c3a8cefae385\vhhub.inf'.
INFO: Returning with code 0x200