Dec 13, 2004 #1 ZeRoN Advanced Member level 4 Joined Jun 28, 2001 Messages 104 Helped 1 Reputation 2 Reaction score 1 Trophy points 1,298 Activity points 1,184 linux rs485 I want to write a program, running under PC. linux (redhat). to use PC.'s serial port work as RS485, use DTR to control direction. (use 75176 or MAX485) Could anyone show me the sample? Should I need to modify kernel source's serial port driver? ZeRoN
linux rs485 I want to write a program, running under PC. linux (redhat). to use PC.'s serial port work as RS485, use DTR to control direction. (use 75176 or MAX485) Could anyone show me the sample? Should I need to modify kernel source's serial port driver? ZeRoN
Dec 19, 2004 #2 G greek Member level 3 Joined Nov 10, 2004 Messages 61 Helped 1 Reputation 2 Reaction score 1 Trophy points 1,288 Activity points 381 linux dtr this is the Linux serial how to showcase.netins.net/web/tool/info/dumbterm.html
Dec 19, 2004 #3 ZeRoN Advanced Member level 4 Joined Jun 28, 2001 Messages 104 Helped 1 Reputation 2 Reaction score 1 Trophy points 1,298 Activity points 1,184 dtr rs485 The link not said about, automatically control DTR as TX/RX direction. I mean, I want DTR=ON, send a character, then DTR=OFF automatically for all character when I write to /dev/ttyS*.
dtr rs485 The link not said about, automatically control DTR as TX/RX direction. I mean, I want DTR=ON, send a character, then DTR=OFF automatically for all character when I write to /dev/ttyS*.