Skip to content
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

Serial port hot plug #49

Open
ZKXU opened this issue Mar 26, 2022 · 5 comments
Open

Serial port hot plug #49

ZKXU opened this issue Mar 26, 2022 · 5 comments
Labels
question Further information is requested

Comments

@ZKXU
Copy link

ZKXU commented Mar 26, 2022

Hi, does this lib support the serial port hot plug? if not, could you please help to give me some suggestion about how to implement this? Thanks for your support!

@lucafabbri lucafabbri added the question Further information is requested label Feb 21, 2024
@lucafabbri
Copy link
Collaborator

Could you provide more info about what your are trying to achieve?

@maks
Copy link

maks commented Mar 15, 2024

I think what is being asked for is to have a stream to listen to for changes in state for when a device is attached too or disconnected from a serial port.

@JabalnurIT
Copy link

yes, im troubled with this too

@ElHyperion
Copy link

I would also be interested in this functionality, so that I wouldn't have to periodically check all opened ports before I connect my device.

@maks
Copy link

maks commented May 1, 2024

Its Linux specific, but I was able to add basic support for my application using the udev package from Canonical to listen for USB device hotplug, though of course this won't work with non Linux OS's or non USB UARTs, but at least for my case it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

5 participants