This reverts commit 5294123ac1.
We can revert this workaround since USB driver and HAL get ready
Test: USB works well in Android, bootloader, fastbootd and
flash station
Change-Id: Icfec04d22c604937b92cd892f5d429aee35e8ce9
This is to expose a common path to runtime. This is the gs201 version of the WCH change ag/15100070. It alias /dev/janeiro to /dev/edgetpu. This is a temporary measure to make /dev/edgetpu work. Once the TPU kernel driver is refactored to produce /dev/edgetpu by default, we'll remove this symlink.
Test: Manual. Verified edgetpu_logging works with modified path
Bug: 191193044
Change-Id: Icc70264c0c7d20ea7b6aa43903e109d9180dd022
This partially reverts commit 28140b7240.
USB will hold a wakelock preventing suspend to happen
Bug: 188796118
Signed-off-by: Thierry Strudel <tstrudel@google.com>
Change-Id: Idc583a025e429a5b5f13a94b732717e9491e4e55
Give TPU device path (/dev/janeiro) the same access permission as /dev/abrolhos. This change is similar
to what we did for WCH, but for PRO.
Bug: 191185522
Test: run_tflite_test_odc passes.
https://paste.googleplex.com/5466657955774464
Change-Id: If735e699c0c9ec842f915ebc7b59d0896f4c776c
This is a workaround to get adb working while USB is being brought up.
(cherry-pick from device/google/cloudripper)
Bug: 188672439
Signed-off-by: Pat Tjin <pattjin@google.com>
Change-Id: Ie114c1f67198a10a6c0dda49d1ed2ee85c8b2bf5
Hold wakelock on boot to mitigate b/188796118
(cherry-pick from device/google/cloudripper)
Bug: 188796118
Signed-off-by: Pat Tjin <pattjin@google.com>
Change-Id: Ia75d355eaed0d469f791f126aaed1c0059df0abd