Skip to content
This repository was archived by the owner on Jan 9, 2026. It is now read-only.

Add crossplatform device discovery & serial autoconnection/disconnection#3

Merged
hrfarmer merged 5 commits intomainfrom
crossplatform-discovery
Mar 17, 2025
Merged

Add crossplatform device discovery & serial autoconnection/disconnection#3
hrfarmer merged 5 commits intomainfrom
crossplatform-discovery

Conversation

@hrfarmer
Copy link
Copy Markdown
Member

Closes #1

This PR makes the search for the ProvesKit serial port work on all platforms by searching for the VID and PID. I also made the connection/disconnection to the serial port happen automatically without needing to refresh, since needing to manually select a device isn't necessary anymore.

@hrfarmer
Copy link
Copy Markdown
Member Author

I've gotten this PR to work on macOS & Windows, however on Arch Linux I'm getting a permission denied error. If someone else on Linux is able to test and see if they get the same error I would appreciate it, because I'm not certain if it's something to do with my machine or not

image

@Nikko-Adrian-Pacleb
Copy link
Copy Markdown

I don't have a linux device with me but just curious. Where was the linux tested on? Is it on an actual device or in a virtual machine?

@hrfarmer
Copy link
Copy Markdown
Member Author

I've gotten this PR to work on macOS & Windows, however on Arch Linux I'm getting a permission denied error. If someone else on Linux is able to test and see if they get the same error I would appreciate it, because I'm not certain if it's something to do with my machine or not

image

after doing some googling it seems like this is just a linux thing & you have to add yourself to a certain usergroup to not need sudo when connecting to serial, so ill just go ahead with this & update the readme

@hrfarmer hrfarmer merged commit fe7874b into main Mar 17, 2025
3 checks passed
@hrfarmer hrfarmer deleted the crossplatform-discovery branch March 17, 2025 22:15
@hrfarmer
Copy link
Copy Markdown
Member Author

I don't have a linux device with me but just curious. Where was the linux tested on? Is it on an actual device or in a virtual machine?

it was tested on an actual device, I have a laptop with windows and linux dualboot set up

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make search for port names universal

2 participants