Files
creamlike1024 d0402318dc feat(android): read cards through USB CCID readers
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.
2026-11-22 21:03:48 +08:00
..