mirror of
https://github.com/creamlike1024/EasyLPAC.git
synced 2026-11-30 18:47:45 +08:00
internal/usbhost is a native module in Kotlin that lists the CCID readers, asks for permission and hands over the connection's file descriptor; go-ccid speaks to the reader on it through usbfs. Android offers the ccid backend alone, and until it has an interface of its own shows a screen that only reads the card, with the identifiers obscured. Desktops keep their backends and interface. Read on a Redmi 7A (Android 16) with an ACR38U-CCID: the results match PC/SC's, and a PPS takes a refresh from 3.04 to 1.32 seconds. Writing to a card is untested.