Created
August 24, 2017 08:57
-
-
Save UedaTakeyuki/febaa67a1a02c1aeddb2e3f9f95b192e to your computer and use it in GitHub Desktop.
udev rule for usb 3g dongle L-02a
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# for FOMA L-02A | |
# USB Storage (Zero Installation) | |
KERNEL=="sr[0-9]*", ENV{ID_VENDOR_ID}=="1004", ENV{ID_MODEL_ID}=="610c", RUN+="/usr/bin/eject /dev/$kernel" | |
# USB Modem (ttyUSB) | |
SUBSYSTEM=="usb", ATTR{idVendor}=="1004", ATTR{idProduct}=="6109", RUN+="/sbin/modprobe usbserial vendor=0x$attr{idVendor} product=0x$attr{idProduct}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment