Skip to content

Instantly share code, notes, and snippets.

@akirayou
Last active August 8, 2018 04:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save akirayou/4de9a0e5e6766d6427d030b9f25f732e to your computer and use it in GitHub Desktop.
Save akirayou/4de9a0e5e6766d6427d030b9f25f732e to your computer and use it in GitHub Desktop.
How to use LTE modem NTT L03F
#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