How to re-enable a USB port after disabling it in sysfs?
0
votes
0
answers
144
views
I have disabled a USB (2.0) port on a production Linux system with this command:
How can I re-enable it?
echo 1 > /sys/bus/usb/devices/usb2/2-1/2-1.8/port/disable
It successfully disabled the 8th USB port on hub #1.
Devices plugged in this port are no longer enumerated.
But now, I want to re-enable it (without resetting the controller or rebooting the system).
I could not find the solution in documentation for the kernel. The folder 2-1.8
is gone, and also command echo "2-1.8" > /sys/bus/usb/devices/usb2/2-1/subsystem/drivers/usb/bind
fails with No such device error.
How can I re-enable it?
Asked by melonfsck - she her
(150 rep)
Jan 19, 2025, 10:05 AM