Hello,
I have a setup with multiple iLoks connected to a hub on a Raspberry Pi server.
It was working fine but a few months ago it started acting weird...
The iLoks randomly disconnect from the client, sometimes when releasing one iLok all the others disconnect from the same user or other users, and sometimes without doing anything they disappear.
At first I thought the Raspberry was the culprit, but after upgrading my setup to a brand new Raspi 5 the problem is still there...
Do you have any feedback on such issues?
Complete configuration :
Raspberry Pi 5 4GB
OS: Debian GNU/Linux 12 (bookworm)
Kernel: Linux 6.6.31+rpt-rpi-2712
VH Server Version : 4.7.0
HUB : DLink DUB-H7
Thanks
.
Have a look in /var/log/syslog (or journalctl) about the time these issues happen. Does it have any interesting messages in there? Might be some hub issue.
.
Hi!
I installed syslog yesterday to check this (too busy before that...)
This morning there were 2 unexpected disconnections.
First arround 9:46am, second arround 10:46am .(coincidence I think, cause nothing at 11:46am)
Each time, almost all USB dongles disappear and then reappear in the client...
Not every single one though...
I made a copy of syslog and purged it of what was from before this morning.
Can you check this for me? I don't know how to interpret this.
Thanks
.
Thanks for the log. I see two issues
A possible resolution -> Turn off automatic iLok power cycling like this: In the VirtualHere client, right click on one of the iLoks and select Properties->Custom Event Handler... and paste in exactly this:
onUnbind.$VENDOR_ID$.$PRODUCT_ID$=
then press OK. That will stop powercycling the iLok and may prevent the hub driver from crashing.
.
Ok, but isn't it going to prevent us from using it on another computer ?
Cause we switch iloks upon different computers depending on our needs ...
.
What hub do you have plugged into the pi5? Does it support per-port-power-switching?
.
Yes, it’s on the first message.
DLink DUB-H7
It used to work very well.
I changed for a Pi5 because I thought my Pi3B+ was faulty. It seems thats not the case.
.
OK its your hub i think. You can see that virtualhere asks it to switch power
switchHubPortPower failed -1
andit returns an error (-1) then it resets its internal hub itself. Something is wrong with the hubBut this hub has been ok for…
But this hub has been ok for years.
So maybe something's broken but else it's a software pb (OS based maybe).
Do you have a list of supported HUBs ?
.
I sell a per-port-power-switching hub https://modularkvmip.com/product/usb-hub/ or you can use one from https://github.com/mvp/uhubctl