Thanks for your time and for your ideas @brendanhoar.
My HDD is definitely UAS device, so I tried to disable it. Here’s what I did:
lsmod | grep -i usb_storage;
usb_storage 81920 1 uas
lsusb
lsusb -t
Port x: Dev y, If 0, Class=Mass Storage, Driver=uas, 5000M
rmmod didn’t work for me in any combination
rmmod usb-storage
rmmod: ERROR: Module usb_storage is in use by: uas
sudo rmmod -f usb_storage
rmmod: ERROR: could not remove ‘usb_storage’: Resource temporarily unavailable
so I had to use modprobe
sudo modprobe -r uas usb_storage
here I get a notfication in dom0 that HDD is removed
sudo modprobe usb-storage quirks=HDD-ID
lsusb -t
Port x: Dev y, If 0, Class=Mass Storage, Driver=, 5000M???
So it doesn’t give me Driver=usb-storage
From there I tried to attach it to win 7 qube via qvm-usb, but nothing happens.
If i try to physically reattach HDD, it is somehow expected not to be recognized by lsusb? No traces of quirks in sudo dmesg as well.
The only way to get HDD back is to restart the qube which automatically gives back uas (I don’t dare to permanently disable uas), so I am pretty lost at that point how to disable uas for HDD, yet it to be visible somehow so I could try to attach it as usb-storage to win7 cube…
But then it turned out actually that……