Ilok sharing error

57 posts / 0 new
Last post
oskarskriver
Ilok sharing error

Hi, I want to use virtualhere to juggle my 30 iloks in my studios over lan. But I’ve run into the “ilok sharing error” can I get around this somehow? Right now I am using a mac as the server but can also get a rasberry Pi if thats better...

Best
Oskar

Michael
.

You need a hub that supports per power port control https://github.com/mvp/uhubctl . That list is accurate but it changes all the time so i cant recommend any of those hubs except for using the pi3b (not plus) port 2. That definitely works. But that will only support on ilok on that port

USB77
Hi, we would like to use 4

Hi, we would like to use 4 iloks on a Raspberry 2 Model B to share on the network. With 1 ilok on port 1 it does work as expected.
We get the "ilok sharing error" on all other ports.
We also tried a Belkin F5U701-BLK on ports 1 and 2 of the raspberry - but it does not work.
Do you have a solutioon?
Or do we have to use one raspberry for each ilok?

Michael
.

You'll have to try other hubs from that list

USB77
thanks for your quick reply.

thanks for your quick reply. We connect the hub on raspberrys usb port 1?

Michael
The hub can be connected to

The hub can be connected to any port on the pi

musikprylar
Hi - Have I understood this

Hi - Have I understood this correctly that with The Model PI 3+ I can switch on/off the iLok USB with uhubctl installed?

If so, can someone pleeaseee write a step by step guide on how to install and execute that task. Would be extremely appreciated.

Many Thanks,
Musikprylar

Michael
.

You dont have to do anything its automatic.

The virtualhere server just needs to be installed on a pi and the ilok plugged into the correct port explained on the uhubctrl url table and it will just automatically power-cycle when required.

Edit: Actually theyve changed that usbhubctl table slightly. It used to be simple for the pi. But basically you put it into port 2.

musikprylar
Sory for the somewhat sloppy

Sory for the somewhat sloppy explanation.

Everything is running great except that I don't understand how to trigger the command that's supposed to "unplug" the iLok.

I've gotten to:
"sudo apt-get install libusb-1.0-0-dev"
It installs and seems like its running but when trying
"uhubctl -l 1-1 -p 2 -a 0"
: -bash: uhubctl: command not found

Seems like I haven't been able to install uhubctl correctly? or using the wrong command?

Best,
Musikprylar

Michael
"You dont have to do anything

"You dont have to do anything its automatic. "

musikprylar
I think I see what you mean

I think I see what you mean now..Upon automatic virtual ejection of the iLok it should clear up any iLok Sharing issues when switching computer.. In that case its not working for me as expected. Any differences between the demoversion of VirtualHere server and the specifally compiled version for the Pi3+?

Thanks again,
Musikprylar

Michael
Try a different USB port, you

Try a different USB port, you might not have it in Port 2. Port 2 is the lower left one I think, when looking directly at them

musikprylar
Thought I tried all ports.

Thought I tried all ports. Will try again tomo or day after that.

Thanks for your patience.
Musikprylar

musikprylar
I AM STUPID!

I AM STUPID!

Have a NESPI Case (Nintendo looking case for my Pi) with a USB HUB/Riser that connects to one of the Pi's USB ports. Ive forgotten about this and this just dawned upon me now.... (Put it together well over a year ago)

"You dont have to do anything its automatic. " - Yes it is! :) In my case on the lower, furthest away USB port from the built in Ethernet jack.

Thanks for a brilliant app & support. License bought.
/Musikprylar

Michael
.

Great!

(Thanks for your support)

Studio 123
Still not working with Pi4

Hello there, we followed all the steps, tested all the usb ports and we still have ilok sharing error message when trying to connect via another computer. Any ideas please?

Pi 4 /4gb RAM
Virtual here server unlimited license optimized for Pi4
ilok3 for PT Ultimate

Michael
.

You probably need to update your pi4 firmware https://github.com/mvp/uhubctl#raspberry-pi-4b

mattrixx
Hi there, I have been

Hi there, I have been watching this closely, as I am also having issues (Pi 4 with current firmware).
I have my ilok plugged into Port 2 (I think. .. bottom fathers from Ethernet port????)

I am getting gate sharing error when moving between systems.

I have seen that a Pi4 may need to have the iLok plugs into port 4? Is this correct? So far, neater has worked for me.

Michael
.

Try each of the ports in turn. One of them definitely power-cycles

mattrixx
Thank you for the quick reply

