Skip to content

Get information from USI Stylus #118

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 2, 2025
Merged

Get information from USI Stylus #118

merged 2 commits into from
May 2, 2025

Conversation

JohnAZoidberg
Copy link
Member

@JohnAZoidberg JohnAZoidberg commented Apr 30, 2025

On Windows and Linux:

> sudo framework_tool --versions
[...]
Stylus
  Serial Number:    28C1A00-12E71DAE
  Vendor ID:        32AC (Framework Computer)
  Product ID:       002B (Framework Stylus)
  Firmware Version: FF.FF
[...]

Only on Linux:

> sudo framework_tool --stylus-battery
Stylus Battery Strength: 77%

@JohnAZoidberg JohnAZoidberg force-pushed the usi-stylus branch 4 times, most recently from 1e65f8d to f91c09f Compare April 30, 2025 11:29
Only works on our touchscreen because report IDs are hardcoded instead
of derived from report descriptor.

```
> sudo framework_tool --versions
[...]
Stylus
  Serial Number:    28C1A00-12E71DAE
  Vendor ID:        32AC (Framework Computer)
  Product ID:       002B (Framework Stylus)
  Firmware Version: FF.FF
[...]
```

Signed-off-by: Daniel Schaefer <dhs@frame.work>
Tested on Linux with USI stylus.
Hardcoded to our firmware with report ID. Guaranteed won't work on other
systems.
I assume it will work on Windows with USI.
It won't work with MPP styluses.

Signed-off-by: Daniel Schaefer <dhs@frame.work>
@JohnAZoidberg
Copy link
Member Author

Tested again on windows and linux

@JohnAZoidberg JohnAZoidberg merged commit b697c88 into main May 2, 2025
6 checks passed
@JohnAZoidberg JohnAZoidberg deleted the usi-stylus branch May 2, 2025 02:56
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.

1 participant