这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@av1934413
Copy link

termux-api-package-0.57 (1).zip

Grimler91 and others added 5 commits June 19, 2022 11:43
To start with we have termux_usb_get_fd_from_usbfs and
termux_usb_get_fd_from_ids, with which we can get a usb file
descriptor from an usbfs path (like /dev/bus/usb/001/003), or from
vendorId and productId (like 0x12ab, 0x12ab), respectively.
$PREFIX/libexec/termux-api has been renamed to termux-api-broadcast (a
symlink termux-api->termux-api-broadcast ensures backward
compatibility).
We then switch between different ways of handling stdout, and the
returned file descriptor for usb devices.
And fill it with stdout from termux-api app. In preparation for adding
new api_command modes where we want to parse the info, but not print
it to stdout.
@Grimler91 Grimler91 closed this Jul 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants