Skip to content

touchpad: Show IC type and firmware version #91

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 0 commits into from
Mar 24, 2025
Merged

Conversation

JohnAZoidberg
Copy link
Member

Example on Framework 13:

> framework_tool --version
[...]
Touchpad
  IC Type:           0274
  Firmware Version: v0704

@JohnAZoidberg
Copy link
Member Author

@aokblast @lwhsu would you like to check if it can work on FreeBSD?
It should be able to work on every laptop we've shipped so far.

@aokblast
Copy link

aokblast commented Mar 22, 2025

I see chromium_ec from framework_lib use ioperm but we don't have ioperm in our libc. So the case as camera branch

@JohnAZoidberg
Copy link
Member Author

JohnAZoidberg commented Mar 22, 2025

@aokblast please refer to the readme for how to build on FreeBSD: https://github.com/frameworkcomputer/framework-system?tab=readme-ov-file#freebsd

And then the can run with sudo ./target/debug/framework_tool --versions

@aokblast
Copy link

I think it doesn't work.
9C5816E2-72EE-47F7-B482-1533DDDB2797_1_102_o

@JohnAZoidberg
Copy link
Member Author

Can you run with -vvv to add more verbose logging, please?
We just need hidapi for this to work. Maybe it behaves slightly differently on freebsd.
It could be that usage page isn't correctly reported.

@aokblast
Copy link

@JohnAZoidberg
Copy link
Member Author

Something's Wrong with hidapi. It doesn't use hidraw on freebsd. So it can only detect USB devices.

I made a workaround
https://github.com/FrameworkComputer/framework-system/tree/freebsd-hidraw

@JohnAZoidberg
Copy link
Member Author

Works fine on windows.

@JohnAZoidberg JohnAZoidberg force-pushed the touchpad branch 2 times, most recently from 8607f4a to 64c5561 Compare March 24, 2025 16:09
@JohnAZoidberg JohnAZoidberg merged commit 64c5561 into touchscreen Mar 24, 2025
5 of 6 checks passed
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