Logo
Explore Help
Register Sign In
Evolution-x-devices/device_google_gs201
2
0
Fork 0
You've already forked device_google_gs201
mirror of https://github.com/Evolution-X-Devices/device_google_gs201 synced 2026-01-27 09:39:39 +00:00
Code Issues Packages Projects Releases Wiki Activity
Files
vic
device_google_gs201/disable_contaminant_detection.sh

7 lines
179 B
Bash
Raw Permalink Normal View History

Disable USB contaminant detection when the disable flag is true (ported from 6b1106498e1164f46b9a895ed2258a20a0c7a7b5) Bug: 244658328 Signed-off-by: Kyle Tso <kyletso@google.com> Change-Id: I9d17748d24f3c402deaddb8a9bca89f8ef606056
2022-09-28 11:00:20 +08:00
#!/vendor/bin/sh
Update i2c device paths Update i2c device paths with static bus numbers. Also remove some redundant paths. Bug: 323447554 Test: Boot to home Change-Id: Id3f0fccd39b70d247c0d7a17a1944223619ec40e
2024-02-05 20:00:25 +08:00
max77759tcpc_path=/sys/devices/platform/10d60000.hsi2c/i2c-13/13-0025
if [ -d $max77759tcpc_path ]; then
echo 0 > $max77759tcpc_path/contaminant_detection;
fi
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.3 Page: 25ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API