The C Source, Patches and (shudder!) Bugs
Post Reply
Posts: 1
Joined: Tue Jan 08, 2019 11:30 am

[PATCH] restart systemd service for modeswitch dispatcher

Post by 0xa5a5 » Tue Jan 08, 2019 11:52 am

When disconnecting and reconnecting the USB dongle before usb-modeswitch terminates, the usb-modeswitch@.service unit might not be started for the particular device (because the oneshot service state is still activating). Consequently, the modeswitch would not happen. As a workaround we can restart the service unit instead.
(1.36 KiB) Downloaded 54 times

Post Reply