HASP key not staying connected

This is for discussing general topics about how to use VirtualBox.
Post Reply
cccc1234
Posts: 9
Joined: 7. Sep 2018, 07:26

HASP key not staying connected

Post by cccc1234 »

Dear Sir,

I want to use Hasp Key.
Is is not working.
Attachments
Q20180907.txt
version info
(6.72 KiB) Downloaded 34 times
W7P64E_002_01_01-2018-09-07-14-10-02.log
Log file
(110.6 KiB) Downloaded 37 times
andyp73
Volunteer
Posts: 1631
Joined: 25. May 2010, 23:48
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Assorted Linux, Windows Server 2012, DOS, Windows 10, BIOS/UEFI emulation

Re: HASP key not staying connected

Post by andyp73 »

VBox.log wrote:
VirtualBox VM 5.1.20 r114628 win.amd64 (Apr 18 2017 09:49:38) release log
This is very old now (in software terms) and VirtualBox 5.1 is no longer supported. I would start by upgrading to the latest version (5.2.18 as of writing).

You don't say which interface your Hasp key connects to but assuming it is USB...
VBox.log wrote:
00:00:00.712924 [/Devices/usb-xhci/] (level 2)
With Windows 7 as a guest and USB3 enabled, I presume that you have installed the .Intel USB 3.0 eXtensible Host Controller Driver.

Thereafter, I would suggest reading USB basics and troubleshooting.

-Andy.
My crystal ball is currently broken. If you want assistance you are going to have to give me all of the necessary information.
Please don't ask me to do your homework for you, I have more than enough of my own things to do.
cccc1234
Posts: 9
Joined: 7. Sep 2018, 07:26

Re: HASP key not staying connected

Post by cccc1234 »

Dear,

USB HASP HL
installed the "Intel USB 3.0 eXtensible Host Controller Driver" in Windows 7 guest.
Attachments
showvminfo.txt
VBoxManage showvminfo
(5.77 KiB) Downloaded 22 times
Host PC USB Hasp HL Hardware driver
Host PC USB Hasp HL Hardware driver
HostPC_USB3_HaspHL.jpg (57.86 KiB) Viewed 5153 times
Guest PC Hardware driver USB 3.0
Guest PC Hardware driver USB 3.0
guestPC_USB3.jpg (53.66 KiB) Viewed 5153 times
cccc1234
Posts: 9
Joined: 7. Sep 2018, 07:26

Re: HASP key not staying connected

Post by cccc1234 »

a log from a cold_start / login / plug_USB / unplug_USB / complete_shutdown cycle:
Attachments
W7P64E_010-2018-09-10-11-44-03.zip
a log from a cold_start / login / plug_USB / unplug_USB / complete_shutdown cycle:
(25.02 KiB) Downloaded 27 times
cccc1234
Posts: 9
Joined: 7. Sep 2018, 07:26

Re: HASP key not staying connected

Post by cccc1234 »

Gust PC USB Filter
Attachments
Gust PC USB Filter
Gust PC USB Filter
USB_Filter.jpg (39.58 KiB) Viewed 5152 times
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: HASP key not staying connected

Post by mpack »

You need to contact the maker of the HASP key, since there is no way for us to know what it doesn't like about a VM.
cccc1234
Posts: 9
Joined: 7. Sep 2018, 07:26

Re: HASP key not staying connected

Post by cccc1234 »

I contact the maker of the HASP key. He say that Hsap Key is OK.
He tell me that I can test with VMware.
I use VMWare player is fine with Hasp Key on same hardware PC, Same Windows OS.

B.R.

C
cccc1234
Posts: 9
Joined: 7. Sep 2018, 07:26

Re: HASP key not staying connected

Post by cccc1234 »

Dear

1.https://downloadcenter.intel.com/downlo ... set-Family
.Intel USB 3.0 eXtensible Host Controller Driver.

