​Josh,

Thanks for your response.

Here's the thing... the udev rule is triggering, and systemd is
running the /lib/udev/usb_modeswitch
program, which ends up running usb_modeswitch_dispatcher.  All is good
there, but the problem (I think) is as follows:

The working udev rule:
* Triggered when the USB device is attached
* Ends up executing /lib/udev/usb_modeswitch '/2-1'

The non-working catch-all udev rule:
* Triggered when the USB device **interface** is attached
* Ends up executing /lib/udev/usb_modeswitch '2-1/2-1:1.0'

I don't understand the inner-workings of the usb_modeswitch_dispatcher, but
why does one rule work and not the other?

Reply via email to