mik3y / usb-serial-for-android

Android USB host serial driver library for CDC, FTDI, Arduino and other devices.
MIT License
4.72k stars 1.57k forks source link

Add support for Cr50 (Chromebook CCD) #540

Closed phcoder closed 9 months ago

kai-morich commented 9 months ago

please provide some references, e.g. where and how this can be used

phcoder commented 9 months ago

please provide some references, e.g. where and how this can be used

This is explained at https://chromium.googlesource.com/chromiumos/third_party/hdctools/+/HEAD/docs/ccd.md#raw-access

This is mostly raw access and gives access to cr50 console, serial console and EC console. I use it to debug coreboot on my Chromebook.

kai-morich commented 9 months ago

please do not implement unsupported control line methods and but add UnsupportedOperationException stubs similar to GsmModemSerialDriver. please add above link into the sourcefile. When googeling for Cr50, users will not find related info. What about naming this driver ChromiumOsCcd ?

phcoder commented 9 months ago

Done with stubs and renamed to ChromeCcd

kai-morich commented 9 months ago

~the build failed, please add missing method~