It is very old version.
* Intel(R) USB 3.0 eXtensible Host Controller: 1.0.10.255
*
* February 2014

2.Why can not use the newest Version ?
VMWare use the new version
https://downloadcenter.intel.com/downlo ... set-Family


3.My IPC mother board driver is below:
* Production Version Releases
*
* Microsoft Windows* 7
*
* Intel(R) USB 3.0 eXtensible Host Controller: 2.5.4.40
*
* April 2014
*
* NOTE: This document refers to systems containing the
* following Intel processors/chipsets:
*
* Intel(R) 8 Series/C220 series Chipset Family
* 4th Generation Intel(R) Core(TM) Processor Family


B.R.
C
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: HASP key not staying connected

Post by mpack »

The newness of a driver is not necessarily an indication that it is better for a VM. The VM simulates a specific chipset. If a new driver does not address an issue affecting the simulated chipset then the new driver version is of no benefit.

Likewise, if writing a new simulation of a newer chipset has no particular benefit to a VM then it will not happen. I.e. it's an engineering decision.

The chipsets that VMWare chooses to simulate have no relevance in this discussion.
cccc1234
Posts: 9
Joined: 7. Sep 2018, 07:26

Re: HASP key not staying connected

Post by cccc1234 »

Dear:

I use USB Aladdin HASP with Virtual Box. The USB Hasp is not work.
You tell us that is Aladdin HASP problems.
Aladdin HASP engineer tell us that with VM Wave is not problem. That is Virtual Box problems.

Please tell us how should we do ?

Thank you

B.R.

C
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: HASP key not staying connected

Post by mpack »

cccc1234 wrote: You tell us that is Aladdin HASP problems.
Where did anyone say that? I said that only the HASP people can tell you what it doesn't like about the VM. Without that information nothing can be done to correct the deficit. A statement of "it's not our fault" does not provide that information.

Ok, I'll make a guess about what it doesn't like: the timing. VMs have greater latencies than physical hardware, so if they want to allow the protected software to be installed in a VM then their dongle driver needs to use longer timeouts.
cccc1234
Posts: 9
Joined: 7. Sep 2018, 07:26

Re: HASP key not staying connected

Post by cccc1234 »

Dear Sir,
We use USB-RS-232 adaptor. That is not work ,too.

Right now, We have two USB devices are not work with virtual box.

Sincerely,

C
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: HASP key not staying connected

Post by mpack »

One issue per topic please.
cccc1234
Posts: 9
Joined: 7. Sep 2018, 07:26

Re: HASP key not staying connected

Post by cccc1234 »

Dear Sir,

We try three type USB Device. They do not work with virtual box.
They are USB stick, USB RS-232 Serial com-port and USB Hasp Key.

If there are more than three devices not work with virtual box, I do not believe that is USB manufacture
driver problems.

>One issue per topic please.

We guess most of USB devices are not work with virtual box in my IPC.
What do you want us to do ?


Thank you.
Sincerely,
C
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: HASP key not staying connected

Post by mpack »

Does "USB stick" mean a USB flash drive? Not a criticism, I just want to make clear what my assumption is.

Others somehow manage to get USB flash drives and USB serial ports working, so there cannot be a systemic explanation of your problem, at least not in VirtualBox - perhaps the USB port is at fault.

HASP keys are something else, I personally expect those to give problems, since IP protection and anti-VM policies often go hand in hand.

USB Basics and Troubleshooting. Note particularly the parts about USB3 ports and Win7 guests.

Looking back at your original screenshot, I am concerned about all of the different drivers installed. Here for comparison is a screenshot from my own VM. As you can see it is much simpler (this shows just the root devices - there is no slave devices plugged in at this time).
Capture.PNG
Capture.PNG (5.99 KiB) Viewed 4996 times
There are differences, e.g. I have not installed the Intel USB3 drivers, I live with EHCI only on the rare occasions I use USB in this VM.
Post Reply