Disclaimer: Linux noob here
Is there a way to power-off (and later power-on) a specific USB port? (=> for shutting down connected devices)
I just recently installed proxmox with a Ubuntu Server VM. I also use a USB HDD Case for external HDDs, which are not always needed however - I'd prefer a script I manually have to execute when I need access to the data on those HDDs, as they are kind of loud and in the middle of my living room. The Case supports a *sync* mode, where the Case shuts down if the PC it's conntected to is shut down or disconnected from USB.
I'm assuming the power-off has to come from the Host. I tried `echo '2-3' > /sys/bus/usb/drivers/usb/unbind`, which removed the usb device from the host, but the HDD Case still didn't shut down. Actually, I was even able to access the HDDs from the guest's filesystem (mounted on e.g. /media/
Is there a way to power-off (and later power-on) a specific USB port? (=> for shutting down connected devices)
I just recently installed proxmox with a Ubuntu Server VM. I also use a USB HDD Case for external HDDs, which are not always needed however - I'd prefer a script I manually have to execute when I need access to the data on those HDDs, as they are kind of loud and in the middle of my living room. The Case supports a *sync* mode, where the Case shuts down if the PC it's conntected to is shut down or disconnected from USB.
I'm assuming the power-off has to come from the Host. I tried `echo '2-3' > /sys/bus/usb/drivers/usb/unbind`, which removed the usb device from the host, but the HDD Case still didn't shut down. Actually, I was even able to access the HDDs from the guest's filesystem (mounted on e.g. /media/