Thank you for the quick reply Michael. I have scoured the forums, but what should I be seeing? ie How often should I see the blue light of the ilok switch off and on?
Also, is there anything specific I need to specify in the client software to make it easier to grab the ilok, after it's been connect to another mac client?
Thanks again./

Michael
.

If you have it plugged into the correct port, you will be able to stop using the ilok on one machine then use it on another client without seeing the "This ilok can be used in a network environment..." message

mattrixx
Ok, great, thank you. Will

Ok, great, thank you. Will keep trying the there ports.

mattrixx
Ok, I have tried all ports on

Ok, I have tried all ports on the Pi4B (latest firmware) and still not able to run up on another machine after "Stop using device".
I get the "Ilok Sharing Error" splash screen every time.
I have tried quitting the client software on the other machine and dis-connecting it from the network etc.

Got me stumped ???

mattrixx
Only thing I can do is re

Only thing I can do is re-boot the Pi.

Michael
.

What exact version of the firmware? are you using https://github.com/mvp/uhubctl#raspberry-pi-4b

mattrixx
Hi Michael,

Hi Michael,
Thanks for the response.

BCM2711 detected
BOOTLOADER: up-to-date
CURRENT: Tue 10 Sep 2019 10:41:50 AM UTC (1568112110)
LATEST: Tue 10 Sep 2019 10:41:50 AM UTC (1568112110)
VL805: up-to-date
CURRENT: 000137ad
LATEST: 000137ad

mattrixx
Surely that is not current ??

Surely that is not current ?? (I just bought this Pi4B the other day).

Michael
.

OK try this

sudo apt install libusb-1.0-0-dev build-essential
git clone https://github.com/mvp/uhubctl
cd uhubctl
make
sudo ./uhubctl

Does that show any hubs?

mattrixx
Just running a full update

Just running a full update over everything as per. https://www.raspberrypi.org/documentation/raspbian/updating.md Will I still need to apply that?

Michael
.

You can if you want to.

mattrixx
Unfortunately, still not

Unfortunately, still not working. Not getting the iLok Sharing error message, however, unable to use the iLok on the other machine (after "Stop using device" on the first).

BCM2711 detected
Dedicated VL805 EEPROM detected
BOOTLOADER: up-to-date
CURRENT: Thu 03 Sep 2020 12:11:43 PM UTC (1599135103)
LATEST: Thu 03 Sep 2020 12:11:43 PM UTC (1599135103)
FW DIR: /lib/firmware/raspberrypi/bootloader/default
VL805: up-to-date
CURRENT: 000138a1
LATEST: 000138a1

mattrixx
I think this is the result

I think this is the result you were looking to see ...

Current status for hub 2 [1d6b:0003 Linux 5.4.83-v7l+ xhci-hcd xHCI Host Controller 0000:01:00.0, USB 3.00, 4 ports, ppps]
Port 1: 02a0 power 5gbps Rx.Detect
Port 2: 02a0 power 5gbps Rx.Detect
Port 3: 02a0 power 5gbps Rx.Detect
Port 4: 02a0 power 5gbps Rx.Detect
Current status for hub 1-1 [2109:3431 USB2.0 Hub, USB 2.10, 4 ports, ppps]
Port 1: 0100 power
Port 2: 0100 power
Port 3: 0100 power
Port 4: 0103 power enable connect [088e:5036 iLok iLok 2088A22A_6B2F0234]
Current status for hub 1 [1d6b:0002 Linux 5.4.83-v7l+ xhci-hcd xHCI Host Controller 0000:01:00.0, USB 2.00, 1 ports, ppps]
Port 1: 0503 power highspeed enable connect [2109:3431 USB2.0 Hub, USB 2.10, 4 ports, ppps]

Michael
.

OK that shows it supports it and also your updates correctly updated all the firmware.

Could you again try plugging it in the different ports

mattrixx
To clarify.

To clarify.
If I disconnect from the iLok on the main machine. ie. "Stop using device"
Then connect to the iLok from my MacBook Pro. It says "iLok (in use by you) ... then launch software requiring the iLok... It is looking for the iLok and not working.

mattrixx
Confirmed... none of the

Confirmed... none of the ports are working

mattrixx
Only way to release it is to

Only way to release it is to reboot the Pi

Michael
.

OK i think you will need to buy one of the support hubs then

mattrixx
Really? Huh?

Really? Huh?

Michael
.

It was working, i havent changed anything in virtualhere and it doesnt work on your pi4. Im thinking maybe they have changed something on recent pi4 hardware? Thats why i think you need to use a supported hub instead and plug that into the pi.

