码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2019-01-14 10:56:40      阅读:171      评论:0      收藏:0      [点我收藏+]

标签:tom   add   ice   configure   one   devices   sha   attr   product   

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

标签:tom   add   ice   configure   one   devices   sha   attr   product   

原文地址:https://www.cnblogs.com/lianghong881018/p/10265191.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!