os-issue-tracker icon indicating copy to clipboard operation
os-issue-tracker copied to clipboard

Explore if (ab)using water protection in USB controller can be used to enhance USB restrictions

Open flawedworld opened this issue 3 years ago • 2 comments

USB port could be electrically disabled if we can do this, similar to how it works on iPhones. May or may not be feasible.

flawedworld avatar Oct 04 '22 16:10 flawedworld

My Graphene-based Pixel 5a already does this, or at least displays a message saying that it has disabled the USB port after moisture got into it.

SapientHetero avatar Oct 16 '22 17:10 SapientHetero

The feature request here is that water protection feature could potentially be manually invoked when you disable USB accessories in Security options to further disable the USB-C port instead of just blocking the data lines.

x86pup avatar Oct 16 '22 17:10 x86pup

Why would you use water protection for this? Is it not possible to just implement separately?

flexagoon avatar Oct 23 '22 10:10 flexagoon

Because it's already available infrastructure that can possibly be made to work with kernel USB restrictions, instead of rebuilding the wheel.

x86pup avatar Oct 23 '22 16:10 x86pup