Open
Description
Ok, so I'm reading https://www.collabora.com/news-and-blog/blog/2019/03/27/modern-usb-gadget-on-linux-and-how-to-integrate-it-with-systemd-part-2/ and i'm like.... this is nuts. (I have an uneasy truce with systemd on the best of days.)
Could gt
learn to start a service, the process being:
- load the scheme
- mount the ffs
- start the service
- enable the gadget
- Wait on the service (with signal forwarding?)
- Unmount the ffs
- remove the scheme
- return the return code of the service
It doesn't need to do full daemon management, just wrap another program to do the necessary usb init/etc.
For the record, I'm using gt with https://github.com/viveris/uMTP-Responder/ because I wrote my own script to do all this and having an actual declarative file is much nicer.
Metadata
Assignees
Labels
No labels
Activity