È possibile attivare / disattivare una porta USB specifica utilizzando il terminale in Ubuntu?
lsusb visualizza il seguente risultato:
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 2232:1020
Bus 002 Device 009: ID 0bc2:a013 Seagate RSS LLC
Bus 002 Device 003: ID 0a5c:219c Broadcom Corp.
Seagate è il mio disco rigido esterno. Posso spegnerlo nel terminale?
Ho provato a controllare un alimentatore USB (acceso / spento) con Linux . Ma sono confuso su ciò che dovrebbe essere sostituito al posto di usbX.
teecomando avrà anche l'effetto collaterale di stampare sullo schermo. Se vuoi,dd of=/sys/bus/...scriverà solo nel file e da nessun'altra parte.