M
moffet
Guest
Hi, I have a relay card that is controlled via RS232.
My computer has 4 COM ports on the mainboard.
I'm trying to send raw bytes to the card through:
and this command works only once after reboot (relay is switched on the card). When I'm invoking it for the 2nd time, the command blocks (waits for input?) and nothing happens, until I press CTRL+C.
Has it something to do with /etc/ttys and getty interfering with the communication?
I just want to use COM ports for connecting with custom devices, not for old school console logins.
Please help. Thanks.
My computer has 4 COM ports on the mainboard.
I'm trying to send raw bytes to the card through:
printf "\6\0\1\7" > /dev/cuau0and this command works only once after reboot (relay is switched on the card). When I'm invoking it for the 2nd time, the command blocks (waits for input?) and nothing happens, until I press CTRL+C.
Has it something to do with /etc/ttys and getty interfering with the communication?
I just want to use COM ports for connecting with custom devices, not for old school console logins.
Please help. Thanks.