usb_tracker

command
v0.0.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 3, 2026 License: CC0-1.0 Imports: 9 Imported by: 0

Documentation

Overview

Query USB device state: ports, functions, speed, and HAL versions.

Uses the generated IUsbManager proxy via the "usb" binder service. Enumerates USB ports with their capabilities, queries current USB function mode and link speed.

Build:

GOOS=linux GOARCH=arm64 CGO_ENABLED=0 go build -o build/usb_tracker ./examples/usb_tracker/
adb push build/usb_tracker /data/local/tmp/ && adb shell /data/local/tmp/usb_tracker

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL