Search found 2 matches

by sandman
27 Jul 2016, 20:36
Forum: Setup Discussion
Topic: Syntax for RUN in UDEV rules?
Replies: 6
Views: 7143

Re: Syntax for RUN in UDEV rules?

Aha, thanks. That clears up things quite a bit. :-) The reason to why I was diving into this was that this rule: # Generic entry for all Huawei devices ATTRS{idVendor}=="12d1", ATTR{bInterfaceNumber}=="00", ATTR{bInterfaceClass}=="08", RUN+="usb_modeswitch '%b/%k'&...
by sandman
27 Jul 2016, 10:07
Forum: Setup Discussion
Topic: Syntax for RUN in UDEV rules?
Replies: 6
Views: 7143

Syntax for RUN in UDEV rules?

Hi all, I'm trying to get a better understanding for some things related to USB_ModeSwitch and UDEV. And I'm a bit confused by the RUN part of the rules: RUN+="usb_modeswitch '%b/%k' To see what the %b and %k were, I tried to touch the values to a file. That gave me, for my modem, that %b was 1...