OR try using the uhubctl program by turning off each port and see if that power-cycles. If that does power cycle then it might be a bug in virtualher

mattrixx
Ok, thanks again Michael. I

Ok, thanks again Michael. I will check things out and let you know what I can discern. Cheers

mattrixx
I have had some success.

I have had some success.
Ran - sudo uhubctl -l 1-1 -a 0
....and it is working. (Hoping I haven't just fluke it as I am pretty new to all of this).

However, when I reboot the Pi, it goes back to its previous behaviour. What's the process for getting (uhubctl -l 1-1 -a 0) to run automatically after a re-boot?
Cheers

mattrixx
Here's the result ------

Here's the result ------

pi@raspberrypi:~ $ sudo uhubctl -l 1-1 -a 0
Current status for hub 2 [1d6b:0003 Linux 5.4.83-v7l+ xhci-hcd xHCI Host Controller 0000:01:00.0, USB 3.00, 4 ports, ppps]
Port 1: 02a0 power 5gbps Rx.Detect
Port 2: 02a0 power 5gbps Rx.Detect
Port 3: 02a0 power 5gbps Rx.Detect
Port 4: 02a0 power 5gbps Rx.Detect
Sent power off request
New status for hub 2 [1d6b:0003 Linux 5.4.83-v7l+ xhci-hcd xHCI Host Controller 0000:01:00.0, USB 3.00, 4 ports, ppps]
Port 1: 0080 off
Port 2: 0080 off
Port 3: 0080 off
Port 4: 0080 off
Current status for hub 1-1 [2109:3431 USB2.0 Hub, USB 2.10, 4 ports, ppps]
Port 1: 0100 power
Port 2: 0100 power
Port 3: 0100 power
Port 4: 0103 power enable connect [088e:5036 iLok iLok 2088A22A_6B2F0234]
Sent power off request
New status for hub 1-1 [2109:3431 USB2.0 Hub, USB 2.10, 4 ports, ppps]
Port 1: 0000 off
Port 2: 0000 off
Port 3: 0000 off
Port 4: 0000 off
pi@raspberrypi:~ $

mattrixx
It's all working a treat!!

It's all working a treat!! ie It just works as you mentioned Michael.

Does anyone know how to make "sudo uhubctl -l 1-1 -a 0" run at boot up on the Pi?
I'll leave it booted permanently, but just in case it restarts.

Cheers

Michael
.

OK it might be a bug in the virtualhere server. It should basically automatically run uhubctl -l 1-1 -a 0 when you stop using the ilok so ill investigate....

P.S there is no reason to powercycle the ilok on pi boot, the ilok needs to be power-cycled on every "stop using" (onUnbind) event which is automatic normally on linux based servers

mattrixx
Ok cool. I think I understand

Ok cool. I think I understand that Michael.

But just to confirm. If I reboot my Pi, I need to SSH into it and run "uhubctl -l 1-1 -a 0" just once, then it's all good to go.
If I don't, I get the iLok sharing error on the second machine when attempting to use after releasing from the first.

Cheers

Michael
.

Really, thats weird.

Im doing a lot of testing today with iloks (on windows server at the moment) and when thats finished i'll start testing again on the pi

mattrixx
Thanks for the response

Thanks for the response Michael.
Let me know if you need me to send any logs etc.

mattrixx
Just as an aside.

Just as an aside.

Does the Virtualhere client software (OSX Mojave here) do anything to the USB architecture of the Mac? I've been have all sorts of issues mounting USB drives since I started messing around with VH.

mattrixx
I mean on the Mac itself. ie

I mean on the Mac itself. ie I have several USB drives, sticks, Native Instruments keyboards, Streamdeck.
If I unplug and replug, they won't mount or work.
Requires a re-boot of the Mac.

What and where are the extensions etc that VH puts in the system?

Michael
.

It does install a driver on the mac but it wont affect any usb stuff. But anyway you can uninstall the driver on the mac by doing this

1. Stop and exit the virtualhere client if it is running
2. Open Terminal and type

sudo rm -rf /Library/Extensions/vhhcd.kext
sync

Then reboot your mac

mattrixx
Thanks Micheal,

Thanks Micheal,
I have removed the .kext and the preference files and (local) USB is all working again. Must be a conflict with something else, as it's fine on my other machine.
However, VH is still working fine, without the kext file and now I am not losing contact with my local USB devices.
Thanks again.

Log in or register to post comments