• custom usb-seriel udev relus for compatible usb-seriel devices using kermit


    custom usb-seriel udev relus for compatible usb-seriel devices

    add-pl2303.rules:

      

    ACTION== "add",KERNEL=="ttyUSB*", ATTRS{idVendor}=="067b", ATTRS{idProduct}=="2303", MODE:="0777", SYMLINK+="ttypl2303"

    remove-pl2303.rules

    ACTION== "remove",KERNEL=="ttyUSB*", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", MODE:="0777", SYMLINK+="ttypl2303"

    add-ftdi.rules

    ACTION== "add",KERNEL=="ttyUSB*", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", MODE:="0777", SYMLINK+="ttypl2303"

    remove-ftdi.rules

    ACTION== "remove",KERNEL=="ttyUSB*", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", MODE:="0777", SYMLINK+="ttypl2303"

    install kermit

    $ sudo apt-get install ckermit

    configure kermit under ~/.kermrc,  as follows:

    #cat ~/.kermrc
    set line /dev/ttypl2303
    set speed 115200
    set carrier-watch off
    set handshake none
    set flow-control none
    robust
    set file type bin
    set file name lit
    set rec pack 1000
    set send pack 1000
    set window 5

  • 相关阅读:
    .net 调用SAP RFC的几种方法
    SAP FI 科目代码
    FI 常用表
    SD 相关表
    20170328 技巧-记事本001
    20170326 ABAP调用外部webservice实例
    20170326 ABAP调用外部webservice 问题
    20170325 ABAP调用webservice
    SAP 第四代增强-BTE
    经济学中的破窗理论
  • 原文地址:https://www.cnblogs.com/lianghong881018/p/10265191.html
Copyright © 2020-2023  润新知