Skip to content

Instantly share code, notes, and snippets.

@jasonrogena
Created January 18, 2014 08:46
Show Gist options
  • Save jasonrogena/8487879 to your computer and use it in GitHub Desktop.
Save jasonrogena/8487879 to your computer and use it in GitHub Desktop.
SUBSYSTEM=="usb", SYSFS{idProduct}=="1446", SYSFS{idVendor}=="12d1", RUN+="/lib/udev/usb_modeswitch --vendo 0x12d1 --product 0x1446 --type option-zerocd"
SUBSYSTEMS=="usb", ATTRS{modalias}=="usb:v12D1p1003*", KERNEL=="ttyUSB*", ATTRS{bInterfaceNumber}=="00", ATTRS{bInterfaceProtocol}=="ff", NAME="ttyUSB_utps_modem"
SUBSYSTEMS=="usb", ATTRS{modalias}=="usb:v12D1p1003*", KERNEL=="ttyUSB*", ATTRS{bInterfaceNumber}=="01", ATTRS{bInterfaceProtocol}=="ff", NAME="ttyUSB_utps_pcui"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment