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

Posted lianghong881018

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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

 












以上是关于custom usb-seriel udev relus for compatible usb-seriel devices using kermit的主要内容,如果未能解决你的问题,请参考以下文章

被正则表达式的 re.findall 函数卡住了[重复]

mybatis 在遇到查询属性同名时的解决方法

linux eth0与eth1调换

udev规则以及编写

udev规则以及编写

udev的rules定制和调试