Views:
51,369β
Votes: 3β
β
Solution
Tag :
usb
Link:
π See Original Answer on Ask Ubuntu β§ π
URL:
https://askubuntu.com/q/1182237
Title:
Is it possible to turn off a specific USB port so it doesn't accept any device?
ID:
/2019/10/19/Is-it-possible-to-turn-off-a-specific-USB-port-so-it-doesn_t-accept-any-device_
Created:
October 19, 2019
Edited: June 12, 2020
Upload:
December 22, 2024
Layout: post
TOC:
false
Navigation: false
Copy to clipboard: false
Here is a plug & play (literally) option:
Itβs a good idea if you want to avoid pop-up messages and file browsers every time you plug your phone in for charging only.
This is also more fool-proof than the software approach because software that turns off the port for data can be reversed by software that turns it back on. Or it might be reinitialized during suspend/resume or some other process you didnβt foresee.