I think I'm missing something on this case. I wanna disable all the USB ports of a machine (to avoid somebody plugs a mouse or a keyboard and ruin everything in it) As I saw on other topics, for Kernel above 2.6.38, I have to use this :
echo "0" > "/sys/bus/usb/devices/usbX/power/autosuspend_delay_ms"
echo "auto" > "/sys/bus/usb/devices/usbX/power/control"
The script is technically working, settings are good in those files but my ports are still working as well. What am I missing ?
Thank you !