Its already there and automatically triggered, but you need a server or hub that supports per port power switching. Some synologys support this and the pi supports this on some of its usb ports..
Yes i was going to recommend that list except that, i have found e.g the Amazon Basics hub they recommend doesn't work anymore with per port power switching (the one i ordered about 6 months ago does, but the another customer just ordered one recently and it didnt work, amazon must have changed the insides for the hub to another manufacturer)
If you plug a per port power switched hub in then virtualhere server WILL automatically power off/on the hub so that ilok can be used
I found the same issue on recent Amazon Basics hub ... same info about the HU3770V1, amazon seems to have change the board without changing the version ... :/
Yes its strange, there is a market for a USB Hub device that follows the usb spec with per port power switching but i dont know of any manufacturer that is producing such a hub (nevermind actually following the USB spec as they should!) They must be trying to save production costs if they can save a trace or two...
The only device i know to work for sure as of now is the raspberry pi 2 and 3
USB D-Link DUB-H7 SILVER behind RT1900ac seems to send power on / off command because the led switch on/off but not long enough ... still have the message.
Is there a way to set the duration of the usb reset with onClientBeforeUnbind ?
In fact connected to the mac i can switch on and off the power supply :
Fred-MacBookProMobile:~ admin$ uhubctl -a off -p 4
Current status for hub 20-2, vendor 2001:f103, 7 ports
Port 4: 0103 power enable connect [0000:0000]
Sent power off request
New status for hub 20-2, vendor 2001:f103, 7 ports
Port 4: 0000 off
Fred-MacBookProMobile:~ admin$ uhubctl -a on -p 4
Current status for hub 20-2, vendor 2001:f103, 7 ports
Port 4: 0000 off
Sent power on request
New status for hub 20-2, vendor 2001:f103, 7 ports
Port 4: 0100 power
Fred-MacBookProMobile:~ admin$ uhubctl -a off -p 4
Current status for hub 20-2, vendor 2001:f103, 7 ports
Port 4: 0103 power enable connect [0000:0000]
Sent power off request
New status for hub 20-2, vendor 2001:f103, 7 ports
Port 4: 0000 off
It's virtualhere that restart to fast the power supply so the previous computer is still memorized ... could you add more time after the usb port is set free ?
Wow, thats a surprise, i didnt think it would make a difference. The default power cycle waits 500ms, perhaps i should switch that to a longer value....
I tested several time, it's working like a charm !
Does it related to USB-persist ? ( found that properties while browsing device properties ! /sys/bus/usb/devices/.../power/ ...) https://www.kernel.org/doc/Documentation/usb/persist.txt
Product ID: 0x0101
Vendor ID: 0x1a40 (TERMINUS TECHNOLOGY INC.)
Version: 1.11
Speed: Up to 480 Mb/sec
Location ID: 0x14200000 / 21
Current Available (mA): 500
Current Required (mA): 100
Extra Operating Current (mA): 0
I'm having a related question and problem (let me know if I should start a new thread)
I have a windows 10 virtualhere server running as a service on a desktop and the client running on a Windows 10 laptop, all on a local network. I'm using the free version of the server if that matters. VirturalHere seems set up correctly, I can see the iLok and can use it, but I get the dreaded iLok sharing error even when the iLok is plugged directly into the desktop tower and not a hub.
Does windows 10 support power switching?
Even when I physically disconnect and reconnect the iLok I still get the error. I actually haven't been able to use the iLok successfully once through virtualhere on my laptop. I get the sharing error every time. Am I doing something wrong or will the iLok just not work on the windows server?
Being able to access the iLok plugged into my desktop on my laptop while on my home network is my main motivation for using VirtualHere, so any help figuring this out would be appreciated. Thanks in advance!
No, windows or osx as the server does not support port power switching, there is no way to access the actual hub on those operating systems. Only linux can do that.
Aw ok. At least I know I'm not doing anything wrong now. I've been thinking about getting a raspberry pi for awhile, now I have a good excuse to buy one.
I have an ILok licenser connected to a Synology NAS running the VH server, but I always have to manually do a port=off/on cycle to get it working.
The clients OS is Win10.
Yes its all still functional. Try updating your virtualhere server to the latest (the synology app center has an older version of virtualhere) https://www.virtualhere.com/nas
.
Its already there and automatically triggered, but you need a server or hub that supports per port power switching. Some synologys support this and the pi supports this on some of its usb ports..
I have ilok over on an amazon
I have ilok over on an amazon basic switch on my router synology RT1900AC, do you mean if i plug directly it will reset usb ?
Ok just found a list of compatible hub :
https://github.com/mvp/uhubctl
And thank, i have an old Hub USB D-Link DUB-H7, i will try when i get back home...
Thank you Michael !
.
Yes i was going to recommend that list except that, i have found e.g the Amazon Basics hub they recommend doesn't work anymore with per port power switching (the one i ordered about 6 months ago does, but the another customer just ordered one recently and it didnt work, amazon must have changed the insides for the hub to another manufacturer)
If you plug a per port power switched hub in then virtualhere server WILL automatically power off/on the hub so that ilok can be used
In fact i have a Hub USB D
In fact i have a Hub USB D-Link DUB-H7, ** BLACK ** not working ... looking ads for an old usb hub Hub USB D-Link DUB-H7 SILVER
additionnal info :
http://www.gniibe.org/development/ac-power-control-by-USB-hub/
I found the same issue on recent Amazon Basics hub ... same info about the HU3770V1, amazon seems to have change the board without changing the version ... :/
.
Yes its strange, there is a market for a USB Hub device that follows the usb spec with per port power switching but i dont know of any manufacturer that is producing such a hub (nevermind actually following the USB spec as they should!) They must be trying to save production costs if they can save a trace or two...
The only device i know to work for sure as of now is the raspberry pi 2 and 3
USB D-Link DUB-H7 SILVER
USB D-Link DUB-H7 SILVER behind RT1900ac seems to send power on / off command because the led switch on/off but not long enough ... still have the message.
Is there a way to set the duration of the usb reset with onClientBeforeUnbind ?
.
I think that hub was on the list (https://github.com/mvp/uhubctl) but i recommend a pi as im not sure that list is accurate anymore...
Hello,
Hello,
In fact connected to the mac i can switch on and off the power supply :
Fred-MacBookProMobile:~ admin$ uhubctl -a off -p 4
Current status for hub 20-2, vendor 2001:f103, 7 ports
Port 4: 0103 power enable connect [0000:0000]
Sent power off request
New status for hub 20-2, vendor 2001:f103, 7 ports
Port 4: 0000 off
Fred-MacBookProMobile:~ admin$ uhubctl -a on -p 4
Current status for hub 20-2, vendor 2001:f103, 7 ports
Port 4: 0000 off
Sent power on request
New status for hub 20-2, vendor 2001:f103, 7 ports
Port 4: 0100 power
Fred-MacBookProMobile:~ admin$ uhubctl -a off -p 4
Current status for hub 20-2, vendor 2001:f103, 7 ports
Port 4: 0103 power enable connect [0000:0000]
Sent power off request
New status for hub 20-2, vendor 2001:f103, 7 ports
Port 4: 0000 off
It's virtualhere that restart to fast the power supply so the previous computer is still memorized ... could you add more time after the usb port is set free ?
.
I think you are staying virtualhere is powering off then powering on the port too quickly.
I dont think that is the case. VirtualHere powers off the port waits 500ms , then powers on the port.
What kernel version is your rt1900ac running? do "uname -a"
Maybe its a really old kernel that doesnt properly support the power cycle code. If you tell me the kernel version it might help diagnose the issue.
You can m
> uname -a
> uname -a
Linux 3.6.11+ #6542 SMP Tue Oct 3 16:23:26 CST 2017 armv7l GNU/Linux synology_northstarplus_rt1900ac
You can power off/ on the
You can power off/ on the port as single instructions like this
Right click on the iLok and select "Custom Event Handler..." then enter
port=off
then click ok.
Then to turn the port back on again do
port=on
Now you can control the interval between power off and power on
it just worked fine ! just
it just worked fine ! just need to automate this in a script ! :)
.
Wow, thats a surprise, i didnt think it would make a difference. The default power cycle waits 500ms, perhaps i should switch that to a longer value....
I tested several time, it's
I tested several time, it's working like a charm !
Does it related to USB-persist ? ( found that properties while browsing device properties ! /sys/bus/usb/devices/.../power/ ...)
https://www.kernel.org/doc/Documentation/usb/persist.txt
.
Can you try the power off/ on with the Amazon basics hub and tell me if it works
The ilok light switched off
The ilok light switched off and on very well, but i still have the message from the ilok manager ! :(
For the record :
For the record :
USB 2.0 Hub: https://www.amazon.com/AmazonBasics-4-Port-USB-2-0-Ultra-Mini/dp/B003M0…
Product ID: 0x0101
Vendor ID: 0x1a40 (TERMINUS TECHNOLOGY INC.)
Version: 1.11
Speed: Up to 480 Mb/sec
Location ID: 0x14200000 / 21
Current Available (mA): 500
Current Required (mA): 100
Extra Operating Current (mA): 0
.
OK i thought you might have had the amazon basics hub on the uhubctl list, but yes that 2.0 hub wont work with power switching..
ilok on Windows 10 server
I'm having a related question and problem (let me know if I should start a new thread)
I have a windows 10 virtualhere server running as a service on a desktop and the client running on a Windows 10 laptop, all on a local network. I'm using the free version of the server if that matters. VirturalHere seems set up correctly, I can see the iLok and can use it, but I get the dreaded iLok sharing error even when the iLok is plugged directly into the desktop tower and not a hub.
Does windows 10 support power switching?
Even when I physically disconnect and reconnect the iLok I still get the error. I actually haven't been able to use the iLok successfully once through virtualhere on my laptop. I get the sharing error every time. Am I doing something wrong or will the iLok just not work on the windows server?
Being able to access the iLok plugged into my desktop on my laptop while on my home network is my main motivation for using VirtualHere, so any help figuring this out would be appreciated. Thanks in advance!
.
No, windows or osx as the server does not support port power switching, there is no way to access the actual hub on those operating systems. Only linux can do that.
Time for pi
Aw ok. At least I know I'm not doing anything wrong now. I've been thinking about getting a raspberry pi for awhile, now I have a good excuse to buy one.
Thanks!
Still functional?
Is this auto trigger feature still functional?
I have an ILok licenser connected to a Synology NAS running the VH server, but I always have to manually do a port=off/on cycle to get it working.
The clients OS is Win10.
Nils
.
Yes its all still functional. Try updating your virtualhere server to the latest (the synology app center has an older version of virtualhere) https://www.virtualhere.com/nas
.
OK, I will try, thanks!
Do I have to deinstall the old package before updating?
Nils
.
No
.
Now it works great! Thanks a lot!
Nils