freeing device file handle upon device unplugging?
Alexander Stein
alexander.stein at systec-electronic.com
Tue Jul 20 06:14:05 UTC 2010
Hello Adam,
Am Montag, 19. Juli 2010, 18:42:56 schrieb Adam Lackorzynski:
> > This works great. Even the reconnection runs smoothly. There is just one
> > small drawback which might not be solvable: If the message box appears
> > that the device can't be opened, it doesn't not get "removed" if there
> > is a reconnection. On other words, if there is no new output one doesn't
> > know that there is a reconnection.
>
> Hmm, (unfortunately) works for me. There's even code that handles the
> window removal (right below the quoted patch snippet). I've committed
> the patch to the repo, could you maybe retry with this version?
The version from the hg repo works fine. Also the windows gets removed on
reconnection. Thanks a lot!
Alexander
More information about the minicom-devel
mailing list