Last active
August 8, 2018 04:41
-
-
Save akirayou/4de9a0e5e6766d6427d030b9f25f732e to your computer and use it in GitHub Desktop.
How to use LTE modem NTT L03F
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
#must be in /etc/udev/rules.d directory | |
#/dev/ttyNTTLTE will be able to recive AT command | |
ACTION=="add",\ | |
ATTRS{idVendor}=="1004",\ | |
ATTRS{idProduct}=="6367",\ | |
RUN+="/usr/sbin/usb_modeswitch --std-eject --default-vendor 0x1004 --default-product 0x6367 --target-vendor 0x1004 --target-product 0x6366" | |
ACTION=="add|change",\ | |
ATTRS{idVendor}=="1004",\ | |
ATTRS{idProduct}=="6366",\ | |
RUN+="/sbin/modprobe usbserial vendor=0x1004 product=0x6366" | |
ATTRS{../idVendor}=="1004",\ | |
ATTRS{../idProduct}=="6366",\ | |
ATTRS{bNumEndpoints}=="03",\ | |
ATTRS{bInterfaceNumber}=="01",\ | |
SYMLINK+="ttyNTTLTE" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment