termux / termux/termux-api

libusb support improvement

Open
#349 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Java
Stars
4.3k
Forks
920
PR merge metrics
No merged PRs in 30d

Description

Feature description

I see the details of your libusb access implementation and I think, it's possible to significantly improve it by adding the device enumeration and hot plug/unplug events support.
You can simply use already created components: see next section.

Reference implementation

https://github.com/green-green-avk/LibUsbManager / https://github.com/green-green-avk/libusb-1.0.23-android-helper-service-patch

Tested as a part of https://github.com/green-green-avk/AnotherTerm

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the existing libusb access implementation and compare it with the linked LibUsbManager and libusb-1.0.23-android-helper-service-patch reference implementations. Confirm the required device enumeration and hot plug/unplug behavior against the AnotherTerm usage; done means both capabilities work in the Android add-on.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.