Skip to content

Create usbip_systemd_monitor.sh #1

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

hansij66
Copy link

@hansij66 hansij66 commented Mar 3, 2024

Issue/Problem to solve:
When the usbipd server is rebooted;
When the USB device at usbipd server is removed (and re-inserted) The binding of uspip client with the server USB device gets disconnected The binding does not auto recover

This utility will ONLY restore the binding for
dynamic unit files which have been started
Unit files which have not been enabled/started, will be ignored

Execute this bash script on regular basis, eg via cron.d

Issue/Problem to solve:
When the usbipd server is rebooted;
When the USB device at usbipd server is removed (and re-inserted)
The binding of uspip client with the server USB device gets disconnected
The binding does not auto recover

This utility will ONLY restore the binding for
dynamic unit files which have been started
Unit files which have not been enabled/started, will be ignored

Execute this bash script on regular basis, eg via cron.d
@KaiStarkk
Copy link

Ideally we would want the client to prompt its subscribers.

Wish this was just part of usbip upstream

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